@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.
- package/.turbo/turbo-format.log +27 -0
- package/.turbo/turbo-lint.log +27 -26
- package/.turbo/turbo-spellcheck.log +3 -2
- package/.turbo/turbo-test.log +24 -18
- package/.turbo/turbo-typecheck.log +3 -0
- package/CHANGELOG.md +12 -0
- package/ci/_gitlab/AutoDevopsInclude.gitlab-ci.yml +1 -1
- package/ci/_gitlab/Renovate.gitlab-ci.yml +1 -1
- package/core/git.ignore.js +2 -0
- package/core/project.js +3 -0
- package/lang/index.js +10 -0
- package/package.json +5 -5
- package/package.json.backup +8 -6
- package/project/index.js +10 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
[2m$ pnpm run "/^format:.*/"[22m
|
|
3
|
+
[2m$ eslint . --fix[22m
|
|
4
|
+
[0m
|
|
5
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js[24m
|
|
6
|
+
[2m5:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
7
|
+
|
|
8
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js[24m
|
|
9
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
10
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
11
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
12
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
13
|
+
|
|
14
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/npm.js[24m
|
|
15
|
+
[2m51:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
16
|
+
[2m92:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
17
|
+
[2m119:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
18
|
+
[2m135:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
19
|
+
[2m154:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
20
|
+
|
|
21
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js[24m
|
|
22
|
+
[2m41:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
23
|
+
[2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
24
|
+
[2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
25
|
+
|
|
26
|
+
[33m[1m✖ 13 problems (0 errors, 13 warnings)[22m[39m
|
|
27
|
+
[0m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
$
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
|
|
2
|
+
[2m$ pnpm run "/^lint:.*/"[22m
|
|
3
|
+
[2m$ eslint .[22m
|
|
4
|
+
[0m
|
|
5
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js[24m
|
|
6
|
+
[2m5:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
7
|
+
|
|
8
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js[24m
|
|
9
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
10
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
11
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
12
|
+
[2m21:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
13
|
+
|
|
14
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/npm.js[24m
|
|
15
|
+
[2m51:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
16
|
+
[2m92:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
17
|
+
[2m119:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
18
|
+
[2m135:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
19
|
+
[2m154:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m
|
|
20
|
+
|
|
21
|
+
[4m/Users/julien.polo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js[24m
|
|
22
|
+
[2m41:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
23
|
+
[2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
24
|
+
[2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m
|
|
25
|
+
|
|
26
|
+
[33m[1m✖ 13 problems (0 errors, 13 warnings)[22m[39m
|
|
27
|
+
[0m
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+
[2m$ cspell --no-progress '**'[22m
|
|
3
|
+
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
$
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[36mRunning
|
|
7
|
-
[36mRunning
|
|
8
|
-
[36mRunning
|
|
9
|
-
[36mRunning
|
|
10
|
-
[36mRunning
|
|
11
|
-
[36mRunning
|
|
12
|
-
[36mRunning
|
|
13
|
-
[36mRunning
|
|
14
|
-
[36mRunning
|
|
15
|
-
[36mRunning
|
|
16
|
-
|
|
17
|
-
[
|
|
18
|
-
[
|
|
1
|
+
|
|
2
|
+
[2m$ pnpm run "/^test:.*/"[22m
|
|
3
|
+
[2m$ mkdir -p .temp; cd .temp; mrm bootstrap --dir ..; mrm configure --dir ..[22m
|
|
4
|
+
[36mRunning bootstrap...[39m
|
|
5
|
+
[33mRunning alias configure...[39m
|
|
6
|
+
[36mRunning gitignore...[39m
|
|
7
|
+
[36mRunning project...[39m
|
|
8
|
+
[36mRunning contributing...[39m
|
|
9
|
+
[36mRunning licenses...[39m
|
|
10
|
+
[36mRunning asdf...[39m
|
|
11
|
+
[36mRunning release...[39m
|
|
12
|
+
[36mRunning ci...[39m
|
|
13
|
+
[36mRunning lang...[39m
|
|
14
|
+
[36mRunning commitlint...[39m
|
|
15
|
+
[36mRunning editorconfig...[39m
|
|
16
|
+
[36mRunning eslint...[39m
|
|
17
|
+
[36mRunning cspell...[39m
|
|
18
|
+
[36mRunning vitest...[39m
|
|
19
|
+
[36mRunning renovate...[39m
|
|
20
|
+
[36mRunning githooks...[39m
|
|
21
|
+
[36mRunning post-configure...[39m
|
|
22
|
+
Error: to format code
|
|
23
|
+
Invalid package manager specification in package.json (pnpm@latest); expected a semver version
|
|
24
|
+
|
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:
|
|
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:
|
|
16
|
+
name: renovate/renovate@sha256:7ddbf899a371dec16a37c22e233a6b981c4d3fbfe3075dcf22a4f1ba22fe55a9
|
|
17
17
|
entrypoint: ['']
|
|
18
18
|
script:
|
|
19
19
|
- >
|
package/core/git.ignore.js
CHANGED
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.
|
|
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.
|
|
28
|
-
"@w5s/dev": "^3.3.
|
|
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": "
|
|
42
|
+
"gitHead": "fc447207d2af5368f809a9a90d0e4056344b812a"
|
|
43
43
|
}
|
package/package.json.backup
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/mrm-preset",
|
|
3
|
-
"version": "3.4.
|
|
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.
|
|
41
|
-
"@w5s/dev": "^3.3.
|
|
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": "
|
|
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
|
},
|