@w5s/mrm-preset 3.1.0 → 3.2.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,4 @@
1
-
2
- ⠙
3
- > @w5s/mrm-preset@3.0.0 build:tsc
4
- > tsc
5
-
6
- ⠙⠙
1
+
2
+ > @w5s/mrm-preset@3.1.0 build:tsc
3
+ > tsc
4
+
@@ -0,0 +1,6 @@
1
+
2
+ 
3
+ > @w5s/mrm-preset@3.1.0 clean:tsc
4
+ > rm -rf dist
5
+
6
+ ⠙⠙
@@ -1,10 +1,9 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@3.0.0 format:src
2
+ 
3
+ > @w5s/mrm-preset@3.1.0 format:src
4
4
  > eslint . --fix
5
5
 
6
- [@stylistic/eslint-plugin]: You are using deprecated value(boolean) for "allowTemplateLiterals" in "quotes", please use "always"/"never" instead.
7
- 
6
+ 
8
7
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
9
8
   5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
9
  
@@ -15,10 +14,10 @@
15
14
   20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
16
15
  
17
16
  /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
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
22
21
  
23
22
  /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
24
23
   41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
@@ -1,29 +1,27 @@
1
-
2
- ⠙
3
- > @w5s/mrm-preset@3.0.0 lint:src
4
- > eslint .
5
-
6
- 
7
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
8
-  5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
- 
10
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
11
-  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
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
- 
16
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
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
21
- 
22
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
23
-  41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
24
-  82: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
- 
27
- ✖ 12 problems (0 errors, 12 warnings)
28
- 
29
- ⠙⠙
1
+
2
+ > @w5s/mrm-preset@3.1.0 lint:src
3
+ > eslint .
4
+
5
+
6
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
7
+ 5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
8
+
9
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
10
+ 20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
11
+ 20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
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
+
15
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
16
+ 50:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
+ 90:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
+ 116:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
+ 132:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
20
+
21
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
22
+ 41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
23
+ 82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
24
+ 82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
25
+
26
+ ✖ 12 problems (0 errors, 12 warnings)
27
+
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@3.1.0 prepare:empty
2
+ > @w5s/mrm-preset@3.2.0 prepare:empty
3
3
  > :
4
4
 
@@ -1,2 +1 @@
1
-
2
- 
1
+ CSpell: Files checked: 53, Issues found: 0 in 0 files.
@@ -1,25 +1,34 @@
1
-
2
- 
3
- > @w5s/mrm-preset@3.0.0 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
- Running cspell...
21
- Running vitest...
22
- Running renovate...
23
- Running githooks...
24
- Running post-configure...
25
- ⠙⠙
1
+
2
+ > @w5s/mrm-preset@3.1.0 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
+ Update tsconfig.settings.json
17
+ Installing @w5s/tsconfig...
18
+ npm ERR! code E404
19
+ npm ERR! 404 Not Found - GET https://registry.npmjs.org/@w5s%2ftsconfig - Not found
20
+ npm ERR! 404
21
+ npm ERR! 404 '@w5s/tsconfig@latest' is not in this registry.
22
+ npm ERR! 404
23
+ npm ERR! 404 Note that you can also install from a
24
+ npm ERR! 404 tarball, folder, http url, or git url.
25
+
26
+ npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-11-23T21_04_52_918Z-debug-0.log
27
+ Running commitlint...
28
+ Running editorconfig...
29
+ Running eslint...
30
+ Running cspell...
31
+ Running vitest...
32
+ Running renovate...
33
+ Running githooks...
34
+ Running post-configure...
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.2.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.1.0...@w5s/mrm-preset@3.2.0) (2025-11-23)
7
+
8
+ ### ✨ Features
9
+
10
+ - Add ES6 and strict rules to ESLint configuration ([17dba9a](github.com/w5s/project-config/commits/17dba9a))
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
6
14
  # [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
15
 
8
16
  ### ✨ Features
