@dword-design/base 11.0.6 → 11.0.8
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-renovate/__snapshots__/index.spec.js.snap +15 -0
- package/dist/get-generated-files/get-renovate/index.js +1 -0
- 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 +1 -1
|
@@ -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,
|
|
@@ -24,6 +23,7 @@ Object {
|
|
|
24
23
|
"CHANGELOG.md": true,
|
|
25
24
|
"LICENSE.md": true,
|
|
26
25
|
"README.md": true,
|
|
26
|
+
"babel.config.json": true,
|
|
27
27
|
"package.json": true,
|
|
28
28
|
"src": true,
|
|
29
29
|
"yarn.lock": 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",
|
|
@@ -50,6 +49,7 @@ Array [
|
|
|
50
49
|
".vscode/settings.json",
|
|
51
50
|
"LICENSE.md",
|
|
52
51
|
"README.md",
|
|
52
|
+
"babel.config.json",
|
|
53
53
|
"package.json",
|
|
54
54
|
]
|
|
55
55
|
`;
|
|
@@ -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', 'yarn.lock'];
|
|
@@ -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",
|
|
@@ -6,6 +6,9 @@ Object {
|
|
|
6
6
|
":semanticCommits",
|
|
7
7
|
":semanticPrefixFix",
|
|
8
8
|
],
|
|
9
|
+
"gitIgnoredAuthors": Array [
|
|
10
|
+
"actions@github.com",
|
|
11
|
+
],
|
|
9
12
|
"github-actions": Object {
|
|
10
13
|
"enabled": false,
|
|
11
14
|
},
|
|
@@ -41,6 +44,9 @@ Object {
|
|
|
41
44
|
":semanticPrefixFix",
|
|
42
45
|
],
|
|
43
46
|
"foo": "bar",
|
|
47
|
+
"gitIgnoredAuthors": Array [
|
|
48
|
+
"actions@github.com",
|
|
49
|
+
],
|
|
44
50
|
"github-actions": Object {
|
|
45
51
|
"enabled": false,
|
|
46
52
|
},
|
|
@@ -75,6 +81,9 @@ Object {
|
|
|
75
81
|
":semanticCommits",
|
|
76
82
|
":semanticPrefixFix",
|
|
77
83
|
],
|
|
84
|
+
"gitIgnoredAuthors": Array [
|
|
85
|
+
"actions@github.com",
|
|
86
|
+
],
|
|
78
87
|
"github-actions": Object {
|
|
79
88
|
"enabled": false,
|
|
80
89
|
},
|
|
@@ -139,6 +148,9 @@ Object {
|
|
|
139
148
|
":semanticCommits",
|
|
140
149
|
":semanticPrefixFix",
|
|
141
150
|
],
|
|
151
|
+
"gitIgnoredAuthors": Array [
|
|
152
|
+
"actions@github.com",
|
|
153
|
+
],
|
|
142
154
|
"github-actions": Object {
|
|
143
155
|
"enabled": false,
|
|
144
156
|
},
|
|
@@ -172,6 +184,9 @@ Object {
|
|
|
172
184
|
":semanticCommits",
|
|
173
185
|
":semanticPrefixFix",
|
|
174
186
|
],
|
|
187
|
+
"gitIgnoredAuthors": Array [
|
|
188
|
+
"actions@github.com",
|
|
189
|
+
],
|
|
175
190
|
"github-actions": Object {
|
|
176
191
|
"enabled": false,
|
|
177
192
|
},
|
|
@@ -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,
|
|
@@ -13,12 +13,9 @@ import githubFunding from "./github-funding.js";
|
|
|
13
13
|
import githubLabelsConfig from "./github-labels.js";
|
|
14
14
|
import githubSyncLabelsConfig from "./github-sync-labels.js";
|
|
15
15
|
export default function () {
|
|
16
|
-
var
|
|
16
|
+
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;
|
|
17
17
|
const packageConfig = this.getPackageConfig();
|
|
18
18
|
return {
|
|
19
|
-
'.babelrc.json': `${(_babelConfig = babelConfig, jsonToString({
|
|
20
|
-
indent: 2
|
|
21
|
-
})(_babelConfig))}\n`,
|
|
22
19
|
'.commitlintrc.json': `${(_commitlintConfig = commitlintConfig, jsonToString({
|
|
23
20
|
indent: 2
|
|
24
21
|
})(_commitlintConfig))}\n`,
|
|
@@ -66,6 +63,9 @@ export default function () {
|
|
|
66
63
|
})(_this$getVscodeConfig))}\n`,
|
|
67
64
|
'LICENSE.md': this.getLicenseString(),
|
|
68
65
|
'README.md': this.getReadmeString(),
|
|
66
|
+
'babel.config.json': `${(_babelConfig = babelConfig, jsonToString({
|
|
67
|
+
indent: 2
|
|
68
|
+
})(_babelConfig))}\n`,
|
|
69
69
|
'package.json': `${(_ref2 = (_packageConfig = packageConfig, sortPackageJson(_packageConfig)), jsonToString({
|
|
70
70
|
indent: 2
|
|
71
71
|
})(_ref2))}\n`
|