@w5s/mrm-preset 2.8.2 → 2.8.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.
@@ -1,6 +1,6 @@
1
1
 
2
- 
3
- > @w5s/mrm-preset@2.8.1 build:tsc
2
+ ⠙⠹⠸
3
+ > @w5s/mrm-preset@2.8.2 build:tsc
4
4
  > tsc
5
5
 
6
6
  ⠙⠙
@@ -1,6 +1,6 @@
1
1
 
2
- ⠙
3
- > @w5s/mrm-preset@2.8.1 lint:src
2
+ ⠙⠹⠸⠼⠴⠦⠙⠹⠸⠼
3
+ > @w5s/mrm-preset@2.8.2 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.2 prepare:empty
2
+ > @w5s/mrm-preset@2.8.3 prepare:empty
3
3
  > :
4
4
 
@@ -1,101 +1,27 @@
1
1
 
2
2
  ⠙
3
- > @w5s/mrm-preset@2.8.1 test:script
3
+ > @w5s/mrm-preset@2.8.2 test:script
4
4
  > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
 
6
- Running bootstrap...
7
- Create package.json
8
- Create .yarnrc.yml
9
- Update package.json
6
+ mkdir: _tester: File exists
7
+ Running bootstrap...
10
8
  Running alias configure...
11
9
  Running gitignore...
12
10
  Running project...
13
- Update package.json
14
- Create turbo.json
15
- Installing turbo...
16
- ⠙⠹⠸⠼⠴⠦⠧⠇
17
- added 2 packages, and audited 3 packages in 870ms
18
- ⠇
19
- found 0 vulnerabilities
20
- ⠇Installing npm-run-all2...
21
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸
22
- added 17 packages, and audited 20 packages in 1s
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 28 packages in 4s
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
38
11
  Running contributing...
39
- Create CODE_OF_CONDUCT.md
40
12
  Running licenses...
41
13
  Running asdf...
42
- Create .tool-versions
43
14
  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 554 packages in 8s
49
- ⠋
50
- ⠋107 packages are looking for funding
51
- ⠋ run `npm fund` for details
52
- ⠋
53
- found 0 vulnerabilities
54
- ⠋Update package.json
55
15
  Running ci...
56
16
  Running lang...
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 605 packages in 4s
68
- ⠸
69
- ⠸113 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 607 packages in 3s
76
- ⠇
77
- ⠇113 packages are looking for funding
78
- ⠇ run `npm fund` for details
79
- ⠇
80
- found 0 vulnerabilities
81
- ⠇Running commitlint...
82
- Create .vscode/extensions.json
17
+ Running commitlint...
83
18
  Running editorconfig...
84
- Update .vscode/extensions.json
85
19
  Running eslint...
86
- Installing eslint and prettier...
87
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
88
- added 65 packages, and audited 672 packages in 2s
89
- ⠏
90
- ⠏131 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.1.0
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
99
25
  npm error Found: eslint@9.11.1
100
26
  npm error node_modules/eslint
101
27
  npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
@@ -105,57 +31,26 @@ found 0 vulnerabilities
105
31
  npm error 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
106
32
  npm error
107
33
  npm error Could not resolve dependency:
108
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.0
34
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
109
35
  npm error node_modules/@w5s/eslint-config
110
- npm error dev @w5s/eslint-config@"2.1.0" from the root project
36
+ npm error dev @w5s/eslint-config@"2.1.1" from the root project
111
37
  npm error
112
38
  npm error Conflicting peer dependency: eslint@8.57.1
113
39
  npm error node_modules/eslint
114
- npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.0
40
+ npm error peerOptional eslint@"8.x" from @w5s/eslint-config@2.1.1
115
41
  npm error node_modules/@w5s/eslint-config
116
- npm error dev @w5s/eslint-config@"2.1.0" from the root project
42
+ npm error dev @w5s/eslint-config@"2.1.1" from the root project
117
43
  npm error
