Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
chore: build dist release-please-action (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
google-github-actions-bot authored Jan 9, 2021
1 parent 88127ca commit dd98315
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8063,7 +8063,7 @@ module.exports = Scanner
/* 191 */
/***/ (function(module) {

module.exports = {"_args":[["[email protected]","/home/runner/work/release-please-action/release-please-action"]],"_from":"[email protected]","_id":"[email protected]","_inBundle":false,"_integrity":"sha512-Q4z3+t13zO0lQg1dk4qfddR/s4np5L5JlEi6yLZt5Xz7UKoVynjr6c0s7AesoKpqPjnz4k14V2b1Gk3rScU1Xw==","_location":"/release-please","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"[email protected]","name":"release-please","escapedName":"release-please","rawSpec":"9.0.0-candidate.0","saveSpec":null,"fetchSpec":"9.0.0-candidate.0"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/release-please/-/release-please-9.0.0-candidate.0.tgz","_spec":"9.0.0-candidate.0","_where":"/home/runner/work/release-please-action/release-please-action","author":{"name":"Google Inc."},"bin":{"release-please":"build/src/bin/release-please.js"},"bugs":{"url":"https://github.com/googleapis/release-please/issues"},"dependencies":{"@conventional-commits/parser":"^0.4.1","@iarna/toml":"^2.2.5","@octokit/graphql":"^4.3.1","@octokit/request":"^5.3.4","@octokit/rest":"^18.0.4","chalk":"^4.0.0","code-suggester":"^1.4.0","conventional-changelog-conventionalcommits":"^4.4.0","conventional-changelog-writer":"^5.0.0","conventional-commits-filter":"^2.0.2","figures":"^3.0.0","parse-github-repo-url":"^1.4.1","semver":"^7.0.0","type-fest":"^0.20.0","unist-util-visit":"^2.0.3","unist-util-visit-parents":"^3.1.1","yargs":"^16.0.0"},"description":"generate release PRs based on the conventionalcommits.org spec","devDependencies":{"@octokit/types":"^6.1.0","@types/chai":"^4.1.7","@types/iarna__toml":"^2.0.1","@types/mocha":"^8.0.0","@types/node":"^11.13.6","@types/pino":"^6.3.0","@types/semver":"^7.0.0","@types/sinon":"^9.0.5","@types/yargs":"^15.0.4","c8":"^7.0.0","chai":"^4.2.0","cross-env":"^7.0.0","gts":"^2.0.0","mocha":"^8.0.0","nock":"^13.0.0","sinon":"^9.0.3","snap-shot-it":"^7.0.0","typescript":"^3.8.3"},"engines":{"node":">=10.12.0"},"files":["build/src","templates","!build/src/**/*.map"],"homepage":"https://github.com/googleapis/release-please#readme","keywords":["release","conventional-commits"],"license":"Apache-2.0","main":"./build/src/index.js","name":"release-please","repository":{"type":"git","url":"git+https://github.com/googleapis/release-please.git"},"scripts":{"api-documenter":"api-documenter yaml --input-folder=temp","api-extractor":"api-extractor run --local","clean":"gts clean","compile":"tsc -p .","docs-test":"echo add docs tests","fix":"gts fix","lint":"gts check","prepare":"npm run compile","pretest":"npm run compile","test":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=5000 build/test","test:snap":"SNAPSHOT_UPDATE=1 npm test"},"version":"9.0.0-candidate.0"};
module.exports = {"_args":[["[email protected]","/home/runner/work/release-please-action/release-please-action"]],"_from":"[email protected]","_id":"[email protected]","_inBundle":false,"_integrity":"sha512-XwfkMdhyAGXhcJpo9jWVGLnha+fXXAdtxa8BP7RbhGFHrdbbqg4waiTMce/TnFCj+Tj0JSq59UVINzt3jHeKIw==","_location":"/release-please","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"[email protected]","name":"release-please","escapedName":"release-please","rawSpec":"9.0.0-candidate.1","saveSpec":null,"fetchSpec":"9.0.0-candidate.1"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/release-please/-/release-please-9.0.0-candidate.1.tgz","_spec":"9.0.0-candidate.1","_where":"/home/runner/work/release-please-action/release-please-action","author":{"name":"Google Inc."},"bin":{"release-please":"build/src/bin/release-please.js"},"bugs":{"url":"https://github.com/googleapis/release-please/issues"},"dependencies":{"@conventional-commits/parser":"^0.4.1","@iarna/toml":"^2.2.5","@octokit/graphql":"^4.3.1","@octokit/request":"^5.3.4","@octokit/rest":"^18.0.4","chalk":"^4.0.0","code-suggester":"^1.4.0","conventional-changelog-conventionalcommits":"^4.4.0","conventional-changelog-writer":"^5.0.0","conventional-commits-filter":"^2.0.2","figures":"^3.0.0","parse-github-repo-url":"^1.4.1","semver":"^7.0.0","type-fest":"^0.20.0","unist-util-visit":"^2.0.3","unist-util-visit-parents":"^3.1.1","yargs":"^16.0.0"},"description":"generate release PRs based on the conventionalcommits.org spec","devDependencies":{"@octokit/types":"^6.1.0","@types/chai":"^4.1.7","@types/iarna__toml":"^2.0.1","@types/mocha":"^8.0.0","@types/node":"^11.13.6","@types/pino":"^6.3.0","@types/semver":"^7.0.0","@types/sinon":"^9.0.5","@types/yargs":"^15.0.4","c8":"^7.0.0","chai":"^4.2.0","cross-env":"^7.0.0","gts":"^2.0.0","mocha":"^8.0.0","nock":"^13.0.0","sinon":"^9.0.3","snap-shot-it":"^7.0.0","typescript":"^3.8.3"},"engines":{"node":">=10.12.0"},"files":["build/src","templates","!build/src/**/*.map"],"homepage":"https://github.com/googleapis/release-please#readme","keywords":["release","conventional-commits"],"license":"Apache-2.0","main":"./build/src/index.js","name":"release-please","repository":{"type":"git","url":"git+https://github.com/googleapis/release-please.git"},"scripts":{"api-documenter":"api-documenter yaml --input-folder=temp","api-extractor":"api-extractor run --local","clean":"gts clean","compile":"tsc -p .","docs-test":"echo add docs tests","fix":"gts fix","lint":"gts check","prepare":"npm run compile","pretest":"npm run compile","test":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=5000 build/test","test:snap":"SNAPSHOT_UPDATE=1 npm test"},"version":"9.0.0-candidate.1"};

/***/ }),
/* 192 */,
Expand Down Expand Up @@ -47155,6 +47155,12 @@ const package_json_1 = __webpack_require__(815);
const samples_package_json_1 = __webpack_require__(637);
class Node extends release_pr_1.ReleasePR {
async _run() {
// Make an effort to populate packageName from the contents of
// the package.json, rather than forcing this to be set:
const contents = await this.gh.getFileContents(this.addPath('package.json'));
const pkg = JSON.parse(contents.parsedContent);
if (pkg.name)
this.packageName = pkg.name;
const latestTag = await this.gh.latestTag(this.monorepoTags
? `${package_branch_prefix_1.packageBranchPrefix(this.packageName, 'node')}-`
: undefined);
Expand Down Expand Up @@ -47182,12 +47188,6 @@ class Node extends release_pr_1.ReleasePR {
return undefined;
}
const updates = [];
// Make an effort to populate packageName from the contents of
// the package.json, rather than forcing this to be set:
const contents = await this.gh.getFileContents(this.addPath('package.json'));
const pkg = JSON.parse(contents.parsedContent);
if (pkg.name)
this.packageName = pkg.name;
updates.push(new package_json_1.PackageJson({
path: this.addPath('package-lock.json'),
changelogEntry,
Expand Down

0 comments on commit dd98315

Please sign in to comment.