@tiddlywiki/mws 0.2.1 → 0.2.2
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/metafile-esm.json +1 -1
- package/dist/mws.js +4 -3
- package/dist/mws.js.map +1 -1
- package/package.json +1 -1
- package/scripts/scripts.mjs +3 -3
package/package.json
CHANGED
package/scripts/scripts.mjs
CHANGED
|
@@ -49,7 +49,7 @@ async function runner(arg) {
|
|
|
49
49
|
// "test": "(git clean -dfx tests && cd tests && npm install .. --no-save && npm test)",
|
|
50
50
|
// "fulltest": "mv node_modules node_modules_old; npm run test:pack; mv node_modules_old node_modules",
|
|
51
51
|
|
|
52
|
-
await runner("build");
|
|
52
|
+
// await runner("build");
|
|
53
53
|
await Promise.resolve().then(async () => {
|
|
54
54
|
// Cross-platform move operation
|
|
55
55
|
moveFile("node_modules", "node_modules_off");
|
|
@@ -75,8 +75,8 @@ async function runner(arg) {
|
|
|
75
75
|
// Read package.json to get version for cross-platform compatibility
|
|
76
76
|
const packageJson = JSON.parse(readFileSync("package.json").toString());
|
|
77
77
|
const packageVersion = packageJson.version;
|
|
78
|
-
|
|
79
|
-
await start(`npm install --save-exact ./tiddlywiki-mws-${packageVersion}.tgz`, [], {}, { cwd: "tests" });
|
|
78
|
+
await start(`npm install --save-exact @tiddlywiki/mws@latest`, [], {}, { cwd: "tests" })
|
|
79
|
+
// await start(`npm install --save-exact ./tiddlywiki-mws-${packageVersion}.tgz`, [], {}, { cwd: "tests" });
|
|
80
80
|
await start("npx mws update-tiddlywiki", [], {}, { cwd: "tests" });
|
|
81
81
|
await start("npx mws init-store", [], {}, { cwd: "tests" });
|
|
82
82
|
await start("npx mws listen --listener host=:: port=8080", [], {}, { cwd: "tests" });
|