@w5s/mrm-preset 1.0.0-alpha.28 → 1.0.0-alpha.29

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
  [1] : exited with code 0
2
2
  [build:*tsc]
3
- [build:*tsc] > @w5s/mrm-preset@1.0.0-alpha.27 build:tsc
3
+ [build:*tsc] > @w5s/mrm-preset@1.0.0-alpha.28 build:tsc
4
4
  [build:*tsc] > tsc --noEmit --skipLibCheck
5
5
  [build:*tsc]
6
6
  [build:*tsc] npm run build:tsc exited with code 0
@@ -1,6 +1,6 @@
1
1
  [1] : exited with code 0
2
2
  [format:*src]
3
- [format:*src] > @w5s/mrm-preset@1.0.0-alpha.27 format:src
3
+ [format:*src] > @w5s/mrm-preset@1.0.0-alpha.28 format:src
4
4
  [format:*src] > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
  [format:*src]
6
6
  [format:*src] npm run format:src exited with code 0
@@ -1,6 +1,6 @@
1
1
  [1] : exited with code 0
2
2
  [lint:*src]
3
- [lint:*src] > @w5s/mrm-preset@1.0.0-alpha.27 lint:src
3
+ [lint:*src] > @w5s/mrm-preset@1.0.0-alpha.28 lint:src
4
4
  [lint:*src] > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
  [lint:*src]
