nnet-svg 0.1.0 → 0.1.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 +14 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -176,8 +176,20 @@ npm run build # emits ESM + .d.ts to dist/
|
|
|
176
176
|
npm run demo # then open http://localhost:3000/demo/ (build first)
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
### Releasing
|
|
180
|
+
|
|
181
|
+
```sh
|
|
182
|
+
npm version patch # or: minor / major — bumps package.json and creates the git tag
|
|
183
|
+
git push --follow-tags
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
The [Release workflow](.github/workflows/release.yml) runs on the `v*` tag:
|
|
187
|
+
typecheck, tests, and build, then `npm publish` authenticated via npm trusted
|
|
188
|
+
publishing (OIDC, no stored token) with provenance attached. It verifies that
|
|
189
|
+
the tag matches the package version and skips publishing if that version is
|
|
190
|
+
already on npm.
|
|
191
|
+
|
|
192
|
+
See [DESIGN_SPEC.md](DESIGN_SPEC.md) for the full specification.
|
|
181
193
|
|
|
182
194
|
## License
|
|
183
195
|
|