@w5s/mrm-preset 2.8.3 → 2.8.5

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.4 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙⠹⠸⠼⠴⠦⠙⠹⠸⠼
3
- > @w5s/mrm-preset@2.8.2 lint:src
2
+ ⠙⠹
3
+ > @w5s/mrm-preset@2.8.4 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.5 prepare:empty
3
3
  > :
4
4
 
@@ -1,56 +1,161 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@2.8.2 test:script
2
+ ⠙⠹
3
+ > @w5s/mrm-preset@2.8.4 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
- mkdir: _tester: File exists
7
- Running bootstrap...
6
+ Running bootstrap...
7
+ Create package.json
8
+ Create .yarnrc.yml
9
+ Update package.json
8
10
  Running alias configure...
9
11
  Running gitignore...
10
12
  Running project...
13
+ Update package.json
14
+ Create turbo.json
15
+ Installing turbo...
16
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇
17
+ added 2 packages, and audited 3 packages in 3s
18
+ ⠇
19
+ found 0 vulnerabilities
20
+ ⠇Installing npm-run-all2...
21
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇
22
+ added 18 packages, and audited 21 packages in 2s
23
+ ⠇
24
+ ⠇3 packages are looking for funding
25
+ ⠇ run `npm fund` for details
26
+ ⠇
27
+ found 0 vulnerabilities
28
+ ⠇Installing @w5s/conventional-changelog...
29
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼
30
+ added 8 packages, and audited 29 packages in 7s
31
+ ⠼
32
+ ⠼4 packages are looking for funding
33
+ ⠼ run `npm fund` for details
34
+ ⠼
35
+ found 0 vulnerabilities
36
+ ⠼Create .vscode/tasks.json
37
+ Update .vscode/tasks.json
11
38
  Running contributing...
39
+ Create CODE_OF_CONDUCT.md
12
40
  Running licenses...
13
41
  Running asdf...
42
+ Create .tool-versions
14
43
  Running release...
44
+ Update package.json
45
+ Installing semantic-release and @semantic-release/gitlab-config...
46
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦npm warn deprecated read-pkg-up@11.0.0: Renamed to read-package-up
47
+ ⠦⠧⠇⠏⠋⠙
48
+ added 326 packages, and audited 597 packages in 12s
49
+ ⠙
50
+ ⠙109 packages are looking for funding
51
+ ⠙ run `npm fund` for details
52
+ ⠙
53
+ found 0 vulnerabilities
54
+ ⠙Update package.json
15
55
  Running ci...
16
56
  Running lang...
17
- Running commitlint...
57
+ Create tsconfig.settings.json
58
+ Create tsconfig.json
59
+ Create src/index.ts
60
+ Create src/index.spec.ts
61
+ Update package.json
62
+ Installing ts-node-dev and tsconfig-paths...
63
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
64
+ ⠇npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
65
+ ⠇npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
66
+ ⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
67
+ added 51 packages, and audited 648 packages in 5s
68
+ ⠏
69
+ ⠏115 packages are looking for funding
70
+ ⠏ run `npm fund` for details
71
+ ⠏
72
+ found 0 vulnerabilities
73
+ ⠏Installing typescript, @types/node, and @w5s/ts-config...
74
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴
75
+ added 2 packages, and audited 650 packages in 6s
76
+ ⠴
77
+ ⠴115 packages are looking for funding
78
+ ⠴ run `npm fund` for details
79
+ ⠴
80
+ found 0 vulnerabilities
81
+ ⠴Running commitlint...
82
+ Create .vscode/extensions.json
18
83
  Running editorconfig...
84
+ Update .vscode/extensions.json
19
85
  Running eslint...
20
- Installing @w5s/eslint-config...
21
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇npm error code ERESOLVE
22
- ⠇npm error ERESOLVE could not resolve
23
- ⠇npm error
24
- ⠇npm error While resolving: @w5s/eslint-config@2.1.1
25
- npm error Found: eslint@9.11.1
86
+ Installing eslint and prettier...
87
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦
88
+ added 66 packages, and audited 716 packages in 2s
89
+ ⠦
90
+ ⠦133 packages are looking for funding
91
+ ⠦ run `npm fund` for details
92
+ ⠦
93
+ found 0 vulnerabilities
94
+ ⠦Installing @w5s/eslint-config...
95
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼npm error code ERESOLVE
96
+ ⠼npm error ERESOLVE could not resolve
97
+ ⠼npm error
98
+ ⠼npm error While resolving: @w5s/eslint-config@2.2.2
99
+ npm error Found: eslint@9.13.0
26
100
  npm error node_modules/eslint
