File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "pkgManagers" : {
44 "javascript" : {
55 "version" : true ,
6- "getPublishedVersion" : " npm view ${ pkgFile.pkg.name } version" ,
6+ "getPublishedVersion" : {
7+ "use" : " fetch:check" ,
8+ "options" : {
9+ "url" : " https://registry.npmjs.com/${ pkg.pkg }/${ pkg.pkgFile.version }"
10+ }
11+ },
712 "prepublish" : [" pnpm i" , " pnpm build" ],
813 "publish" : [" pnpm publish --access public --no-git-checks" ],
914 "postversion" : [" pnpm i --lockfile-only" ],
1520 },
1621 "rust" : {
1722 "version" : true ,
18- "getPublishedVersion" : " cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\" ]*\" //; s/\" .*//1p'" ,
23+ "getPublishedVersion" : {
24+ "use" : " fetch:check" ,
25+ "options" : {
26+ "url" : " https://crates.io/api/v1/crates/${ pkg.pkg }/${ pkg.pkgFile.version }"
27+ }
28+ },
1929 "postversion" : [
2030 {
2131 "command" : " ./scripts/generate-lock-files.sh" ,
2434 "pipe" : false
2535 }
2636 ],
27- "publish" : [" cargo publish" ],
37+ "publish" : [" cargo publish --no-verify --allow-dirty " ],
2838 "postpublish" : [
2939 " git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f" ,
3040 " git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f" ,
You can’t perform that action at this time.
0 commit comments