@w5s/mrm-preset 3.4.0 → 3.4.2

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,3 +1,2 @@
1
-
2
- $ pnpm run "/^build:.*/"
3
- $ tsc
1
+ $ pnpm run "/^build:.*/"
2
+ $ tsc
@@ -1,23 +1,23 @@
1
1
  $ pnpm run "/^lint:.*/"
2
2
  $ eslint .
3
3
 
4
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
4
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
5
5
  5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
6
6
 
7
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
7
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
8
8
  21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
9
  21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
10
10
  21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
11
11
  21:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
12
12
 
13
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
13
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
14
14
  51:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
15
15
  92:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
16
16
  119:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
17
17
  135:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
18
18
  154:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
19
19
 
20
- /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
20
+ /Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
21
21
  41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
22
22
  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
23
23
  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
@@ -13,6 +13,11 @@ $ mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir ..
13
13
  Running commitlint...
14
14
  Running editorconfig...
15
15
  Running eslint...
16
- Installing @w5s/eslint-config...
17
- [ELIFECYCLE] Command failed.
18
- [ELIFECYCLE] Test failed. See above for more details.
16
+ Running cspell...
17
+ Running vitest...
18
+ Running renovate...
19
+ Running githooks...
20
+ Running post-configure...
21
+ Error: to format code
22
+ Invalid package manager specification in package.json (pnpm@latest); expected a semver version
23
+
@@ -0,0 +1,2 @@
1
+ $ pnpm run "/^typecheck:.*/"
2
+ $ tsc --noEmit
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.4.2](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.4.1...@w5s/mrm-preset@3.4.2) (2026-06-03)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
10
+ ## [3.4.1](github.com/w5s/project-config/compare/@w5s/mrm-preset@3.4.0...@w5s/mrm-preset@3.4.1) (2026-06-02)
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
6
14
  # [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
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: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:47421f2f3f82048e969b5195dd808d5ac2c5f69d43d192191c4a3dca390afe06
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.2",
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.2",
28
+ "@w5s/dev": "^3.3.2",
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": "ab7987a57772b2e7fb3ef7eb4cadb3cedd9cc9ae"
43
43
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
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.2",
43
+ "@w5s/dev": "^3.3.2",
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": "ab7987a57772b2e7fb3ef7eb4cadb3cedd9cc9ae"
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
  },