twinny-server 4.2.7 → 4.2.9
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/README.md +6 -2
- package/cli.js +541 -98
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twinny-server",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.9",
|
|
4
4
|
"description": "Serve your local models to the Twinny VS Code extension on other machines.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
"node": ">=18"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"prepublishOnly": "node -e \"require('fs').
|
|
39
|
+
"prepublishOnly": "node -e \"const fs=require('fs');const v=require('./package.json').version;if(!fs.existsSync('cli.js')){console.error('Run npm run build in the repository root first');process.exit(1)}if(!fs.readFileSync('cli.js','utf8').includes('\\\"'+v+'\\\" : \\\"dev\\\"')){console.error('cli.js was not built for '+v+': run npm run build in the repository root first');process.exit(1)}\""
|
|
40
40
|
}
|
|
41
41
|
}
|