@w5s/mrm-preset 3.1.0 → 3.2.1

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.2.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,9 +1,9 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@3.0.0 lint:src
2
+ ⠙
3
+ > @w5s/mrm-preset@3.2.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
  
@@ -26,4 +26,4 @@
26
26
  
27
27
  ✖ 12 problems (0 errors, 12 warnings)
28
28
  
29
- ⠙⠙
29
+ ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@3.1.0 prepare:empty
2
+ > @w5s/mrm-preset@3.2.1 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,23 @@
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.2.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
+ Running commitlint...
17
+ Running editorconfig...
18
+ Running eslint...
19
+ Running cspell...
20
+ Running vitest...
21
+ Running renovate...
22
+ Running githooks...
23
+ Running post-configure...
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
+ ## [3.2.1](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.2.0...@w5s/mrm-preset@3.2.1) (2026-01-25)
7
+
8
+ ### 🐛 Bug Fixes
9
+
10
+ - Fix vitest typing ([a3ebaa0](github.com/w5s/project-config/commits/a3ebaa0))
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
14
+ # [3.2.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.1.0...@w5s/mrm-preset@3.2.0) (2025-11-23)
15
+
16
+ ### ✨ Features
17
+
18
+ - Add ES6 and strict rules to ESLint configuration ([17dba9a](github.com/w5s/project-config/commits/17dba9a))
19
+
20
+ **Note:** Version bump only for package @w5s/mrm-preset
21
+
6
22
  # [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
23
 
8
24
  ### ✨ 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:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
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:1c6d7458b8cf195926ba82fd2b3b3c07c0c580d2fa0edf54a19db9ff0c43c362
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
@@ -1,3 +1,4 @@
1
+ /* eslint-disable unicorn/prefer-string-raw */
1
2
  /* cSpell: disable */
2
3
 
3
4
  // A dictionary of { tool: git_ignore_section}
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({
@@ -60,7 +60,7 @@ function vitest({ state }) {
60
60
  viteConfig.delete();
61
61
  } else if (!viteConfig.exists()) {
62
62
  viteConfig.save(
63
- `/// <reference types="vitest" />
63
+ `/// <reference types="vitest/config" />
64
64
  import { defineConfig } from 'vite';
65
65
 
66
66
  export default defineConfig({
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.1",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -24,9 +24,9 @@
24
24
  "postpack": "npx clean-package restore"
25
25
  },
26
26
  "dependencies": {
27
- "@w5s/dev": "^3.1.0",
27
+ "@w5s/dev": "^3.1.2",
28
28
  "debug": "^4.3.3",
29
- "glob": "^11.0.0",
29
+ "glob": "^13.0.0",
30
30
  "mrm-core": "^7.0.0",
31
31
  "semver-intersect": "^1.4.0",
32
32
  "sync-directory": "^6.0.0"
@@ -38,5 +38,5 @@
38
38
  "access": "public"
39
39
  },
40
40
  "sideEffect": false,
41
- "gitHead": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
41
+ "gitHead": "648be101c2d4f915b97ed7e318da47a6ac19eb5c"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -39,9 +39,9 @@
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.2",
43
43
  "debug": "^4.3.3",
44
- "glob": "^11.0.0",
44
+ "glob": "^13.0.0",
45
45
  "mrm-core": "^7.0.0",
46
46
  "semver-intersect": "^1.4.0",
47
47
  "sync-directory": "^6.0.0"
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
62
+ "gitHead": "648be101c2d4f915b97ed7e318da47a6ac19eb5c"
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);