@w5s/mrm-preset 2.8.3 → 2.8.4

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,6 +1,6 @@
1
1
 
2
- ⠙⠹⠸
3
- > @w5s/mrm-preset@2.8.2 build:tsc
2
+ ⠙⠹
3
+ > @w5s/mrm-preset@2.8.3 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -0,0 +1,6 @@
1
+
2
+ ⠙
3
+ > @w5s/mrm-preset@2.8.3 format:src
4
+ > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
+
6
+ ⠙⠙
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙⠹⠸⠼⠴⠦⠙⠹⠸⠼
3
- > @w5s/mrm-preset@2.8.2 lint:src
2
+ ⠙⠹
3
+ > @w5s/mrm-preset@2.8.3 lint:src
4
4
  > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
 
6
- ⠼⠙⠙
6
+ ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.8.3 prepare:empty
2
+ > @w5s/mrm-preset@2.8.4 prepare:empty
3
3
  > :
4
4
 
@@ -1,2 +1 @@
1
-
2
- 
1
+ CSpell: Files checked: 52, Issues found: 0 in 0 files.
@@ -1,6 +1,6 @@
1
1
 
2
2
  ⠙
3
- > @w5s/mrm-preset@2.8.2 test:script
3
+ > @w5s/mrm-preset@2.8.3 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
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇npm error code ERESOLVE
21
+ ⠙⠹⠸⠼⠴⠦⠧⠇npm error code ERESOLVE
22
22
  ⠇npm error ERESOLVE could not resolve
23
23
  ⠇npm error
24
- ⠇npm error While resolving: @w5s/eslint-config@2.1.1
24
+ ⠇npm error While resolving: @w5s/eslint-config@2.2.0
25
25
  npm error Found: eslint@9.11.1
26
26
  npm error node_modules/eslint
27
27
  npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
@@ -31,15 +31,15 @@ Installing @w5s/eslint-config...
31
31
  npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
32
  npm error
33
33
  npm error Could not resolve dependency:
34
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
34
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.0
35
35
  npm error node_modules/@w5s/eslint-config
36
- npm error dev @w5s/eslint-config@"2.1.1" from the root project
36
+ npm error dev @w5s/eslint-config@"2.2.0" from the root project
37
37
  npm error
38
38
  npm error Conflicting peer dependency: eslint@8.57.1
39
39
  npm error node_modules/eslint
40
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
40
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.0
41
41
  npm error node_modules/@w5s/eslint-config
42
- npm error dev @w5s/eslint-config@"2.1.1" from the root project
42
+ npm error dev @w5s/eslint-config@"2.2.0" from the root project
43
43
  npm error
44
44
  npm error Fix the upstream dependency conflict, or retry
45
45
  npm error this command with --force or --legacy-peer-deps
@@ -47,8 +47,8 @@ Installing @w5s/eslint-config...
47
47
  ⠇npm error
48
48
  npm error
49
49
  npm error For a full report see:
50
- npm error /Users/julienpolo/.npm/_logs/2024-09-26T09_50_19_400Z-eresolve-report.txt
51
- ⠇npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-09-26T09_50_19_400Z-debug-0.log
50
+ npm error /Users/julienpolo/.npm/_logs/2024-10-02T15_34_08_948Z-eresolve-report.txt
51
+ ⠇npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-10-02T15_34_08_948Z-debug-0.log
52
52
  ⠇Running cspell...
53
53
  Running vitest...
54
54
  Running renovate...
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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
+ ## [2.8.4](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.3...@w5s/mrm-preset@2.8.4) (2024-10-02)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
6
10
  ## [2.8.3](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.2...@w5s/mrm-preset@2.8.3) (2024-09-26)
7
11
 
8
12
  **Note:** Version bump only for package @w5s/mrm-preset
@@ -13,7 +13,7 @@
13
13
  when: always
14
14
  - when: never
15
15
  image:
16
- name: renovate/renovate@sha256:dd317415f5d51de656283e1836c07d5f787a3ddff8d6e41cabe2e1e183c3cac4
16
+ name: renovate/renovate@sha256:94cb548bb12de5bbfa23b4aeb68bcd77553291ceadd885fff104b76c9550b6b5
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/ci/gitlab.js CHANGED
@@ -20,7 +20,7 @@ function task() {
20
20
  /**
21
21
  * @param {string|{local: string}} include
22
22
  */
23
- (include) => (typeof include === 'string' ? include : include.local) === includePath
23
+ (include) => (typeof include === 'string' ? include : include.local) === includePath,
24
24
  );
25
25
  const addInclude = (/** @type {string} */ includePath) =>
26
26
  gitlabCIConfig.set('include', gitlabCIConfig.get('include', []).concat([{ local: includePath }]));
