@dword-design/base 11.2.1 → 11.2.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.
- package/dist/commands/prepare/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/__snapshots__/index.spec.js.snap +2 -2
- package/dist/get-generated-files/common-editor-ignore.js +1 -1
- package/dist/get-generated-files/get-editor-ignore/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/get-vscode/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/index.js +4 -4
- package/package.json +2 -2
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`index valid 1`] = `
|
|
4
4
|
Object {
|
|
5
|
-
".babelrc.json": true,
|
|
6
5
|
".commitlintrc.json": true,
|
|
7
6
|
".cz.json": true,
|
|
8
7
|
".devcontainer": true,
|
|
@@ -25,6 +24,7 @@ Object {
|
|
|
25
24
|
"CHANGELOG.md": true,
|
|
26
25
|
"LICENSE.md": true,
|
|
27
26
|
"README.md": true,
|
|
27
|
+
"babel.config.json": true,
|
|
28
28
|
"package.json": true,
|
|
29
29
|
"pnpm-lock.yaml": true,
|
|
30
30
|
"src": true,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`index no metadata sync 1`] = `
|
|
4
4
|
Array [
|
|
5
|
-
".
|
|
5
|
+
"babel.config.json",
|
|
6
6
|
".commitlintrc.json",
|
|
7
7
|
".cz.json",
|
|
8
8
|
".editorconfig",
|
|
@@ -28,7 +28,6 @@ Array [
|
|
|
28
28
|
|
|
29
29
|
exports[`index works 1`] = `
|
|
30
30
|
Array [
|
|
31
|
-
".babelrc.json",
|
|
32
31
|
".commitlintrc.json",
|
|
33
32
|
".cz.json",
|
|
34
33
|
".devcontainer/devcontainer.json",
|
|
@@ -51,6 +50,7 @@ Array [
|
|
|
51
50
|
".vscode/settings.json",
|
|
52
51
|
"LICENSE.md",
|
|
53
52
|
"README.md",
|
|
53
|
+
"babel.config.json",
|
|
54
54
|
"package.json",
|
|
55
55
|
]
|
|
56
56
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['.
|
|
1
|
+
export default ['babel.config.json', '.commitlintrc.json', '.cz.json', '.devcontainer', '.editorconfig', '.eslintrc.json', '.gitattributes', '.github', '.gitignore', '.gitpod.Dockerfile', '.gitpod.yml', '.husky', '.nyc_output', '.releaserc.json', '.renovaterc.json', '.vscode', 'CHANGELOG.md', 'coverage', 'LICENSE.md', 'node_modules', 'pnpm-lock.yaml'];
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`index valid 1`] = `
|
|
4
4
|
Array [
|
|
5
|
-
".babelrc.json",
|
|
6
5
|
".commitlintrc.json",
|
|
7
6
|
".cz.json",
|
|
8
7
|
".devcontainer",
|
|
@@ -20,6 +19,7 @@ Array [
|
|
|
20
19
|
".vscode",
|
|
21
20
|
"CHANGELOG.md",
|
|
22
21
|
"LICENSE.md",
|
|
22
|
+
"babel.config.json",
|
|
23
23
|
"coverage",
|
|
24
24
|
"foo",
|
|
25
25
|
"node_modules",
|
|
@@ -5,7 +5,6 @@ Object {
|
|
|
5
5
|
"editor.tabSize": 2,
|
|
6
6
|
"files.autoSave": "off",
|
|
7
7
|
"files.exclude": Object {
|
|
8
|
-
".babelrc.json": true,
|
|
9
8
|
".commitlintrc.json": true,
|
|
10
9
|
".cz.json": true,
|
|
11
10
|
".devcontainer": true,
|
|
@@ -23,6 +22,7 @@ Object {
|
|
|
23
22
|
".vscode": true,
|
|
24
23
|
"CHANGELOG.md": true,
|
|
25
24
|
"LICENSE.md": true,
|
|
25
|
+
"babel.config.json": true,
|
|
26
26
|
"bar": true,
|
|
27
27
|
"coverage": true,
|
|
28
28
|
"foo": true,
|
|
@@ -14,12 +14,9 @@ import githubLabelsConfig from "./github-labels.js";
|
|
|
14
14
|
import githubSyncLabelsConfig from "./github-sync-labels.js";
|
|
15
15
|
import npmrc from "./npmrc.js";
|
|
16
16
|
export default function () {
|
|
17
|
-
var
|
|
17
|
+
var _commitlintConfig, _commitizenConfig, _this$getGithubCodesp, _this$getEslintConfig, _githubFunding, _sortKeys, _sortKeys2, _sortKeys3, _sortKeys4, _sortKeys5, _ref, _this$getGitignoreCon, _this$getGitpodConfig, _this$getReleaseConfi, _sortKeys6, _this$getVscodeConfig, _babelConfig, _ref2, _packageConfig;
|
|
18
18
|
const packageConfig = this.getPackageConfig();
|
|
19
19
|
return {
|
|
20
|
-
'.babelrc.json': `${(_babelConfig = babelConfig, jsonToString({
|
|
21
|
-
indent: 2
|
|
22
|
-
})(_babelConfig))}\n`,
|
|
23
20
|
'.commitlintrc.json': `${(_commitlintConfig = commitlintConfig, jsonToString({
|
|
24
21
|
indent: 2
|
|
25
22
|
})(_commitlintConfig))}\n`,
|
|
@@ -68,6 +65,9 @@ export default function () {
|
|
|
68
65
|
})(_this$getVscodeConfig))}\n`,
|
|
69
66
|
'LICENSE.md': this.getLicenseString(),
|
|
70
67
|
'README.md': this.getReadmeString(),
|
|
68
|
+
'babel.config.json': `${(_babelConfig = babelConfig, jsonToString({
|
|
69
|
+
indent: 2
|
|
70
|
+
})(_babelConfig))}\n`,
|
|
71
71
|
'package.json': `${(_ref2 = (_packageConfig = packageConfig, sortPackageJson(_packageConfig)), jsonToString({
|
|
72
72
|
indent: 2
|
|
73
73
|
})(_ref2))}\n`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.3",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@dword-design/ci": "^4.0.0",
|
|
32
32
|
"@dword-design/eslint-config": "^5.0.0",
|
|
33
33
|
"@dword-design/functions": "^6.0.0",
|
|
34
|
-
"@dword-design/jiti-babel-transform": "^
|
|
34
|
+
"@dword-design/jiti-babel-transform": "^2.0.0",
|
|
35
35
|
"@dword-design/personal-data": "^2.0.3",
|
|
36
36
|
"@dword-design/pretest": "^1.0.0",
|
|
37
37
|
"@dword-design/setup-test": "^1.0.2",
|