@w5s/mrm-preset 3.0.0 → 3.1.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.11.6 build:tsc
3
+ > @w5s/mrm-preset@3.0.0 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -1,4 +1,30 @@
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
+
2
+ ⠙
3
+ > @w5s/mrm-preset@3.0.0 format:src
4
+ > eslint . --fix
5
+
6
+ [@stylistic/eslint-plugin]: You are using deprecated value(boolean) for "allowTemplateLiterals" in "quotes", please use "always"/"never" instead.
7
+ 
8
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
9
+  5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
+ 
11
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
12
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
13
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
14
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
15
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
16
+ 
17
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
18
+  47:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
+  87:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
20
+  113:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
21
+  129:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
22
+ 
23
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
24
+  41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
25
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
26
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
27
+ 
28
+ ✖ 12 problems (0 errors, 12 warnings)
29
+ 
30
+ ⠙⠙
@@ -1,15 +1,12 @@
1
1
 
2
2
  ⠙
3
- > @w5s/mrm-preset@2.11.6 lint:src
3
+ > @w5s/mrm-preset@3.0.0 lint:src
4
4
  > eslint .
5
5
 
6
6
  
7
7
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
8
8
   5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
9
  
10
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githooks.js
11
-  1:1 warning Unused eslint-disable directive (no problems were reported from 'node/no-sync')
12
- 
13
10
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
14
11
   20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
15
12
   20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
@@ -17,26 +14,16 @@
17
14
   20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
18
15
  
19
16
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
20
-  47:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
21
-  87:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
22
-  113:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
23
-  129:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
+  50:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
+  90:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
+  116:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
20
+  132:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
24
21
  
25
22
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
26
23
   41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
27
24
   82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
28
25
   82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
29
26
  
30
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/githooks/index.js
31
-  33:7 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
32
- 
33
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/post-configure/index.js
34
-  19:5 warning Unused eslint-disable directive (no problems were reported from 'no-console')
35
- 
36
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/release/index.js
37
-  14:9 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
38
- 
39
- ✖ 16 problems (0 errors, 16 warnings)
40
-  0 errors and 4 warnings potentially fixable with the `--fix` option.
27
+ ✖ 12 problems (0 errors, 12 warnings)
41
28
  
42
29
  ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@3.0.0 prepare:empty
2
+ > @w5s/mrm-preset@3.1.0 prepare:empty
3
3
  > :
4
4
 
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@2.11.6 test:script
2
+ 
3
+ > @w5s/mrm-preset@3.0.0 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
6
  mkdir: _tester: File exists
@@ -17,40 +17,7 @@
17
17
  Running commitlint...
18
18
  Running editorconfig...
19
19
  Running eslint...
20
- Installing @w5s/eslint-config...
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.5
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.5
35
- npm ERR! node_modules/@w5s/eslint-config
36
- npm ERR! dev @w5s/eslint-config@"2.4.5" 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.5
41
- npm ERR! node_modules/@w5s/eslint-config
42
- npm ERR! dev @w5s/eslint-config@"2.4.5" 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-10-21T22_36_15_158Z-eresolve-report.txt
51
- 
52
- npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-10-21T22_36_15_158Z-debug-0.log
53
- Running cspell...
20
+ Running cspell...
54
21
  Running vitest...
55
22
  Running renovate...
56
23
  Running githooks...
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
+ # [3.1.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.0.0...@w5s/mrm-preset@3.1.0) (2025-10-27)
7
+
8
+ ### ✨ Features
9
+
10
+ - Enhance ESLint configuration with new rules and stylistic adjustments ([44d4bf3](github.com/w5s/project-config/commits/44d4bf3))
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
6
14
  # [3.0.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.6...@w5s/mrm-preset@3.0.0) (2025-10-21)
7
15
 
8
16
  ### 🎫 Chores
@@ -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:3cede0390df539fee0ec4634ca957539b887528ce2824bb2b631aec414bfa06c
204
+ image: node:lts-alpine@sha256:bd26af08779f746650d95a2e4d653b0fd3c8030c44284b6b98d701c9b5eb66b9
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:913d93cfb1b10ca26156cfca1e551485e0bd94a1d446aafa58e91e8c283caeb5
16
+ name: renovate/renovate@sha256:0c1a0c9222430be38b2cf3136fec3b8c5ecf343807ee0026ee95e50db3e1ffb2
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/core/githooks.js CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable node/no-sync */
2
1
  const path = require('node:path');
3
2
  const { blockSync, directorySync, fileSync } = require('@w5s/dev');
4
3
 
package/core/npm.js CHANGED
@@ -1,3 +1,6 @@
1
+ /* eslint-disable no-param-reassign */
2
+ /* eslint-disable consistent-return */
3
+ /* eslint-disable default-param-last */
1
4
  const { yarnVersion, yarnConfig } = require('@w5s/dev');
2
5
 
3
6
  /* cSpell: disable */
package/githooks/index.js CHANGED
@@ -30,6 +30,7 @@ function task() {
30
30
  pkg.script(_packageFile, {
31
31
  name: `${project.prepare}:githooks`,
32
32
  state: gitSupported ? 'present' : 'absent',
33
+
33
34
  // eslint-disable-next-line no-template-curly-in-string
34
35
  update: (_) => 'if [ -z "${CI:-}" ]; then git config core.hooksPath .githooks; fi',
35
36
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.0.0",
3
+ "version": "3.1.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": "^3.0.0",
27
+ "@w5s/dev": "^3.1.0",
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": "e038232410218bd01be847ffe84bdb5f6261adc6"
41
+ "gitHead": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.0.0",
3
+ "version": "3.1.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": "^3.0.0",
42
+ "@w5s/dev": "^3.1.0",
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": "e038232410218bd01be847ffe84bdb5f6261adc6"
62
+ "gitHead": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
63
63
  }
package/project/index.js CHANGED
@@ -269,6 +269,7 @@ function task() {
269
269
  state: 'present',
270
270
  update: (_) => ({
271
271
  ..._,
272
+ // eslint-disable-next-line unicorn/no-array-sort
272
273
  globalEnv: [...new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])].sort(),
273
274
  globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
274
275
  tasks: {