@w5s/mrm-preset 3.4.0 → 3.4.3

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.
@@ -0,0 +1,27 @@
1
+
2
+ $ pnpm run "/^format:.*/"
3
+ $ eslint . --fix
4
+ 
5
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
6
+ 5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
7
+
8
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
9
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
11
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
12
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
13
+
14
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
15
+ 51:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
16
+ 92:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
+ 119:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
+ 135:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
+ 154:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
20
+
21
+ /Users/julien.polo/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
+ ✖ 13 problems (0 errors, 13 warnings)
27
+ 
@@ -1,26 +1,27 @@
1
- $ pnpm run "/^lint:.*/"
2
- $ eslint .
3
-
4
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
5
- 5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
6
-
7
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
8
- 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
- 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
- 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
11
- 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
12
-
13
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
14
- 51:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
15
- 92:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
16
- 119:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
- 135:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
- 154:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
-
20
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
21
- 41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
22
- 82: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
-
25
- ✖ 13 problems (0 errors, 13 warnings)
26
-
1
+
2
+ $ pnpm run "/^lint:.*/"
3
+ $ eslint .
4
+ 
5
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
6
+ 5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
7
+
8
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
9
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
11
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
12
+ 21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
13
+
14
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
15
+ 51:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
16
+ 92:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
+ 119:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
+ 135:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
+ 154:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
20
+
21
+ /Users/julien.polo/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
+ ✖ 13 problems (0 errors, 13 warnings)
27
+ 
@@ -1,2 +1,3 @@
1
- $ cspell --no-progress '**'
2
- CSpell: Files checked: 53, Issues found: 0 in 0 files.
1
+
2
+ $ cspell --no-progress '**'
3
+
@@ -1,18 +1,24 @@
1
- $ pnpm run "/^test:.*/"
2
- $ mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir ..
3
- Running bootstrap...
4
- Running alias configure...
5
- Running gitignore...
6
- Running project...
7
- Running contributing...
8
- Running licenses...
9
- Running asdf...
10
- Running release...
11
- Running ci...
12
- Running lang...
13
- Running commitlint...
14
- Running editorconfig...
15
- Running eslint...
16
- Installing @w5s/eslint-config...
17
- [ELIFECYCLE] Command failed.
18
- [ELIFECYCLE] Test failed. See above for more details.
1
+
2
+ $ pnpm run "/^test:.*/"
3
+ $ mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir ..
4
+ Running bootstrap...
5
+ Running alias configure...
6
+ Running gitignore...
7
+ Running project...
8
+ Running contributing...
9
+ Running licenses...
10
+ Running asdf...
11
+ Running release...
12
+ Running ci...
13
+ Running lang...
14
+ Running commitlint...
15
+ Running editorconfig...
16
+ Running eslint...
17
+ Running cspell...
18
+ Running vitest...
19
+ Running renovate...
20
+ Running githooks...
21
+ Running post-configure...
22
+ Error: to format code
23
+ Invalid package manager specification in package.json (pnpm@latest); expected a semver version
24
+
@@ -0,0 +1,3 @@
1
+
2
+ $ pnpm run "/^typecheck:.*/"
3
+ $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.4.3](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.4.1...@w5s/mrm-preset@3.4.3) (2026-06-05)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
10
+ ## [3.4.2](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.4.1...@w5s/mrm-preset@3.4.2) (2026-06-03)
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
14
+ ## [3.4.1](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.4.0...@w5s/mrm-preset@3.4.1) (2026-06-02)
15
+
16
+ **Note:** Version bump only for package @w5s/mrm-preset
17
+
6
18
  # [3.4.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.3.3...@w5s/mrm-preset@3.4.0) (2026-05-11)
7
19
 
8
20
  ### ✨ 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:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f
204
+ image: node:lts-alpine@sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14
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:80667f4688bfa825e993e711714ad0ef4d7577f0fa7923c7d7598e42b8ff49d6
16
+ name: renovate/renovate@sha256:7ddbf899a371dec16a37c22e233a6b981c4d3fbfe3075dcf22a4f1ba22fe55a9
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
@@ -14,6 +14,8 @@ module.exports = {
14
14
  lerna-debug.log*
15
15
  .pnpm-debug.log*
16
16
 
17
+ .pnpm-store/
18
+
17
19
  # Diagnostic reports (https://nodejs.org/api/report.html)
18
20
  report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
19
21
 
package/core/project.js CHANGED
@@ -16,6 +16,8 @@ const format = 'format';
16
16
  const lint = 'lint';
17
17
  /** @type {'test'} */
18
18
  const test = 'test';
19
+ /** @type {'typecheck'} */
20
+ const typecheck = 'typecheck';
19
21
  /** @type {'coverage'} */
20
22
  const coverage = 'coverage';
21
23
  /** @type {'clean'} */
@@ -59,6 +61,7 @@ module.exports = {
59
61
  release,
60
62
  rescue,
61
63
  test,
64
+ typecheck,
62
65
  validate,
63
66
  spellcheck,
64
67
  };
package/lang/index.js CHANGED
@@ -60,6 +60,11 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
60
60
  state: hasTypecript ? 'present' : 'absent',
61
61
  update: () => 'rm -rf dist',
62
62
  });