@@ -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:bd26af08779f746650d95a2e4d653b0fd3c8030c44284b6b98d701c9b5eb66b9
204
+ image: node:lts-alpine@sha256:2867d550cf9d8bb50059a0fff528741f11a84d985c732e60e19e8e75c7239c43
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:0c1a0c9222430be38b2cf3136fec3b8c5ecf343807ee0026ee95e50db3e1ffb2
16
+ name: renovate/renovate@sha256:0f129ba37673d828fd03de6a9dd548492bfb7a11da33245c43cbb5a1078a8bab
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/core/vitest.js CHANGED
@@ -14,7 +14,7 @@ function vitest({ state }) {
14
14
  const hasWorkspace = pkg.hasWorkspaces(packageJson());
15
15
  const vitestScript = 'vitest run';
16
16
  const update = (/** @type {string|undefined} */ _) =>
17
- hasVitest ? vitestScript : _ === vitestScript ? pkg.emptyScript : _;
17
+ (hasVitest ? vitestScript : _ === vitestScript ? pkg.emptyScript : _);
18
18
 
19
19
  // Dependencies
20
20
  npm.dependency({
package/eslint/index.js CHANGED
@@ -101,9 +101,9 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
101
101
  });
102
102
  pkg.forEachWorkspace(({ packageFile }) => {
103
103
  const updater = (/** @type {boolean} */ format) => (/** @type {string} */ _) =>
104
- _ == null || _ === '' || _.trimStart().startsWith('eslint')
104
+ (_ == null || _ === '' || _.trimStart().startsWith('eslint')
105
105
  ? `eslint .${format ? ' --fix' : ''}${extOption}`
106
- : _;
106
+ : _);
107
107
  pkg.script(packageFile, {
108
108
  name: `${project.lint}:src`,
109
109
  update: updater(false),
package/githooks/index.js CHANGED
@@ -51,11 +51,11 @@ function task() {
51
51
  path: 'CODEOWNERS',
52
52
  state: gitSupported ? 'present' : 'absent',
53
53
  update: (content) =>
54
- content.length === 0
54
+ (content.length === 0
55
55
  ? template('', path.join(__dirname, 'templates', 'CODEOWNERS'))
56
56
  .apply()
57
57
  .get()
58
- : undefined,
58
+ : undefined),
59
59
  });
60
60
  }
61
61
 
package/lang/index.js CHANGED
@@ -60,7 +60,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
60
60
  state: hasTypecript ? 'present' : 'absent',
61
61
  update: () => 'rm -rf dist',
62
62
  });
63
- if (hasTypecript && projectPackageFile.get('name') !== '@w5s/ts-config') {
63
+ if (hasTypecript && projectPackageFile.get('name') !== '@w5s/tsconfig') {
64
64
  projectTsConfig
65
65
  .merge({
66
66
  $schema: 'https://json.schemastore.org/tsconfig.json',
@@ -174,5 +174,5 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
174
174
 
175
175
  module.exports = createLang({
176
176
  language: 'typescript',
177
- tsConfig: '@w5s/ts-config',
177
+ tsConfig: '@w5s/tsconfig',
178
178
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.1.0",
3
+ "version": "3.2.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.1.0",
27
+ "@w5s/dev": "^3.1.1",
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": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
41
+ "gitHead": "8338e5dded9a0bbed4fb84c69ee86d5eff743a12"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.1.0",
3
+ "version": "3.2.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.1.0",
42
+ "@w5s/dev": "^3.1.1",
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": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
62
+ "gitHead": "8338e5dded9a0bbed4fb84c69ee86d5eff743a12"
63
63
  }
package/project/index.js CHANGED
@@ -182,12 +182,12 @@ function task() {
182
182
  path: 'repository',
183
183
  state: 'present',
184
184
  update: () =>
185
- gitRepository
185
+ (gitRepository
186
186
  ? {
187
187
  type: 'git',
188
188
  url: gitRepository,
189
189
  }
190
- : undefined,
190
+ : undefined),
191
191
  });
192
192
 
193
193
  setDefault(packageFile, false);
@@ -207,13 +207,13 @@ function task() {
207
207
  path: 'repository',
208
208
  state: 'present',
209
209
  update: () =>
210
- gitRepository
210
+ (gitRepository
211
211
  ? {
212
212
  type: 'git',
213
213
  url: gitRepository,
214
214
  directory: workspace.projectDir,
215
215
  }
216
- : undefined,
216
+ : undefined),
217
217
  });
218
218
  setDefault(workspace.packageFile, false);
219
219
  addScripts(workspace.packageFile, false);