@markusylisiurunen/tau 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +31 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -218,11 +218,36 @@ tool calls are displayed in the UI so you can see exactly what the model is doin
218
218
 
219
219
  ## creating a release
220
220
 
221
- releases are published to npm automatically when a github release is published.
221
+ releases are published to npm locally (no CI publish workflow).
222
222
 
223
- - make sure `package.json` has the correct version (e.g. `0.2.0`).
224
- - run `npm run check` and `npm run build`.
225
- - commit and push the version bump.
226
- - create a github release with a tag matching the version (e.g. `v0.2.0`).
223
+ - bump the version (creates a git tag):
227
224
 
228
- the workflow expects an npm token in `NPM_TOKEN` (repo settings → secrets and variables → actions).
225
+ ```sh
226
+ npm version patch
227
+ ```
228
+
229
+ - run checks and build:
230
+
231
+ ```sh
232
+ npm run check
233
+ npm run build
234
+ ```
235
+
236
+ - push the commit and tag:
237
+
238
+ ```sh
239
+ git push --follow-tags
240
+ ```
241
+
242
+ - create a github release (optional, for release notes):
243
+
244
+ ```sh
245
+ gh release create v$(node -p "require('./package.json').version") --generate-notes
246
+ ```
247
+
248
+ - publish to npm:
249
+
250
+ ```sh
251
+ npm login
252
+ npm publish --access public
253
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markusylisiurunen/tau",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "tau": "./dist/main.js"