63
+ pkg.script(projectPackageFile, {
64
+ name: `${project.typecheck}:src`,
65
+ state: hasTypecript ? 'present' : 'absent',
66
+ update: () => 'tsc --noEmit',
67
+ });
63
68
  if (hasTypecript && projectPackageFile.get('name') !== '@w5s/tsconfig') {
64
69
  projectTsConfig
65
70
  .merge({
@@ -101,6 +106,11 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
101
106
  include: ['src'],
102
107
  })
103
108
  .save();
109
+ pkg.script(packageFile, {
110
+ name: `${project.typecheck}:src`,
111
+ state: 'present',
112
+ update: () => 'tsc --noEmit',
113
+ });
104
114
 
105
115
  // Create default index
106
116
  const templateDir = path.join(__dirname, 'templates');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.4.0",
3
+ "version": "3.4.3",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git@github.com:w5s/project-config.git",
16
+ "url": "git+ssh@github.com:w5s/project-config.git",
17
17
  "directory": "packages/mrm-preset"
18
18
  },
19
19
  "license": "MIT",
@@ -24,8 +24,8 @@
24
24
  "postpack": "clean-package restore"
25
25
  },
26
26
  "dependencies": {
27
- "@w5s/configurator-core": "^1.0.0-alpha.1",
28
- "@w5s/dev": "^3.3.0",
27
+ "@w5s/configurator-core": "^1.0.0-alpha.3",
28
+ "@w5s/dev": "^3.3.3",
29
29
  "debug": "^4.3.3",
30
30
  "glob": "^13.0.0",
31
31
  "mrm-core": "^7.0.0",
@@ -39,5 +39,5 @@
39
39
  "access": "public"
40
40
  },
41
41
  "sideEffect": false,
42
- "gitHead": "38cf5f5877af4c8a1c292b9b7039c5a11863fc00"
42
+ "gitHead": "fc447207d2af5368f809a9a90d0e4056344b812a"
43
43
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.4.0",
3
+ "version": "3.4.3",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git@github.com:w5s/project-config.git",
16
+ "url": "git+ssh@github.com:w5s/project-config.git",
17
17
  "directory": "packages/mrm-preset"
18
18
  },
19
19
  "license": "MIT",
@@ -34,11 +34,13 @@
34
34
  "prepack": "clean-package",
35
35
  "spellcheck": "cspell --no-progress '**'",
36
36
  "test": "pnpm run \"/^test:.*/\"",
37
- "test:script": "mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir .."
37
+ "test:script": "mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir ..",
38
+ "typecheck": "pnpm run \"/^typecheck:.*/\"",
39
+ "typecheck:src": "tsc --noEmit"
38
40
  },
39
41
  "dependencies": {
40
- "@w5s/configurator-core": "^1.0.0-alpha.1",
41
- "@w5s/dev": "^3.3.0",
42
+ "@w5s/configurator-core": "^1.0.0-alpha.3",
43
+ "@w5s/dev": "^3.3.3",
42
44
  "debug": "^4.3.3",
43
45
  "glob": "^13.0.0",
44
46
  "mrm-core": "^7.0.0",
@@ -58,5 +60,5 @@
58
60
  "access": "public"
59
61
  },
60
62
  "sideEffect": false,
61
- "gitHead": "38cf5f5877af4c8a1c292b9b7039c5a11863fc00"
63
+ "gitHead": "fc447207d2af5368f809a9a90d0e4056344b812a"
62
64
  }
package/project/index.js CHANGED
@@ -121,6 +121,12 @@ function task() {
121
121
  state: 'present',
122
122
  default: pkg.emptyScript,
123
123
  });
124
+ pkg.script(currentPackageFile, {
125
+ name: project.typecheck,
126
+ update: useWorkspace ? turboRun(project.typecheck) : npmRunAll(project.typecheck, true),
127
+ state: 'present',
128
+ default: pkg.emptyScript,
129
+ });
124
130
 
125
131
  // prepare
126
132
  pkg.script(currentPackageFile, {
@@ -199,7 +205,7 @@ function task() {
199
205
 
200
206
  pkg.script(packageFile, {
201
207
  name: project.validate,
202
- update: `${turboRun([project.build, project.lint, project.test, project.spellcheck].join(' '))}`,
208
+ update: `${turboRun([project.build, project.lint, project.test, project.typecheck, project.spellcheck].join(' '))}`,
203
209
  state: 'present',
204
210
  });
205
211
 
@@ -292,6 +298,9 @@ function task() {
292
298
  [`//#${project.test}:root`]: {
293
299
  inputs: rootInputs,
294
300
  },
301
+ [project.typecheck]: {
302
+ dependsOn: [project.build, `^${project.build}`],
303
+ },
295
304
  [project.lint]: {
296
305
  dependsOn: [`^${project.build}`, `//#${project.lint}:root`],
297
306
  },