@dword-design/base 11.1.0 → 11.1.2
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-github-codespaces/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/get-github-codespaces/index.js +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 +5 -5
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`index valid 1`] = `
|
|
4
4
|
Object {
|
|
5
|
+
".babelrc.json": true,
|
|
5
6
|
".commitlintrc.json": true,
|
|
6
7
|
".cz.json": true,
|
|
7
8
|
".devcontainer": true,
|
|
@@ -23,7 +24,6 @@ Object {
|
|
|
23
24
|
"CHANGELOG.md": true,
|
|
24
25
|
"LICENSE.md": true,
|
|
25
26
|
"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
|
+
".babelrc.json",
|
|
6
6
|
".commitlintrc.json",
|
|
7
7
|
".cz.json",
|
|
8
8
|
".editorconfig",
|
|
@@ -28,6 +28,7 @@ Array [
|
|
|
28
28
|
|
|
29
29
|
exports[`index works 1`] = `
|
|
30
30
|
Array [
|
|
31
|
+
".babelrc.json",
|
|
31
32
|
".commitlintrc.json",
|
|
32
33
|
".cz.json",
|
|
33
34
|
".devcontainer/devcontainer.json",
|
|
@@ -49,7 +50,6 @@ Array [
|
|
|
49
50
|
".vscode/settings.json",
|
|
50
51
|
"LICENSE.md",
|
|
51
52
|
"README.md",
|
|
52
|
-
"babel.config.json",
|
|
53
53
|
"package.json",
|
|
54
54
|
]
|
|
55
55
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['
|
|
1
|
+
export default ['.babelrc.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,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`index valid 1`] = `
|
|
4
4
|
Array [
|
|
5
|
+
".babelrc.json",
|
|
5
6
|
".commitlintrc.json",
|
|
6
7
|
".cz.json",
|
|
7
8
|
".devcontainer",
|
|
@@ -19,7 +20,6 @@ Array [
|
|
|
19
20
|
".vscode",
|
|
20
21
|
"CHANGELOG.md",
|
|
21
22
|
"LICENSE.md",
|
|
22
|
-
"babel.config.json",
|
|
23
23
|
"coverage",
|
|
24
24
|
"foo",
|
|
25
25
|
"node_modules",
|
|
@@ -5,7 +5,7 @@ Object {
|
|
|
5
5
|
"features": Object {
|
|
6
6
|
"ghcr.io/devcontainers/features/docker-in-docker:2": Object {},
|
|
7
7
|
},
|
|
8
|
-
"image": "mcr.microsoft.com/devcontainers/javascript-node:
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18",
|
|
9
9
|
"updateContentCommand": "yarn --frozen-lockfile",
|
|
10
10
|
}
|
|
11
11
|
`;
|
|
@@ -3,7 +3,7 @@ export default function () {
|
|
|
3
3
|
features: {
|
|
4
4
|
'ghcr.io/devcontainers/features/docker-in-docker:2': {}
|
|
5
5
|
},
|
|
6
|
-
image: `mcr.microsoft.com/devcontainers/javascript-node:
|
|
6
|
+
image: `mcr.microsoft.com/devcontainers/javascript-node:1-${this.config.nodeVersion}`,
|
|
7
7
|
updateContentCommand: 'yarn --frozen-lockfile'
|
|
8
8
|
};
|
|
9
9
|
}
|
|
@@ -5,6 +5,7 @@ Object {
|
|
|
5
5
|
"editor.tabSize": 2,
|
|
6
6
|
"files.autoSave": "off",
|
|
7
7
|
"files.exclude": Object {
|
|
8
|
+
".babelrc.json": true,
|
|
8
9
|
".commitlintrc.json": true,
|
|
9
10
|
".cz.json": true,
|
|
10
11
|
".devcontainer": true,
|
|
@@ -22,7 +23,6 @@ Object {
|
|
|
22
23
|
".vscode": true,
|
|
23
24
|
"CHANGELOG.md": true,
|
|
24
25
|
"LICENSE.md": true,
|
|
25
|
-
"babel.config.json": true,
|
|
26
26
|
"bar": true,
|
|
27
27
|
"coverage": true,
|
|
28
28
|
"foo": true,
|
|
@@ -13,9 +13,12 @@ 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 _commitlintConfig, _commitizenConfig, _this$getGithubCodesp, _this$getEslintConfig, _githubFunding, _sortKeys, _sortKeys2, _sortKeys3, _sortKeys4, _sortKeys5, _ref, _this$getGitignoreCon, _this$getGitpodConfig, _this$getReleaseConfi, _sortKeys6, _this$getVscodeConfig,
|
|
16
|
+
var _babelConfig, _commitlintConfig, _commitizenConfig, _this$getGithubCodesp, _this$getEslintConfig, _githubFunding, _sortKeys, _sortKeys2, _sortKeys3, _sortKeys4, _sortKeys5, _ref, _this$getGitignoreCon, _this$getGitpodConfig, _this$getReleaseConfi, _sortKeys6, _this$getVscodeConfig, _ref2, _packageConfig;
|
|
17
17
|
const packageConfig = this.getPackageConfig();
|
|
18
18
|
return {
|
|
19
|
+
'.babelrc.json': `${(_babelConfig = babelConfig, jsonToString({
|
|
20
|
+
indent: 2
|
|
21
|
+
})(_babelConfig))}\n`,
|
|
19
22
|
'.commitlintrc.json': `${(_commitlintConfig = commitlintConfig, jsonToString({
|
|
20
23
|
indent: 2
|
|
21
24
|
})(_commitlintConfig))}\n`,
|
|
@@ -63,9 +66,6 @@ export default function () {
|
|
|
63
66
|
})(_this$getVscodeConfig))}\n`,
|
|
64
67
|
'LICENSE.md': this.getLicenseString(),
|
|
65
68
|
'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`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.2",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"deepmerge": "^4.2.2",
|
|
51
51
|
"depcheck": "npm:@dword-design/depcheck",
|
|
52
52
|
"depcheck-detector-bin-name": "^1.0.0",
|
|
53
|
-
"depcheck-detector-execa": "^
|
|
53
|
+
"depcheck-detector-execa": "^4.0.0",
|
|
54
54
|
"depcheck-detector-package-name": "^3.0.0",
|
|
55
55
|
"depcheck-package-name": "^3.0.0",
|
|
56
56
|
"depcheck-parser-babel": "^3.0.1",
|
|
57
57
|
"eslint": "^8.41.0",
|
|
58
|
-
"execa": "^
|
|
58
|
+
"execa": "^9.3.1",
|
|
59
59
|
"find-up": "^7.0.0",
|
|
60
60
|
"fs-extra": "^11.1.0",
|
|
61
61
|
"get-projectz-readme-section-regex": "^3.0.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"ignore": "^5.1.4",
|
|
66
66
|
"is-ci": "^3.0.0",
|
|
67
67
|
"jiti": "^1.16.0",
|
|
68
|
-
"make-cli": "^
|
|
68
|
+
"make-cli": "^4.0.0",
|
|
69
69
|
"mocha": "^10.2.0",
|
|
70
70
|
"mocha-spec-reporter-with-file-names": "npm:@dword-design/mocha-spec-reporter-with-file-names",
|
|
71
71
|
"mocha-ui-exports-auto-describe": "^3.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"sort-package-json": "^2.1.0",
|
|
82
82
|
"spdx-expression-parse": "^4.0.0",
|
|
83
83
|
"spdx-license-list": "^6.1.0",
|
|
84
|
-
"suppress-experimental-warnings": "^
|
|
84
|
+
"suppress-experimental-warnings": "^2.0.0",
|
|
85
85
|
"tagged-template-noop": "^2.1.1",
|
|
86
86
|
"yaml": "^2.2.1"
|
|
87
87
|
},
|