Skip to content

Commit 86ec41b

Browse files
chore: require JSS >= 0.0.211 so serving never seeds index.html/.acl (#6)
JSS used to seed a landing page and .acl files into the server root on first start, polluting whatever directory servejss was pointed at. Upstream fixed this in 0.0.211 (ec8547b, #578/#579): seeding is skipped in --public and --read-only modes. Raise the dependency floor so every install is guaranteed the guard, refresh the lockfile (resolves 0.0.212), and bump to 0.0.8. README notes the global-jss fallback: a stale global install also needs updating, since bin/jsserve.js falls back to it when the bundled dependency is missing.
1 parent 653489c commit 86ec41b

3 files changed

Lines changed: 362 additions & 114 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ Or use directly with npx:
2828
npx servejss
2929
```
3030

31+
servejss requires JSS >= 0.0.211, which never writes `index.html` or `.acl`
32+
files into the served directory. If the bundled dependency is missing,
33+
servejss falls back to a globally installed `jss` — if you have an old
34+
global install, update it too:
35+
36+
```bash
37+
npm install -g javascript-solid-server@latest
38+
```
39+
3140
## Usage
3241

3342
```bash

0 commit comments

Comments
 (0)