@w5s/mrm-preset 2.11.5 → 3.0.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/.eslintrc.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "rules": {
3
- "n/no-sync": "off",
3
+ "node/no-sync": "off",
4
4
  "import/no-unresolved": "off"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
 
2
- 
3
- > @w5s/mrm-preset@2.11.4 build:tsc
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.6 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.11.4 format:src
2
+ > @w5s/mrm-preset@2.11.5 format:src
3
3
  > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
4
 
@@ -1,6 +1,42 @@
1
1
 
2
2
  ⠙
3
- > @w5s/mrm-preset@2.11.4 lint:src
4
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
3
+ > @w5s/mrm-preset@2.11.6 lint:src
4
+ > eslint .
5
5
 
6
- ⠙⠙
6
+ 
7
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
8
+  5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
+ 
10
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githooks.js
11
+  1:1 warning Unused eslint-disable directive (no problems were reported from 'node/no-sync')
12
+ 
13
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
14
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
15
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
16
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
17
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
18
+ 
19
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
20
+  47:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
21
+  87:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
22
+  113:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
23
+  129:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
24
+ 
25
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
26
+  41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
27
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
28
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
29
+ 
30
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/githooks/index.js
31
+  33:7 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
32
+ 
33
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/post-configure/index.js
34
+  19:5 warning Unused eslint-disable directive (no problems were reported from 'no-console')
35
+ 
36
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/release/index.js
37
+  14:9 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
38
+ 
39
+ ✖ 16 problems (0 errors, 16 warnings)
40
+  0 errors and 4 warnings potentially fixable with the `--fix` option.
41
+ 
42
+ ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.11.5 prepare:empty
2
+ > @w5s/mrm-preset@3.0.0 prepare:empty
3
3
  > :
4
4
 
@@ -1,2 +1,2 @@
1
1
 
2
- 
2
+ 
@@ -1,6 +1,6 @@
1
1
 
2
2
  ⠙
3
- > @w5s/mrm-preset@2.11.4 test:script
3
+ > @w5s/mrm-preset@2.11.6 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
6
  mkdir: _tester: File exists
@@ -18,10 +18,10 @@
18
18
  Running editorconfig...
19
19
  Running eslint...
20
20
  Installing @w5s/eslint-config...
21
- [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) idealTree: timing arborist:ctor Completed in 0ms
21
+ [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) idealTree: timing arborist:ctor Completed in 0ms
22
22
  npm ERR! ERESOLVE could not resolve
23
23
  npm ERR!
24
- npm ERR! While resolving: @w5s/eslint-config@2.4.3
24
+ npm ERR! While resolving: @w5s/eslint-config@2.4.5
25
25
  npm ERR! Found: eslint@9.26.0
26
26
  npm ERR! node_modules/eslint
27
27
  npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.7.0
@@ -31,15 +31,15 @@ Installing @w5s/eslint-config...
31
31
  npm ERR! 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
32
  npm ERR!
33
33
  npm ERR! Could not resolve dependency:
34
- npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.3
34
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.5
35
35
  npm ERR! node_modules/@w5s/eslint-config
36
- npm ERR! dev @w5s/eslint-config@"2.4.3" from the root project
36
+ npm ERR! dev @w5s/eslint-config@"2.4.5" from the root project
37
37
  npm ERR!
38
38
  npm ERR! Conflicting peer dependency: eslint@8.57.1
39
39
  npm ERR! node_modules/eslint
40
- npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.3
40
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.5
41
41
  npm ERR! node_modules/@w5s/eslint-config
42
- npm ERR! dev @w5s/eslint-config@"2.4.3" from the root project
42
+ npm ERR! dev @w5s/eslint-config@"2.4.5" from the root project
43
43
  npm ERR!
44
44
  npm ERR! Fix the upstream dependency conflict, or retry
45
45
  npm ERR! this command with --force or --legacy-peer-deps
@@ -47,68 +47,12 @@ Installing @w5s/eslint-config...
47
47
  npm ERR!
48
48
  npm ERR!
49
49
  npm ERR! For a full report see:
50
- npm ERR! /Users/julienpolo/.npm/_logs/2025-06-26T13_57_25_849Z-eresolve-report.txt
50
+ npm ERR! /Users/julienpolo/.npm/_logs/2025-10-21T22_36_15_158Z-eresolve-report.txt
51
51
  
52
- npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-06-26T13_57_25_849Z-debug-0.log
52
+ npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-10-21T22_36_15_158Z-debug-0.log
53
53
  Running cspell...
54
- Installing @w5s/cspell-config...
55
- [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠸ idealTree: timing arborist:ctor Completed in 0ms
56
- npm ERR! ERESOLVE could not resolve
57
- npm ERR!
58
- npm ERR! While resolving: @w5s/cspell-config@2.3.22
59
- npm ERR! Found: cspell@9.0.0
60
- npm ERR! node_modules/cspell
61
- npm ERR! dev cspell@"^9.0.0" from the root project
62
- npm ERR!
63
- npm ERR! Could not resolve dependency:
64
- npm ERR! peerOptional cspell@"^6.0.0 || ^7.0.0 || ^8.0.0" from @w5s/cspell-config@2.3.22
65
- npm ERR! node_modules/@w5s/cspell-config
66
- npm ERR! dev @w5s/cspell-config@"2.3.22" from the root project
67
- npm ERR!
68
- npm ERR! Conflicting peer dependency: cspell@8.19.4
69
- npm ERR! node_modules/cspell
70
- npm ERR! peerOptional cspell@"^6.0.0 || ^7.0.0 || ^8.0.0" from @w5s/cspell-config@2.3.22
71
- npm ERR! node_modules/@w5s/cspell-config
72
- npm ERR! dev @w5s/cspell-config@"2.3.22" from the root project
73
- npm ERR!
74
- npm ERR! Fix the upstream dependency conflict, or retry
75
- npm ERR! this command with --force or --legacy-peer-deps
76
- npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
77
- npm ERR!
78
- npm ERR!
79
- npm ERR! For a full report see:
80
- npm ERR! /Users/julienpolo/.npm/_logs/2025-06-26T13_57_29_790Z-eresolve-report.txt
81
- 
82
- npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-06-26T13_57_29_790Z-debug-0.log
83
- Running vitest...
54
+ Running vitest...
84
55
  Running renovate...
85
56
  Running githooks...
86
57
  Running post-configure...
87
- Error: to format code
88
-
89
- > _tester@1.0.0-alpha.0 format
90
- > npx run-p "format:*"
91
-
92
-
93
- > _tester@1.0.0-alpha.0 format:root
94
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
95
-
96
-
97
- Oops! Something went wrong! :(
98
-
99
- ESLint: 9.26.0
100
-
101
- ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
102
-
103
- From ESLint v9.0.0, the default configuration file is now eslint.config.js.
104
- If you are using a .eslintrc.* file, please follow the migration guide
105
- to update your configuration file to the new format:
106
-
107
- https://eslint.org/docs/latest/use/configure/migration-guide
108
-
109
- If you still have problems after following the migration guide, please stop by
110
- https://eslint.org/chat/help to chat with the team.
111
-
112
- ERROR: "format:root" exited with 2.
113
-
114
58
  ⠙⠙
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
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.0.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.6...@w5s/mrm-preset@3.0.0) (2025-10-21)
7
+
8
+ ### 🎫 Chores
9
+
10
+ - Upgrade eslint v9 peer deps ([640db8b](github.com/w5s/project-config/commits/640db8b))
11
+
12
+ ### 💥 BREAKING CHANGES
13
+
14
+ * This commit upgrades ESLint to version 9, which may introduce breaking changes
15
+
16
+ ## [2.11.6](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.5...@w5s/mrm-preset@2.11.6) (2025-09-21)
17
+
18
+ ### 🐛 Bug Fixes
19
+
20
+ - Fix wrong implicit boolean conversion ([56e7f54](github.com/w5s/project-config/commits/56e7f54))
21
+
22
+ **Note:** Version bump only for package @w5s/mrm-preset
23
+
6
24
  ## [2.11.5](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.4...@w5s/mrm-preset@2.11.5) (2025-06-26)
7
25
 
8
26
  ### 🐛 Bug Fixes
@@ -28,14 +28,14 @@ variables:
28
28
  .autodevops_base_rules:
29
29
  rules:
30
30
  - &autodevops_schedule_skip_rule
31
- if: '$CI_PIPELINE_SOURCE == "schedule"'
32
- when: never
31
+ if: '$CI_PIPELINE_SOURCE == "schedule"'
32
+ when: never
33
33
  - &autodevops_renovate_skip_rule
34
- if: $RENOVATE
35
- when: never
34
+ if: $RENOVATE
35
+ when: never
36
36
  - &autodevops_default_branch_only_rule
37
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
38
- when: never
37
+ if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
38
+ when: never
39
39
  - when: on_success
40
40
 
41
41
  # #
@@ -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:5340cbfc2df14331ab021555fdd9f83f072ce811488e705b0e736b11adeec4bb
204
+ image: node:lts-alpine@sha256:3cede0390df539fee0ec4634ca957539b887528ce2824bb2b631aec414bfa06c
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:82e313260bf600c52472bb42d6ac7f0a6468675b766bbb87ef8c0e8f3c00d1da
16
+ name: renovate/renovate@sha256:913d93cfb1b10ca26156cfca1e551485e0bd94a1d446aafa58e91e8c283caeb5
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/ci/github.js CHANGED
@@ -31,14 +31,14 @@ function task() {
31
31
  ...config.jobs,
32
32
  build: {
33
33
  'runs-on': 'ubuntu-latest',
34
- steps: [
34
+ 'steps': [
35
35
  { uses: 'actions/checkout@v4' },
36
36
  { uses: 'rharkor/caching-for-turbo@v1.3' },
37
37
  {
38
38
  uses: 'actions/setup-node@v3',
39
39
  with: {
40
40
  'node-version-file': '.tool-versions',
41
- cache: packageManager,
41
+ 'cache': packageManager,
42
42
  },
43
43
  },
44
44
  { run: packageInstall },
package/ci/gitlab.js CHANGED
@@ -23,7 +23,7 @@ function task() {
23
23
  (include) => (typeof include === 'string' ? include : include.local) === includePath,
24
24
  );
25
25
  const addInclude = (/** @type {string} */ includePath) =>
26
- gitlabCIConfig.set('include', gitlabCIConfig.get('include', []).concat([{ local: includePath }]));
26
+ gitlabCIConfig.set('include', [...gitlabCIConfig.get('include', []), { local: includePath }]);
27
27
 
28
28
  if (!hasInclude(autoDevopsPath)) {
29
29
  addInclude(autoDevopsPath);
package/core/githooks.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable node/no-sync */
1
2
  const path = require('node:path');
2
3
  const { blockSync, directorySync, fileSync } = require('@w5s/dev');
3
4
 
package/core/npm.js CHANGED
@@ -1,7 +1,5 @@
1
- /* eslint-disable default-param-last */
2
1
  const { yarnVersion, yarnConfig } = require('@w5s/dev');
3
2
 
4
- /* eslint-disable import/no-extraneous-dependencies */
5
3
  /* cSpell: disable */
6
4
  // @ts-check
7
5
  // @ts-ignore
@@ -78,7 +76,6 @@ function install(deps, options = {}, exec) {
78
76
  log.info(`Installing ${listify(newDeps)}...`);
79
77
  const versionedDeps = newDeps.map((dep) => getVersionedDep(dep, versions));
80
78
 
81
- // eslint-disable-next-line consistent-return
82
79
  return run(versionedDeps, { dev }, exec);
83
80
  }
84
81
 
@@ -90,7 +87,6 @@ function install(deps, options = {}, exec) {
90
87
  * @param {Function=} exec
91
88
  */
92
89
  function uninstall(deps, options = {}, exec) {
93
- // eslint-disable-next-line no-param-reassign
94
90
  deps = _.castArray(deps);
95
91
  const dev = options.dev !== false;
96
92
  const run = options.yarn || isUsingYarn() ? runYarn : runNpm;
@@ -106,7 +102,6 @@ function uninstall(deps, options = {}, exec) {
106
102
 
107
103
  log.info(`Uninstalling ${listify(newDeps)}...`);
108
104
 
109
- // eslint-disable-next-line consistent-return
110
105
  return run(newDeps, { dev, remove: true }, exec);
111
106
  }
112
107
 
@@ -118,7 +113,7 @@ function uninstall(deps, options = {}, exec) {
118
113
  * @param {Function} [exec]
119
114
  */
120
115
  function runNpm(deps, options = {}, exec) {
121
- const args = [options.remove ? 'uninstall' : 'install', options.dev ? '--save-dev' : '--save'].concat(deps);
116
+ const args = [options.remove ? 'uninstall' : 'install', options.dev ? '--save-dev' : '--save', ...deps];
122
117
 
123
118
  return execCommand(exec, 'npm', args, {
124
119
  cwd: options.cwd,
@@ -136,6 +131,7 @@ function runNpm(deps, options = {}, exec) {
136
131
  function runYarn(deps, options = {}, exec) {
137
132
  const add = options.dev ? ['add', '--dev'] : ['add'];
138
133
  const remove = ['remove'];
134
+ // eslint-disable-next-line unicorn/prefer-spread
139
135
  const args = (options.remove ? remove : add).concat(isUsingWorkspaces() && !isYarnBerry() ? ['-W'] : []).concat(deps);
140
136
 
141
137
  return execCommand(exec, 'yarn', args, {
package/core/vscode.js CHANGED
@@ -47,7 +47,7 @@ function vscodeTask(newTask) {
47
47
  tasks.map((task) => (task.script === newTask.script ? newTask : task)),
48
48
  );
49
49
  } else {
50
- vscodeTaskFile.set('tasks', [newTask].concat(tasks));
50
+ vscodeTaskFile.set('tasks', [newTask, ...tasks]);
51
51
  }
52
52
  vscodeTaskFile.save();
53
53
  }
package/eslint/index.js CHANGED
@@ -40,6 +40,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
40
40
  extends: [eslintPreset],
41
41
  parserOptions: {
42
42
  project: hasTypescript ? './tsconfig.json' : undefined,
43
+ // @ts-ignore FIXME: implement for eslint v9
43
44
  ...config.parserOptions,
44
45
  },
45
46
  }),
@@ -60,7 +61,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
60
61
  yaml: hasYAML,
61
62
  };
62
63
  const extList = Object.keys(extsMap).filter((ext) => extsMap[ext]);
63
- const extOption = ` --ext=${extList.join(',')}`;
64
+ const extOption = '';// ` --ext=${extList.join(',')}`;
64
65
 
65
66
  pkg.withPackageJson((packageFile) => {
66
67
  const ignorePatterns = pkg
@@ -105,7 +106,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
105
106
  : _;
106
107
  pkg.script(packageFile, {
107
108
  name: `${project.lint}:src`,
108
- update: updater(),
109
+ update: updater(false),
109
110
  state: 'present',
110
111
  });
111
112
  pkg.script(packageFile, {
@@ -127,23 +128,21 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
127
128
  'editor.codeActionsOnSave': settings['editor.codeActionsOnSave'] || {
128
129
  'source.fixAll': true,
129
130
  },
130
- 'eslint.validate': Array.from(
131
- new Set(
132
- extList.map(
133
- (ext) =>
134
- ({
135
- cjs: 'javascript',
136
- mjs: 'javascript',
137
- jsx: 'javascriptreact',
138
- js: 'javascript',
139
- tsx: 'typescriptreact',
140
- ts: 'typescript',
141
- yaml: 'yaml',
142
- yml: 'yaml',
143
- })[ext] || ext,
144
- ),
131
+ 'eslint.validate': [...new Set(
132
+ extList.map(
133
+ (ext) =>
134
+ ({
135
+ cjs: 'javascript',
136
+ mjs: 'javascript',
137
+ jsx: 'javascriptreact',
138
+ js: 'javascript',
139
+ tsx: 'typescriptreact',
140
+ ts: 'typescript',
141
+ yaml: 'yaml',
142
+ yml: 'yaml',
143
+ })[ext] || ext,
145
144
  ),
146
- ),
145
+ )],
147
146
  }),
148
147
  });
149
148
  }
@@ -0,0 +1,5 @@
1
+ export default [
2
+ {
3
+ ignore: ['**/templates/*.ts'],
4
+ },
5
+ ];
@@ -1,4 +1,4 @@
1
- import { describe, it, expect } from 'vitest'
1
+ import { describe, it, expect } from 'vitest';
2
2
  import { main } from './index.js';
3
3
 
4
4
  describe('index', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.5",
3
+ "version": "3.0.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": "^2.5.3",
27
+ "@w5s/dev": "^3.0.0",
28
28
  "debug": "^4.3.3",
29
29
  "glob": "^11.0.0",
30
30
  "mrm-core": "^7.0.0",
@@ -32,11 +32,11 @@
32
32
  "sync-directory": "^6.0.0"
33
33
  },
34
34
  "engines": {
35
- "node": ">=18.0.0"
35
+ "node": ">=20.0.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
40
  "sideEffect": false,
41
- "gitHead": "e50ce223ae442c3c06efe68aae22809092184290"
41
+ "gitHead": "e038232410218bd01be847ffe84bdb5f6261adc6"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.5",
3
+ "version": "3.0.0",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -27,9 +27,9 @@
27
27
  "clean:tsc": "rm -rf dist",
28
28
  "docs": "node ../../markdown.mjs",
29
29
  "format": "npx run-p \"format:*\"",
30
- "format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
30
+ "format:src": "eslint . --fix",
31
31
  "lint": "npx run-p \"lint:*\"",
32
- "lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
32
+ "lint:src": "eslint .",
33
33
  "postpack": "npx clean-package restore",
34
34
  "prepack": "npx clean-package",
35
35
  "prepare": "npx run-p \"prepare:*\"",
@@ -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": "^2.5.3",
42
+ "@w5s/dev": "^3.0.0",
43
43
  "debug": "^4.3.3",
44
44
  "glob": "^11.0.0",
45
45
  "mrm-core": "^7.0.0",
@@ -53,11 +53,11 @@
53
53
  },
54
54
  "clean-package": "../../clean-package.config.cjs",
55
55
  "engines": {
56
- "node": ">=18.0.0"
56
+ "node": ">=20.0.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "e50ce223ae442c3c06efe68aae22809092184290"
62
+ "gitHead": "e038232410218bd01be847ffe84bdb5f6261adc6"
63
63
  }
package/project/index.js CHANGED
@@ -269,7 +269,7 @@ function task() {
269
269
  state: 'present',
270
270
  update: (_) => ({
271
271
  ..._,
272
- globalEnv: Array.from(new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])).sort(),
272
+ globalEnv: [...new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])].sort(),
273
273
  globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
274
274
  tasks: {
275
275
  ..._.tasks,
package/renovate/index.js CHANGED
@@ -30,14 +30,12 @@ function createRenovate({ renovatePresetApplication, renovatePresetLibrary }) {
30
30
  });
31
31
  renovateFile.set(
32
32
  'extends',
33
- [renovatePresetResolved].concat(
34
- renovateFile.get('extends', []).filter(
35
- /**
36
- * @param {string} extension
37
- */
38
- (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary,
39
- ),
40
- ),
33
+ [renovatePresetResolved, ...renovateFile.get('extends', []).filter(
34
+ /**
35
+ * @param {string} extension
36
+ */
37
+ (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary,
38
+ )],
41
39
  );
42
40
  renovateFile.save();
43
41
  }
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- _tester
@@ -1,9 +0,0 @@
1
- {
2
- "rules": {
3
- "import/no-extraneous-dependencies": "off",
4
- "@typescript-eslint/no-unsafe-call": "off",
5
- "@typescript-eslint/no-unsafe-assignment": "off",
6
- "@typescript-eslint/no-unsafe-member-access": "off"
7
- },
8
- "ignorePatterns": ["**/templates/*.ts"]
9
- }