akarisp 0.1.0-alpha.0 → 0.1.0-alpha.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/README.md +18 -4
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -15,8 +15,10 @@ Zero runtime dependencies. No framework, no agent abstraction.
|
|
|
15
15
|
npm install akarisp@alpha
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
`npm install akarisp`
|
|
18
|
+
For the `0.1.0-alpha.1` release, both `alpha` and `latest` are intended to point to
|
|
19
|
+
`0.1.0-alpha.1`, so `npm install akarisp` and `npm install akarisp@alpha` install the same
|
|
20
|
+
version. This does not define a permanent dist-tag policy. Each release records its intended and
|
|
21
|
+
verified tags under [`releases/`](releases/).
|
|
20
22
|
|
|
21
23
|
## Usage
|
|
22
24
|
|
|
@@ -178,6 +180,7 @@ requirement only; the package itself runs in browsers.
|
|
|
178
180
|
npm test # node:test: core, browser and WebLLM adapters, boundary, packed-tarball consumer
|
|
179
181
|
npm run build # tsc → dist/
|
|
180
182
|
npm run test:browser # Playwright: compatibility page on Chromium / Firefox / WebKit engines
|
|
183
|
+
RELEASE=<version> npm run test:registry # on demand, needs the network: the published package vs releases/<version>.json
|
|
181
184
|
```
|
|
182
185
|
|
|
183
186
|
### Browser compatibility
|
|
@@ -200,5 +203,16 @@ the diff.
|
|
|
200
203
|
|
|
201
204
|
### Release
|
|
202
205
|
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
Each release states its intent before publishing and verifies the registry afterwards. Nothing
|
|
207
|
+
relies on a configured default tag: with npm 10.9.2, a configured `publishConfig.tag` was
|
|
208
|
+
observed not to be applied, so the tag is always named on the command line.
|
|
209
|
+
|
|
210
|
+
1. Bump `version`, and write and commit `releases/<version>.json`, which names every intended
|
|
211
|
+
dist-tag target.
|
|
212
|
+
2. Publish: `npm publish --tag <tag>` (`prepack` rebuilds `dist/` first).
|
|
213
|
+
3. For every other tag in the intent: `npm dist-tag add akarisp@<version> <tag>`.
|
|
214
|
+
4. Verify: `RELEASE=<version> npm run test:registry`. It re-reads the registry for up to 10
|
|
215
|
+
minutes while metadata propagates, then installs from the registry into clean consumers.
|
|
216
|
+
Commit the resulting `releases/<version>.verified.json`.
|
|
217
|
+
5. On a mismatch, fix forward: correct a tag with `npm dist-tag add` and re-run the check, or
|
|
218
|
+
publish the next version for a content defect. Never unpublish.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akarisp",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Lightweight lifecycle runtime for browser LLM sessions: bounded queue, cancellation, and deterministic cleanup for the Chrome Prompt API and WebLLM",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -25,10 +25,8 @@
|
|
|
25
25
|
"build": "tsc",
|
|
26
26
|
"test": "node --test test/*.test.ts",
|
|
27
27
|
"test:browser": "playwright test",
|
|
28
|
-
"prepack": "npm run build"
|
|
29
|
-
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"tag": "alpha"
|
|
28
|
+
"prepack": "npm run build",
|
|
29
|
+
"test:registry": "node --test test/registry/registry.test.ts"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
34
32
|
"@playwright/test": "^1.63.0",
|