@w5s/mrm-preset 1.0.0-alpha.17 → 1.0.0-alpha.18
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 +1 -1
- package/.turbo/turbo-docs.log +43 -43
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +20 -20
- package/CHANGELOG.md +8 -0
- package/core/eslint.js +1 -1
- package/core/jsonFile.js +8 -7
- package/eslint/index.js +1 -1
- package/package.json +2 -2
- package/project/index.js +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@w5s/mrm-preset:build: cache hit, replaying output
|
|
1
|
+
@w5s/mrm-preset:build: cache hit, replaying output faa3bdd70e66c4d8
|
package/.turbo/turbo-docs.log
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
@w5s/mrm-preset:docs: cache hit, replaying output
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
@w5s/mrm-preset:docs: cache hit, replaying output 28c9b96eaccdecc6
|
|
2
|
+
@w5s/mrm-preset:docs: Starting markdown-magic [ '**/*.md', '!node_modules/**' ]
|
|
3
|
+
@w5s/mrm-preset:docs: ℹ Notice:
|
|
4
|
+
@w5s/mrm-preset:docs: Missing transforms "BASIC_RULES","JSX_RULES" in _tester/node_modules/eslint-plugin-react/README.md
|
|
5
|
+
@w5s/mrm-preset:docs:
|
|
6
|
+
@w5s/mrm-preset:docs: ✔ README.md Updated
|
|
7
|
+
@w5s/mrm-preset:docs: Transforms run
|
|
8
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=# W5s Mrm Preset _(${name})_
|
|
9
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=> ${description}&unknownTxt=
|
|
10
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[${license}][license-url] © ${author}
|
|
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=[${license}][license-url] © ${author}
|
|
40
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square
|
|
41
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}
|
|
42
|
+
@w5s/mrm-preset:docs: ⁕ PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square
|
|
43
|
+
@w5s/mrm-preset:docs:
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@w5s/mrm-preset:lint: cache hit, replaying output
|
|
1
|
+
@w5s/mrm-preset:lint: cache hit, replaying output 687f5b7a70c1d1ce
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@w5s/mrm-preset:test: cache hit, replaying output
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
@w5s/mrm-preset:test: cache hit, replaying output 78432cf2c01c55eb
|
|
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: [32mUpdate package.json[39m
|
|
8
|
+
@w5s/mrm-preset:test: [36mRunning contributing...[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: [36mRunning commitlint...[39m
|
|
13
|
+
@w5s/mrm-preset:test: [36mRunning editorconfig...[39m
|
|
14
|
+
@w5s/mrm-preset:test: [36mRunning eslint...[39m
|
|
15
|
+
@w5s/mrm-preset:test: [36mRunning cspell...[39m
|
|
16
|
+
@w5s/mrm-preset:test: [36mRunning jest...[39m
|
|
17
|
+
@w5s/mrm-preset:test: [32mUpdate package.json[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
|
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
|
+
# [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)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @w5s/mrm-preset
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [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)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @w5s/mrm-preset
|
package/core/eslint.js
CHANGED
package/core/jsonFile.js
CHANGED
|
@@ -41,16 +41,17 @@ function setValue(jsonFile, path, pathValue) {
|
|
|
41
41
|
*/
|
|
42
42
|
function value(jsonFile, { state, path, default: defaultValue, update: nextValue }) {
|
|
43
43
|
if (state === 'present') {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
let currentValue = getValue(jsonFile, path);
|
|
45
|
+
|
|
46
|
+
if (currentValue == null) {
|
|
47
|
+
currentValue = typeof defaultValue === 'function' ? defaultValue() : defaultValue;
|
|
48
|
+
if (currentValue != null) {
|
|
49
|
+
setValue(jsonFile, path, currentValue);
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const resolvedValue = typeof defaultValue === 'function' ? defaultValue() : defaultValue;
|
|
53
|
+
if (nextValue != null) {
|
|
54
|
+
const resolvedValue = typeof nextValue === 'function' ? nextValue(getValue(jsonFile, path)) : nextValue;
|
|
54
55
|
if (resolvedValue != null) {
|
|
55
56
|
setValue(jsonFile, path, resolvedValue);
|
|
56
57
|
}
|
package/eslint/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
|
|
|
127
127
|
});
|
|
128
128
|
pkg.script(packageFile, {
|
|
129
129
|
name: project.format,
|
|
130
|
-
script: `eslint .
|
|
130
|
+
script: `eslint . --fix${extOption}`,
|
|
131
131
|
state: 'default',
|
|
132
132
|
});
|
|
133
133
|
});
|
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.18",
|
|
4
4
|
"description": "Mrm configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mrm",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "d6e3c3ee14c3ead509432ae962708c90342edd25"
|
|
51
51
|
}
|
package/project/index.js
CHANGED
|
@@ -137,8 +137,8 @@ function task() {
|
|
|
137
137
|
});
|
|
138
138
|
pkg.script(packageFile, {
|
|
139
139
|
name: `${project.prepare}:empty`,
|
|
140
|
-
script:
|
|
141
|
-
state: '
|
|
140
|
+
script: pkg.emptyScript,
|
|
141
|
+
state: !useWorkspace ? 'present' : 'absent',
|
|
142
142
|
});
|
|
143
143
|
pkg.script(packageFile, {
|
|
144
144
|
name: `${project.prepare}:packages`,
|