@voxgig/struct 0.3.4 → 0.3.5
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/dist/StructUtility.js +1 -1
- package/package.json +3 -3
- package/src/StructUtility.ts +1 -1
package/dist/StructUtility.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voxgig/struct",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "JSON data structure manipulations",
|
|
5
5
|
"main": "dist/StructUtility.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"inject-version": "node -e \"t=['./src/StructUtility.ts','./test/utility/StructUtility.test.ts'],r=require,fs=r('fs'),v=r('./package.json').version,t.map(f=>fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/\\/\\/ VERSION: @voxgig\\/struct [^\\n]+/, '// VERSION: @voxgig/struct '+v)))\"",
|
|
35
35
|
"clean": "rm -rf dist dist-test node_modules yarn.lock package-lock.json",
|
|
36
36
|
"reset": "npm run clean && npm i && npm run build && npm test",
|
|
37
|
-
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
|
|
37
|
+
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && npm view @voxgig/struct@$REPO_VERSION version > /dev/null 2>&1 || { echo \"@voxgig/struct@$REPO_VERSION is not on the registry - approve the staged release first (npm stage approve)\"; exit 1; } && echo TAG: typescript/v$REPO_VERSION && git commit -a -m typescript/v$REPO_VERSION && git push && git tag typescript/v$REPO_VERSION && git push --tags;",
|
|
38
38
|
"repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
|
|
39
|
-
"repo-publish-quick": "npm run inject-version && npm run build && npm run test && npm run doc && npm
|
|
39
|
+
"repo-publish-quick": "npm run inject-version && npm run build && npm run test && npm run doc && npm stage publish --access public --registry https://registry.npmjs.org && echo 'Staged. NOT published and NOT tagged: run `npm stage approve`, then `npm run repo-tag`.'",
|
|
40
40
|
"repo-publish-dry": "npm run clean && npm i && npm run repo-publish-dry-quick",
|
|
41
41
|
"repo-publish-dry-quick": "npm run inject-version && npm run build && npm run test && npm run doc && npm stage publish --dry-run --access public --registry https://registry.npmjs.org"
|
|
42
42
|
},
|