@dword-design/base 10.0.3 → 10.0.4
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.
|
@@ -10,6 +10,7 @@ Object {
|
|
|
10
10
|
"editorIgnore": Array [],
|
|
11
11
|
"git": undefined,
|
|
12
12
|
"gitignore": Array [],
|
|
13
|
+
"macos": true,
|
|
13
14
|
"name": "base-config-foo",
|
|
14
15
|
"nodeVersion": 20,
|
|
15
16
|
"preDeploySteps": Array [],
|
|
@@ -55,6 +56,7 @@ Object {
|
|
|
55
56
|
"gitignore": Array [
|
|
56
57
|
"foo",
|
|
57
58
|
],
|
|
59
|
+
"macos": true,
|
|
58
60
|
"name": "base-config-foo",
|
|
59
61
|
"nodeVersion": 10,
|
|
60
62
|
"packageBaseConfig": Object {
|
|
@@ -147,6 +147,153 @@ Object {
|
|
|
147
147
|
}
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
+
exports[`index job matrix no macos 1`] = `
|
|
151
|
+
Object {
|
|
152
|
+
"jobs": Object {
|
|
153
|
+
"cancel-existing": Object {
|
|
154
|
+
"if": "!contains(github.event.head_commit.message, '[skip ci]')",
|
|
155
|
+
"runs-on": "ubuntu-latest",
|
|
156
|
+
"steps": Array [
|
|
157
|
+
Object {
|
|
158
|
+
"env": Object {
|
|
159
|
+
"GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
|
|
160
|
+
},
|
|
161
|
+
"uses": "rokroskar/workflow-run-cleanup-action@v0.3.3",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
"release": Object {
|
|
166
|
+
"needs": "test",
|
|
167
|
+
"runs-on": "ubuntu-latest",
|
|
168
|
+
"steps": Array [
|
|
169
|
+
Object {
|
|
170
|
+
"uses": "actions/checkout@v3",
|
|
171
|
+
"with": Object {
|
|
172
|
+
"lfs": true,
|
|
173
|
+
"ref": "\${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref || '' }}",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
Object {
|
|
177
|
+
"uses": "actions/setup-node@v3",
|
|
178
|
+
"with": Object {
|
|
179
|
+
"node-version": 20,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
Object {
|
|
183
|
+
"run": "git config --global user.email \\"actions@github.com\\"",
|
|
184
|
+
},
|
|
185
|
+
Object {
|
|
186
|
+
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
187
|
+
},
|
|
188
|
+
Object {
|
|
189
|
+
"run": "yarn --frozen-lockfile",
|
|
190
|
+
},
|
|
191
|
+
Object {
|
|
192
|
+
"run": "yarn checkUnknownFiles",
|
|
193
|
+
},
|
|
194
|
+
Object {
|
|
195
|
+
"run": "yarn lint",
|
|
196
|
+
},
|
|
197
|
+
Object {
|
|
198
|
+
"env": Object {
|
|
199
|
+
"GITHUB_REPOSITORY": "\${{ secrets.GITHUB_REPOSITORY }}",
|
|
200
|
+
"GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
|
|
201
|
+
},
|
|
202
|
+
"name": "Push changed files",
|
|
203
|
+
"run": "yarn dw-ci push-changed-files",
|
|
204
|
+
},
|
|
205
|
+
Object {
|
|
206
|
+
"env": Object {
|
|
207
|
+
"GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
|
|
208
|
+
},
|
|
209
|
+
"if": "github.ref == 'refs/heads/master'",
|
|
210
|
+
"name": "Release",
|
|
211
|
+
"run": "yarn semantic-release",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
},
|
|
215
|
+
"test": Object {
|
|
216
|
+
"needs": "cancel-existing",
|
|
217
|
+
"runs-on": "\${{ matrix.os }}",
|
|
218
|
+
"steps": Array [
|
|
219
|
+
Object {
|
|
220
|
+
"uses": "actions/checkout@v3",
|
|
221
|
+
"with": Object {
|
|
222
|
+
"fetch-depth": 0,
|
|
223
|
+
"lfs": true,
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
Object {
|
|
227
|
+
"uses": "actions/setup-node@v3",
|
|
228
|
+
"with": Object {
|
|
229
|
+
"node-version": "\${{ matrix.node }}",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
Object {
|
|
233
|
+
"run": "yarn --frozen-lockfile",
|
|
234
|
+
},
|
|
235
|
+
Object {
|
|
236
|
+
"env": Object {
|
|
237
|
+
"GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
|
|
238
|
+
},
|
|
239
|
+
"run": "yarn test",
|
|
240
|
+
},
|
|
241
|
+
Object {
|
|
242
|
+
"if": "failure()",
|
|
243
|
+
"uses": "actions/upload-artifact@v3",
|
|
244
|
+
"with": Object {
|
|
245
|
+
"name": "Image Snapshot Diffs",
|
|
246
|
+
"path": "**/__image_snapshots__/__diff_output__",
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
Object {
|
|
250
|
+
"if": "matrix.os == 'ubuntu-latest' && matrix.node == 20",
|
|
251
|
+
"uses": "codecov/codecov-action@v3",
|
|
252
|
+
"with": Object {
|
|
253
|
+
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
"strategy": Object {
|
|
258
|
+
"matrix": Object {
|
|
259
|
+
"include": Array [
|
|
260
|
+
Object {
|
|
261
|
+
"node": 16,
|
|
262
|
+
"os": "ubuntu-latest",
|
|
263
|
+
},
|
|
264
|
+
Object {
|
|
265
|
+
"node": 18,
|
|
266
|
+
"os": "ubuntu-latest",
|
|
267
|
+
},
|
|
268
|
+
Object {
|
|
269
|
+
"node": 20,
|
|
270
|
+
"os": "ubuntu-latest",
|
|
271
|
+
},
|
|
272
|
+
Object {
|
|
273
|
+
"node": 20,
|
|
274
|
+
"os": "macos-latest",
|
|
275
|
+
},
|
|
276
|
+
Object {
|
|
277
|
+
"node": 20,
|
|
278
|
+
"os": "windows-latest",
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
"name": "build",
|
|
286
|
+
"on": Object {
|
|
287
|
+
"pull_request": Object {},
|
|
288
|
+
"push": Object {
|
|
289
|
+
"branches": Array [
|
|
290
|
+
"master",
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
}
|
|
295
|
+
`;
|
|
296
|
+
|
|
150
297
|
exports[`index job matrix no windows 1`] = `
|
|
151
298
|
Object {
|
|
152
299
|
"jobs": Object {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@commitlint/cli": "^17.4.0",
|
|
30
30
|
"@commitlint/config-conventional": "^17.4.0",
|
|
31
|
-
"@dword-design/babel-config": "^
|
|
31
|
+
"@dword-design/babel-config": "^3.0.0",
|
|
32
32
|
"@dword-design/base-config-node": "^2.0.0",
|
|
33
33
|
"@dword-design/ci": "^4.0.0",
|
|
34
34
|
"@dword-design/eslint-config": "^3.0.6",
|