@w5s/mrm-preset 2.8.6 → 2.9.0

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,4 +1,6 @@
1
-
2
- > @w5s/mrm-preset@2.8.5 build:tsc
3
- > tsc
4
-
1
+
2
+ 
3
+ > @w5s/mrm-preset@2.8.7 build:tsc
4
+ > tsc
5
+
6
+ ⠙⠙
@@ -0,0 +1,4 @@
1
+
2
+ > @w5s/mrm-preset@2.8.7 format:src
3
+ > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
+
@@ -1,4 +1,6 @@
1
-
2
- > @w5s/mrm-preset@2.8.5 lint:src
3
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
-
1
+
2
+ ⠙
3
+ > @w5s/mrm-preset@2.8.7 lint:src
4
+ > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
+
6
+ ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.8.6 prepare:empty
2
+ > @w5s/mrm-preset@2.9.0 prepare:empty
3
3
  > :
4
4
 
@@ -1 +1,2 @@
1
- CSpell: Files checked: 52, Issues found: 0 in 0 files.
1
+
2
+ 
@@ -1,68 +1,70 @@
1
-
2
- > @w5s/mrm-preset@2.8.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 error code ERESOLVE
21
- npm error ERESOLVE could not resolve
22
- npm error
23
- npm error While resolving: @w5s/eslint-config@2.2.3
24
- npm error Found: eslint@9.13.0
25
- npm error node_modules/eslint
26
- npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.1
27
- npm error node_modules/@eslint-community/eslint-utils
28
- npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.13.0
29
- npm error dev eslint@"^9.13.0" from the root project
30
- npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
31
- npm error
32
- npm error Could not resolve dependency:
33
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.3
34
- npm error node_modules/@w5s/eslint-config
35
- npm error dev @w5s/eslint-config@"2.2.3" from the root project
36
- npm error
37
- npm error Conflicting peer dependency: eslint@8.57.1
38
- npm error node_modules/eslint
39
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.3
40
- npm error node_modules/@w5s/eslint-config
41
- npm error dev @w5s/eslint-config@"2.2.3" from the root project
42
- npm error
43
- npm error Fix the upstream dependency conflict, or retry
44
- npm error this command with --force or --legacy-peer-deps
45
- npm error to accept an incorrect (and potentially broken) dependency resolution.
46
- npm error
47
- npm error
48
- npm error For a full report see:
49
- npm error /Users/julienpolo/.npm/_logs/2024-11-30T21_57_19_011Z-eresolve-report.txt
50
- npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-11-30T21_57_19_011Z-debug-0.log
51
- Running cspell...
52
- Running vitest...
53
- Running renovate...
54
- Running githooks...
55
- Running post-configure...
56
- Error: to format code
57
-
58
- > _tester@1.0.0-alpha.0 format
59
- > npx run-p "format:*"
60
-
61
-
62
- > _tester@1.0.0-alpha.0 format:root
63
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
64
-
65
- Invalid option '--ext' - perhaps you meant '-c'?
66
- You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details.
67
- ERROR: "format:root" exited with 2.
68
-
1
+
2
+ 
3
+ > @w5s/mrm-preset@2.8.7 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.2.5
25
+ npm error Found: eslint@9.13.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.0
28
+ npm error node_modules/@eslint-community/eslint-utils
29
+ npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.13.0
30
+ npm error dev eslint@"^9.13.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.2.5
35
+ npm error node_modules/@w5s/eslint-config
36
+ npm error dev @w5s/eslint-config@"2.2.5" 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.2.5
41
+ npm error node_modules/@w5s/eslint-config
42
+ npm error dev @w5s/eslint-config@"2.2.5" 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/2024-12-20T10_56_03_640Z-eresolve-report.txt
51
+ ⠙npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-12-20T10_56_03_640Z-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
+ Invalid option '--ext' - perhaps you meant '-c'?
67
+ You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details.
68
+ ERROR: "format:root" exited with 2.
69
+
70
+ ⠙⠙
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.9.0](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.7...@w5s/mrm-preset@2.9.0) (2024-12-20)
7
+
8
+ ### ✨ Features
9
+
10
+ - Improve turbo configuration generation ([0eeeb4c](https://github.com/w5s/project-config/commit/0eeeb4c))
11
+
12
+ ### 🐛 Bug Fixes
13
+
14
+ - Use @lerna-lite/publish ([c927f34](https://github.com/w5s/project-config/commit/c927f34))
15
+
16
+ **Note:** Version bump only for package @w5s/mrm-preset
17
+
18
+ ## [2.8.7](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.6...@w5s/mrm-preset@2.8.7) (2024-12-09)
19
+
20
+ **Note:** Version bump only for package @w5s/mrm-preset
21
+
6
22
  ## [2.8.6](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.5...@w5s/mrm-preset@2.8.6) (2024-12-01)
7
23
 
8
24
  **Note:** Version bump only for package @w5s/mrm-preset
@@ -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:b64ced2e7cd0a4816699fe308ce6e8a08ccba463c757c00c14cd372e3d2c763e
204
+ image: node:lts-alpine@sha256:6e80991f69cc7722c561e5d14d5e72ab47c0d6b6cfb3ae50fb9cf9a7b30fdf97
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:c5d718e312cdacc0746e37f13c215ff498be28c51e50efd24c070ae29f5b636a
16
+ name: renovate/renovate@sha256:d97bf388a4b21221ffb767355e0288e7b7aa3236b600eea24341cf4e58bcb2f5
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/core/turbo.js CHANGED
@@ -26,7 +26,7 @@ function turbo({ state, update }) {
26
26
  path: undefined,
27
27
  state,
28
28
  update: (previousValue) => ({
29
- $schema: 'https://turborepo.org/schema.json',
29
+ $schema: 'https://turbo.build/schema.json',
30
30
  ...update(previousValue),
31
31
  }),
32
32
  /** @type {TurboConfig} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.6",
3
+ "version": "2.9.0",
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.2.17",
27
+ "@w5s/dev": "^2.2.19",
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": "41c1259cedf51e96b07c70c8e699671dd4000527"
41
+ "gitHead": "8bc9a6fb06ff9097f6598655c5f7e4671a94dbb4"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.6",
3
+ "version": "2.9.0",
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.2.17",
42
+ "@w5s/dev": "^2.2.19",
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": "41c1259cedf51e96b07c70c8e699671dd4000527"
62
+ "gitHead": "8bc9a6fb06ff9097f6598655c5f7e4671a94dbb4"
63
63
  }
package/project/index.js CHANGED
@@ -223,6 +223,10 @@ function task() {
223
223
  });
224
224
 
225
225
  // workspace
226
+ npm.dependency({
227
+ state: rootUseWorkspace ? 'present' : 'absent',
228
+ name: ['@lerna-lite/publish'],
229
+ });
226
230
  const lernaConfig = json('lerna.json', {
227
231
  version: rootPackageFile.get('version'),
228
232
  });
@@ -261,12 +265,13 @@ function task() {
261
265
  globalEnv: Array.from(
262
266
  new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'CI_*', 'DATABASE_URL', 'NODE_ENV']),
263
267
  ).sort(),
264
- globalDependencies: ['tsconfig.settings.json'],
268
+ globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
265
269
  tasks: {
266
270
  ..._.tasks,
267
271
  [project.build]: {
268
272
  dependsOn: [`^${project.build}`, `//#${project.build}:root`],
269
- outputs: ['lib/**', 'dist/**', '.next/**'],
273
+ inputs: ['$TURBO_DEFAULT$', '.env*'],
274
+ outputs: ['dist/**', '.next/**', '!.next/cache/**'],
270
275
  },
271
276
  [`//#${project.build}:root`]: {},
272
277
  [project.test]: {