@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.
@@ -1,6 +1,4 @@
1
-
2
- 
3
- > @w5s/mrm-preset@2.11.3 build:tsc
4
- > tsc
5
-
6
- ⠙⠙
1
+
2
+ > @w5s/mrm-preset@2.11.5 build:tsc
3
+ > tsc
4
+
@@ -0,0 +1,4 @@
1
+
2
+ > @w5s/mrm-preset@2.11.5 format:src
3
+ > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
+
@@ -1,6 +1,4 @@
1
-
2
- ⠙⠹
3
- > @w5s/mrm-preset@2.11.3 lint:src
4
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
-
6
- ⠙⠙
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
+
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.11.4 prepare:empty
2
+ > @w5s/mrm-preset@2.11.6 prepare:empty
3
3
  > :
4
4
 
@@ -1,2 +1 @@
1
-
2
- 
1
+ CSpell: Files checked: 52, Issues found: 0 in 0 files.
@@ -1,84 +1,83 @@
1
-
2
- 
3
- > @w5s/mrm-preset@2.11.3 test:script
4
- > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
-
6
- mkdir: _tester: File exists
7
- Running bootstrap...
8
- Running alias configure...
9
- Running gitignore...
10
- Running project...
11
- Running contributing...
12
- Running licenses...
13
- Running asdf...
14
- Running release...
15
- Running ci...
16
- Running lang...
17
- Running commitlint...
18
- Running editorconfig...
19
- Running eslint...
20
- Installing @w5s/eslint-config...
21
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼npm error code ERESOLVE
22
- ⠼npm error ERESOLVE could not resolve
23
- ⠼npm error
24
- ⠼npm error While resolving: @w5s/eslint-config@2.4.2
25
- npm error Found: eslint@9.21.0
26
- npm error node_modules/eslint
27
- npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.1
28
- npm error node_modules/@eslint-community/eslint-utils
29
- npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.21.0
30
- npm error dev eslint@"^9.21.0" from the root project
31
- npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
- npm error
33
- npm error Could not resolve dependency:
34
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.2
35
- npm error node_modules/@w5s/eslint-config
36
- npm error dev @w5s/eslint-config@"2.4.2" from the root project
37
- npm error
38
- npm error Conflicting peer dependency: eslint@8.57.1
39
- npm error node_modules/eslint
40
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.2
41
- npm error node_modules/@w5s/eslint-config
42
- npm error dev @w5s/eslint-config@"2.4.2" from the root project
43
- npm error
44
- npm error Fix the upstream dependency conflict, or retry
45
- npm error this command with --force or --legacy-peer-deps
46
- npm error to accept an incorrect (and potentially broken) dependency resolution.
47
- ⠼npm error
48
- npm error
49
- npm error For a full report see:
50
- npm error /Users/julienpolo/.npm/_logs/2025-04-01T21_35_14_688Z-eresolve-report.txt
51
- ⠼npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-04-01T21_35_14_688Z-debug-0.log
52
- ⠼Running cspell...
53
- Running vitest...
54
- Running renovate...
55
- Running githooks...
56
- Running post-configure...
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.21.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
-
84
- ⠙⠙
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
+ Running bootstrap...
7
+ Running alias configure...
8
+ Running gitignore...
9
+ Running project...
10
+ Running contributing...
11
+ Running licenses...
12
+ Running asdf...
13
+ Running release...
14
+ Running ci...
15
+ Running lang...
16
+ Running commitlint...
17
+ Running editorconfig...
18
+ Running eslint...
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
+ Running cspell...
53
+ Running vitest...
54
+ Running renovate...
55
+ Running githooks...
56
+ Running post-configure...
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:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944
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:5d138454129a5ffe61b182fe87bf11d6a08015f71f93de49b98f11c2cbe98b28
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.4",
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.2",
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": ">=18.0.0"
35
+ "node": ">=20.0.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
40
  "sideEffect": false,
41
- "gitHead": "bb3e96c47e03b7a1a3caeed0bbdd35eee29c9837"
41
+ "gitHead": "199e9b150a80e22d21a35f924e19923aacfe3de3"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.4",
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.2",
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": ">=18.0.0"
56
+ "node": ">=20.0.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "bb3e96c47e03b7a1a3caeed0bbdd35eee29c9837"
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: ['$TURBO_DEFAULT$', '.env*'],
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
  },