@skilbjo/config-rc 1.0.19 → 1.0.23

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/.eslintrc.cjs CHANGED
@@ -50,7 +50,10 @@ module.exports = {
50
50
  'import/no-duplicates': 2,
51
51
  'import/no-unresolved': 2,
52
52
  'import/order': 2,
53
+ 'n/hashbang': 'off',
54
+ 'n/no-extraneous-import': 'off',
53
55
  'n/no-missing-import': 'off', // conflicts with typescript absolute imports
56
+ 'n/no-process-exit': 'off',
54
57
  'n/no-unsupported-features/es-syntax': 'off',
55
58
  'n/shebang': 'off',
56
59
  'no-multiple-empty-lines': [2, { max: 1, maxEOF: 0 }],
@@ -12,6 +12,7 @@ defaults:
12
12
  permissions:
13
13
  pull-requests: write
14
14
  contents: write
15
+ id-token: write
15
16
 
16
17
  jobs:
17
18
  build-and-test:
@@ -40,11 +41,11 @@ jobs:
40
41
  - name: Set up NPM authentication for dry release
41
42
  run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.ACTIONS_TOKEN }}" >> ~/.npmrc
42
43
 
43
- - uses: cycjimmy/semantic-release-action@v4.1.1
44
- id: semantic # need an `id` for output variables
44
+ - uses: cycjimmy/semantic-release-action@v4
45
+ id: semantic
45
46
  with:
46
47
  dry_run: true
47
- semantic_version: 18
48
+ semantic_version: 24
48
49
  extra_plugins: |
49
50
  @semantic-release/git@10.0.1
50
51
  @semantic-release/changelog@6.0.0
@@ -60,7 +61,7 @@ jobs:
60
61
  timeout-minutes: 2
61
62
  if: ${{ github.actor == 'dependabot[bot]' }}
62
63
  steps:
63
- - uses: dependabot/fetch-metadata@v2.2.0
64
+ - uses: dependabot/fetch-metadata@v2.3.0
64
65
  with:
65
66
  github-token: ${{ secrets.GITHUB_TOKEN }}
66
67
  - name: Approve a PR
@@ -13,6 +13,10 @@ defaults:
13
13
 
14
14
  jobs:
15
15
  publish-artifact:
16
+ permissions:
17
+ issues: write
18
+ packages: write
19
+ id-token: write
16
20
  runs-on: ubuntu-latest
17
21
  timeout-minutes: 10
18
22
 
@@ -37,10 +41,10 @@ jobs:
37
41
 
38
42
  - run: make ci
39
43
 
40
- - uses: cycjimmy/semantic-release-action@v4.1.1
41
- id: semantic # need an `id` for output variables
44
+ - uses: cycjimmy/semantic-release-action@v4
45
+ id: semantic
42
46
  with:
43
- semantic_version: 18
47
+ semantic_version: 24
44
48
  extra_plugins: |
45
49
  @semantic-release/git@10.0.1
46
50
  @semantic-release/changelog@6.0.0
@@ -57,9 +61,10 @@ jobs:
57
61
  run: "git push https://x-access-token:${{ secrets.ACTIONS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}"
58
62
 
59
63
  - name: prepare npm
64
+ if: steps.semantic.outputs.new_release_published == 'true'
60
65
  run: |
61
66
  # npm --no-git-tag-version version ${{ steps.semantic.outputs.new_release_version }}
62
- jq 'del(.repository, .publishConfig) | . + { publishConfig: { registry: "https://registry.npmjs.org/" } }' package.json >package2.json && mv package2.json package.json
67
+ jq 'del(.publishConfig) | . + { publishConfig: { registry: "https://registry.npmjs.org/", "access": "public", "provenance": true } }' package.json >package2.json && mv package2.json package.json
63
68
 
64
69
  - name: Publish to NPM
65
70
  if: steps.semantic.outputs.new_release_published == 'true'
