@dword-design/base-config-app 2.0.17 → 3.0.0
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/index.js +4 -4
- package/package.json +13 -12
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import baseConfigNuxt from '@dword-design/base-config-nuxt';
|
|
2
2
|
import packageName from 'depcheck-package-name';
|
|
3
|
-
import
|
|
3
|
+
import { execaCommand } from 'execa';
|
|
4
4
|
import loadPkg from 'load-pkg';
|
|
5
5
|
import outputFiles from 'output-files';
|
|
6
6
|
import yaml from 'yaml';
|
|
@@ -44,18 +44,18 @@ export default {
|
|
|
44
44
|
...baseConfigNuxt.commands,
|
|
45
45
|
pull: {
|
|
46
46
|
arguments: '<endpoint>',
|
|
47
|
-
handler: endpoint =>
|
|
47
|
+
handler: endpoint => execaCommand(`ceiling pull ${endpoint}`, {
|
|
48
48
|
stdio: 'inherit'
|
|
49
49
|
})
|
|
50
50
|
},
|
|
51
51
|
push: {
|
|
52
52
|
arguments: '<endpoint>',
|
|
53
|
-
handler: endpoint =>
|
|
53
|
+
handler: endpoint => execaCommand(`ceiling push ${endpoint}`, {
|
|
54
54
|
stdio: 'inherit'
|
|
55
55
|
})
|
|
56
56
|
},
|
|
57
57
|
setupDeploy: {
|
|
58
|
-
handler: () =>
|
|
58
|
+
handler: () => execaCommand('pm2 deploy production setup', {
|
|
59
59
|
stdio: 'inherit'
|
|
60
60
|
})
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base-config-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"repository": "dword-design/base-config-app",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"checkUnknownFiles": "base checkUnknownFiles",
|
|
16
16
|
"commit": "base commit",
|
|
17
|
+
"depcheck": "base depcheck",
|
|
17
18
|
"dev": "base dev",
|
|
18
19
|
"lint": "base lint",
|
|
19
20
|
"prepare": "base prepare",
|
|
@@ -21,32 +22,32 @@
|
|
|
21
22
|
"test": "base test"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@dword-design/base-config-nuxt": "^
|
|
25
|
+
"@dword-design/base-config-nuxt": "^4.0.0",
|
|
25
26
|
"@dword-design/functions": "^4.0.0",
|
|
26
27
|
"@semantic-release/exec": "^5.0.0",
|
|
27
28
|
"ceiling": "^3.0.0",
|
|
28
|
-
"depcheck-package-name": "^
|
|
29
|
-
"execa": "^
|
|
30
|
-
"fs-extra": "^
|
|
31
|
-
"hosted-git-info": "^
|
|
29
|
+
"depcheck-package-name": "^3.0.0",
|
|
30
|
+
"execa": "^7.1.1",
|
|
31
|
+
"fs-extra": "^11.1.1",
|
|
32
|
+
"hosted-git-info": "^6.1.1",
|
|
32
33
|
"load-pkg": "^4.0.0",
|
|
33
34
|
"output-files": "^2.0.0",
|
|
34
35
|
"parse-git-config": "^3.0.0",
|
|
35
36
|
"parse-packagejson-name": "^1.0.1",
|
|
36
|
-
"pm2": "^
|
|
37
|
-
"yaml": "^
|
|
37
|
+
"pm2": "^5.3.0",
|
|
38
|
+
"yaml": "^2.2.2"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
|
-
"@dword-design/base": "^
|
|
41
|
-
"@dword-design/puppeteer": "^
|
|
41
|
+
"@dword-design/base": "^10.0.1",
|
|
42
|
+
"@dword-design/puppeteer": "^6.0.10",
|
|
42
43
|
"@dword-design/tester": "^2.0.9",
|
|
43
44
|
"@dword-design/tester-plugin-puppeteer": "^2.1.19",
|
|
44
45
|
"@dword-design/tester-plugin-tmp-dir": "^2.1.3",
|
|
45
46
|
"port-ready": "^0.1.0",
|
|
46
|
-
"tree-kill-promise": "^
|
|
47
|
+
"tree-kill-promise": "^3.0.14"
|
|
47
48
|
},
|
|
48
49
|
"engines": {
|
|
49
|
-
"node": ">=
|
|
50
|
+
"node": ">=16"
|
|
50
51
|
},
|
|
51
52
|
"publishConfig": {
|
|
52
53
|
"access": "public"
|