118
44
  npm error Fix the upstream dependency conflict, or retry
119
45
  npm error this command with --force or --legacy-peer-deps
120
46
  npm error to accept an incorrect (and potentially broken) dependency resolution.
121
- ⠦npm error
47
+ ⠇npm error
122
48
  npm error
123
49
  npm error For a full report see:
124
- npm error /Users/julienpolo/.npm/_logs/2024-09-25T22_08_11_942Z-eresolve-report.txt
125
- ⠦npm error A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2024-09-25T22_08_11_942Z-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 96 packages, and audited 768 packages in 9s
135
- ⠇
136
- ⠇138 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 769 packages in 3s
143
- ⠇
144
- ⠇138 packages are looking for funding
145
- ⠇ run `npm fund` for details
146
- ⠇
147
- found 0 vulnerabilities
148
- ⠇Update package.json
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...
149
53
  Running vitest...
150
- Installing vite and vitest...
151
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙
152
- added 38 packages, and audited 807 packages in 5s
153
- ⠙
154
- ⠙150 packages are looking for funding
155
- ⠙ run `npm fund` for details
156
- ⠙
157
- found 0 vulnerabilities
158
- ⠙Update package.json
159
54
  Running renovate...
160
55
  Running githooks...
161
56
  Running post-configure...
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.3](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.2...@w5s/mrm-preset@2.8.3) (2024-09-26)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
6
10
  ## [2.8.2](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.8.1...@w5s/mrm-preset@2.8.2) (2024-09-25)
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:cd28807675e5207384be27b986ab18990e217c531beeb3830a00a6e3eb2b76f8
16
+ name: renovate/renovate@sha256:dd317415f5d51de656283e1836c07d5f787a3ddff8d6e41cabe2e1e183c3cac4
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/core/jsonFile.js CHANGED
@@ -35,7 +35,7 @@ function setValue(jsonFile, path, pathValue) {
35
35
  * @param {{
36
36
  * path: undefined | string | string[],
37
37
  * state: 'present'|'absent',
38
- * update?: T | ((previousValue: T) => T)
38
+ * update?: T | ((previousValue: T) => T) | undefined
39
39
  * default?: T | (() => T)
40
40
  * }} options
41
41
  */
@@ -8,7 +8,7 @@ const jsonFile = require('./jsonFile.js');
8
8
  /**
9
9
  * @param {{
10
10
  * state: 'present'|'absent',
11
- * update?: (config: LintStagedConfig) => LintStagedConfig
11
+ * update?: ((config: LintStagedConfig) => LintStagedConfig) | undefined
12
12
  * }} options
13
13
  */
14
14
  function lintStaged({ state, update }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
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.13",
27
+ "@w5s/dev": "^2.2.14",
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": "6e7d408d7e0d4afb8bb1ccc4efe91cae571f6e0b"
41
+ "gitHead": "32d8a56d70ab85a77beaa69019765e923f5a80f1"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
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.13",
42
+ "@w5s/dev": "^2.2.14",
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": "6e7d408d7e0d4afb8bb1ccc4efe91cae571f6e0b"
62
+ "gitHead": "32d8a56d70ab85a77beaa69019765e923f5a80f1"
63
63
  }
package/project/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const { dirname } = require('node:path');
1
+ const nodePath = require('node:path');
2
2
  const { packageJson, json, makeDirs } = require('mrm-core');
3
3
  const git = require('../core/git.js');
4
4
  const pkg = require('../core/pkg.js');
@@ -52,7 +52,7 @@ function task() {
52
52
 
53
53
  // Detect git repository
54
54
  if (rootUseWorkspace) {
55
- const dirs = pkg.listWorkspaceMatchers(rootPackageFile).map(dirname);
55
+ const dirs = pkg.listWorkspaceMatchers(rootPackageFile).map(nodePath.dirname);
56
56
  makeDirs(dirs);
57
57
  }
58
58