6
- [lint:*src] npm run lint:src exited with code SIGINT
6
+ [lint:*src] npm run lint:src exited with code 0
@@ -0,0 +1,193 @@
1
+ [test:*src]
2
+ [test:*src] > @w5s/mrm-preset@1.0.0-alpha.28 test:src
3
+ [test:*src] > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
4
+ [test:*src]
5
+ [test:*src] Running bootstrap...
6
+ [test:*src] Create package.json
7
+ [test:*src] Create .gitignore
8
+ [test:*src] Update .gitignore
9
+ [test:*src] Update .gitignore
10
+ [test:*src] Create .yarnrc.yml
11
+ [test:*src] Installing mrm and @w5s/mrm-preset...
12
+ [test:*src]
13
+ [test:*src] added 321 packages, and audited 322 packages in 17s
14
+ [test:*src]
15
+ [test:*src] 25 packages are looking for funding
16
+ [test:*src] run `npm fund` for details
17
+ [test:*src]
18
+ [test:*src] 6 moderate severity vulnerabilities
19
+ [test:*src]
20
+ [test:*src] To address all issues (including breaking changes), run:
21
+ [test:*src] npm audit fix --force
22
+ [test:*src]
23
+ [test:*src] Run `npm audit` for details.
24
+ [test:*src] Update package.json
25
+ [test:*src] Running alias configure...
26
+ [test:*src] Running gitignore...
27
+ [test:*src] Running project...
28
+ [test:*src] Update package.json
29
+ [test:*src] Installing concurrently...
30
+ [test:*src]
31
+ [test:*src] added 14 packages, and audited 336 packages in 6s
32
+ [test:*src]
33
+ [test:*src] 30 packages are looking for funding
34
+ [test:*src] run `npm fund` for details
35
+ [test:*src]
36
+ [test:*src] 6 moderate severity vulnerabilities
37
+ [test:*src]
38
+ [test:*src] To address all issues (including breaking changes), run:
39
+ [test:*src] npm audit fix --force
40
+ [test:*src]
41
+ [test:*src] Run `npm audit` for details.
42
+ [test:*src] Create .vscode/tasks.json
43
+ [test:*src] Update .vscode/tasks.json
44
+ [test:*src] Running contributing...
45
+ [test:*src] Create CODE_OF_CONDUCT.md
46
+ [test:*src] Running licenses...
47
+ [test:*src] Running release...
48
+ [test:*src] Update package.json
49
+ [test:*src] Installing semantic-release and @semantic-release/gitlab-config...
50
+ [test:*src] npm WARN deprecated @types/keyv@4.2.0: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
51
+ [test:*src]
52
+ [test:*src] added 310 packages, and audited 856 packages in 24s
53
+ [test:*src]
54
+ [test:*src] 74 packages are looking for funding
55
+ [test:*src] run `npm fund` for details
56
+ [test:*src]
57
+ [test:*src] 6 moderate severity vulnerabilities
58
+ [test:*src]
59
+ [test:*src] To address all issues (including breaking changes), run:
60
+ [test:*src] npm audit fix --force
61
+ [test:*src]
62
+ [test:*src] Run `npm audit` for details.
63
+ [test:*src] Update package.json
64
+ [test:*src] Running ci...
65
+ [test:*src] Running lang...
66
+ [test:*src] Update .gitignore
67
+ [test:*src] Update package.json
68
+ [test:*src] Create tsconfig.settings.json
69
+ [test:*src] Create tsconfig.json
70
+ [test:*src] Create src/index.ts
71
+ [test:*src] Create src/index.spec.ts
72
+ [test:*src] Update package.json
73
+ [test:*src] Installing ts-node-dev and tsconfig-paths...
74
+ [test:*src]
75
+ [test:*src] added 30 packages, and audited 886 packages in 6s
76
+ [test:*src]
77
+ [test:*src] 74 packages are looking for funding
78
+ [test:*src] run `npm fund` for details
79
+ [test:*src]
80
+ [test:*src] 6 moderate severity vulnerabilities
81
+ [test:*src]
82
+ [test:*src] To address all issues (including breaking changes), run:
83
+ [test:*src] npm audit fix --force
84
+ [test:*src]
85
+ [test:*src] Run `npm audit` for details.
86
+ [test:*src] Installing typescript, @types/node, and @w5s/ts-config...
87
+ [test:*src]
88
+ [test:*src] added 1 package, and audited 887 packages in 3s
89
+ [test:*src]
90
+ [test:*src] 74 packages are looking for funding
91
+ [test:*src] run `npm fund` for details
92
+ [test:*src]
93
+ [test:*src] 6 moderate severity vulnerabilities
94
+ [test:*src]
95
+ [test:*src] To address all issues (including breaking changes), run:
96
+ [test:*src] npm audit fix --force
97
+ [test:*src]
98
+ [test:*src] Run `npm audit` for details.
99
+ [test:*src] Running commitlint...
100
+ [test:*src] Create .vscode/extensions.json
101
+ [test:*src] Running editorconfig...
102
+ [test:*src] Create .editorconfig
103
+ [test:*src] Update .vscode/extensions.json
104
+ [test:*src] Running eslint...
105
+ [test:*src] Update .gitignore
106
+ [test:*src] Update package.json
107
+ [test:*src] Installing eslint, @babel/core, @babel/eslint-parser, and prettier...
108
+ [test:*src]
109
+ [test:*src] added 108 packages, and audited 995 packages in 5s
110
+ [test:*src]
111
+ [test:*src] 95 packages are looking for funding
112
+ [test:*src] run `npm fund` for details
113
+ [test:*src]
114
+ [test:*src] 6 moderate severity vulnerabilities
115
+ [test:*src]
116
+ [test:*src] To address all issues (including breaking changes), run:
117
+ [test:*src] npm audit fix --force
118
+ [test:*src]
119
+ [test:*src] Run `npm audit` for details.
120
+ [test:*src] Installing @w5s/eslint-config...
121
+ [test:*src]
122
+ [test:*src] added 141 packages, and audited 1136 packages in 10s
123
+ [test:*src]
124
+ [test:*src] 151 packages are looking for funding
125
+ [test:*src] run `npm fund` for details
126
+ [test:*src]
127
+ [test:*src] 6 moderate severity vulnerabilities
128
+ [test:*src]
129
+ [test:*src] To address all issues (including breaking changes), run:
130
+ [test:*src] npm audit fix --force
131
+ [test:*src]
132
+ [test:*src] Run `npm audit` for details.
133
+ [test:*src] Update package.json
134
+ [test:*src] Update package.json
135
+ [test:*src] Update .vscode/extensions.json
136
+ [test:*src] Create .vscode/settings.json
137
+ [test:*src] Running cspell...
138
+ [test:*src] Create cSpell.json
139
+ [test:*src] Installing cspell...
140
+ [test:*src]
141
+ [test:*src] added 86 packages, and audited 1222 packages in 11s
142
+ [test:*src]
143
+ [test:*src] 154 packages are looking for funding
144
+ [test:*src] run `npm fund` for details
145
+ [test:*src]
146
+ [test:*src] 6 moderate severity vulnerabilities
147
+ [test:*src]
148
+ [test:*src] To address all issues (including breaking changes), run:
149
+ [test:*src] npm audit fix --force
150
+ [test:*src]
151
+ [test:*src] Run `npm audit` for details.
152
+ [test:*src] Update package.json
153
+ [test:*src] Running jest...
154
+ [test:*src] Update package.json
155
+ [test:*src] Installing jest, es-jest, and @jest/globals...
156
+ [test:*src]
157
+ [test:*src] added 169 packages, and audited 1391 packages in 16s
158
+ [test:*src]
159
+ [test:*src] 158 packages are looking for funding
160
+ [test:*src] run `npm fund` for details
161
+ [test:*src]
162
+ [test:*src] 6 moderate severity vulnerabilities
163
+ [test:*src]
164
+ [test:*src] To address all issues (including breaking changes), run:
165
+ [test:*src] npm audit fix --force
166
+ [test:*src]
167
+ [test:*src] Run `npm audit` for details.
168
+ [test:*src] Running renovate...
169
+ [test:*src] Running githooks...
170
+ [test:*src] Running postconfigure...
171
+ [test:*src] Error: to format code
172
+ [test:*src]
173
+ [test:*src] > _tester@1.0.0-alpha.0 format
174
+ [test:*src] > concurrently "npm:format:*" ":"
175
+ [test:*src]
176
+ [test:*src] [1] : exited with code 0
177
+ [test:*src] [format:*root]
178
+ [test:*src] [format:*root] > _tester@1.0.0-alpha.0 format:root
179
+ [test:*src] [format:*root] > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
180
+ [test:*src] [format:*root]
181
+ [test:*src] [format:*root]
182
+ [test:*src] [format:*root] /Users/julienpolo/Workspace/Personal/project-config/packages/mrm-preset/_tester/package.json
183
+ [test:*src] [format:*root] 23:5 error Expected object keys to be in ascending order. 'format:root' should be before 'test' jsonc/sort-keys
184
+ [test:*src] [format:*root]
185
+ [test:*src] [format:*root] /Users/julienpolo/Workspace/Personal/project-config/packages/mrm-preset/_tester/src/index.spec.ts
186
+ [test:*src] [format:*root] 1:20 error 'test' is defined but never used @typescript-eslint/no-unused-vars
187
+ [test:*src] [format:*root]
188
+ [test:*src] [format:*root] ✖ 2 problems (2 errors, 0 warnings)
189
+ [test:*src] [format:*root] 1 error and 0 warnings potentially fixable with the `--fix` option.
190
+ [test:*src] [format:*root]
191
+ [test:*src] [format:*root] npm run format:root exited with code 1
192
+ [test:*src]
193
+ [test:*src] npm run test:src exited with code 0
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
+ # [1.0.0-alpha.29](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.28...@w5s/mrm-preset@1.0.0-alpha.29) (2022-11-06)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
6
10
  # [1.0.0-alpha.28](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.27...@w5s/mrm-preset@1.0.0-alpha.28) (2022-11-04)
