Comparing version 10.29.2 to 10.46.0
@@ -107,2 +107,8 @@ "use strict"; | ||
}; | ||
const noGitCommit = { | ||
name: "no-git-commit", | ||
type: Boolean, | ||
description: "Do not commit changes", | ||
group: "main", | ||
}; | ||
const url = { | ||
@@ -164,2 +170,8 @@ name: "url", | ||
}; | ||
const useVersion = { | ||
name: "use-version", | ||
type: String, | ||
group: "main", | ||
description: "Version number to publish as. Defaults to reading from the package definition for the platform.", | ||
}; | ||
const latestCommandArgs = [ | ||
@@ -359,3 +371,3 @@ name, | ||
group: "main", | ||
description: "Tag to start changelog generation on. Defaults to latest tag.", | ||
description: "Tag to start changelog generation on. Defaults to latest tag or if a prerelease the latest tag in the branch. Provide latest to override.", | ||
}, | ||
@@ -372,2 +384,3 @@ { | ||
quiet, | ||
noGitCommit, | ||
], | ||
@@ -390,3 +403,3 @@ examples: [ | ||
Create a GitHub release for a tag. Defaults to last tag in branch. | ||
> NOTE: The tag must already be pushed to GitHub. If it isn't GitHub will create a tag pointing to the "to" option value. | ||
@@ -403,3 +416,3 @@ `, | ||
group: "main", | ||
description: "Git revision (tag, commit sha, ...) to start release notes from. Defaults to latest tag.", | ||
description: "Tag to start changelog generation on. Defaults to latest tag or if a prerelease the latest tag in the branch. Provide latest to override.", | ||
}, | ||
@@ -412,8 +425,3 @@ { | ||
}, | ||
{ | ||
name: "use-version", | ||
type: String, | ||
group: "main", | ||
description: "Version number to publish as. Defaults to reading from the package definition for the platform.", | ||
}, | ||
useVersion, | ||
baseBranch, | ||
@@ -423,5 +431,8 @@ prerelease, | ||
examples: [ | ||
"{green $} auto release", | ||
{ | ||
desc: "This command can be used in isolation easily. This example will: tag the release version at 'to' and create a GitHub release changelog over the commits range", | ||
desc: "Create a GitHub release", | ||
example: "{green $} auto release", | ||
}, | ||
{ | ||
desc: "Create a GitHub release using provided commit range and version", | ||
example: "{green $} auto release --from v0.20.1 --to HEAD --use-version v0.21.0", | ||
@@ -445,2 +456,3 @@ }, | ||
...latestCommandArgs, | ||
Object.assign(Object.assign({}, useVersion), { description: `${useVersion.description} Currently only supported for the **npm plugin**.` }), | ||
{ | ||
@@ -541,3 +553,3 @@ name: "only-graduate-with-release-label", | ||
if (mainOptions.version) { | ||
const version = "10.29.2" || core_1.getAutoVersion(); | ||
const version = "10.46.0" || core_1.getAutoVersion(); | ||
console.log(`v${version}`); | ||
@@ -544,0 +556,0 @@ } |
@@ -97,3 +97,3 @@ #!/usr/bin/env node | ||
You can check the permission for you token by running "auto info". | ||
You can check the permission for your token by running "auto info". | ||
`); | ||
@@ -122,2 +122,5 @@ console.log(""); | ||
} | ||
finally { | ||
await auto.teardown(); | ||
} | ||
} | ||
@@ -124,0 +127,0 @@ exports.execute = execute; |
@@ -7,3 +7,3 @@ { | ||
"description": "CLI tools to help facilitate semantic versioning based on GitHub PR labels", | ||
"version": "10.29.2", | ||
"version": "10.46.0", | ||
"license": "MIT", | ||
@@ -53,9 +53,10 @@ "author": { | ||
"dependencies": { | ||
"@auto-it/core": "10.29.2", | ||
"@auto-it/npm": "10.29.2", | ||
"@auto-it/released": "10.29.2", | ||
"@auto-it/core": "10.46.0", | ||
"@auto-it/npm": "10.46.0", | ||
"@auto-it/released": "10.46.0", | ||
"@auto-it/version-file": "10.46.0", | ||
"await-to-js": "^3.0.0", | ||
"chalk": "^4.0.0", | ||
"command-line-application": "^0.10.1", | ||
"endent": "^2.0.1", | ||
"endent": "^2.1.0", | ||
"module-alias": "^2.2.2", | ||
@@ -68,5 +69,5 @@ "signale": "^1.4.0", | ||
"@types/signale": "^1.2.1", | ||
"pkg": "^4.4.0" | ||
"pkg": "^5.8.0" | ||
}, | ||
"gitHead": "d880f3692ceed9356cdb3ef2be215086d7fa3b91" | ||
"gitHead": "c0fc91701fb893f51e97cc21f8722555bb51fca4" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141818
736
12
+ Added@auto-it/bot-list@10.46.0(transitive)
+ Added@auto-it/core@10.46.0(transitive)
+ Added@auto-it/npm@10.46.0(transitive)
+ Added@auto-it/package-json-utils@10.46.0(transitive)
+ Added@auto-it/released@10.46.0(transitive)
+ Added@auto-it/version-file@10.46.0(transitive)
+ Added@cspotcode/source-map-support@0.8.1(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.9(transitive)
+ Added@tsconfig/node10@1.0.11(transitive)
+ Added@tsconfig/node12@1.0.11(transitive)
+ Added@tsconfig/node14@1.0.3(transitive)
+ Added@tsconfig/node16@1.0.4(transitive)
+ Added@types/node@22.7.5(transitive)
+ Addedacorn@8.12.1(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addednode-fetch@2.6.7(transitive)
+ Addedts-node@10.9.2(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedv8-compile-cache-lib@3.0.1(transitive)
- Removed@auto-it/bot-list@10.29.2(transitive)
- Removed@auto-it/core@10.29.2(transitive)
- Removed@auto-it/npm@10.29.2(transitive)
- Removed@auto-it/package-json-utils@10.29.2(transitive)
- Removed@auto-it/released@10.29.2(transitive)
- Removednode-fetch@2.6.12.7.0(transitive)
Updated@auto-it/core@10.46.0
Updated@auto-it/npm@10.46.0
Updated@auto-it/released@10.46.0
Updatedendent@^2.1.0