@w5s/mrm-preset 2.8.7 → 2.10.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,6 +1,6 @@
1
1
 
2
2
  
3
- > @w5s/mrm-preset@2.8.6 build:tsc
3
+ > @w5s/mrm-preset@2.9.0 build:tsc
4
4
  > tsc
5
5
 
6
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,6 +1,6 @@
1
1
 
2
- 
3
- > @w5s/mrm-preset@2.8.6 lint:src
2
+ ⠙
3
+ > @w5s/mrm-preset@2.9.0 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.8.7 prepare:empty
2
+ > @w5s/mrm-preset@2.10.0 prepare:empty
3
3
  > :
4
4
 
@@ -1,2 +1 @@
1
-
2
- 
1
+ CSpell: Files checked: 52, Issues found: 0 in 0 files.
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@2.8.6 test:script
2
+ 
3
+ > @w5s/mrm-preset@2.9.0 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
6
  mkdir: _tester: File exists
@@ -18,38 +18,38 @@
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.2.4
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.6
25
25
  npm error Found: eslint@9.13.0
26
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
27
+ npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
28
28
  npm error node_modules/@eslint-community/eslint-utils
29
29
  npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.13.0
30
30
  npm error dev eslint@"^9.13.0" from the root project
31
31
  npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
32
  npm error
33
33
  npm error Could not resolve dependency:
34
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.4
34
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.6
35
35
  npm error node_modules/@w5s/eslint-config
36
- npm error dev @w5s/eslint-config@"2.2.4" from the root project
36
+ npm error dev @w5s/eslint-config@"2.2.6" from the root project
37
37
  npm error
38
38
  npm error Conflicting peer dependency: eslint@8.57.1
39
39
  npm error node_modules/eslint
40
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.4
40
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.6
41
41
  npm error node_modules/@w5s/eslint-config
42
- npm error dev @w5s/eslint-config@"2.2.4" from the root project
42
+ npm error dev @w5s/eslint-config@"2.2.6" from the root project
43
43
  npm error
44
44
  npm error Fix the upstream dependency conflict, or retry
45
45
  npm error this command with --force or --legacy-peer-deps
46
46
  npm error to accept an incorrect (and potentially broken) dependency resolution.
47
- ⠙npm error
47
+ ⠹npm error
48
48
  npm error
49
49
  npm error For a full report see:
50
- npm error /Users/julienpolo/.npm/_logs/2024-12-09T10_09_52_740Z-eresolve-report.txt
51
- ⠙npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-12-09T10_09_52_740Z-debug-0.log
52
- ⠙Running cspell...
50
+ npm error /Users/julienpolo/.npm/_logs/2024-12-20T11_07_46_737Z-eresolve-report.txt
51
+ ⠹npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-12-20T11_07_46_737Z-debug-0.log
52
+ ⠹Running cspell...
53
53
  Running vitest...
54
54
  Running renovate...
55
55
  Running githooks...
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
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.10.0](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.9.0...@w5s/mrm-preset@2.10.0) (2024-12-20)
7
+
8
+ ### ✨ Features
9
+
10
+ - Enable syncWorkspaceLock for lerna publish ([4c0c818](https://github.com/w5s/project-config/commit/4c0c818))
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
14
+ # [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)
15
+
16
+ ### ✨ Features
17
+
18
+ - Improve turbo configuration generation ([0eeeb4c](https://github.com/w5s/project-config/commit/0eeeb4c))
19
+
20
+ ### 🐛 Bug Fixes
21
+
22
+ - Use @lerna-lite/publish ([c927f34](https://github.com/w5s/project-config/commit/c927f34))
23
+
24
+ **Note:** Version bump only for package @w5s/mrm-preset
25
+
6
26
  ## [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)
7
27
 
8
28
  **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:96cc8323e25c8cc6ddcb8b965e135cfd57846e8003ec0d7bcec16c5fd5f6d39f
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:a1f28f4eba3589d4cf7228f82ba1bdcec42947407f9379d719c0f8a581c564f9
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.7",
3
+ "version": "2.10.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.18",
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": "db3678f75570fa47904c6480dd918166afeb615d"
41
+ "gitHead": "9b556d00310ad9409a0962d7da8388dad5720d33"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.7",
3
+ "version": "2.10.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.18",
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": "db3678f75570fa47904c6480dd918166afeb615d"
62
+ "gitHead": "9b556d00310ad9409a0962d7da8388dad5720d33"
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
  });
@@ -236,6 +240,7 @@ function task() {
236
240
  publish: {
237
241
  conventionalCommits: true,
238
242
  npmClient: 'npm',
243
+ syncWorkspaceLock: true,
239
244
  },
240
245
  version: {
241
246
  message: gitmoji
@@ -261,12 +266,13 @@ function task() {
261
266
  globalEnv: Array.from(
262
267
  new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'CI_*', 'DATABASE_URL', 'NODE_ENV']),
263
268
  ).sort(),
264
- globalDependencies: ['tsconfig.settings.json'],
269
+ globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
265
270
  tasks: {
266
271
  ..._.tasks,
267
272
  [project.build]: {
268
273
  dependsOn: [`^${project.build}`, `//#${project.build}:root`],
269
- outputs: ['lib/**', 'dist/**', '.next/**'],
274
+ inputs: ['$TURBO_DEFAULT$', '.env*'],
275
+ outputs: ['dist/**', '.next/**', '!.next/cache/**'],
270
276
  },
271
277
  [`//#${project.build}:root`]: {},
272
278
  [project.test]: {