7
11
 
8
12
  **Note:** Version bump only for package @w5s/mrm-preset
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "1.0.0-alpha.28",
3
+ "version": "1.0.0-alpha.29",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "fb66027db8a84fbd3d0d62f034611784820567ea"
54
+ "gitHead": "87898efc095ec30751d5a55c8bf1ffd653158136"
55
55
  }
package/project/index.js CHANGED
@@ -13,17 +13,17 @@ const { turbo } = require('../core/turbo.js');
13
13
  *
14
14
  * @param {string} script
15
15
  */
16
- const npmRun = (script) => {
17
- switch (script) {
18
- case project.install:
19
- case project.test: {
20
- return `npm ${script}`;
21
- }
22
- default: {
23
- return `npm run ${script}`;
24
- }
25
- }
26
- };
16
+ // const npmRun = (script) => {
17
+ // switch (script) {
18
+ // case project.install:
19
+ // case project.test: {
20
+ // return `npm ${script}`;
21
+ // }
22
+ // default: {
23
+ // return `npm run ${script}`;
24
+ // }
25
+ // }
26
+ // };
27
27
  /**
28
28
  *
29
29
  * @param {string} script
@@ -192,7 +192,7 @@ function task() {
192
192
 
193
193
  pkg.script(packageFile, {
194
194
  name: project.validate,
195
- update: `${npmRun(project.build)} && ${npmRun(project.lint)} && ${npmRun(project.test)}`,
195
+ update: `${turboRun([project.build, project.lint, project.test].join(' '))}`,
196
196
  state: 'present',
197
197
  });
198
198
 
@@ -263,11 +263,11 @@ function task() {
263
263
  },
264
264
  [`//#${project.build}:root`]: {},
265
265
  [project.test]: {
266
- dependsOn: [`//#${project.test}:root`],
266
+ dependsOn: [`^${project.build}`, `//#${project.test}:root`],
267
267
  },
268
268
  [`//#${project.test}:root`]: {},
269
269
  [project.lint]: {
270
- dependsOn: [`//#${project.lint}:root`],
270
+ dependsOn: [`^${project.build}`, `//#${project.lint}:root`],
271
271
  },
272
272
  [`//#${project.lint}:root`]: {},
273
273
  [project.prepare]: {},