package/CHANGELOG.md CHANGED
@@ -1,3 +1,66 @@
1
+ ## [1.0.23](https://github.com/skilbjo/config-rc/compare/v1.0.22...v1.0.23) (2025-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * provenance error ([ae8889a](https://github.com/skilbjo/config-rc/commit/ae8889a4762b5a353d01d7d2c36301bd75a2ed93))
7
+
8
+ ## [1.0.22](https://github.com/skilbjo/config-rc/compare/v1.0.21...v1.0.22) (2025-03-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update permissions ([236a186](https://github.com/skilbjo/config-rc/commit/236a186f66e29374a6509f3cae2506a21b32a373))
14
+
15
+ ## [1.0.21](https://github.com/skilbjo/config-rc/compare/v1.0.20...v1.0.21) (2025-03-05)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps-dev:** bump @types/node from 22.10.1 to 22.10.2 ([#200](https://github.com/skilbjo/config-rc/issues/200)) ([adf6dbd](https://github.com/skilbjo/config-rc/commit/adf6dbde94ebe893ea9cb4c4cdc662abddca8427))
21
+ * **deps-dev:** bump @types/node from 22.10.10 to 22.13.0 ([#230](https://github.com/skilbjo/config-rc/issues/230)) ([48373ca](https://github.com/skilbjo/config-rc/commit/48373caccaa8bafbe905f80e076a9195e5cce36b))
22
+ * **deps-dev:** bump @types/node from 22.10.2 to 22.10.7 ([#221](https://github.com/skilbjo/config-rc/issues/221)) ([1dd3869](https://github.com/skilbjo/config-rc/commit/1dd3869ecd43b9741eab50f5e32c93d3662c2cf3))
23
+ * **deps-dev:** bump @types/node from 22.10.7 to 22.10.10 ([#225](https://github.com/skilbjo/config-rc/issues/225)) ([287b602](https://github.com/skilbjo/config-rc/commit/287b602d8acb0ea53013eaf9ffe3012c70843ca6))
24
+ * **deps-dev:** bump @types/node from 22.13.0 to 22.13.1 ([#237](https://github.com/skilbjo/config-rc/issues/237)) ([88c108a](https://github.com/skilbjo/config-rc/commit/88c108a04e850fbc7a5971a2f996ec13f9542903))
25
+ * **deps-dev:** bump @types/node from 22.13.1 to 22.13.5 ([#249](https://github.com/skilbjo/config-rc/issues/249)) ([40c1b21](https://github.com/skilbjo/config-rc/commit/40c1b210003a8eef1a188b208b2ebaed4abc2dd5))
26
+ * **deps-dev:** bump @types/node from 22.13.5 to 22.13.8 ([#256](https://github.com/skilbjo/config-rc/issues/256)) ([5d0e086](https://github.com/skilbjo/config-rc/commit/5d0e08606b31abb29ca6c5c481de2a47ff91783a))
27
+ * **deps-dev:** bump @types/node from 22.9.0 to 22.10.1 ([#191](https://github.com/skilbjo/config-rc/issues/191)) ([c4fbcdf](https://github.com/skilbjo/config-rc/commit/c4fbcdf57f3936f8c6699453ba97ddf0999457b1))
28
+ * **deps:** bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 ([#224](https://github.com/skilbjo/config-rc/issues/224)) ([ea66904](https://github.com/skilbjo/config-rc/commit/ea669042991aa07cc9e9488cc39090fec8b2f6d1))
29
+ * **deps:** bump eslint-import-resolver-typescript from 3.6.3 to 3.7.0 ([#197](https://github.com/skilbjo/config-rc/issues/197)) ([4a03f6e](https://github.com/skilbjo/config-rc/commit/4a03f6e393dfc048aa6c671ee09937373d3fb379))
30
+ * **deps:** bump eslint-import-resolver-typescript from 3.7.0 to 3.8.3 ([#247](https://github.com/skilbjo/config-rc/issues/247)) ([a4379d3](https://github.com/skilbjo/config-rc/commit/a4379d3c3bd4a0ea611c26d1e7f0b91302f6d533))
31
+ * **deps:** bump eslint-plugin-jest from 28.10.0 to 28.11.0 ([#222](https://github.com/skilbjo/config-rc/issues/222)) ([773ae94](https://github.com/skilbjo/config-rc/commit/773ae946cfa35b1145fd8139e403a8997b128fe8))
32
+ * **deps:** bump eslint-plugin-jest from 28.9.0 to 28.10.0 ([#204](https://github.com/skilbjo/config-rc/issues/204)) ([096f197](https://github.com/skilbjo/config-rc/commit/096f19703d522d3f98db6d116cf9738b0158bf45))
33
+ * **deps:** bump eslint-plugin-n from 17.13.2 to 17.14.0 ([#187](https://github.com/skilbjo/config-rc/issues/187)) ([7491940](https://github.com/skilbjo/config-rc/commit/74919407c44be5dd516bd843289e978edeccc454))
34
+ * **deps:** bump eslint-plugin-n from 17.14.0 to 17.15.0 ([#201](https://github.com/skilbjo/config-rc/issues/201)) ([702873a](https://github.com/skilbjo/config-rc/commit/702873ab50091c90a3c238477578499bd79fa6d4))
35
+ * **deps:** bump eslint-plugin-n from 17.15.0 to 17.15.1 ([#207](https://github.com/skilbjo/config-rc/issues/207)) ([279ed17](https://github.com/skilbjo/config-rc/commit/279ed17bbe3837873655ce36c3eba0351b6b8fda))
36
+ * **deps:** bump eslint-plugin-perfectionist from 3.9.1 to 4.0.3 ([#189](https://github.com/skilbjo/config-rc/issues/189)) ([3996bf3](https://github.com/skilbjo/config-rc/commit/3996bf33ad34fa8fdb9edca3221fa0d6ac0c5fd8))
37
+ * **deps:** bump eslint-plugin-perfectionist from 4.0.3 to 4.1.2 ([#192](https://github.com/skilbjo/config-rc/issues/192)) ([f7ca5e3](https://github.com/skilbjo/config-rc/commit/f7ca5e34a40215234db2e23bc5ed4926206518eb))
38
+ * **deps:** bump eslint-plugin-perfectionist from 4.1.2 to 4.2.0 ([#199](https://github.com/skilbjo/config-rc/issues/199)) ([3996104](https://github.com/skilbjo/config-rc/commit/39961043d99f89db2ad2426375971ff6ef50b571))
39
+ * **deps:** bump eslint-plugin-perfectionist from 4.2.0 to 4.3.0 ([#203](https://github.com/skilbjo/config-rc/issues/203)) ([509ccc0](https://github.com/skilbjo/config-rc/commit/509ccc0c94ce34908abc43081e237a23a1bbedc0))
40
+ * **deps:** bump eslint-plugin-perfectionist from 4.3.0 to 4.4.0 ([#206](https://github.com/skilbjo/config-rc/issues/206)) ([cc2bd3d](https://github.com/skilbjo/config-rc/commit/cc2bd3dd53232a01833ba6eb4d553c3c0b7a7f12))
41
+ * **deps:** bump eslint-plugin-perfectionist from 4.4.0 to 4.6.0 ([#211](https://github.com/skilbjo/config-rc/issues/211)) ([9562321](https://github.com/skilbjo/config-rc/commit/956232166fd2a76bc06c681a64ce7784748d5990))
42
+ * **deps:** bump eslint-plugin-perfectionist from 4.6.0 to 4.7.0 ([#228](https://github.com/skilbjo/config-rc/issues/228)) ([00a2c90](https://github.com/skilbjo/config-rc/commit/00a2c909915bf20da9234d44fbd805bd1b1b66cd))
43
+ * **deps:** bump eslint-plugin-perfectionist from 4.7.0 to 4.8.0 ([#234](https://github.com/skilbjo/config-rc/issues/234)) ([93c0430](https://github.com/skilbjo/config-rc/commit/93c0430c037789cc8851b57b4b8dc9632d9231da))
44
+ * **deps:** bump eslint-plugin-perfectionist from 4.8.0 to 4.9.0 ([#241](https://github.com/skilbjo/config-rc/issues/241)) ([143f506](https://github.com/skilbjo/config-rc/commit/143f506bc9ffb863b8126102435b057d9cdaff79))
45
+ * **deps:** bump eslint-plugin-prettier from 5.2.1 to 5.2.3 ([#220](https://github.com/skilbjo/config-rc/issues/220)) ([6687fda](https://github.com/skilbjo/config-rc/commit/6687fda49d90f15db5ed39d48a45c9b5fea23948))
46
+ * **deps:** bump prettier from 3.3.3 to 3.4.1 ([#195](https://github.com/skilbjo/config-rc/issues/195)) ([09e3ac7](https://github.com/skilbjo/config-rc/commit/09e3ac70b64efa8d45a1573cfbaadc138e0db094))
47
+ * **deps:** bump prettier from 3.4.1 to 3.4.2 ([#198](https://github.com/skilbjo/config-rc/issues/198)) ([b10ce88](https://github.com/skilbjo/config-rc/commit/b10ce88c8c8acd1a92a8acde64fbba621f38884a))
48
+ * **deps:** bump prettier from 3.4.2 to 3.5.0 ([#238](https://github.com/skilbjo/config-rc/issues/238)) ([5cdedfa](https://github.com/skilbjo/config-rc/commit/5cdedfafb7cabd2e1dcb7ec55591e724ee583f42))
49
+ * **deps:** bump prettier from 3.5.0 to 3.5.1 ([#245](https://github.com/skilbjo/config-rc/issues/245)) ([ed9311c](https://github.com/skilbjo/config-rc/commit/ed9311c0739e0e98cb1ab2d4d0c050c7d1012773))
50
+ * **deps:** bump prettier from 3.5.1 to 3.5.2 ([#251](https://github.com/skilbjo/config-rc/issues/251)) ([76d1aba](https://github.com/skilbjo/config-rc/commit/76d1aba8f2f70a0259a6351bd9c27b521d37da76))
51
+ * **deps:** bump prettier from 3.5.2 to 3.5.3 ([#253](https://github.com/skilbjo/config-rc/issues/253)) ([cd45ffc](https://github.com/skilbjo/config-rc/commit/cd45ffc1f59153fc3c13f7eb5f0aeae23556a81e))
52
+ * **deps:** bump typescript from 5.6.3 to 5.7.2 ([#188](https://github.com/skilbjo/config-rc/issues/188)) ([4b960a6](https://github.com/skilbjo/config-rc/commit/4b960a60afbb2bd1680b3447130692a4eb15a71c))
53
+ * **deps:** bump typescript from 5.7.2 to 5.7.3 ([#217](https://github.com/skilbjo/config-rc/issues/217)) ([449d02a](https://github.com/skilbjo/config-rc/commit/449d02a8944a7764cb1350becb90ec04f456aee5))
54
+ * **deps:** bump typescript from 5.7.3 to 5.8.2 ([#254](https://github.com/skilbjo/config-rc/issues/254)) ([5bdc242](https://github.com/skilbjo/config-rc/commit/5bdc242844c9e284fd4d656dfaad11294e5768ae))
55
+ * publish with provenance ([7dd05da](https://github.com/skilbjo/config-rc/commit/7dd05da689e4a86ba4a3403240f47876d0dc6b58))
56
+
57
+ ## [1.0.20](https://github.com/skilbjo/config-rc/compare/v1.0.19...v1.0.20) (2024-11-23)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * update rules ([2f293ae](https://github.com/skilbjo/config-rc/commit/2f293aee25efa2485c3bf6738a6053232ddabd27))
63
+
1
64
  ## [1.0.19](https://github.com/skilbjo/config-rc/compare/v1.0.18...v1.0.19) (2024-11-23)
2
65
 
3
66
 
package/index.js CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  // const require = createRequire(import.meta.url);
4
4
 
5
- const eslintrc = require('./.eslintrc.cjs'); // eslint-disable-line @typescript-eslint/no-var-requires, n/no-missing-require
5
+ const eslintrc = require('./.eslintrc.cjs'); // eslint-disable-line @typescript-eslint/no-var-requires
6
6
 
7
7
  module.exports = eslintrc;
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@skilbjo/config-rc",
4
- "version": "1.0.19",
4
+ "version": "1.0.23",
5
5
  "description": "eslint, prettier, & tsconfig config",
6
6
  "main": "index.js",
7
+ "private": false,
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/skilbjo/config-rc.git"
11
+ },
7
12
  "scripts": {
8
13
  "prepare": "if [[ -z $GITHUB_ACTIONS ]]; then npx husky install; fi",
9
14
  "eslint": "eslint .",
@@ -29,20 +34,20 @@
29
34
  "eslint": "8.57.0",
30
35
  "eslint-config-prettier": "9.1.0",
31
36
  "eslint-config-typescript": "3.0.0",
32
- "eslint-import-resolver-typescript": "3.6.3",
37
+ "eslint-import-resolver-typescript": "3.8.3",
33
38
  "eslint-plugin-import": "2.31.0",
34
- "eslint-plugin-jest": "28.9.0",
35
- "eslint-plugin-n": "17.13.2",
36
- "eslint-plugin-perfectionist": "3.9.1",
37
- "eslint-plugin-prettier": "5.2.1",
39
+ "eslint-plugin-jest": "28.11.0",
40
+ "eslint-plugin-n": "17.15.1",
41
+ "eslint-plugin-perfectionist": "4.9.0",
42
+ "eslint-plugin-prettier": "5.2.3",
38
43
  "eslint-plugin-security": "3.0.1",
39
- "prettier": "3.3.3",
40
- "typescript": "5.6.3"
44
+ "prettier": "3.5.3",
45
+ "typescript": "5.8.2"
41
46
  },
42
47
  "devDependencies": {
43
48
  "@commitlint/cli": "19.3.0",
44
49
  "@commitlint/config-angular": "16.2.4",
45
- "@types/node": "22.9.0",
50
+ "@types/node": "22.13.8",
46
51
  "depcheck": "1.4.7",
47
52
  "husky": "8.0.1"
48
53
  },
@@ -55,6 +60,8 @@
55
60
  "node": ">=20.0.0"
56
61
  },
57
62
  "publishConfig": {
58
- "registry": "https://registry.npmjs.org/"
63
+ "registry": "https://registry.npmjs.org/",
64
+ "access": "public",
65
+ "provenance": true
59
66
  }
60
67
  }