@ivuorinen/base-configs 1.0.0 → 1.0.2
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/.github/SECURITY.md +2 -4
- package/.github/labels.yml +54 -54
- package/.github/workflows/codeql.yml +51 -0
- package/.github/workflows/pr-lint.yml +54 -0
- package/.github/workflows/pr.yml +7 -7
- package/.github/workflows/publish.yml +14 -8
- package/.github/workflows/stale.yml +2 -2
- package/.github/workflows/sync-labels.yml +41 -0
- package/.nvmrc +1 -1
- package/.releaserc.json +6 -1
- package/CHANGELOG.md +325 -312
- package/README.md +1 -1
- package/package.json +4 -4
- package/.github/workflows/codeql-analysis.yml +0 -46
package/.github/SECURITY.md
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported Versions
|
|
4
4
|
|
|
5
|
-
Only the latest versions of the configuration packages and
|
|
6
|
-
the base package are as of now supported.
|
|
5
|
+
Only the latest versions of the configuration packages and the base package are as of now supported.
|
|
7
6
|
|
|
8
7
|
## Reporting a Vulnerability
|
|
9
8
|
|
|
10
|
-
This repository has automatic package update systems in place.
|
|
11
|
-
If you find a vulnerability, please send me email and I'll fix it as soon as possible.
|
|
9
|
+
This repository has automatic package update systems in place. If you find a vulnerability, please send me email and I'll fix it as soon as possible.
|
package/.github/labels.yml
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
---
|
|
2
|
-
- name:
|
|
2
|
+
- name: 'breaking-change'
|
|
3
3
|
color: ee0701
|
|
4
|
-
description:
|
|
5
|
-
- name:
|
|
4
|
+
description: 'A breaking change for existing users.'
|
|
5
|
+
- name: 'bugfix'
|
|
6
6
|
color: ee0701
|
|
7
|
-
description:
|
|
8
|
-
- name:
|
|
7
|
+
description: 'Inconsistencies or issues which will cause a problem for users or implementors.'
|
|
8
|
+
- name: 'documentation'
|
|
9
9
|
color: 0052cc
|
|
10
|
-
description:
|
|
11
|
-
- name:
|
|
10
|
+
description: 'Solely about the documentation of the project.'
|
|
11
|
+
- name: 'enhancement'
|
|
12
12
|
color: 1d76db
|
|
13
|
-
description:
|
|
14
|
-
- name:
|
|
13
|
+
description: 'Enhancement of the code, not introducing new features.'
|
|
14
|
+
- name: 'refactor'
|
|
15
15
|
color: 1d76db
|
|
16
|
-
description:
|
|
17
|
-
- name:
|
|
16
|
+
description: 'Improvement of existing code, not introducing new features.'
|
|
17
|
+
- name: 'performance'
|
|
18
18
|
color: 1d76db
|
|
19
|
-
description:
|
|
20
|
-
- name:
|
|
19
|
+
description: 'Improving performance, not introducing new features.'
|
|
20
|
+
- name: 'new-feature'
|
|
21
21
|
color: 0e8a16
|
|
22
|
-
description:
|
|
23
|
-
- name:
|
|
22
|
+
description: 'New features or options.'
|
|
23
|
+
- name: 'maintenance'
|
|
24
24
|
color: 2af79e
|
|
25
|
-
description:
|
|
26
|
-
- name:
|
|
25
|
+
description: 'Generic maintenance tasks.'
|
|
26
|
+
- name: 'ci'
|
|
27
27
|
color: 1d76db
|
|
28
|
-
description:
|
|
29
|
-
- name:
|
|
28
|
+
description: 'Work that improves the continue integration.'
|
|
29
|
+
- name: 'dependencies'
|
|
30
30
|
color: 1d76db
|
|
31
|
-
description:
|
|
32
|
-
- name:
|
|
31
|
+
description: 'Upgrade or downgrade of project dependencies.'
|
|
32
|
+
- name: 'translations'
|
|
33
33
|
color: d4c5f9
|
|
34
|
-
description:
|
|
34
|
+
description: 'Impacts translations.'
|
|
35
35
|
|
|
36
|
-
- name:
|
|
36
|
+
- name: 'in-progress'
|
|
37
37
|
color: fbca04
|
|
38
|
-
description:
|
|
39
|
-
- name:
|
|
38
|
+
description: 'Issue is currently being resolved by a developer.'
|
|
39
|
+
- name: 'stale'
|
|
40
40
|
color: fef2c0
|
|
41
|
-
description:
|
|
42
|
-
- name:
|
|
41
|
+
description: 'There has not been activity on this issue or PR for quite some time.'
|
|
42
|
+
- name: 'no-stale'
|
|
43
43
|
color: fef2c0
|
|
44
|
-
description:
|
|
44
|
+
description: 'This issue or PR is exempted from the stable bot.'
|
|
45
45
|
|
|
46
|
-
- name:
|
|
46
|
+
- name: 'security'
|
|
47
47
|
color: ee0701
|
|
48
|
-
description:
|
|
49
|
-
- name:
|
|
48
|
+
description: 'Marks a security issue that needs to be resolved asap.'
|
|
49
|
+
- name: 'incomplete'
|
|
50
50
|
color: fef2c0
|
|
51
|
-
description:
|
|
52
|
-
- name:
|
|
51
|
+
description: 'Marks a PR or issue that is missing information.'
|
|
52
|
+
- name: 'invalid'
|
|
53
53
|
color: fef2c0
|
|
54
|
-
description:
|
|
54
|
+
description: 'Marks a PR or issue that is missing information.'
|
|
55
55
|
|
|
56
|
-
- name:
|
|
56
|
+
- name: 'beginner-friendly'
|
|
57
57
|
color: 0e8a16
|
|
58
|
-
description:
|
|
59
|
-
- name:
|
|
58
|
+
description: 'Good first issue for people wanting to contribute to the project.'
|
|
59
|
+
- name: 'help-wanted'
|
|
60
60
|
color: 0e8a16
|
|
61
|
-
description:
|
|
61
|
+
description: 'We need some extra helping hands or expertise in order to resolve this.'
|
|
62
62
|
|
|
63
|
-
- name:
|
|
64
|
-
description:
|
|
63
|
+
- name: 'hacktoberfest'
|
|
64
|
+
description: 'Issues/PRs are participating in the Hacktoberfest.'
|
|
65
65
|
color: fbca04
|
|
66
|
-
- name:
|
|
67
|
-
description:
|
|
66
|
+
- name: 'hacktoberfest-accepted'
|
|
67
|
+
description: 'Issues/PRs are participating in the Hacktoberfest.'
|
|
68
68
|
color: fbca04
|
|
69
69
|
|
|
70
|
-
- name:
|
|
70
|
+
- name: 'priority-critical'
|
|
71
71
|
color: ee0701
|
|
72
|
-
description:
|
|
73
|
-
- name:
|
|
72
|
+
description: 'This should be dealt with ASAP. Not fixing this issue would be a serious error.'
|
|
73
|
+
- name: 'priority-high'
|
|
74
74
|
color: b60205
|
|
75
|
-
description:
|
|
76
|
-
- name:
|
|
75
|
+
description: 'After critical issues are fixed, these should be dealt with before any further issues.'
|
|
76
|
+
- name: 'priority-medium'
|
|
77
77
|
color: 0e8a16
|
|
78
|
-
description:
|
|
79
|
-
- name:
|
|
78
|
+
description: 'This issue may be useful, and needs some attention.'
|
|
79
|
+
- name: 'priority-low'
|
|
80
80
|
color: e4ea8a
|
|
81
|
-
description:
|
|
81
|
+
description: 'Nice addition, maybe... someday...'
|
|
82
82
|
|
|
83
|
-
- name:
|
|
83
|
+
- name: 'major'
|
|
84
84
|
color: b60205
|
|
85
|
-
description:
|
|
86
|
-
- name:
|
|
85
|
+
description: 'This PR causes a major version bump in the version number.'
|
|
86
|
+
- name: 'minor'
|
|
87
87
|
color: 0e8a16
|
|
88
|
-
description:
|
|
88
|
+
description: 'This PR causes a minor version bump in the version number.'
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
3
|
+
name: 'CodeQL Advanced'
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: ['main']
|
|
8
|
+
pull_request:
|
|
9
|
+
branches: ['main']
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '30 1 * * 0' # Run at 1:30 AM UTC every Sunday
|
|
12
|
+
merge_group:
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
actions: read
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
analyze:
|
|
20
|
+
name: Analyze (${{ matrix.language }})
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
permissions:
|
|
23
|
+
actions: read
|
|
24
|
+
contents: read
|
|
25
|
+
security-events: write
|
|
26
|
+
packages: read
|
|
27
|
+
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
include:
|
|
32
|
+
- language: actions
|
|
33
|
+
build-mode: none
|
|
34
|
+
- language: javascript-typescript
|
|
35
|
+
build-mode: none
|
|
36
|
+
|
|
37
|
+
steps:
|
|
38
|
+
- name: Checkout repository
|
|
39
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
40
|
+
|
|
41
|
+
- name: Initialize CodeQL
|
|
42
|
+
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
|
|
43
|
+
with:
|
|
44
|
+
languages: ${{ matrix.language }}
|
|
45
|
+
build-mode: ${{ matrix.build-mode }}
|
|
46
|
+
queries: security-and-quality
|
|
47
|
+
|
|
48
|
+
- name: Perform CodeQL Analysis
|
|
49
|
+
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
|
|
50
|
+
with:
|
|
51
|
+
category: '/language:${{matrix.language}}'
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
3
|
+
name: Lint PR Code Base
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [master, main]
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
permissions: read-all
|
|
14
|
+
|
|
15
|
+
env:
|
|
16
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
17
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
Linter:
|
|
21
|
+
name: PR Lint
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
timeout-minutes: 15
|
|
24
|
+
permissions:
|
|
25
|
+
contents: read
|
|
26
|
+
issues: write
|
|
27
|
+
packages: read
|
|
28
|
+
pull-requests: write
|
|
29
|
+
statuses: write
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout
|
|
33
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
34
|
+
with:
|
|
35
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
+
|
|
37
|
+
- name: Install and enable corepack
|
|
38
|
+
shell: sh
|
|
39
|
+
run: npm install -g corepack --force && corepack enable
|
|
40
|
+
|
|
41
|
+
- name: Yarn Lock Changes
|
|
42
|
+
uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
|
|
43
|
+
with:
|
|
44
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
+
env:
|
|
46
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
47
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
48
|
+
|
|
49
|
+
- name: Run PR Lint
|
|
50
|
+
# https://github.com/ivuorinen/actions
|
|
51
|
+
uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
|
52
|
+
env:
|
|
53
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
54
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.github/workflows/pr.yml
CHANGED
|
@@ -16,20 +16,20 @@ jobs:
|
|
|
16
16
|
|
|
17
17
|
steps:
|
|
18
18
|
- name: Checkout
|
|
19
|
-
uses: actions/checkout@
|
|
19
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
20
20
|
with:
|
|
21
21
|
fetch-depth: 0
|
|
22
22
|
|
|
23
23
|
- name: Setup Node.js Environment
|
|
24
|
-
uses: actions/setup-node@
|
|
24
|
+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
25
25
|
with:
|
|
26
26
|
always-auth: true
|
|
27
|
-
node-version-file:
|
|
28
|
-
registry-url:
|
|
29
|
-
scope:
|
|
27
|
+
node-version-file: '.nvmrc'
|
|
28
|
+
registry-url: 'https://registry.npmjs.org'
|
|
29
|
+
scope: '@ivuorinen'
|
|
30
30
|
|
|
31
31
|
- name: Cache Node Modules
|
|
32
|
-
uses: actions/cache@
|
|
32
|
+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
|
33
33
|
id: cache
|
|
34
34
|
with:
|
|
35
35
|
path: node_modules
|
|
@@ -45,6 +45,6 @@ jobs:
|
|
|
45
45
|
run: yarn install
|
|
46
46
|
|
|
47
47
|
- name: Yarn Lock Changes
|
|
48
|
-
uses: Simek/yarn-lock-changes@
|
|
48
|
+
uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
|
|
49
49
|
with:
|
|
50
50
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -6,7 +6,8 @@ on:
|
|
|
6
6
|
branches:
|
|
7
7
|
- main
|
|
8
8
|
|
|
9
|
-
permissions:
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
10
11
|
|
|
11
12
|
env:
|
|
12
13
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -26,7 +27,7 @@ jobs:
|
|
|
26
27
|
steps:
|
|
27
28
|
- name: Run PR Lint
|
|
28
29
|
# https://github.com/ivuorinen/actions
|
|
29
|
-
uses: ivuorinen/actions/pr-lint@
|
|
30
|
+
uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
|
30
31
|
|
|
31
32
|
publish:
|
|
32
33
|
name: Publish
|
|
@@ -41,24 +42,24 @@ jobs:
|
|
|
41
42
|
|
|
42
43
|
steps:
|
|
43
44
|
- name: Checkout
|
|
44
|
-
uses: actions/checkout@
|
|
45
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
45
46
|
with:
|
|
46
47
|
fetch-depth: 0
|
|
47
48
|
|
|
48
49
|
- name: Setup Node.js Environment
|
|
49
|
-
uses: actions/setup-node@
|
|
50
|
+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
50
51
|
with:
|
|
51
52
|
always-auth: true
|
|
52
|
-
node-version-file:
|
|
53
|
-
registry-url:
|
|
54
|
-
scope:
|
|
53
|
+
node-version-file: '.nvmrc'
|
|
54
|
+
registry-url: 'https://registry.npmjs.org'
|
|
55
|
+
scope: '@ivuorinen'
|
|
55
56
|
|
|
56
57
|
- name: Install and enable corepack
|
|
57
58
|
shell: sh
|
|
58
59
|
run: npm install -g corepack --force && corepack enable
|
|
59
60
|
|
|
60
61
|
- name: Cache Node Modules
|
|
61
|
-
uses: actions/cache@
|
|
62
|
+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
|
62
63
|
id: cache
|
|
63
64
|
with:
|
|
64
65
|
path: node_modules
|
|
@@ -71,6 +72,11 @@ jobs:
|
|
|
71
72
|
|
|
72
73
|
- name: Semantic Release
|
|
73
74
|
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
|
|
75
|
+
with:
|
|
76
|
+
extra_plugins: |
|
|
77
|
+
@semantic-release/changelog
|
|
78
|
+
@semantic-release/github
|
|
79
|
+
@semantic-release/npm
|
|
74
80
|
env:
|
|
75
81
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
|
76
82
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -4,7 +4,7 @@ name: Stale
|
|
|
4
4
|
|
|
5
5
|
on:
|
|
6
6
|
schedule:
|
|
7
|
-
- cron:
|
|
7
|
+
- cron: "0 8 * * *" # Every day at 08:00
|
|
8
8
|
workflow_call:
|
|
9
9
|
workflow_dispatch:
|
|
10
10
|
|
|
@@ -23,4 +23,4 @@ jobs:
|
|
|
23
23
|
issues: write
|
|
24
24
|
pull-requests: write
|
|
25
25
|
steps:
|
|
26
|
-
- uses: ivuorinen/actions/stale@
|
|
26
|
+
- uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
3
|
+
name: Sync Labels
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- master
|
|
10
|
+
paths:
|
|
11
|
+
- ".github/labels.yml"
|
|
12
|
+
- ".github/workflows/sync-labels.yml"
|
|
13
|
+
schedule:
|
|
14
|
+
- cron: "34 5 * * *" # Run every day at 05:34 AM UTC
|
|
15
|
+
workflow_call:
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
merge_group:
|
|
18
|
+
|
|
19
|
+
concurrency:
|
|
20
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
21
|
+
cancel-in-progress: true
|
|
22
|
+
|
|
23
|
+
permissions: read-all
|
|
24
|
+
|
|
25
|
+
jobs:
|
|
26
|
+
labels:
|
|
27
|
+
name: ♻️ Sync Labels
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
timeout-minutes: 10
|
|
30
|
+
|
|
31
|
+
permissions:
|
|
32
|
+
contents: read
|
|
33
|
+
issues: write
|
|
34
|
+
|
|
35
|
+
steps:
|
|
36
|
+
- name: ⤵️ Checkout Repository
|
|
37
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
38
|
+
with:
|
|
39
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
40
|
+
- name: ⤵️ Sync Latest Labels Definitions
|
|
41
|
+
uses: ivuorinen/actions/sync-labels@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.14.0
|