@niscorp/cli 0.2.0 → 0.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @niscorp/cli
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b67a125: Documentation only: each package's README, reference and design docs checked against its source and corrected — install lines and peers, signatures, defaults, status codes, licenses (loom, signal: Apache-2.0), and API that existed but was not documented.
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -62,6 +62,7 @@ page in the manifest), and what each one needs once it has been drawn.
62
62
  | `dist?` | where the bundler writes the terminal (default `dist`) |
63
63
  | `checks?` | the check suite `nisc check` runs (default `src/dev/all-checks.ts`) |
64
64
  | `tokenKey?` | the wire's token key, when it is not `nisc.token` |
65
+ | `dev?` | what only `nisc dev` uses: `dev.signIn(server, who)` mints a token for `/dev/as/<who>` (`null`: nobody of that name) |
65
66
 
66
67
  ### An app with its own shell
67
68
 
@@ -120,7 +121,9 @@ is where a screen goes. The adoption check needs a DOM: `jsdom`, installed in
120
121
  the app.
121
122
 
122
123
  The config is TypeScript, loaded with the app's own `tsconfig.json` — path
123
- aliases included.
124
+ aliases included. `nisc.config.mts`, `.js` and `.mjs` are found too. A config
125
+ that hands over both `boot` and `shell` has not said which it is, and is
126
+ refused.
124
127
 
125
128
  ## `nisc build`
126
129
 
@@ -228,7 +231,8 @@ server. An app with its own shell is a vite app and nothing more.
228
231
 
229
232
  ## `nisc check`
230
233
 
231
- The app's check suite (`src/dev/all-checks.ts`, or `checks` in the config).
234
+ The app's check suite (`src/dev/all-checks.ts`, or `checks` in the config), run
235
+ with the app's own `tsx`. Its exit code is the suite's.
232
236
 
233
237
  ## Options
234
238
 
@@ -238,7 +242,7 @@ The app's check suite (`src/dev/all-checks.ts`, or `checks` in the config).
238
242
  | `--out <dir>` | `export`: where the files go (default `out`) |
239
243
  | `--allow-live` | `export`: write even though some path wants a server |
240
244
  | `--skip-bundle` | `build`, `export`: the terminal is already built |
241
- | `--port <n>` | `start`: the port |
245
+ | `--port <n>` | `dev`, `start`: the port (`start`: `$PORT`, then 8787) |
242
246
 
243
247
  ## License
244
248
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@niscorp/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "nisc — the command for a nisc application: dev, build, export, start. One config file says how the app boots and how its pages are drawn; the command does the rest.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -38,8 +38,8 @@
38
38
  "node": ">=22.12"
39
39
  },
40
40
  "peerDependencies": {
41
- "@niscorp/nova": "^0.1.1",
42
- "@niscorp/moss": "^0.2.0"
41
+ "@niscorp/moss": "^0.2.2",
42
+ "@niscorp/nova": "^0.1.2"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "@niscorp/moss": {
@@ -57,8 +57,8 @@
57
57
  "tsup": "^8.5.1",
58
58
  "typescript": "^6.0.2",
59
59
  "vitest": "^4.1.2",
60
- "@niscorp/moss": "^0.2.0",
61
- "@niscorp/nova": "^0.1.1"
60
+ "@niscorp/moss": "^0.2.2",
61
+ "@niscorp/nova": "^0.1.2"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "tsup",