@skilbjo/config-rc 1.0.27 → 1.0.29
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 +17 -6
- package/.github/workflows/pr.yml +5 -2
- package/.github/workflows/release.yml +5 -2
- package/CHANGELOG.md +16 -0
- package/index.js +1 -1
- package/package.json +4 -4
package/.eslintrc.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable perfectionist/sort-objects */
|
|
1
2
|
module.exports = {
|
|
2
3
|
env: {
|
|
3
4
|
es6: true,
|
|
@@ -21,11 +22,8 @@ module.exports = {
|
|
|
21
22
|
Atomics: 'readonly',
|
|
22
23
|
SharedArrayBuffer: 'readonly',
|
|
23
24
|
},
|
|
24
|
-
parser: '@typescript-eslint/parser',
|
|
25
25
|
parserOptions: {
|
|
26
26
|
ecmaVersion: 2022,
|
|
27
|
-
project: './tsconfig.json',
|
|
28
|
-
sourceType: 'module',
|
|
29
27
|
},
|
|
30
28
|
plugins: [
|
|
31
29
|
'@typescript-eslint',
|
|
@@ -35,10 +33,23 @@ module.exports = {
|
|
|
35
33
|
'perfectionist',
|
|
36
34
|
],
|
|
37
35
|
reportUnusedDisableDirectives: true,
|
|
36
|
+
overrides: [
|
|
37
|
+
{
|
|
38
|
+
files: ['*.ts', '*.tsx'],
|
|
39
|
+
parser: '@typescript-eslint/parser',
|
|
40
|
+
parserOptions: {
|
|
41
|
+
ecmaVersion: 2022,
|
|
42
|
+
project: './tsconfig.json',
|
|
43
|
+
sourceType: 'module',
|
|
44
|
+
},
|
|
45
|
+
rules: {
|
|
46
|
+
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
|
|
47
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
48
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
],
|
|
38
52
|
rules: {
|
|
39
|
-
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
|
|
40
|
-
'@typescript-eslint/no-floating-promises': 'error',
|
|
41
|
-
'@typescript-eslint/no-misused-promises': 'error',
|
|
42
53
|
'@typescript-eslint/no-non-null-assertion': 1,
|
|
43
54
|
'@typescript-eslint/no-unused-vars': 1,
|
|
44
55
|
eqeqeq: 2,
|
package/.github/workflows/pr.yml
CHANGED
|
@@ -19,11 +19,14 @@ jobs:
|
|
|
19
19
|
pull-requests: read # Needed to read PR information
|
|
20
20
|
|
|
21
21
|
steps:
|
|
22
|
+
- uses: step-security/harden-runner@v2
|
|
23
|
+
with:
|
|
24
|
+
egress-policy: audit
|
|
22
25
|
- uses: actions/checkout@v5
|
|
23
26
|
with:
|
|
24
27
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
25
28
|
|
|
26
|
-
- uses: actions/setup-node@
|
|
29
|
+
- uses: actions/setup-node@v5
|
|
27
30
|
with:
|
|
28
31
|
node-version-file: .nvmrc
|
|
29
32
|
cache: npm
|
|
@@ -37,7 +40,7 @@ jobs:
|
|
|
37
40
|
- name: Set up NPM authentication for dry release
|
|
38
41
|
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.ACTIONS_TOKEN }}" >> ~/.npmrc
|
|
39
42
|
|
|
40
|
-
- uses: cycjimmy/semantic-release-action@
|
|
43
|
+
- uses: cycjimmy/semantic-release-action@v5
|
|
41
44
|
id: semantic
|
|
42
45
|
with:
|
|
43
46
|
dry_run: true
|
|
@@ -25,19 +25,22 @@ jobs:
|
|
|
25
25
|
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
|
|
26
26
|
|
|
27
27
|
steps:
|
|
28
|
+
- uses: step-security/harden-runner@v2
|
|
29
|
+
with:
|
|
30
|
+
egress-policy: audit
|
|
28
31
|
- uses: actions/checkout@v5
|
|
29
32
|
with:
|
|
30
33
|
persist-credentials: false
|
|
31
34
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
|
32
35
|
|
|
33
|
-
- uses: actions/setup-node@
|
|
36
|
+
- uses: actions/setup-node@v5
|
|
34
37
|
with:
|
|
35
38
|
node-version-file: .nvmrc
|
|
36
39
|
cache: npm
|
|
37
40
|
|
|
38
41
|
- run: make ci
|
|
39
42
|
|
|
40
|
-
- uses: cycjimmy/semantic-release-action@
|
|
43
|
+
- uses: cycjimmy/semantic-release-action@v5
|
|
41
44
|
id: semantic
|
|
42
45
|
with:
|
|
43
46
|
semantic_version: 24
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.0.29](https://github.com/skilbjo/config-rc/compare/v1.0.28...v1.0.29) (2025-09-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump deps ([#385](https://github.com/skilbjo/config-rc/issues/385)) ([ff556fa](https://github.com/skilbjo/config-rc/commit/ff556fa139f26755a66e9fb382a76ba003395b22))
|
|
7
|
+
|
|
8
|
+
## [1.0.28](https://github.com/skilbjo/config-rc/compare/v1.0.27...v1.0.28) (2025-09-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps-dev:** bump @types/node from 24.3.0 to 24.3.1 ([#381](https://github.com/skilbjo/config-rc/issues/381)) ([9f2ec1b](https://github.com/skilbjo/config-rc/commit/9f2ec1bc397d66a4de7ac34a11f629057650c357))
|
|
14
|
+
* **deps:** bump actions/setup-node from 4 to 5 ([#382](https://github.com/skilbjo/config-rc/issues/382)) ([6caed29](https://github.com/skilbjo/config-rc/commit/6caed293878cf226c63d9f74afd720d2f76d6c09))
|
|
15
|
+
* **deps:** bump cycjimmy/semantic-release-action from 4 to 5 ([#378](https://github.com/skilbjo/config-rc/issues/378)) ([8eb32f7](https://github.com/skilbjo/config-rc/commit/8eb32f75f05c1e89dac1e36f773d1ff9a8909945))
|
|
16
|
+
|
|
1
17
|
## [1.0.27](https://github.com/skilbjo/config-rc/compare/v1.0.26...v1.0.27) (2025-08-30)
|
|
2
18
|
|
|
3
19
|
|
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-
|
|
5
|
+
const eslintrc = require('./.eslintrc.cjs'); // eslint-disable-line @typescript-eslint/no-require-imports
|
|
6
6
|
|
|
7
7
|
module.exports = eslintrc;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@skilbjo/config-rc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.29",
|
|
5
5
|
"description": "eslint, prettier, & tsconfig config",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"private": false,
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@tsconfig/node22": "22.0.2",
|
|
32
32
|
"@types/jest": "30.0.0",
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "
|
|
34
|
-
"@typescript-eslint/parser": "
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "8.42.0",
|
|
34
|
+
"@typescript-eslint/parser": "8.42.0",
|
|
35
35
|
"eslint": "8.57.0",
|
|
36
36
|
"eslint-config-prettier": "9.1.0",
|
|
37
37
|
"eslint-config-typescript": "3.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@commitlint/cli": "19.3.0",
|
|
50
50
|
"@commitlint/config-angular": "16.2.4",
|
|
51
|
-
"@types/node": "24.3.
|
|
51
|
+
"@types/node": "24.3.1",
|
|
52
52
|
"depcheck": "1.4.7",
|
|
53
53
|
"husky": "8.0.1"
|
|
54
54
|
},
|