@w5s/mrm-preset 2.11.4 → 2.11.6
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/.turbo/turbo-build.log +4 -6
- package/.turbo/turbo-format.log +4 -0
- package/.turbo/turbo-lint.log +4 -6
- package/.turbo/turbo-prepare.log +1 -1
- package/.turbo/turbo-spellcheck.log +1 -2
- package/.turbo/turbo-test.log +83 -84
- package/CHANGELOG.md +16 -0
- package/ci/_gitlab/AutoDevopsInclude.gitlab-ci.yml +1 -1
- package/ci/_gitlab/Renovate.gitlab-ci.yml +1 -1
- package/eslint/index.js +1 -1
- package/package.json +4 -4
- package/package.json.backup +4 -4
- package/project/index.js +27 -7
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[1G[0K[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
1
|
+
|
|
2
|
+
> @w5s/mrm-preset@2.11.5 lint:src
|
|
3
|
+
> eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
|
|
4
|
+
|
package/.turbo/turbo-prepare.log
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
CSpell: Files checked: 52, Issues found: 0 in 0 files.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,84 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[36mRunning
|
|
10
|
-
[36mRunning
|
|
11
|
-
[36mRunning
|
|
12
|
-
[36mRunning
|
|
13
|
-
[36mRunning
|
|
14
|
-
[36mRunning
|
|
15
|
-
[36mRunning
|
|
16
|
-
[36mRunning
|
|
17
|
-
[36mRunning
|
|
18
|
-
[36mRunning
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
[
|
|
53
|
-
[36mRunning vitest...[39m
|
|
54
|
-
[36mRunning renovate...[39m
|
|
55
|
-
[36mRunning githooks...[39m
|
|
56
|
-
[36mRunning post-configure...[39m
|
|
57
|
-
Error: to format code
|
|
58
|
-
|
|
59
|
-
> _tester@1.0.0-alpha.0 format
|
|
60
|
-
> npx run-p "format:*"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
> _tester@1.0.0-alpha.0 format:root
|
|
64
|
-
> eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Oops! Something went wrong! :(
|
|
68
|
-
|
|
69
|
-
ESLint: 9.
|
|
70
|
-
|
|
71
|
-
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
|
|
72
|
-
|
|
73
|
-
From ESLint v9.0.0, the default configuration file is now eslint.config.js.
|
|
74
|
-
If you are using a .eslintrc.* file, please follow the migration guide
|
|
75
|
-
to update your configuration file to the new format:
|
|
76
|
-
|
|
77
|
-
https://eslint.org/docs/latest/use/configure/migration-guide
|
|
78
|
-
|
|
79
|
-
If you still have problems after following the migration guide, please stop by
|
|
80
|
-
https://eslint.org/chat/help to chat with the team.
|
|
81
|
-
|
|
82
|
-
ERROR: "format:root" exited with 2.
|
|
83
|
-
|
|
84
|
-
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
1
|
+
|
|
2
|
+
> @w5s/mrm-preset@2.11.5 test:script
|
|
3
|
+
> mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
|
|
4
|
+
|
|
5
|
+
mkdir: _tester: File exists
|
|
6
|
+
[36mRunning bootstrap...[39m
|
|
7
|
+
[33mRunning alias configure...[39m
|
|
8
|
+
[36mRunning gitignore...[39m
|
|
9
|
+
[36mRunning project...[39m
|
|
10
|
+
[36mRunning contributing...[39m
|
|
11
|
+
[36mRunning licenses...[39m
|
|
12
|
+
[36mRunning asdf...[39m
|
|
13
|
+
[36mRunning release...[39m
|
|
14
|
+
[36mRunning ci...[39m
|
|
15
|
+
[36mRunning lang...[39m
|
|
16
|
+
[36mRunning commitlint...[39m
|
|
17
|
+
[36mRunning editorconfig...[39m
|
|
18
|
+
[36mRunning eslint...[39m
|
|
19
|
+
Installing @w5s/eslint-config...
|
|
20
|
+
npm ERR! code ERESOLVE
|
|
21
|
+
npm ERR! ERESOLVE could not resolve
|
|
22
|
+
npm ERR!
|
|
23
|
+
npm ERR! While resolving: @w5s/eslint-config@2.4.4
|
|
24
|
+
npm ERR! Found: eslint@9.26.0
|
|
25
|
+
npm ERR! node_modules/eslint
|
|
26
|
+
npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.7.0
|
|
27
|
+
npm ERR! node_modules/@eslint-community/eslint-utils
|
|
28
|
+
npm ERR! @eslint-community/eslint-utils@"^4.2.0" from eslint@9.26.0
|
|
29
|
+
npm ERR! dev eslint@"^9.26.0" from the root project
|
|
30
|
+
npm ERR! 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
|
|
31
|
+
npm ERR!
|
|
32
|
+
npm ERR! Could not resolve dependency:
|
|
33
|
+
npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.4
|
|
34
|
+
npm ERR! node_modules/@w5s/eslint-config
|
|
35
|
+
npm ERR! dev @w5s/eslint-config@"2.4.4" from the root project
|
|
36
|
+
npm ERR!
|
|
37
|
+
npm ERR! Conflicting peer dependency: eslint@8.57.1
|
|
38
|
+
npm ERR! node_modules/eslint
|
|
39
|
+
npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.4
|
|
40
|
+
npm ERR! node_modules/@w5s/eslint-config
|
|
41
|
+
npm ERR! dev @w5s/eslint-config@"2.4.4" from the root project
|
|
42
|
+
npm ERR!
|
|
43
|
+
npm ERR! Fix the upstream dependency conflict, or retry
|
|
44
|
+
npm ERR! this command with --force or --legacy-peer-deps
|
|
45
|
+
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
|
|
46
|
+
npm ERR!
|
|
47
|
+
npm ERR!
|
|
48
|
+
npm ERR! For a full report see:
|
|
49
|
+
npm ERR! /Users/julienpolo/.npm/_logs/2025-09-21T22_11_07_971Z-eresolve-report.txt
|
|
50
|
+
|
|
51
|
+
npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-09-21T22_11_07_971Z-debug-0.log
|
|
52
|
+
[36mRunning cspell...[39m
|
|
53
|
+
[36mRunning vitest...[39m
|
|
54
|
+
[36mRunning renovate...[39m
|
|
55
|
+
[36mRunning githooks...[39m
|
|
56
|
+
[36mRunning post-configure...[39m
|
|
57
|
+
Error: to format code
|
|
58
|
+
|
|
59
|
+
> _tester@1.0.0-alpha.0 format
|
|
60
|
+
> npx run-p "format:*"
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
> _tester@1.0.0-alpha.0 format:root
|
|
64
|
+
> eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Oops! Something went wrong! :(
|
|
68
|
+
|
|
69
|
+
ESLint: 9.26.0
|
|
70
|
+
|
|
71
|
+
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
|
|
72
|
+
|
|
73
|
+
From ESLint v9.0.0, the default configuration file is now eslint.config.js.
|
|
74
|
+
If you are using a .eslintrc.* file, please follow the migration guide
|
|
75
|
+
to update your configuration file to the new format:
|
|
76
|
+
|
|
77
|
+
https://eslint.org/docs/latest/use/configure/migration-guide
|
|
78
|
+
|
|
79
|
+
If you still have problems after following the migration guide, please stop by
|
|
80
|
+
https://eslint.org/chat/help to chat with the team.
|
|
81
|
+
|
|
82
|
+
ERROR: "format:root" exited with 2.
|
|
83
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.11.6](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.5...@w5s/mrm-preset@2.11.6) (2025-09-21)
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes
|
|
9
|
+
|
|
10
|
+
- Fix wrong implicit boolean conversion ([56e7f54](github.com/w5s/project-config/commits/56e7f54))
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
13
|
+
|
|
14
|
+
## [2.11.5](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.4...@w5s/mrm-preset@2.11.5) (2025-06-26)
|
|
15
|
+
|
|
16
|
+
### 🐛 Bug Fixes
|
|
17
|
+
|
|
18
|
+
- Fix cache miss for turbo ([e920f0c](github.com/w5s/project-config/commits/e920f0c))
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
21
|
+
|
|
6
22
|
## <small>2.11.4 (2025-04-01)</small>
|
|
7
23
|
|
|
8
24
|
* 🐛 Remove CI_* so it does not trigger turbo cache miss ([ca61743](https://github.com/w5s/project-config/commit/ca61743))
|
|
@@ -201,7 +201,7 @@ variables:
|
|
|
201
201
|
# IMAGE_NAME: $CI_REGISTRY_IMAGE
|
|
202
202
|
|
|
203
203
|
.autodevops_node_image:
|
|
204
|
-
image: node:lts-alpine@sha256:
|
|
204
|
+
image: node:lts-alpine@sha256:d2166de198f26e17e5a442f537754dd616ab069c47cc57b889310a717e0abbf9
|
|
205
205
|
|
|
206
206
|
.autodevops_node_install:
|
|
207
207
|
extends:
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
when: always
|
|
14
14
|
- when: never
|
|
15
15
|
image:
|
|
16
|
-
name: renovate/renovate@sha256:
|
|
16
|
+
name: renovate/renovate@sha256:13a41b09fec03fe45e24ba376ffcccdfb871e1cae23cc0f3e539761e8f989423
|
|
17
17
|
entrypoint: ['']
|
|
18
18
|
script:
|
|
19
19
|
- >
|
package/eslint/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
|
|
|
105
105
|
: _;
|
|
106
106
|
pkg.script(packageFile, {
|
|
107
107
|
name: `${project.lint}:src`,
|
|
108
|
-
update: updater(),
|
|
108
|
+
update: updater(false),
|
|
109
109
|
state: 'present',
|
|
110
110
|
});
|
|
111
111
|
pkg.script(packageFile, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/mrm-preset",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.6",
|
|
4
4
|
"description": "Mrm configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mrm",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"postpack": "npx clean-package restore"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@w5s/dev": "^2.5.
|
|
27
|
+
"@w5s/dev": "^2.5.4",
|
|
28
28
|
"debug": "^4.3.3",
|
|
29
29
|
"glob": "^11.0.0",
|
|
30
30
|
"mrm-core": "^7.0.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"sync-directory": "^6.0.0"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": ">=
|
|
35
|
+
"node": ">=20.0.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"sideEffect": false,
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "199e9b150a80e22d21a35f924e19923aacfe3de3"
|
|
42
42
|
}
|
package/package.json.backup
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/mrm-preset",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.6",
|
|
4
4
|
"description": "Mrm configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mrm",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:script": "mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir .."
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@w5s/dev": "^2.5.
|
|
42
|
+
"@w5s/dev": "^2.5.4",
|
|
43
43
|
"debug": "^4.3.3",
|
|
44
44
|
"glob": "^11.0.0",
|
|
45
45
|
"mrm-core": "^7.0.0",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
},
|
|
54
54
|
"clean-package": "../../clean-package.config.cjs",
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">=
|
|
56
|
+
"node": ">=20.0.0"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
61
|
"sideEffect": false,
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "199e9b150a80e22d21a35f924e19923aacfe3de3"
|
|
63
63
|
}
|
package/project/index.js
CHANGED
|
@@ -257,6 +257,13 @@ function task() {
|
|
|
257
257
|
|
|
258
258
|
rootPackageFile.save();
|
|
259
259
|
|
|
260
|
+
const packageInputs = ['$TURBO_DEFAULT$', '.env*'];
|
|
261
|
+
const rootInputs = [
|
|
262
|
+
...packageInputs,
|
|
263
|
+
// Ignore workspaces
|
|
264
|
+
...pkg.listWorkspaceMatchers(rootPackageFile).map((_) => `!${_.replace(/\/\*$/, '/**')}`),
|
|
265
|
+
];
|
|
266
|
+
|
|
260
267
|
// Turbo config
|
|
261
268
|
turbo({
|
|
262
269
|
state: 'present',
|
|
@@ -268,32 +275,44 @@ function task() {
|
|
|
268
275
|
..._.tasks,
|
|
269
276
|
[project.build]: {
|
|
270
277
|
dependsOn: [`^${project.build}`, `//#${project.build}:root`],
|
|
271
|
-
inputs:
|
|
278
|
+
inputs: packageInputs,
|
|
272
279
|
outputs: ['dist/**', '.next/**', '!.next/cache/**'],
|
|
273
280
|
},
|
|
274
|
-
[`//#${project.build}:root`]: {
|
|
281
|
+
[`//#${project.build}:root`]: {
|
|
282
|
+
inputs: rootInputs,
|
|
283
|
+
},
|
|
275
284
|
[project.test]: {
|
|
276
285
|
dependsOn: [`^${project.build}`, `//#${project.test}:root`],
|
|
277
286
|
},
|
|
278
|
-
[`//#${project.test}:root`]: {
|
|
287
|
+
[`//#${project.test}:root`]: {
|
|
288
|
+
inputs: rootInputs,
|
|
289
|
+
},
|
|
279
290
|
[project.lint]: {
|
|
280
291
|
dependsOn: [`^${project.build}`, `//#${project.lint}:root`],
|
|
281
292
|
},
|
|
282
|
-
[`//#${project.lint}:root`]: {
|
|
293
|
+
[`//#${project.lint}:root`]: {
|
|
294
|
+
inputs: rootInputs,
|
|
295
|
+
},
|
|
283
296
|
[project.prepare]: {},
|
|
284
297
|
[project.format]: {
|
|
285
298
|
dependsOn: [`//#${project.format}:root`],
|
|
286
299
|
},
|
|
287
|
-
[`//#${project.format}:root`]: {
|
|
300
|
+
[`//#${project.format}:root`]: {
|
|
301
|
+
inputs: rootInputs,
|
|
302
|
+
},
|
|
288
303
|
[project.docs]: {
|
|
289
304
|
dependsOn: [`//#${project.docs}:root`],
|
|
290
305
|
cache: false,
|
|
291
306
|
},
|
|
292
|
-
[`//#${project.docs}:root`]: {
|
|
307
|
+
[`//#${project.docs}:root`]: {
|
|
308
|
+
inputs: rootInputs,
|
|
309
|
+
},
|
|
293
310
|
[project.spellcheck]: {
|
|
294
311
|
dependsOn: [`//#${project.spellcheck}:root`],
|
|
295
312
|
},
|
|
296
|
-
[`//#${project.spellcheck}:root`]: {
|
|
313
|
+
[`//#${project.spellcheck}:root`]: {
|
|
314
|
+
inputs: rootInputs,
|
|
315
|
+
},
|
|
297
316
|
[project.clean]: {
|
|
298
317
|
dependsOn: [`//#${project.clean}:root`],
|
|
299
318
|
cache: false,
|
|
@@ -302,6 +321,7 @@ function task() {
|
|
|
302
321
|
cache: false,
|
|
303
322
|
},
|
|
304
323
|
[project.develop]: {
|
|
324
|
+
persistent: true,
|
|
305
325
|
cache: false,
|
|
306
326
|
},
|
|
307
327
|
},
|