@@ -16,7 +16,7 @@ Generated by mrm
16
16
  -->`,
17
17
  `<!-- EditMode: AUTO -->`,
18
18
  codeOfConductTemplate,
19
- ].join(EOL)
19
+ ].join(EOL),
20
20
  );
21
21
  }
22
22
  }
package/core/asdf.js CHANGED
@@ -20,7 +20,7 @@ function asdfConfig({ state, update }) {
20
20
  content
21
21
  .split(eol)
22
22
  .map((_) => _.split(/\s+/, 2))
23
- .filter((_) => _[0] !== '')
23
+ .filter((_) => _[0] !== ''),
24
24
  );
25
25
 
26
26
  // @ts-ignore
package/core/pkg.js CHANGED
@@ -134,8 +134,8 @@ function hasDependency(packageFile, packageName, dependencyType) {
134
134
  : dependencyType === 'dev'
135
135
  ? 'devDependencies'
136
136
  : 'peerDependencies'
137
- }.${packageName}`
138
- )
137
+ }.${packageName}`,
138
+ ),
139
139
  );
140
140
  }
141
141
 
@@ -160,7 +160,7 @@ function engineMinVersion(packageFile, engineVersionMap) {
160
160
 
161
161
  packageFile.merge({
162
162
  engines: Object.fromEntries(
163
- Object.keys(engineVersionMap).map((engineName) => [engineName, engineConstraint(engineName)])
163
+ Object.keys(engineVersionMap).map((engineName) => [engineName, engineConstraint(engineName)]),
164
164
  ),
165
165
  });
166
166
  return packageFile.get('engines');
package/core/vitest.js CHANGED
@@ -66,7 +66,7 @@ import { defineConfig } from 'vite';
66
66
  export default defineConfig({
67
67
  test: {},
68
68
  });
69
- `
69
+ `,
70
70
  );
71
71
  }
72
72
  });
package/core/vscode.js CHANGED
@@ -15,7 +15,7 @@ function vscodeRecommendedExtension(recommendation) {
15
15
  } else {
16
16
  packageFile.set(
17
17
  'recommendations',
18
- packageFile.get('recommendations', []).filter((/** @type {string} */ _) => _ !== recommendation.name)
18
+ packageFile.get('recommendations', []).filter((/** @type {string} */ _) => _ !== recommendation.name),
19
19
  );
20
20
  }
21
21
  packageFile.save();
@@ -44,7 +44,7 @@ function vscodeTask(newTask) {
44
44
  if (tasks.some((task) => task.script === newTask.script)) {
45
45
  vscodeTaskFile.set(
46
46
  'tasks',
47
- tasks.map((task) => (task.script === newTask.script ? newTask : task))
47
+ tasks.map((task) => (task.script === newTask.script ? newTask : task)),
48
48
  );
49
49
  } else {
50
50
  vscodeTaskFile.set('tasks', [newTask].concat(tasks));
package/eslint/index.js CHANGED
@@ -140,9 +140,9 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
140
140
  ts: 'typescript',
141
141
  yaml: 'yaml',
142
142
  yml: 'yaml',
143
- })[ext] || ext
144
- )
145
- )
143
+ })[ext] || ext,
144
+ ),
145
+ ),
146
146
  ),
147
147
  }),
148
148
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
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.2.14",
27
+ "@w5s/dev": "^2.2.15",
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": "32d8a56d70ab85a77beaa69019765e923f5a80f1"
41
+ "gitHead": "98a230292696150554b89e419fcd0ca4a3f5763f"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
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": "^2.2.14",
42
+ "@w5s/dev": "^2.2.15",
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": "32d8a56d70ab85a77beaa69019765e923f5a80f1"
62
+ "gitHead": "98a230292696150554b89e419fcd0ca4a3f5763f"
63
63
  }
package/project/index.js CHANGED
@@ -259,7 +259,7 @@ function task() {
259
259
  update: (_) => ({
260
260
  ..._,
261
261
  globalEnv: Array.from(
262
- new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'CI_*', 'DATABASE_URL', 'NODE_ENV'])
262
+ new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'CI_*', 'DATABASE_URL', 'NODE_ENV']),
263
263
  ).sort(),
264
264
  globalDependencies: ['tsconfig.settings.json'],
265
265
  tasks: {
package/renovate/index.js CHANGED
@@ -35,9 +35,9 @@ function createRenovate({ renovatePresetApplication, renovatePresetLibrary }) {
35
35
  /**
36
36
  * @param {string} extension
37
37
  */
38
- (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary
39
- )
40
- )
38
+ (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary,
39
+ ),
40
+ ),
41
41
  );
42
42
  renovateFile.save();
43
43
  }