@tiddlywiki/mws 0.2.4 → 0.2.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/metafile-esm.json +1 -1
- package/dist/mws.js +401 -354
- package/dist/mws.js.map +1 -1
- package/mws.run.mjs +2 -40
- package/package.json +1 -1
- package/public/admin-vanilla.json +1 -1
- package/scripts/scripts.mjs +2 -2
package/scripts/scripts.mjs
CHANGED
|
@@ -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
|
-
// await start(`npm install --save-
|
|
79
|
-
await start(`npm install
|
|
78
|
+
// await start(`npm install --save-prefix="~" @tiddlywiki/mws@latest`, [], {}, { cwd: "tests" })
|
|
79
|
+
await start(`npm install ./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" });
|