@tiddlywiki/mws 0.2.4 → 0.2.6

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.
@@ -3,12 +3,12 @@
3
3
  "short_name": "MWS",
4
4
  "icons": [
5
5
  {
6
- "src": "/android-chrome-192x192.png",
6
+ "src": "$$js:pathPrefix$$$$js:assets$$/android-chrome-192x192.png",
7
7
  "sizes": "192x192",
8
8
  "type": "image/png"
9
9
  },
10
10
  {
11
- "src": "/android-chrome-512x512.png",
11
+ "src": "$$js:pathPrefix$$$$js:assets$$/android-chrome-512x512.png",
12
12
  "sizes": "512x512",
13
13
  "type": "image/png"
14
14
  }
@@ -16,5 +16,5 @@
16
16
  "theme_color": "#a45b89",
17
17
  "background_color": "#21121b",
18
18
  "display": "standalone",
19
- "start_url": "."
19
+ "start_url": "$$js:pathPrefix$$"
20
20
  }
@@ -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-exact @tiddlywiki/mws@latest`, [], {}, { cwd: "tests" })
79
- await start(`npm install --save-exact ./tiddlywiki-mws-${packageVersion}.tgz`, [], {}, { cwd: "tests" });
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" });