diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 48bab5c..82e7fba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,15 +29,14 @@ jobs: - name: Publish single module env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} + NPM_CONFIG_PROVENANCE: true # the `echo` below deliberately uses single quotes so that the # token isn’t written to the file; instead, npm should replace # it at runtime. run: | - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc - cd packages/$PACKAGE_NAME pnpm install --frozen-lockfile --filter "$PACKAGE_NAME..." pnpm run -r build --filter "$PACKAGE_NAME" diff --git a/package.json b/package.json index 19c7d76..9401a75 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,9 @@ { "name": "remark-extensions", "engines": { - "node": ">=10", - "pnpm": ">=3" + "node": ">=18" }, "scripts": { - "preinstall": "npx only-allow pnpm", "lint": "pnpm lint -r", "build": "pnpm build -r --parallel", "test": "pnpm test -r", diff --git a/packages/micromark-extension-kbd-nested/CHANGELOG.md b/packages/micromark-extension-kbd-nested/CHANGELOG.md index 5a3f4f6..94afc8e 100644 --- a/packages/micromark-extension-kbd-nested/CHANGELOG.md +++ b/packages/micromark-extension-kbd-nested/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 0.6.0 (2024-04-23) + +### ⚠ BREAKING CHANGES + +* provide separate CJS and ESM builds +* require pnpm v9 and Node v18 +* exclude source files from published packages + +### Bug Fixes + +* **micromark-extension-kbd-nested:** properly declare types ([32f234e](https://github.com/shivjm/remark-extensions/commit/32f234ea361d9b681bfbbb4a1d72369d1cc3028f)) +* **micromark-extension-kbd-nested:** remove `pnpm` from `engines` ([971da00](https://github.com/shivjm/remark-extensions/commit/971da00e08d99a6a6cb00d2e2c9bd8518c8d4798)) + + +### Build System + +* exclude source files from published packages ([c8b5b5c](https://github.com/shivjm/remark-extensions/commit/c8b5b5c19ea0fd0f5cedc5aa64294a1280b00504)) +* provide separate CJS and ESM builds ([a63e422](https://github.com/shivjm/remark-extensions/commit/a63e4225c3911445289d6be9696df879fab944b6)) +* require pnpm v9 and Node v18 ([2942736](https://github.com/shivjm/remark-extensions/commit/29427362a41692c964918ad6d9a3eabebfe4bbcb)) + ## 0.5.0 (2021-11-10) ### ⚠ BREAKING CHANGES diff --git a/packages/micromark-extension-kbd-nested/package.json b/packages/micromark-extension-kbd-nested/package.json index c66e092..c9e729f 100644 --- a/packages/micromark-extension-kbd-nested/package.json +++ b/packages/micromark-extension-kbd-nested/package.json @@ -1,6 +1,6 @@ { "name": "micromark-extension-kbd-nested", - "version": "0.5.0", + "version": "0.6.0", "description": "micromark extension for `kbd` element syntax with nesting, escaping & configurable delimiter", "keywords": [ "micromark", @@ -50,8 +50,7 @@ "typescript": "^4.4.4" }, "engines": { - "node": ">=18", - "pnpm": ">=9" + "node": ">=18" }, "type": "module", "publishConfig": { diff --git a/packages/remark-kbd-nested/CHANGELOG.md b/packages/remark-kbd-nested/CHANGELOG.md index 67e6ee7..4e4955d 100644 --- a/packages/remark-kbd-nested/CHANGELOG.md +++ b/packages/remark-kbd-nested/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 0.5.0 (2024-04-23) + +### ⚠ BREAKING CHANGES + +* provide separate CJS and ESM builds +* require pnpm v9 and Node v18 +* exclude source files from published packages + +### Bug Fixes + +* **remark-kbd-nested:** remove `pnpm` from `engines` ([0dba2f2](https://github.com/shivjm/remark-extensions/commit/0dba2f204bdc452c8f11f486162ddccad2f2eda6)) + + +### Build System + +* exclude source files from published packages ([c8b5b5c](https://github.com/shivjm/remark-extensions/commit/c8b5b5c19ea0fd0f5cedc5aa64294a1280b00504)) +* provide separate CJS and ESM builds ([a63e422](https://github.com/shivjm/remark-extensions/commit/a63e4225c3911445289d6be9696df879fab944b6)) +* require pnpm v9 and Node v18 ([2942736](https://github.com/shivjm/remark-extensions/commit/29427362a41692c964918ad6d9a3eabebfe4bbcb)) + ## 0.4.1 (2021-11-14) ## 0.4.0 (2021-11-10) diff --git a/packages/remark-kbd-nested/package.json b/packages/remark-kbd-nested/package.json index 1412d6c..83b94e1 100644 --- a/packages/remark-kbd-nested/package.json +++ b/packages/remark-kbd-nested/package.json @@ -1,6 +1,6 @@ { "name": "remark-kbd-nested", - "version": "0.4.1", + "version": "0.5.0", "description": "remark plugin to add support for `kbd` element syntax with configurable delimiters, escaping, and arbitrary nesting", "main": "src/index.ts", "scripts": { @@ -28,8 +28,7 @@ }, "homepage": "https://github.com/shivjm/remark-extensions#readme", "engines": { - "node": ">=18", - "pnpm": ">=9" + "node": ">=18" }, "type": "module", "publishConfig": {