@rtorcato/repo-tooling 3.2.2 → 3.2.3
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/dist/cli/generators/typedoc.js +1 -1
- package/dist/languages/js/ci.js +6 -6
- package/dist/languages/swift/ci.js +2 -2
- package/package.json +1 -1
- package/tooling/commitlint/commitlint.mjs +11 -1
- package/tooling/github-actions/workflows/cloudflare-pages.yml +2 -2
- package/tooling/github-actions/workflows/docker-publish.yml +1 -1
- package/tooling/github-actions/workflows/preview-deployments.yml +2 -2
- package/tooling/github-actions/workflows/vercel-deploy.yml +2 -2
package/dist/languages/js/ci.js
CHANGED
|
@@ -15,7 +15,7 @@ const SETUP_STEPS = ` - name: 📦 Checkout repository
|
|
|
15
15
|
uses: actions/checkout@v7
|
|
16
16
|
|
|
17
17
|
- name: 📦 Setup Node.js
|
|
18
|
-
uses: actions/setup-node@
|
|
18
|
+
uses: actions/setup-node@v7
|
|
19
19
|
with:
|
|
20
20
|
node-version-file: .nvmrc
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ const SETUP_STEPS = ` - name: 📦 Checkout repository
|
|
|
23
23
|
uses: pnpm/action-setup@v6
|
|
24
24
|
|
|
25
25
|
- name: 📦 Restore dependencies cache
|
|
26
|
-
uses: actions/cache@
|
|
26
|
+
uses: actions/cache@v6
|
|
27
27
|
with:
|
|
28
28
|
path: |
|
|
29
29
|
~/.pnpm-store
|
|
@@ -38,7 +38,7 @@ const DEPENDENCIES_JOB = {
|
|
|
38
38
|
uses: actions/checkout@v7
|
|
39
39
|
|
|
40
40
|
- name: 📦 Setup Node.js
|
|
41
|
-
uses: actions/setup-node@
|
|
41
|
+
uses: actions/setup-node@v7
|
|
42
42
|
with:
|
|
43
43
|
node-version-file: .nvmrc
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ const DEPENDENCIES_JOB = {
|
|
|
50
50
|
run: echo "key=\${{ runner.os }}-pnpm-\${{ hashFiles('**/pnpm-lock.yaml') }}" >> $GITHUB_OUTPUT
|
|
51
51
|
|
|
52
52
|
- name: 📦 Cache dependencies
|
|
53
|
-
uses: actions/cache@
|
|
53
|
+
uses: actions/cache@v6
|
|
54
54
|
with:
|
|
55
55
|
path: |
|
|
56
56
|
~/.pnpm-store
|
|
@@ -164,7 +164,7 @@ ${attw}${publint}
|
|
|
164
164
|
token: \${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
|
|
165
165
|
|
|
166
166
|
- name: 📦 Setup Node.js
|
|
167
|
-
uses: actions/setup-node@
|
|
167
|
+
uses: actions/setup-node@v7
|
|
168
168
|
with:
|
|
169
169
|
node-version-file: .nvmrc
|
|
170
170
|
registry-url: 'https://registry.npmjs.org'
|
|
@@ -173,7 +173,7 @@ ${attw}${publint}
|
|
|
173
173
|
uses: pnpm/action-setup@v6
|
|
174
174
|
|
|
175
175
|
- name: 📦 Restore dependencies cache
|
|
176
|
-
uses: actions/cache@
|
|
176
|
+
uses: actions/cache@v6
|
|
177
177
|
with:
|
|
178
178
|
path: |
|
|
179
179
|
~/.pnpm-store
|
|
@@ -45,7 +45,7 @@ const XCODE_SETUP = ` - name: 📦 Checkout repository
|
|
|
45
45
|
* to rebuild; key on Package.resolved so the cache invalidates with the graph.
|
|
46
46
|
*/
|
|
47
47
|
const SPM_CACHE = ` - name: 📦 Cache SwiftPM
|
|
48
|
-
uses: actions/cache@
|
|
48
|
+
uses: actions/cache@v6
|
|
49
49
|
with:
|
|
50
50
|
path: |
|
|
51
51
|
.build
|
|
@@ -118,7 +118,7 @@ ${pkg.platforms.map((p) => ` - ${p}`).join('\n')}`,
|
|
|
118
118
|
steps: `${XCODE_SETUP}
|
|
119
119
|
|
|
120
120
|
- name: 📦 Cache DerivedData
|
|
121
|
-
uses: actions/cache@
|
|
121
|
+
uses: actions/cache@v6
|
|
122
122
|
with:
|
|
123
123
|
path: ~/Library/Developer/Xcode/DerivedData
|
|
124
124
|
key: \${{ runner.os }}-derived-\${{ matrix.platform }}-\${{ hashFiles('**/Package.resolved') }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
extends: ["@commitlint/config-conventional"],
|
|
3
|
-
ignores: [
|
|
3
|
+
ignores: [
|
|
4
|
+
(commit) => commit.includes("[skip ci]"),
|
|
5
|
+
// Bot commit bodies are machine-written blocks (dependabot's
|
|
6
|
+
// `- dependency-name: …` YAML) that never wrap at 72, so every bot PR
|
|
7
|
+
// failed body-max-line-length. commitlint can't relax a single rule per
|
|
8
|
+
// commit, so skip bot commits wholesale — squash-merge uses the PR
|
|
9
|
+
// title, which is still linted on the merge commit.
|
|
10
|
+
// ponytail: matches the trailer, not a bare "[bot]", so a human commit
|
|
11
|
+
// that merely mentions a bot is still linted.
|
|
12
|
+
(commit) => /^Signed-off-by: .*\[bot\]/m.test(commit),
|
|
13
|
+
],
|
|
4
14
|
rules: {
|
|
5
15
|
// Enforce strict type validation
|
|
6
16
|
"type-enum": [
|
|
@@ -18,10 +18,10 @@ jobs:
|
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
steps:
|
|
20
20
|
- name: Checkout
|
|
21
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7
|
|
22
22
|
|
|
23
23
|
- name: Setup Node.js
|
|
24
|
-
uses: actions/setup-node@
|
|
24
|
+
uses: actions/setup-node@v7
|
|
25
25
|
with:
|
|
26
26
|
node-version-file: .nvmrc
|
|
27
27
|
|
|
@@ -20,10 +20,10 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@v7
|
|
24
24
|
|
|
25
25
|
- name: Setup Node.js
|
|
26
|
-
uses: actions/setup-node@
|
|
26
|
+
uses: actions/setup-node@v7
|
|
27
27
|
with:
|
|
28
28
|
node-version-file: .nvmrc
|
|
29
29
|
|
|
@@ -20,10 +20,10 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@v7
|
|
24
24
|
|
|
25
25
|
- name: Setup Node.js
|
|
26
|
-
uses: actions/setup-node@
|
|
26
|
+
uses: actions/setup-node@v7
|
|
27
27
|
with:
|
|
28
28
|
node-version-file: .nvmrc
|
|
29
29
|
|