mbflash 1.2.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -253,11 +253,13 @@ This repository is <https://github.com/tai/mbflash>.
253
253
  ```sh
254
254
  npm test
255
255
  npm publish
256
- git tag v1.2.0 # use the new version
256
+ git tag v1.2.1 # use the new version
257
257
  git push origin main --tags
258
258
  ```
259
259
 
260
260
  The `Publish npm` workflow runs on a published GitHub release (or manually). It
261
- skips publishing when the version already exists on npm; otherwise it expects an
262
- `NPM_TOKEN` repository secret. Keep the repository public for npm provenance. `npm pack --dry-run` shows exactly what would be published:
261
+ skips publishing when the version already exists on npm; otherwise it publishes
262
+ with the OIDC trusted publisher configured for this repository on npmjs.com, so
263
+ no npm secret is stored in GitHub. Keep the repository public for npm
264
+ provenance. `npm pack --dry-run` shows exactly what would be published:
263
265
  `mbflash.mjs`, `README.md`, `LICENSE`, and `package.json`.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "mbflash",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Load, build, and flash micro:bit MakeCode projects over CDP",
5
5
  "type": "module",
6
6
  "bin": {
7
- "mbflash": "./mbflash.mjs"
7
+ "mbflash": "mbflash.mjs"
8
8
  },
9
9
  "files": [
10
10
  "mbflash.mjs",