@w5s/mrm-preset 3.0.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.
- package/.turbo/turbo-build.log +4 -6
- package/.turbo/turbo-clean.log +6 -0
- package/.turbo/turbo-format.log +29 -4
- package/.turbo/turbo-lint.log +27 -42
- package/.turbo/turbo-prepare.log +1 -1
- package/.turbo/turbo-spellcheck.log +1 -2
- package/.turbo/turbo-test.log +34 -58
- package/CHANGELOG.md +16 -0
- package/ci/_gitlab/AutoDevopsInclude.gitlab-ci.yml +1 -1
- package/ci/_gitlab/Renovate.gitlab-ci.yml +1 -1
- package/core/githooks.js +0 -1
- package/core/npm.js +3 -0
- package/core/vitest.js +1 -1
- package/eslint/index.js +2 -2
- package/githooks/index.js +3 -2
- package/lang/index.js +2 -2
- package/package.json +3 -3
- package/package.json.backup +3 -3
- package/project/index.js +5 -4
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-format.log
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
[1G[0K
|
|
3
|
+
> @w5s/mrm-preset@3.1.0 format:src
|
|
4
|
+
> eslint . --fix
|
|
5
|
+
|
|
6
|
+
[1G[0K[0m[0m
|
|
7
|
+
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js[24m[0m
|
|
8
|
+
[0m [2m5:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
9
|
+
[0m[0m
|
|
10
|
+
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js[24m[0m
|
|
11
|
+
[0m [2m20:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
12
|
+
[0m [2m20:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
13
|
+
[0m [2m20:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
14
|
+
[0m [2m20:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
15
|
+
[0m[0m
|
|
16
|
+
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js[24m[0m
|
|
17
|
+
[0m [2m50:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m[0m
|
|
18
|
+
[0m [2m90:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m[0m
|
|
19
|
+
[0m [2m116:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m[0m
|
|
20
|
+
[0m [2m132:1[22m [33mwarning[39m Prefer a more specific type to `Function` [2mjsdoc/reject-function-type[22m[0m
|
|
21
|
+
[0m[0m
|
|
22
|
+
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js[24m[0m
|
|
23
|
+
[0m [2m41:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
24
|
+
[0m [2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
25
|
+
[0m [2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
26
|
+
[0m[0m
|
|
27
|
+
[0m[33m[1m✖ 12 problems (0 errors, 12 warnings)[22m[39m[0m
|
|
28
|
+
[0m[33m[1m[22m[39m[0m
|
|
29
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,42 +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
|
-
|
|
27
|
-
|
|
28
|
-
[0m [2m82:1[22m [33mwarning[39m Prefer a more specific type to `any` [2mjsdoc/reject-any-type[22m[0m
|
|
29
|
-
[0m[0m
|
|
30
|
-
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/githooks/index.js[24m[0m
|
|
31
|
-
[0m [2m33:7[22m [33mwarning[39m Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')[0m
|
|
32
|
-
[0m[0m
|
|
33
|
-
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/post-configure/index.js[24m[0m
|
|
34
|
-
[0m [2m19:5[22m [33mwarning[39m Unused eslint-disable directive (no problems were reported from 'no-console')[0m
|
|
35
|
-
[0m[0m
|
|
36
|
-
[0m[4m/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/release/index.js[24m[0m
|
|
37
|
-
[0m [2m14:9[22m [33mwarning[39m Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')[0m
|
|
38
|
-
[0m[0m
|
|
39
|
-
[0m[33m[1m✖ 16 problems (0 errors, 16 warnings)[22m[39m[0m
|
|
40
|
-
[0m[33m[1m[22m[39m[33m[1m 0 errors and 4 warnings potentially fixable with the `--fix` option.[22m[39m[0m
|
|
41
|
-
[0m[33m[1m[22m[39m[0m
|
|
42
|
-
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
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
|
+
|
package/.turbo/turbo-prepare.log
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
CSpell: Files checked: 53, Issues found: 0 in 0 files.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,58 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[36mRunning
|
|
10
|
-
[36mRunning
|
|
11
|
-
[36mRunning
|
|
12
|
-
[36mRunning
|
|
13
|
-
[36mRunning
|
|
14
|
-
[36mRunning
|
|
15
|
-
[36mRunning
|
|
16
|
-
[
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[0m[37;40mnpm[0m [0m[31;40mERR 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
|
+
|
|
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)
|
|
15
|
+
|
|
16
|
+
### ✨ Features
|
|
17
|
+
|
|
18
|
+
- Enhance ESLint configuration with new rules and stylistic adjustments ([44d4bf3](github.com/w5s/project-config/commits/44d4bf3))
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
21
|
+
|
|
6
22
|
# [3.0.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.6...@w5s/mrm-preset@3.0.0) (2025-10-21)
|
|
7
23
|
|
|
8
24
|
### 🎫 Chores
|
|
@@ -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: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:
|
|
16
|
+
name: renovate/renovate@sha256:0f129ba37673d828fd03de6a9dd548492bfb7a11da33245c43cbb5a1078a8bab
|
|
17
17
|
entrypoint: ['']
|
|
18
18
|
script:
|
|
19
19
|
- >
|
package/core/githooks.js
CHANGED
package/core/npm.js
CHANGED
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
|
@@ -30,6 +30,7 @@ function task() {
|
|
|
30
30
|
pkg.script(_packageFile, {
|
|
31
31
|
name: `${project.prepare}:githooks`,
|
|
32
32
|
state: gitSupported ? 'present' : 'absent',
|
|
33
|
+
|
|
33
34
|
// eslint-disable-next-line no-template-curly-in-string
|
|
34
35
|
update: (_) => 'if [ -z "${CI:-}" ]; then git config core.hooksPath .githooks; fi',
|
|
35
36
|
});
|
|
@@ -50,11 +51,11 @@ function task() {
|
|
|
50
51
|
path: 'CODEOWNERS',
|
|
51
52
|
state: gitSupported ? 'present' : 'absent',
|
|
52
53
|
update: (content) =>
|
|
53
|
-
content.length === 0
|
|
54
|
+
(content.length === 0
|
|
54
55
|
? template('', path.join(__dirname, 'templates', 'CODEOWNERS'))
|
|
55
56
|
.apply()
|
|
56
57
|
.get()
|
|
57
|
-
: undefined,
|
|
58
|
+
: undefined),
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
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/
|
|
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/
|
|
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.
|
|
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.
|
|
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": "
|
|
41
|
+
"gitHead": "8338e5dded9a0bbed4fb84c69ee86d5eff743a12"
|
|
42
42
|
}
|
package/package.json.backup
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/mrm-preset",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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": "
|
|
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);
|
|
@@ -269,6 +269,7 @@ function task() {
|
|
|
269
269
|
state: 'present',
|
|
270
270
|
update: (_) => ({
|
|
271
271
|
..._,
|
|
272
|
+
// eslint-disable-next-line unicorn/no-array-sort
|
|
272
273
|
globalEnv: [...new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])].sort(),
|
|
273
274
|
globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
|
|
274
275
|
tasks: {
|