@w5s/mrm-preset 1.0.0-alpha.14 → 1.0.0-alpha.15
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-lint.log +1 -1
- package/CHANGELOG.md +11 -0
- package/core/jest.js +13 -18
- package/lang/index.js +3 -0
- package/package.json +2 -2
- package/.turbo/turbo-build.log +0 -1
- package/.turbo/turbo-docs.log +0 -43
- package/.turbo/turbo-format.log +0 -1
- package/.turbo/turbo-spellcheck.log +0 -2
- package/.turbo/turbo-test.log +0 -21
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 [2m7a156f0ef5a5522e[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.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)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove test from build ([506f19d](https://github.com/w5s/project-config/commit/506f19d71b3fc16613d37d10c022a08dbcf70376))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [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)
|
|
7
18
|
|
|
8
19
|
|
package/core/jest.js
CHANGED
|
@@ -15,31 +15,26 @@ function jest({ state }) {
|
|
|
15
15
|
const hasWorkspaces = pkg.hasWorkspaces(packageFileDefault);
|
|
16
16
|
|
|
17
17
|
pkg.withPackageJson((packageFile) => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
const ignorePatterns = ['/node_modules/', '/docs/', '/lib/', '/build/', '/.cache/', '/public/'];
|
|
19
|
+
|
|
20
|
+
pkg.value(packageFile, {
|
|
21
|
+
path: 'jest',
|
|
22
|
+
state: hasJest ? 'present' : 'absent',
|
|
23
|
+
update: hasWorkspaces
|
|
24
|
+
? () => ({
|
|
24
25
|
preset: 'es-jest',
|
|
25
26
|
projects: packageFile
|
|
26
27
|
.get('workspaces.packages', packageFile.get('workspaces', []))
|
|
27
28
|
.map((/** @type {string} */ workspace) => `<rootDir>/${workspace}`),
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const ignorePatterns = ['/node_modules/', '/docs/', '/lib/', '/build/', '/.cache/', '/public/'];
|
|
32
|
-
packageFile.merge({
|
|
33
|
-
jest: {
|
|
29
|
+
})
|
|
30
|
+
: (config) => ({
|
|
31
|
+
...config,
|
|
34
32
|
preset: 'es-jest',
|
|
35
33
|
coveragePathIgnorePatterns: ignorePatterns,
|
|
36
34
|
testPathIgnorePatterns: ignorePatterns,
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} else {
|
|
41
|
-
packageFile.unset('jest');
|
|
42
|
-
}
|
|
35
|
+
}),
|
|
36
|
+
default: {},
|
|
37
|
+
});
|
|
43
38
|
|
|
44
39
|
pkg.script(packageFile, {
|
|
45
40
|
name: project.coverage,
|
package/lang/index.js
CHANGED
|
@@ -37,6 +37,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
|
|
|
37
37
|
gitIgnore('Typescript', ['lib/', '*.tsbuildinfo', 'typings/']);
|
|
38
38
|
eslintIgnore(['lib/']);
|
|
39
39
|
|
|
40
|
+
const excludeList = ['**/*.test.*', '**/*.spec.*', '**/__tests__/**'];
|
|
40
41
|
if (hasWorkspaces) {
|
|
41
42
|
tsConfig
|
|
42
43
|
.unset('compilerOptions.rootDir')
|
|
@@ -45,6 +46,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
|
|
|
45
46
|
.merge({
|
|
46
47
|
$schema: 'https://json.schemastore.org/tsconfig',
|
|
47
48
|
extends: `./${tsConfigSettingsName}`,
|
|
49
|
+
exclude: excludeList,
|
|
48
50
|
})
|
|
49
51
|
.save();
|
|
50
52
|
|
|
@@ -66,6 +68,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
|
|
|
66
68
|
},
|
|
67
69
|
extends: `./${tsConfigSettingsName}`,
|
|
68
70
|
include: ['./src'],
|
|
71
|
+
exclude: excludeList,
|
|
69
72
|
})
|
|
70
73
|
.save();
|
|
71
74
|
|
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.15",
|
|
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": "26bed145087188b4197769c8867f914df8673255"
|
|
51
51
|
}
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@w5s/mrm-preset:build: cache hit, replaying output c6b4f1c7f63e49b4
|
package/.turbo/turbo-docs.log
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@w5s/mrm-preset:docs: cache hit, replaying output 744547a9c29d1593
|
|
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-format.log
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@w5s/mrm-preset:format: cache hit, replaying output [2m3dd24b3a1f0380bc[0m
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@w5s/mrm-preset:test: cache hit, replaying output a48676b2c6596bd4
|
|
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: [32mUpdate package.json[39m
|
|
16
|
-
@w5s/mrm-preset:test: [36mRunning cspell...[39m
|
|
17
|
-
@w5s/mrm-preset:test: [36mRunning jest...[39m
|
|
18
|
-
@w5s/mrm-preset:test: [32mUpdate package.json[39m
|
|
19
|
-
@w5s/mrm-preset:test: [36mRunning renovate...[39m
|
|
20
|
-
@w5s/mrm-preset:test: [36mRunning githooks...[39m
|
|
21
|
-
@w5s/mrm-preset:test: [36mRunning postconfigure...[39m
|