@skilbjo/config-rc 1.0.12 → 1.0.14
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 +10 -11
- package/.github/workflows/release.yml +6 -6
- package/CHANGELOG.md +17 -0
- package/package.json +4 -5
package/.eslintrc.cjs
CHANGED
|
@@ -8,14 +8,14 @@ module.exports = {
|
|
|
8
8
|
'prettier',
|
|
9
9
|
'typescript',
|
|
10
10
|
'eslint:recommended',
|
|
11
|
-
'plugin:node/recommended',
|
|
12
|
-
'plugin:prettier/recommended',
|
|
13
|
-
'plugin:import/recommended',
|
|
14
|
-
'plugin:import/typescript',
|
|
15
11
|
'plugin:@typescript-eslint/recommended',
|
|
16
12
|
'plugin:@typescript-eslint/strict',
|
|
17
|
-
'plugin:
|
|
13
|
+
'plugin:import/recommended',
|
|
14
|
+
'plugin:import/typescript',
|
|
15
|
+
'plugin:node/recommended',
|
|
16
|
+
'plugin:prettier/recommended',
|
|
18
17
|
'plugin:security/recommended-legacy',
|
|
18
|
+
'plugin:perfectionist/recommended-alphabetical-legacy',
|
|
19
19
|
],
|
|
20
20
|
globals: {
|
|
21
21
|
Atomics: 'readonly',
|
|
@@ -28,12 +28,11 @@ module.exports = {
|
|
|
28
28
|
sourceType: 'module',
|
|
29
29
|
},
|
|
30
30
|
plugins: [
|
|
31
|
-
'
|
|
31
|
+
'@typescript-eslint',
|
|
32
32
|
'import',
|
|
33
33
|
'jest',
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'@typescript-eslint',
|
|
34
|
+
'prettier',
|
|
35
|
+
'perfectionist',
|
|
37
36
|
],
|
|
38
37
|
reportUnusedDisableDirectives: true,
|
|
39
38
|
rules: {
|
|
@@ -55,6 +54,8 @@ module.exports = {
|
|
|
55
54
|
'node/no-missing-import': 'off', // conflicts with typescript absolute imports
|
|
56
55
|
'node/no-unsupported-features/es-syntax': 'off',
|
|
57
56
|
'node/shebang': 'off',
|
|
57
|
+
'perfectionist/sort-exports': 'off',
|
|
58
|
+
'perfectionist/sort-imports': 'off',
|
|
58
59
|
'prettier/prettier': [
|
|
59
60
|
'error',
|
|
60
61
|
{
|
|
@@ -67,8 +68,6 @@ module.exports = {
|
|
|
67
68
|
},
|
|
68
69
|
],
|
|
69
70
|
'security/detect-object-injection': 'off',
|
|
70
|
-
'sort-keys-fix/sort-keys-fix': 'warn',
|
|
71
|
-
'typescript-sort-keys/interface': 'warn',
|
|
72
71
|
},
|
|
73
72
|
settings: {
|
|
74
73
|
'import/parsers': {
|
|
@@ -50,6 +50,12 @@ jobs:
|
|
|
50
50
|
NPM_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
|
51
51
|
NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
|
52
52
|
|
|
53
|
+
- name: Push updates to branch for major version
|
|
54
|
+
# if there is a new version published, let's say v1.2.3
|
|
55
|
+
# then this step will update branch "v1" to this commit
|
|
56
|
+
if: steps.semantic.outputs.new_release_published == 'true'
|
|
57
|
+
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
|
+
|
|
53
59
|
- name: prepare npm
|
|
54
60
|
run: |
|
|
55
61
|
# npm --no-git-tag-version version ${{ steps.semantic.outputs.new_release_version }}
|
|
@@ -61,9 +67,3 @@ jobs:
|
|
|
61
67
|
with:
|
|
62
68
|
token: ${{ secrets.NPM_TOKEN }}
|
|
63
69
|
access: public
|
|
64
|
-
|
|
65
|
-
# - name: Push updates to branch for major version
|
|
66
|
-
# # if there is a new version published, let's say v1.2.3
|
|
67
|
-
# # then this step will update branch "v1" to this commit
|
|
68
|
-
# if: steps.semantic.outputs.new_release_published == 'true'
|
|
69
|
-
# 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}}"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [1.0.14](https://github.com/skilbjo/config-rc/compare/v1.0.13...v1.0.14) (2024-10-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump typescript from 5.6.2 to 5.6.3 ([#163](https://github.com/skilbjo/config-rc/issues/163)) ([522da70](https://github.com/skilbjo/config-rc/commit/522da709d4a2b96b924fc70962e97dfa431d92be))
|
|
7
|
+
* update config ([8e1fccd](https://github.com/skilbjo/config-rc/commit/8e1fccd5fb3e7aae73dddc47266300abb25962a8))
|
|
8
|
+
|
|
9
|
+
## [1.0.13](https://github.com/skilbjo/config-rc/compare/v1.0.12...v1.0.13) (2024-10-11)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **deps:** bump eslint-plugin-import from 2.30.0 to 2.31.0 ([#159](https://github.com/skilbjo/config-rc/issues/159)) ([6f51945](https://github.com/skilbjo/config-rc/commit/6f51945064c64bbb8296d246d846525a46768bab))
|
|
15
|
+
* **deps:** bump eslint-plugin-typescript-sort-keys from 3.2.0 to 3.3.0 ([#161](https://github.com/skilbjo/config-rc/issues/161)) ([5e194b9](https://github.com/skilbjo/config-rc/commit/5e194b9f61bbf1805579378d34e535e40f1c4613))
|
|
16
|
+
* **lint:** add perfectionist plugin ([2187e1e](https://github.com/skilbjo/config-rc/commit/2187e1e3657246161acb5279742c0a3af09421e7))
|
|
17
|
+
|
|
1
18
|
## [1.0.12](https://github.com/skilbjo/config-rc/compare/v1.0.11...v1.0.12) (2024-10-05)
|
|
2
19
|
|
|
3
20
|
|
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.14",
|
|
5
5
|
"description": "eslint, prettier, & tsconfig config",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -30,15 +30,14 @@
|
|
|
30
30
|
"eslint-config-prettier": "9.1.0",
|
|
31
31
|
"eslint-config-typescript": "3.0.0",
|
|
32
32
|
"eslint-import-resolver-typescript": "3.6.3",
|
|
33
|
-
"eslint-plugin-import": "2.
|
|
33
|
+
"eslint-plugin-import": "2.31.0",
|
|
34
34
|
"eslint-plugin-jest": "28.8.3",
|
|
35
35
|
"eslint-plugin-node": "11.1.0",
|
|
36
|
+
"eslint-plugin-perfectionist": "3.8.0",
|
|
36
37
|
"eslint-plugin-prettier": "5.2.1",
|
|
37
|
-
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
38
|
-
"eslint-plugin-typescript-sort-keys": "3.2.0",
|
|
39
38
|
"eslint-plugin-security": "3.0.1",
|
|
40
39
|
"prettier": "3.3.3",
|
|
41
|
-
"typescript": "5.6.
|
|
40
|
+
"typescript": "5.6.3"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"@commitlint/cli": "19.3.0",
|