27
101
  npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
28
102
  npm error node_modules/@eslint-community/eslint-utils
29
- npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.11.1
30
- npm error dev eslint@"^9.11.1" from the root project
103
+ npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.13.0
104
+ npm error dev eslint@"^9.13.0" from the root project
31
105
  npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
106
  npm error
33
107
  npm error Could not resolve dependency:
34
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
108
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.2
35
109
  npm error node_modules/@w5s/eslint-config
36
- npm error dev @w5s/eslint-config@"2.1.1" from the root project
110
+ npm error dev @w5s/eslint-config@"2.2.2" from the root project
37
111
  npm error
38
112
  npm error Conflicting peer dependency: eslint@8.57.1
39
113
  npm error node_modules/eslint
40
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
114
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.2.2
41
115
  npm error node_modules/@w5s/eslint-config
42
- npm error dev @w5s/eslint-config@"2.1.1" from the root project
116
+ npm error dev @w5s/eslint-config@"2.2.2" from the root project
43
117
  npm error
44
118
  npm error Fix the upstream dependency conflict, or retry
45
119
  npm error this command with --force or --legacy-peer-deps
46
120
  npm error to accept an incorrect (and potentially broken) dependency resolution.
47
- ⠇npm error
121
+ ⠼npm error
48
122
  npm error
49
123
  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
52
- ⠇Running cspell...
124
+ npm error /Users/julienpolo/.npm/_logs/2024-10-21T16_55_42_178Z-eresolve-report.txt
125
+ ⠼npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-10-21T16_55_42_178Z-debug-0.log
126
+ ⠼Update package.json
127
+ Update package.json
128
+ Update .vscode/extensions.json
129
+ Create .vscode/settings.json
130
+ Running cspell...
131
+ Create .cspell.json
132
+ Installing cspell...
133
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙
134
+ added 97 packages, and audited 813 packages in 4s
135
+ ⠙
136
+ ⠙141 packages are looking for funding
137
+ ⠙ run `npm fund` for details
138
+ ⠙
139
+ found 0 vulnerabilities
140
+ ⠙Installing @w5s/cspell-config...
141
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
142
+ added 1 package, and audited 814 packages in 4s
143
+ ⠏
144
+ ⠏141 packages are looking for funding
145
+ ⠏ run `npm fund` for details
146
+ ⠏
147
+ found 0 vulnerabilities
148
+ ⠏Update package.json
53
149
  Running vitest...
150
+ Installing vite and vitest...
151
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹
152
+ added 36 packages, and audited 850 packages in 7s
153
+ ⠹
154
+ ⠹153 packages are looking for funding
155
+ ⠹ run `npm fund` for details
156
+ ⠹
157
+ found 0 vulnerabilities
158
+ ⠹Update package.json
54
159
  Running renovate...
55
160
  Running githooks...
56
161
  Running post-configure...
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
+ ## [2.8.5](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.4...@w5s/mrm-preset@2.8.5) (2024-10-21)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
10
+ ## [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)
11
+
12
+ **Note:** Version bump only for package @w5s/mrm-preset
13
+
6
14
  ## [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
15
 
8
16
  **Note:** Version bump only for package @w5s/mrm-preset
@@ -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:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03
204
+ image: node:lts-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
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:dd317415f5d51de656283e1836c07d5f787a3ddff8d6e41cabe2e1e183c3cac4
16
+ name: renovate/renovate@sha256:260019e4621db78e2b1f6a70c8c8369d8274163cf37b399683d768d3e460c3fe
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.5",
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.16",
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": "6021702d3355d02293fc6f7fb1c1fce2ece1951f"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
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.16",
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": "6021702d3355d02293fc6f7fb1c1fce2ece1951f"
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
  }