intelliwaketssveltekitv25 0.3.42 → 0.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intelliwaketssveltekitv25",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.43",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"lint": "prettier --check . && eslint .",
|
|
83
83
|
"format": "prettier --write .",
|
|
84
84
|
"Install-IntelliWake": "pnpm install && pnpm update -P @solidbasisventures/intelliwaketsfoundation",
|
|
85
|
-
"Publish": "pnpm version patch --no-git-tag-version && VER=`node -p \"require('./package.json').version\"` && git add -A && git commit -m \"chore: release v$VER\" && pnpm publish --access public && git tag \"v$VER\" && git push && git push --tags",
|
|
85
|
+
"Publish": "pnpm version patch --no-git-tag-version && VER=`node -p \"require('./package.json').version\"` && git add -A && git commit -m \"chore: release v$VER\" && pnpm publish --access public && node -e \"const {execSync}=require('node:child_process');const name='intelliwaketssveltekitv25';const ver=process.env.VER;function ok(cmd){try{execSync(cmd,{stdio:'ignore'});return true;}catch{return false}};const deadline=Date.now()+180000; // 3min max wait while(Date.now()<deadline){try{const v=execSync(`npm view ${name} version`,{encoding:'utf8'}).trim();const latest=execSync(`npm view ${name} dist-tags.latest`,{encoding:'utf8'}).trim();if(v===ver && latest===ver && ok(`node -e \\\"https=require('https');https.get('https://registry.npmjs.org/${name}/-/${name}-${ver}.tgz',r=>{if(r.statusCode===200)process.exit(0);process.exit(1);}).on('error',()=>process.exit(1));\\\"`)){process.exit(0);} }catch{};Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,2000);}process.exit(1);\" && git tag \"v$VER\" && git push && git push --tags",
|
|
86
86
|
"Version-Minor-Advance": "pnpm version minor"
|
|
87
87
|
}
|
|
88
88
|
}
|