@w5s/mrm-preset 1.0.0-alpha.26 → 1.0.0-alpha.28
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/.turbo/turbo-build.log +6 -11
- package/.turbo/turbo-docs.log +10 -44
- package/.turbo/turbo-format.log +6 -7
- package/.turbo/turbo-lint.log +6 -7
- package/.turbo/turbo-prepare.log +1 -2
- package/CHANGELOG.md +47 -161
- package/core/jest.js +6 -7
- package/eslint/index.js +10 -13
- package/package.json +6 -6
- package/project/index.js +42 -22
- package/.turbo/turbo-spellcheck.log +0 -2
- package/.turbo/turbo-test.log +0 -20
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@w5s/mrm-preset:build: [build:*tsc] > @w5s/mrm-preset@1.0.0-alpha.25 build:tsc
|
|
8
|
-
@w5s/mrm-preset:build: [build:*tsc] > tsc --noEmit --skipLibCheck
|
|
9
|
-
@w5s/mrm-preset:build: [build:*tsc]
|
|
10
|
-
@w5s/mrm-preset:build: [build:*empty] npm run build:empty exited with code 0
|
|
11
|
-
@w5s/mrm-preset:build: [build:*tsc] npm run build:tsc exited with code 0
|
|
1
|
+
[1] : exited with code 0
|
|
2
|
+
[build:*tsc]
|
|
3
|
+
[build:*tsc] > @w5s/mrm-preset@1.0.0-alpha.27 build:tsc
|
|
4
|
+
[build:*tsc] > tsc --noEmit --skipLibCheck
|
|
5
|
+
[build:*tsc]
|
|
6
|
+
[build:*tsc] npm run build:tsc exited with code 0
|
package/.turbo/turbo-docs.log
CHANGED
|
@@ -1,44 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
12
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
13
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
14
|
-
@w5s/mrm-preset:docs:
|
|
15
|
-
@w5s/mrm-preset:docs: ✔ _tester/node_modules/@w5s/mrm-preset/README.md Updated
|
|
16
|
-
@w5s/mrm-preset:docs: Transforms run
|
|
17
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=# W5s Mrm Preset _(${name})_
|
|
18
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=> ${description}&unknownTxt=
|
|
19
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[${license}][license-url] © ${author}
|
|
20
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
21
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
22
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
23
|
-
@w5s/mrm-preset:docs:
|
|
24
|
-
@w5s/mrm-preset:docs: ✔ _tester/node_modules/@w5s/eslint-config/README.md Updated
|
|
25
|
-
@w5s/mrm-preset:docs: Transforms run
|
|
26
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=# W5s ESLint configuration _(${name})_
|
|
27
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=> ${description}&unknownTxt=
|
|
28
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=```console\nnpm install --save-dev ${name}\n```
|
|
29
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[${license}][license-url] © ${author}
|
|
30
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
31
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
32
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
33
|
-
@w5s/mrm-preset:docs:
|
|
34
|
-
@w5s/mrm-preset:docs: ✔ _tester/node_modules/@w5s/ts-config/README.md Updated
|
|
35
|
-
@w5s/mrm-preset:docs: Transforms run
|
|
36
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=# W5s Typescript configuration _(${name})_
|
|
37
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=> ${description}&unknownTxt=
|
|
38
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=```console\nnpm install --save-dev ${name}\n```
|
|
39
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=Typescript: ${peerDependencies.typescript}&unknownTxt=
|
|
40
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[${license}][license-url] © ${author}
|
|
41
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
42
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
43
|
-
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
44
|
-
@w5s/mrm-preset:docs:
|
|
1
|
+
Starting markdown-magic [ '**/*.md', '!node_modules/**' ]
|
|
2
|
+
✔ README.md Updated
|
|
3
|
+
Transforms run
|
|
4
|
+
⁕ PKGJSON:template=# W5s Mrm Preset _(${name})_
|
|
5
|
+
⁕ PKGJSON:template=> ${description}&unknownTxt=
|
|
6
|
+
⁕ PKGJSON:template=[${license}][license-url] © ${author}
|
|
7
|
+
⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
8
|
+
⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
9
|
+
⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
10
|
+
|
package/.turbo/turbo-format.log
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[35m@w5s/mrm-preset:format: [0m[format:*src] npm run format:src exited with code 0
|
|
1
|
+
[1] : exited with code 0
|
|
2
|
+
[format:*src]
|
|
3
|
+
[format:*src] > @w5s/mrm-preset@1.0.0-alpha.27 format:src
|
|
4
|
+
[format:*src] > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
|
|
5
|
+
[format:*src]
|
|
6
|
+
[format:*src] npm run format:src exited with code 0
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@w5s/mrm-preset
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@w5s/mrm-preset:lint: [lint:*src] npm run lint:src exited with code 0
|
|
1
|
+
[1] : exited with code 0
|
|
2
|
+
[lint:*src]
|
|
3
|
+
[lint:*src] > @w5s/mrm-preset@1.0.0-alpha.27 lint:src
|
|
4
|
+
[lint:*src] > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
|
|
5
|
+
[lint:*src]
|
|
6
|
+
[lint:*src] npm run lint:src exited with code SIGINT
|
package/.turbo/turbo-prepare.log
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
@w5s/mrm-preset:prepare: [0] : exited with code 0
|
|
1
|
+
[0] : exited with code 0
|
package/CHANGELOG.md
CHANGED
|
@@ -3,304 +3,190 @@
|
|
|
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.
|
|
6
|
+
# [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
7
|
|
|
8
8
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
9
9
|
|
|
10
|
+
# [1.0.0-alpha.27](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.26...@w5s/mrm-preset@1.0.0-alpha.27) (2022-09-23)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
11
13
|
|
|
14
|
+
# [1.0.0-alpha.26](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.25...@w5s/mrm-preset@1.0.0-alpha.26) (2022-09-19)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
13
17
|
|
|
14
18
|
# [1.0.0-alpha.25](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.24...@w5s/mrm-preset@1.0.0-alpha.25) (2022-09-05)
|
|
15
19
|
|
|
16
20
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
22
|
# [1.0.0-alpha.24](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.23...@w5s/mrm-preset@1.0.0-alpha.24) (2022-08-30)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
26
|
# [1.0.0-alpha.23](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.22...@w5s/mrm-preset@1.0.0-alpha.23) (2022-08-29)
|
|
31
27
|
|
|
32
28
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
33
29
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
30
|
# [1.0.0-alpha.22](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.21...@w5s/mrm-preset@1.0.0-alpha.22) (2022-08-29)
|
|
39
31
|
|
|
40
32
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
41
33
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
34
|
# [1.0.0-alpha.21](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.20...@w5s/mrm-preset@1.0.0-alpha.21) (2022-08-09)
|
|
47
35
|
|
|
48
36
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
49
37
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
38
|
# [1.0.0-alpha.20](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.19...@w5s/mrm-preset@1.0.0-alpha.20) (2022-08-09)
|
|
55
39
|
|
|
56
40
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
57
41
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
42
|
# [1.0.0-alpha.19](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.18...@w5s/mrm-preset@1.0.0-alpha.19) (2022-06-28)
|
|
63
43
|
|
|
64
44
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
65
45
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
46
|
# [1.0.0-alpha.18](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.17...@w5s/mrm-preset@1.0.0-alpha.18) (2022-06-23)
|
|
71
47
|
|
|
72
48
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
73
49
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
50
|
# [1.0.0-alpha.17](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.16...@w5s/mrm-preset@1.0.0-alpha.17) (2022-06-23)
|
|
79
51
|
|
|
80
52
|
**Note:** Version bump only for package @w5s/mrm-preset
|
|
81
53
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
54
|
# [1.0.0-alpha.16](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.15...@w5s/mrm-preset@1.0.0-alpha.16) (2022-06-16)
|
|
87
55
|
|
|
88
|
-
|
|
89
56
|
### Bug Fixes
|
|
90
57
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
58
|
+
- correct require extension eslint rule ([94798d6](https://github.com/w5s/project-config/commit/94798d6579b93d92f44021f9f77971994ca5ce5e))
|
|
96
59
|
|
|
97
60
|
# [1.0.0-alpha.15](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.14...@w5s/mrm-preset@1.0.0-alpha.15) (2022-06-15)
|
|
98
61
|
|
|
99
|
-
|
|
100
62
|
### Bug Fixes
|
|
101
63
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
64
|
+
- remove test from build ([506f19d](https://github.com/w5s/project-config/commit/506f19d71b3fc16613d37d10c022a08dbcf70376))
|
|
107
65
|
|
|
108
66
|
# [1.0.0-alpha.14](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.13...@w5s/mrm-preset@1.0.0-alpha.14) (2022-06-10)
|
|
109
67
|
|
|
110
|
-
|
|
111
68
|
### Bug Fixes
|
|
112
69
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
70
|
+
- add prepare task to turbo configuration ([717d59a](https://github.com/w5s/project-config/commit/717d59a724c1de8cb37f37c23aae8f4cc57fc231))
|
|
71
|
+
- remove --quiet option on format ([268b0a7](https://github.com/w5s/project-config/commit/268b0a76dbd03cfa6729988472948a66e2b749c9))
|
|
119
72
|
|
|
120
73
|
# [1.0.0-alpha.13](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.12...@w5s/mrm-preset@1.0.0-alpha.13) (2022-06-07)
|
|
121
74
|
|
|
122
|
-
|
|
123
75
|
### Bug Fixes
|
|
124
76
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
77
|
+
- improve cspell output ([a5721b5](https://github.com/w5s/project-config/commit/a5721b5c8e97817dc68e9444f4443d3cb7893a27))
|
|
130
78
|
|
|
131
79
|
# [1.0.0-alpha.12](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.11...@w5s/mrm-preset@1.0.0-alpha.12) (2022-06-07)
|
|
132
80
|
|
|
133
|
-
|
|
134
81
|
### Bug Fixes
|
|
135
82
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
83
|
+
- add spellcheck task to turbo config ([1029c2b](https://github.com/w5s/project-config/commit/1029c2b97b12b44618ce741d045b02712f0ebf18))
|
|
84
|
+
- clean non useful empty script when possible ([2e7e60a](https://github.com/w5s/project-config/commit/2e7e60a400506bbca00db653813668fa47f8f065))
|
|
85
|
+
- correct docs task in turbo ([0fca8c9](https://github.com/w5s/project-config/commit/0fca8c9ca0389b090e6aa2a66d47ab63b1cb138e))
|
|
86
|
+
- remove uneeded @types/jest typing ([475f6bb](https://github.com/w5s/project-config/commit/475f6bbdc101d31460cd8ffb7f5deb3b97176d5c))
|
|
87
|
+
- remove uneeded cspell script ([ba8d38b](https://github.com/w5s/project-config/commit/ba8d38b8053a24a7937c24c270f5d61d3dad71c7))
|
|
142
88
|
|
|
143
89
|
### Features
|
|
144
90
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
91
|
+
- configure spellcheck ([4be6a96](https://github.com/w5s/project-config/commit/4be6a96d6d30e1085b73c0befcab1d3fa30475ab))
|
|
92
|
+
- improve eslint mrm support for workspaces ([2dacc2e](https://github.com/w5s/project-config/commit/2dacc2e867ebb74c8de777af2ce9f173426ebc33))
|
|
93
|
+
- improve turbo support for lint and format ([76e19e0](https://github.com/w5s/project-config/commit/76e19e02918aba66a2e6e9c06a7d0bed99500ecc))
|
|
152
94
|
|
|
153
95
|
# [1.0.0-alpha.11](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.10...@w5s/mrm-preset@1.0.0-alpha.11) (2022-05-20)
|
|
154
96
|
|
|
155
|
-
|
|
156
97
|
### Bug Fixes
|
|
157
98
|
|
|
158
|
-
|
|
159
|
-
|
|
99
|
+
- correct prepare package script ([f2d5fbf](https://github.com/w5s/project-config/commit/f2d5fbfc4e7b66dece1d1139e2ba3835bcf524a1))
|
|
160
100
|
|
|
161
101
|
### Features
|
|
162
102
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
103
|
+
- add minimal support for yarn + github ci ([b9ae537](https://github.com/w5s/project-config/commit/b9ae53746fa9a3f92a1ca0e3600e20cdda583a45))
|
|
168
104
|
|
|
169
105
|
# [1.0.0-alpha.10](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.9...@w5s/mrm-preset@1.0.0-alpha.10) (2022-05-13)
|
|
170
106
|
|
|
171
|
-
|
|
172
107
|
### Bug Fixes
|
|
173
108
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
109
|
+
- remove tsc on lint-staged because buggy ([6b0f4f2](https://github.com/w5s/project-config/commit/6b0f4f2c6d5d06f959ee1edc5cc6266464747d7e))
|
|
179
110
|
|
|
180
111
|
# [1.0.0-alpha.9](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.8...@w5s/mrm-preset@1.0.0-alpha.9) (2022-04-12)
|
|
181
112
|
|
|
182
|
-
|
|
183
113
|
### Bug Fixes
|
|
184
114
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
115
|
+
- correct default mrm task ([1a59cb1](https://github.com/w5s/project-config/commit/1a59cb1a114c2cba091c4729b5e66e5a5354004e))
|
|
190
116
|
|
|
191
117
|
# [1.0.0-alpha.8](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.7...@w5s/mrm-preset@1.0.0-alpha.8) (2022-03-08)
|
|
192
118
|
|
|
193
|
-
|
|
194
119
|
### Bug Fixes
|
|
195
120
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
121
|
+
- add missing $schema for tsconfig ([c33c7ae](https://github.com/w5s/project-config/commit/c33c7aeba405d651eba19187436724780dd90aff))
|
|
122
|
+
- remove unused typedoc script ([51238f0](https://github.com/w5s/project-config/commit/51238f04b8f3d95baac7f0a367ba1c07061d2ce4))
|
|
202
123
|
|
|
203
124
|
# [1.0.0-alpha.7](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.6...@w5s/mrm-preset@1.0.0-alpha.7) (2022-03-01)
|
|
204
125
|
|
|
205
|
-
|
|
206
126
|
### Bug Fixes
|
|
207
127
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
128
|
+
- correct bootstrap step ([da7f539](https://github.com/w5s/project-config/commit/da7f539560ba143f830c9ea824b0d79c6a50522c))
|
|
129
|
+
- correct is-ci script that fails in some yarn berry ([4e4707d](https://github.com/w5s/project-config/commit/4e4707d7e8c0cd2c88e1dc6bc94705317dcf9e98))
|
|
130
|
+
- improve yarn check ([3af241a](https://github.com/w5s/project-config/commit/3af241af004d747518733983260eb295aa75e5cb))
|
|
215
131
|
|
|
216
132
|
# [1.0.0-alpha.6](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.5...@w5s/mrm-preset@1.0.0-alpha.6) (2022-02-23)
|
|
217
133
|
|
|
218
|
-
|
|
219
134
|
### Bug Fixes
|
|
220
135
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
136
|
+
- correct gitignore task ([b4f0903](https://github.com/w5s/project-config/commit/b4f0903561c97500aef65488ef06ccd7eae0db80))
|
|
137
|
+
- remove jest on lint-staged ([2fbc851](https://github.com/w5s/project-config/commit/2fbc85132ab380429d6966bff47b176bcfb51f6d))
|
|
138
|
+
- shorten eslint extensions ([aecc870](https://github.com/w5s/project-config/commit/aecc870ce0b288436208757376bc05504bff3331))
|
|
225
139
|
|
|
226
140
|
### Features
|
|
227
141
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
142
|
+
- use es-jest as default jest preset ([61535d9](https://github.com/w5s/project-config/commit/61535d9c47c25150becc564a5dd273d7cc14b579))
|
|
233
143
|
|
|
234
144
|
# [1.0.0-alpha.5](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.4...@w5s/mrm-preset@1.0.0-alpha.5) (2022-02-18)
|
|
235
145
|
|
|
236
|
-
|
|
237
146
|
### Bug Fixes
|
|
238
147
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
148
|
+
- change bootstrap behavior ([497c83a](https://github.com/w5s/project-config/commit/497c83a4082f7fd4e3b8b6913802ebcb21caa65a))
|
|
149
|
+
- remove lint-staged + cspell integration ([6747c83](https://github.com/w5s/project-config/commit/6747c83ec997034d25d136bc5aa008ed108ceb96))
|
|
150
|
+
- use UNLICENSED for default license ([608ee8f](https://github.com/w5s/project-config/commit/608ee8f0bf57fec94636587b116d5bda0fb4ee3f))
|
|
243
151
|
|
|
244
152
|
### Features
|
|
245
153
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
154
|
+
- add gitignore for yarn v2 ([06c547a](https://github.com/w5s/project-config/commit/06c547a6b7813f935678c29b410aee62da5b3866))
|
|
155
|
+
- add support for yarn berry ([2b77669](https://github.com/w5s/project-config/commit/2b77669a29316825a38470c80a48aff8ab068f7f))
|
|
252
156
|
|
|
253
157
|
# [1.0.0-alpha.4](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.3...@w5s/mrm-preset@1.0.0-alpha.4) (2022-02-16)
|
|
254
158
|
|
|
255
|
-
|
|
256
159
|
### Bug Fixes
|
|
257
160
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
161
|
+
- correct eslint vscode settings ([a32e0fb](https://github.com/w5s/project-config/commit/a32e0fb739cbe349565b26ea412cdf37e3d56bdb))
|
|
162
|
+
- correct mrm preset url ([ad6f030](https://github.com/w5s/project-config/commit/ad6f03091e0a294c043974b564e24c79023e659b))
|
|
163
|
+
- correct typo ([2218859](https://github.com/w5s/project-config/commit/221885997fec37149f7e349b00a58fbcb3bfb8db))
|
|
164
|
+
- rollback to eslint.validate vscode setting ([769a2e1](https://github.com/w5s/project-config/commit/769a2e100083aca4f5e9037fa539fcf1f6002d65))
|
|
263
165
|
|
|
264
166
|
### Features
|
|
265
167
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
168
|
+
- improve typescript eslint configuration ([efc6f1c](https://github.com/w5s/project-config/commit/efc6f1cef876e8fc5d4d1d1b94ca90a6805fbbbf))
|
|
271
169
|
|
|
272
170
|
# [1.0.0-alpha.3](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.2...@w5s/mrm-preset@1.0.0-alpha.3) (2022-02-15)
|
|
273
171
|
|
|
274
|
-
|
|
275
172
|
### Features
|
|
276
173
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
174
|
+
- use airbnb-base as default presets ([e499fc1](https://github.com/w5s/project-config/commit/e499fc115023571e749072db33d774b443b68bb7))
|
|
282
175
|
|
|
283
176
|
# [1.0.0-alpha.2](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.0-alpha.1...@w5s/mrm-preset@1.0.0-alpha.2) (2022-02-15)
|
|
284
177
|
|
|
285
|
-
|
|
286
178
|
### Features
|
|
287
179
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
180
|
+
- enable source.fixAll for vscode ([d484156](https://github.com/w5s/project-config/commit/d484156c063f2bf9f5cb3212878aa07bb4f8fd6f))
|
|
181
|
+
- improve arrow-body-style configuration ([a4ee8a9](https://github.com/w5s/project-config/commit/a4ee8a9f3912285b45287afc4ccae2fa57431c6a))
|
|
294
182
|
|
|
295
183
|
# 1.0.0-alpha.1 (2022-02-12)
|
|
296
184
|
|
|
297
|
-
|
|
298
185
|
### Bug Fixes
|
|
299
186
|
|
|
300
|
-
|
|
301
|
-
|
|
187
|
+
- correct generate cspell.json ([e638b75](https://github.com/w5s/project-config/commit/e638b75ead5d3ffd34b0c74b95b237d29b542406))
|
|
302
188
|
|
|
303
189
|
### Features
|
|
304
190
|
|
|
305
|
-
|
|
306
|
-
|
|
191
|
+
- add cspell check on lint-staged in mrm ([d8a744f](https://github.com/w5s/project-config/commit/d8a744f1f297c2308cd15ce1f19958f9302eee5d))
|
|
192
|
+
- add mrm-preset package ([1409046](https://github.com/w5s/project-config/commit/1409046e772755148f9885ce39c8f86afef4e50d))
|
package/core/jest.js
CHANGED
|
@@ -35,18 +35,17 @@ function jest({ state }) {
|
|
|
35
35
|
}),
|
|
36
36
|
default: {},
|
|
37
37
|
});
|
|
38
|
-
|
|
39
38
|
pkg.script(packageFile, {
|
|
40
|
-
name: project.coverage
|
|
41
|
-
update: (_) => (hasWorkspaces ? _ : 'jest --coverage'),
|
|
39
|
+
name: `//#${project.coverage}:root`,
|
|
40
|
+
update: (/** @type {string|undefined} */ _) => (hasWorkspaces ? _ : 'jest --coverage'),
|
|
42
41
|
state: 'present',
|
|
43
|
-
default: pkg.emptyScript,
|
|
42
|
+
default: undefined, // pkg.emptyScript,
|
|
44
43
|
});
|
|
45
44
|
pkg.script(packageFile, {
|
|
46
|
-
name: project.test
|
|
47
|
-
update: (_) => (hasWorkspaces ? _ : 'jest'),
|
|
45
|
+
name: `//#${project.test}:root`,
|
|
46
|
+
update: (/** @type {string|undefined} */ _) => (hasWorkspaces ? _ : 'jest'),
|
|
48
47
|
state: 'present',
|
|
49
|
-
default: pkg.emptyScript,
|
|
48
|
+
default: undefined, // pkg.emptyScript,
|
|
50
49
|
});
|
|
51
50
|
});
|
|
52
51
|
|
package/eslint/index.js
CHANGED
|
@@ -90,34 +90,31 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
|
|
|
90
90
|
// workspaces
|
|
91
91
|
pkg.script(packageFile, {
|
|
92
92
|
name: `${project.lint}:root`,
|
|
93
|
-
update: `eslint .${extOption}${ignorePatterns}`,
|
|
94
|
-
state:
|
|
93
|
+
update: `eslint .${extOption}${hasWorkspaces ? ignorePatterns : ''}`,
|
|
94
|
+
state: 'present',
|
|
95
95
|
});
|
|
96
96
|
pkg.script(packageFile, {
|
|
97
97
|
name: `${project.format}:root`,
|
|
98
|
-
update: `eslint .${extOption}${ignorePatterns} --fix`,
|
|
99
|
-
state:
|
|
98
|
+
update: `eslint .${extOption}${hasWorkspaces ? ignorePatterns : ''} --fix`,
|
|
99
|
+
state: 'present',
|
|
100
100
|
});
|
|
101
|
+
|
|
102
|
+
// clean
|
|
101
103
|
pkg.script(packageFile, {
|
|
102
104
|
name: `${project.lint}:packages`,
|
|
103
|
-
|
|
104
|
-
state: hasWorkspaces ? 'present' : 'absent',
|
|
105
|
+
state: 'absent',
|
|
105
106
|
});
|
|
106
107
|
pkg.script(packageFile, {
|
|
107
108
|
name: `${project.format}:packages`,
|
|
108
|
-
|
|
109
|
-
state: hasWorkspaces ? 'present' : 'absent',
|
|
109
|
+
state: 'absent',
|
|
110
110
|
});
|
|
111
|
-
// regular package
|
|
112
111
|
pkg.script(packageFile, {
|
|
113
112
|
name: `${project.lint}:src`,
|
|
114
|
-
|
|
115
|
-
state: !hasWorkspaces ? 'present' : 'absent',
|
|
113
|
+
state: 'absent',
|
|
116
114
|
});
|
|
117
115
|
pkg.script(packageFile, {
|
|
118
116
|
name: `${project.format}:src`,
|
|
119
|
-
|
|
120
|
-
state: !hasWorkspaces ? 'present' : 'absent',
|
|
117
|
+
state: 'absent',
|
|
121
118
|
});
|
|
122
119
|
});
|
|
123
120
|
pkg.forEachWorkspace(({ packageFile }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/mrm-preset",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.28",
|
|
4
4
|
"description": "Mrm configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mrm",
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"type": "commonjs",
|
|
22
22
|
"main": "config.json",
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "concurrently \"npm:build:*\" ",
|
|
25
|
-
"build:empty": ":",
|
|
24
|
+
"build": "concurrently \"npm:build:*\" \":\"",
|
|
26
25
|
"build:tsc": "tsc --noEmit --skipLibCheck",
|
|
27
26
|
"clean": "concurrently \"npm:clean:*\" \":\"",
|
|
28
27
|
"docs": "md-magic --path '**/*.md' --ignore='node_modules'",
|
|
@@ -32,7 +31,8 @@
|
|
|
32
31
|
"lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
|
|
33
32
|
"prepare": "concurrently \"npm:prepare:*\" \":\"",
|
|
34
33
|
"spellcheck": "cspell --no-progress '**'",
|
|
35
|
-
"test": "
|
|
34
|
+
"test": "concurrently \"npm:test:*\" ",
|
|
35
|
+
"test:src": "mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir .."
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"debug": "^4.3.3",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/debug": "4.1.7",
|
|
46
|
-
"mrm": "4.1.
|
|
46
|
+
"mrm": "4.1.13"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=16.0.0"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "fb66027db8a84fbd3d0d62f034611784820567ea"
|
|
55
55
|
}
|
package/project/index.js
CHANGED
|
@@ -16,10 +16,12 @@ const { turbo } = require('../core/turbo.js');
|
|
|
16
16
|
const npmRun = (script) => {
|
|
17
17
|
switch (script) {
|
|
18
18
|
case project.install:
|
|
19
|
-
case project.test:
|
|
19
|
+
case project.test: {
|
|
20
20
|
return `npm ${script}`;
|
|
21
|
-
|
|
21
|
+
}
|
|
22
|
+
default: {
|
|
22
23
|
return `npm run ${script}`;
|
|
24
|
+
}
|
|
23
25
|
}
|
|
24
26
|
};
|
|
25
27
|
/**
|
|
@@ -83,24 +85,19 @@ function task() {
|
|
|
83
85
|
// build
|
|
84
86
|
pkg.script(currentPackageFile, {
|
|
85
87
|
name: project.build,
|
|
86
|
-
update: npmRunAll(project.build,
|
|
88
|
+
update: useWorkspace ? turboRun(project.build) : npmRunAll(project.build, true),
|
|
87
89
|
state: 'present',
|
|
88
90
|
});
|
|
89
|
-
pkg.script(currentPackageFile, {
|
|
90
|
-
name: `${project.build}:packages`,
|
|
91
|
-
update: turboRun(project.build),
|
|
92
|
-
state: useWorkspace ? 'present' : 'absent',
|
|
93
|
-
});
|
|
94
91
|
|
|
95
92
|
// lint
|
|
96
93
|
pkg.script(currentPackageFile, {
|
|
97
94
|
name: project.lint,
|
|
98
|
-
update: npmRunAll(project.lint, true),
|
|
95
|
+
update: useWorkspace ? turboRun(project.lint) : npmRunAll(project.lint, true),
|
|
99
96
|
state: 'present',
|
|
100
97
|
});
|
|
101
98
|
pkg.script(currentPackageFile, {
|
|
102
99
|
name: project.format,
|
|
103
|
-
update: npmRunAll(project.format, true),
|
|
100
|
+
update: useWorkspace ? turboRun(project.format) : npmRunAll(project.format, true),
|
|
104
101
|
state: 'present',
|
|
105
102
|
});
|
|
106
103
|
|
|
@@ -112,7 +109,7 @@ function task() {
|
|
|
112
109
|
// });
|
|
113
110
|
pkg.script(currentPackageFile, {
|
|
114
111
|
name: project.test,
|
|
115
|
-
update: useWorkspace ? npmRunAll(project.test, false)
|
|
112
|
+
update: useWorkspace ? turboRun(project.test) : npmRunAll(project.test, false),
|
|
116
113
|
state: 'present',
|
|
117
114
|
default: pkg.emptyScript,
|
|
118
115
|
});
|
|
@@ -127,14 +124,9 @@ function task() {
|
|
|
127
124
|
// clean
|
|
128
125
|
pkg.script(currentPackageFile, {
|
|
129
126
|
name: project.clean,
|
|
130
|
-
update: npmRunAll(project.clean, true),
|
|
127
|
+
update: useWorkspace ? turboRun(project.clean) : npmRunAll(project.clean, true),
|
|
131
128
|
state: 'present',
|
|
132
129
|
});
|
|
133
|
-
pkg.script(currentPackageFile, {
|
|
134
|
-
name: `${project.clean}:packages`,
|
|
135
|
-
update: turboRun(project.clean),
|
|
136
|
-
state: useWorkspace ? 'present' : 'absent',
|
|
137
|
-
});
|
|
138
130
|
|
|
139
131
|
// Root
|
|
140
132
|
|
|
@@ -165,6 +157,20 @@ function task() {
|
|
|
165
157
|
default: pkg.emptyScript,
|
|
166
158
|
state: root ? 'present' : 'absent',
|
|
167
159
|
});
|
|
160
|
+
|
|
161
|
+
// TODO: remove
|
|
162
|
+
pkg.script(currentPackageFile, {
|
|
163
|
+
name: `${project.clean}:packages`,
|
|
164
|
+
state: 'absent',
|
|
165
|
+
});
|
|
166
|
+
pkg.script(currentPackageFile, {
|
|
167
|
+
name: `${project.build}:packages`,
|
|
168
|
+
state: 'absent',
|
|
169
|
+
});
|
|
170
|
+
pkg.script(currentPackageFile, {
|
|
171
|
+
name: `${project.test}:packages`,
|
|
172
|
+
state: 'absent',
|
|
173
|
+
});
|
|
168
174
|
};
|
|
169
175
|
|
|
170
176
|
// eslint-disable-next-line no-shadow
|
|
@@ -247,21 +253,35 @@ function task() {
|
|
|
247
253
|
|
|
248
254
|
// Turbo config
|
|
249
255
|
turbo({
|
|
250
|
-
state:
|
|
256
|
+
state: 'present',
|
|
251
257
|
update: (_) => ({
|
|
252
258
|
..._,
|
|
253
259
|
pipeline: {
|
|
254
260
|
[project.build]: {
|
|
255
|
-
dependsOn: [
|
|
261
|
+
dependsOn: [`^${project.build}`, `//#${project.build}:root`],
|
|
256
262
|
outputs: ['lib/**', 'dist/**', '.next/**'],
|
|
257
263
|
},
|
|
258
|
-
[project.
|
|
259
|
-
[project.
|
|
264
|
+
[`//#${project.build}:root`]: {},
|
|
265
|
+
[project.test]: {
|
|
266
|
+
dependsOn: [`//#${project.test}:root`],
|
|
267
|
+
},
|
|
268
|
+
[`//#${project.test}:root`]: {},
|
|
269
|
+
[project.lint]: {
|
|
270
|
+
dependsOn: [`//#${project.lint}:root`],
|
|
271
|
+
},
|
|
272
|
+
[`//#${project.lint}:root`]: {},
|
|
260
273
|
[project.prepare]: {},
|
|
261
|
-
[project.format]: {
|
|
274
|
+
[project.format]: {
|
|
275
|
+
dependsOn: [`//#${project.format}:root`],
|
|
276
|
+
},
|
|
277
|
+
[`//#${project.format}:root`]: {},
|
|
262
278
|
[project.docs]: {},
|
|
263
279
|
[project.spellcheck]: {},
|
|
264
280
|
[project.clean]: {
|
|
281
|
+
dependsOn: [`//#${project.clean}:root`],
|
|
282
|
+
cache: false,
|
|
283
|
+
},
|
|
284
|
+
[`//#${project.clean}:root`]: {
|
|
265
285
|
cache: false,
|
|
266
286
|
},
|
|
267
287
|
[project.develop]: {
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@w5s/mrm-preset:test: cache hit, replaying output c338e771d8db2cf0
|
|
2
|
-
@w5s/mrm-preset:test: mkdir: _tester: File exists
|
|
3
|
-
@w5s/mrm-preset:test: [36mRunning bootstrap...[39m
|
|
4
|
-
@w5s/mrm-preset:test: [33mRunning alias configure...[39m
|
|
5
|
-
@w5s/mrm-preset:test: [36mRunning gitignore...[39m
|
|
6
|
-
@w5s/mrm-preset:test: [36mRunning project...[39m
|
|
7
|
-
@w5s/mrm-preset:test: [36mRunning contributing...[39m
|
|
8
|
-
@w5s/mrm-preset:test: [36mRunning licenses...[39m
|
|
9
|
-
@w5s/mrm-preset:test: [36mRunning release...[39m
|
|
10
|
-
@w5s/mrm-preset:test: [36mRunning ci...[39m
|
|
11
|
-
@w5s/mrm-preset:test: [36mRunning lang...[39m
|
|
12
|
-
@w5s/mrm-preset:test: [32mUpdate tsconfig.json[39m
|
|
13
|
-
@w5s/mrm-preset:test: [36mRunning commitlint...[39m
|
|
14
|
-
@w5s/mrm-preset:test: [36mRunning editorconfig...[39m
|
|
15
|
-
@w5s/mrm-preset:test: [36mRunning eslint...[39m
|
|
16
|
-
@w5s/mrm-preset:test: [36mRunning cspell...[39m
|
|
17
|
-
@w5s/mrm-preset:test: [36mRunning jest...[39m
|
|
18
|
-
@w5s/mrm-preset:test: [36mRunning renovate...[39m
|
|
19
|
-
@w5s/mrm-preset:test: [36mRunning githooks...[39m
|
|
20
|
-
@w5s/mrm-preset:test: [36mRunning postconfigure...[39m
|