File tree Expand file tree Collapse file tree 2 files changed +12
-62
lines changed Expand file tree Collapse file tree 2 files changed +12
-62
lines changed Original file line number Diff line number Diff line change 3
3
"pkgManagers" : {
4
4
"javascript" : {
5
5
"version" : true ,
6
- "getPublishedVersion" : " node ../../.scripts/covector/package-latest-version.cjs npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }" ,
6
+ "getPublishedVersion" : {
7
+ "use" : " fetch:check" ,
8
+ "options" : {
9
+ "url" : " https://registry.npmjs.com/${ pkg.pkg }/${ pkg.pkgFile.version }"
10
+ }
11
+ },
7
12
"publish" : [" pnpm build" , " pnpm publish --access public --no-git-checks" ]
8
13
},
9
14
"rust" : {
10
15
"version" : true ,
11
- "getPublishedVersion" : " node ../../.scripts/covector/package-latest-version.cjs cargo ${ pkgFile.pkg.package.name } ${ pkgFile.pkg.package.version }" ,
16
+ "getPublishedVersion" : {
17
+ "use" : " fetch:check" ,
18
+ "options" : {
19
+ "url" : " https://crates.io/api/v1/crates/${ pkg.pkg }/${ pkg.pkgFile.version }"
20
+ }
21
+ },
12
22
"publish" : [
13
23
{
14
24
"command" : " cargo package --no-verify" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments