@w5s/mrm-preset 2.11.4 → 2.11.5

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,6 @@
1
1
 
2
2
  
3
- > @w5s/mrm-preset@2.11.3 build:tsc
3
+ > @w5s/mrm-preset@2.11.4 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -0,0 +1,4 @@
1
+
2
+ > @w5s/mrm-preset@2.11.4 format:src
3
+ > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
+
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙⠹
3
- > @w5s/mrm-preset@2.11.3 lint:src
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.4 lint:src
4
4
  > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
 
6
6
  ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.11.4 prepare:empty
2
+ > @w5s/mrm-preset@2.11.5 prepare:empty
3
3
  > :
4
4
 
@@ -1,6 +1,6 @@
1
1
 
2
- 
3
- > @w5s/mrm-preset@2.11.3 test:script
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.4 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
6
  mkdir: _tester: File exists
@@ -18,39 +18,69 @@
18
18
  Running editorconfig...
19
19
  Running eslint...
20
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...
21
+ [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ idealTree: timing arborist:ctor Completed in 0ms
22
+ npm ERR! ERESOLVE could not resolve
23
+ npm ERR!
24
+ npm ERR! While resolving: @w5s/eslint-config@2.4.3
25
+ npm ERR! Found: eslint@9.26.0
26
+ npm ERR! node_modules/eslint
27
+ npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.7.0
28
+ npm ERR! node_modules/@eslint-community/eslint-utils
29
+ npm ERR! @eslint-community/eslint-utils@"^4.2.0" from eslint@9.26.0
30
+ npm ERR! dev eslint@"^9.26.0" from the root project
31
+ npm ERR! 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
+ npm ERR!
33
+ npm ERR! Could not resolve dependency:
34
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.3
35
+ npm ERR! node_modules/@w5s/eslint-config
36
+ npm ERR! dev @w5s/eslint-config@"2.4.3" from the root project
37
+ npm ERR!
38
+ npm ERR! Conflicting peer dependency: eslint@8.57.1
39
+ npm ERR! node_modules/eslint
40
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.3
41
+ npm ERR! node_modules/@w5s/eslint-config
42
+ npm ERR! dev @w5s/eslint-config@"2.4.3" from the root project
43
+ npm ERR!
44
+ npm ERR! Fix the upstream dependency conflict, or retry
45
+ npm ERR! this command with --force or --legacy-peer-deps
46
+ npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
47
+ npm ERR!
48
+ npm ERR!
49
+ npm ERR! For a full report see:
50
+ npm ERR! /Users/julienpolo/.npm/_logs/2025-06-26T13_57_25_849Z-eresolve-report.txt
51
+ 
52
+ npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-06-26T13_57_25_849Z-debug-0.log
53
+ Running cspell...
54
+ Installing @w5s/cspell-config...
55
+ [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠸ idealTree: timing arborist:ctor Completed in 0ms
56
+ npm ERR! ERESOLVE could not resolve
57
+ npm ERR!
58
+ npm ERR! While resolving: @w5s/cspell-config@2.3.22
59
+ npm ERR! Found: cspell@9.0.0
60
+ npm ERR! node_modules/cspell
61
+ npm ERR! dev cspell@"^9.0.0" from the root project
62
+ npm ERR!
63
+ npm ERR! Could not resolve dependency:
64
+ npm ERR! peerOptional cspell@"^6.0.0 || ^7.0.0 || ^8.0.0" from @w5s/cspell-config@2.3.22
65
+ npm ERR! node_modules/@w5s/cspell-config
66
+ npm ERR! dev @w5s/cspell-config@"2.3.22" from the root project
67
+ npm ERR!
68
+ npm ERR! Conflicting peer dependency: cspell@8.19.4
69
+ npm ERR! node_modules/cspell
70
+ npm ERR! peerOptional cspell@"^6.0.0 || ^7.0.0 || ^8.0.0" from @w5s/cspell-config@2.3.22
71
+ npm ERR! node_modules/@w5s/cspell-config
72
+ npm ERR! dev @w5s/cspell-config@"2.3.22" from the root project
73
+ npm ERR!
74
+ npm ERR! Fix the upstream dependency conflict, or retry
75
+ npm ERR! this command with --force or --legacy-peer-deps
76
+ npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
77
+ npm ERR!
78
+ npm ERR!
79
+ npm ERR! For a full report see:
80
+ npm ERR! /Users/julienpolo/.npm/_logs/2025-06-26T13_57_29_790Z-eresolve-report.txt
81
+ 
82
+ npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-06-26T13_57_29_790Z-debug-0.log
83
+ Running vitest...
54
84
  Running renovate...
55
85
  Running githooks...
56
86
  Running post-configure...
@@ -66,7 +96,7 @@ Error: to format code
66
96
 
67
97
  Oops! Something went wrong! :(
68
98
 
69
- ESLint: 9.21.0
99
+ ESLint: 9.26.0
70
100
 
71
101
  ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
72
102
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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.5](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.4...@w5s/mrm-preset@2.11.5) (2025-06-26)
7
+
8
+ ### 🐛 Bug Fixes
9
+
10
+ - Fix cache miss for turbo ([e920f0c](github.com/w5s/project-config/commits/e920f0c))
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
6
14
  ## <small>2.11.4 (2025-04-01)</small>
7
15
 
8
16
  * 🐛 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:5340cbfc2df14331ab021555fdd9f83f072ce811488e705b0e736b11adeec4bb
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:82e313260bf600c52472bb42d6ac7f0a6468675b766bbb87ef8c0e8f3c00d1da
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
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.5",
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.3",
28
28
  "debug": "^4.3.3",
29
29
  "glob": "^11.0.0",
30
30
  "mrm-core": "^7.0.0",
@@ -38,5 +38,5 @@
38
38
  "access": "public"
39
39
  },
40
40
  "sideEffect": false,
41
- "gitHead": "bb3e96c47e03b7a1a3caeed0bbdd35eee29c9837"
41
+ "gitHead": "e50ce223ae442c3c06efe68aae22809092184290"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
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.3",
43
43
  "debug": "^4.3.3",
44
44
  "glob": "^11.0.0",
45
45
  "mrm-core": "^7.0.0",
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "bb3e96c47e03b7a1a3caeed0bbdd35eee29c9837"
62
+ "gitHead": "e50ce223ae442c3c06efe68aae22809092184290"
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
  },