@dword-design/base 10.0.0 → 10.0.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.
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
var _ref, _ci$bin;
|
|
2
|
-
import first from "@dword-design/functions/dist/first.js";
|
|
3
|
-
import keys from "@dword-design/functions/dist/keys.js";
|
|
4
1
|
import map from "@dword-design/functions/dist/map.js";
|
|
5
2
|
import packageName from 'depcheck-package-name';
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
const ci = _require(`${packageName`@dword-design/ci`}/package.json`);
|
|
9
|
-
const bin = (_ref = (_ci$bin = ci.bin, keys(_ci$bin)), first(_ref));
|
|
3
|
+
import parsePackagejsonName from 'parse-packagejson-name';
|
|
4
|
+
const ci = `dw-${parsePackagejsonName(packageName`@dword-design/ci`).fullName}`;
|
|
10
5
|
export default (config => {
|
|
11
|
-
var
|
|
6
|
+
var _ref;
|
|
12
7
|
return [{
|
|
13
8
|
env: {
|
|
14
9
|
GITHUB_REPOSITORY: '${{ secrets.GITHUB_REPOSITORY }}',
|
|
15
10
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
16
11
|
},
|
|
17
12
|
name: 'Push changed files',
|
|
18
|
-
run: `yarn ${
|
|
19
|
-
}, ...(
|
|
13
|
+
run: `yarn ${ci} push-changed-files`
|
|
14
|
+
}, ...(_ref = [...config.preDeploySteps, {
|
|
20
15
|
env: {
|
|
21
16
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}',
|
|
22
17
|
...(config.npmPublish ? {
|
|
@@ -29,5 +24,5 @@ export default (config => {
|
|
|
29
24
|
}], map(step => ({
|
|
30
25
|
if: "github.ref == 'refs/heads/master'",
|
|
31
26
|
...step
|
|
32
|
-
}))(
|
|
27
|
+
}))(_ref))];
|
|
33
28
|
});
|
|
@@ -20,6 +20,8 @@ yarn --frozen-lockfile",
|
|
|
20
20
|
"https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix",
|
|
21
21
|
"https://sebastianlandwehr.com/vscode-extensions/adrianwilczynski.toggle-hidden-1.0.2.vsix",
|
|
22
22
|
"octref.vetur@0.33.1",
|
|
23
|
+
"Tobermory.es6-string-html",
|
|
24
|
+
"zjcompt.es6-string-javascript",
|
|
23
25
|
],
|
|
24
26
|
},
|
|
25
27
|
}
|
|
@@ -23,7 +23,7 @@ export default function () {
|
|
|
23
23
|
`
|
|
24
24
|
}],
|
|
25
25
|
vscode: {
|
|
26
|
-
extensions: ['https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix', 'https://sebastianlandwehr.com/vscode-extensions/adrianwilczynski.toggle-hidden-1.0.2.vsix', 'octref.vetur@0.33.1']
|
|
26
|
+
extensions: ['https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix', 'https://sebastianlandwehr.com/vscode-extensions/adrianwilczynski.toggle-hidden-1.0.2.vsix', 'octref.vetur@0.33.1', 'Tobermory.es6-string-html', 'zjcompt.es6-string-javascript']
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"@commitlint/cli": "^17.4.0",
|
|
30
30
|
"@commitlint/config-conventional": "^17.4.0",
|
|
31
31
|
"@dword-design/babel-config": "^2.0.0",
|
|
32
|
-
"@dword-design/base-config-node": "^
|
|
33
|
-
"@dword-design/ci": "^
|
|
32
|
+
"@dword-design/base-config-node": "^2.0.0",
|
|
33
|
+
"@dword-design/ci": "^4.0.0",
|
|
34
34
|
"@dword-design/eslint-config": "^3.0.6",
|
|
35
35
|
"@dword-design/functions": "^4.0.0",
|
|
36
36
|
"@dword-design/jiti-babel-transform": "^1.0.7",
|
|
37
|
-
"@dword-design/personal-data": "^
|
|
37
|
+
"@dword-design/personal-data": "^2.0.3",
|
|
38
38
|
"@dword-design/pretest": "^1.0.0",
|
|
39
39
|
"@dword-design/setup-test": "^1.0.2",
|
|
40
40
|
"@dword-design/suppress-babel-register-esm-warning": "^1.1.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"depcheck-detector-package-name": "^3.0.0",
|
|
54
54
|
"depcheck-package-name": "^3.0.0",
|
|
55
55
|
"depcheck-parser-babel": "^3.0.1",
|
|
56
|
-
"eslint": "
|
|
56
|
+
"eslint": "^8.41.0",
|
|
57
57
|
"execa": "^7.0.0",
|
|
58
58
|
"find-up": "^6.3.0",
|
|
59
59
|
"fs-extra": "^11.1.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"mocha-ui-exports-auto-describe": "^2.0.0",
|
|
71
71
|
"nyc": "^15.0.0",
|
|
72
72
|
"output-files": "^2.0.0",
|
|
73
|
-
"package-name-regex": "^
|
|
73
|
+
"package-name-regex": "^3.0.0",
|
|
74
74
|
"parse-git-config": "^3.0.0",
|
|
75
75
|
"parse-packagejson-name": "^1.0.1",
|
|
76
76
|
"plugin-name-to-package-name": "npm:@dword-design/plugin-name-to-package-name",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"is-docker": "^3.0.0",
|
|
93
93
|
"node-version": "^3.0.0",
|
|
94
94
|
"p-event": "^5.0.1",
|
|
95
|
-
"rimraf": "^
|
|
96
|
-
"sharp": "^0.
|
|
95
|
+
"rimraf": "^5.0.1",
|
|
96
|
+
"sharp": "^0.32.1",
|
|
97
97
|
"unify-mocha-output": "^2.0.0"
|
|
98
98
|
},
|
|
99
99
|
"engines": {
|