@automattic/vip 2.34.0 → 2.35.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/CHANGELOG.md +16 -0
- package/dist/bin/vip-backup-db.js +0 -5
- package/dist/bin/vip-import-sql.js +1 -0
- package/dist/lib/cli/config.js +2 -0
- package/dist/lib/cli/progress.js +10 -13
- package/dist/lib/client-file-uploader.js +3 -3
- package/dist/lib/config/software.js +3 -2
- package/dist/lib/constants/vipgo.js +4 -2
- package/dist/lib/dev-environment/dev-environment-lando.js +4 -3
- package/dist/lib/envvar/logging.js +2 -5
- package/dist/lib/keychain.js +1 -0
- package/dist/lib/site-import/db-file-import.js +4 -5
- package/dist/lib/site-import/status.js +1 -1
- package/dist/lib/validations/is-multi-site.js +1 -1
- package/dist/lib/validations/is-multisite-domain-mapped.js +1 -1
- package/helpers/prepublishOnly.js +7 -4
- package/npm-shrinkwrap.json +1434 -1366
- package/package.json +14 -17
- package/tsconfig.json +11 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/vip",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.35.0",
|
|
4
4
|
"description": "The VIP Javascript library & CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -103,36 +103,33 @@
|
|
|
103
103
|
},
|
|
104
104
|
"homepage": "https://github.com/Automattic/vip#readme",
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@automattic/eslint-plugin-wpvip": "0.
|
|
106
|
+
"@automattic/eslint-plugin-wpvip": "0.6.0",
|
|
107
107
|
"@babel/cli": "7.22.15",
|
|
108
108
|
"@babel/core": "7.22.17",
|
|
109
|
-
"@babel/eslint-parser": "7.22.10",
|
|
110
109
|
"@babel/plugin-transform-modules-commonjs": "7.22.15",
|
|
111
110
|
"@babel/preset-env": "7.22.15",
|
|
112
111
|
"@babel/preset-flow": "7.22.15",
|
|
113
112
|
"@babel/preset-typescript": "7.22.15",
|
|
114
113
|
"@jest/globals": "^29.5.0",
|
|
115
114
|
"@jest/test-sequencer": "^29.5.0",
|
|
116
|
-
"@
|
|
117
|
-
"@types/
|
|
118
|
-
"@types/cli-table": "0.3.1",
|
|
115
|
+
"@types/args": "^5.0.1",
|
|
116
|
+
"@types/cli-table": "^0.3.2",
|
|
119
117
|
"@types/configstore": "5.0.1",
|
|
120
|
-
"@types/debug": "4.1.
|
|
118
|
+
"@types/debug": "^4.1.9",
|
|
121
119
|
"@types/dockerode": "^3.3.18",
|
|
122
120
|
"@types/ejs": "^3.1.2",
|
|
123
|
-
"@types/js-yaml": "^4.0.
|
|
124
|
-
"@types/json2csv": "5.0.
|
|
125
|
-
"@types/node-fetch": "^2.6.
|
|
121
|
+
"@types/js-yaml": "^4.0.6",
|
|
122
|
+
"@types/json2csv": "^5.0.4",
|
|
123
|
+
"@types/node-fetch": "^2.6.5",
|
|
126
124
|
"@types/proxy-from-env": "^1.0.1",
|
|
127
|
-
"@types/semver": "7.5.
|
|
125
|
+
"@types/semver": "^7.5.1",
|
|
128
126
|
"@types/shelljs": "^0.8.12",
|
|
129
127
|
"@types/single-line-log": "1.1.0",
|
|
130
128
|
"@types/update-notifier": "5.1.0",
|
|
131
|
-
"@types/uuid": "^9.0.
|
|
132
|
-
"@types/xml2js": "^0.4.
|
|
129
|
+
"@types/uuid": "^9.0.4",
|
|
130
|
+
"@types/xml2js": "^0.4.12",
|
|
133
131
|
"babel-jest": "^29.5.0",
|
|
134
132
|
"babel-plugin-module-resolver": "5.0.0",
|
|
135
|
-
"check-node-version": "^4.2.1",
|
|
136
133
|
"dockerode": "^3.3.4",
|
|
137
134
|
"eslint": "^8.35.0",
|
|
138
135
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
@@ -140,7 +137,7 @@
|
|
|
140
137
|
"jest": "^29.5.0",
|
|
141
138
|
"nock": "13.3.3",
|
|
142
139
|
"prettier": "npm:wp-prettier@2.8.5",
|
|
143
|
-
"rimraf": "5.0.
|
|
140
|
+
"rimraf": "5.0.5",
|
|
144
141
|
"typescript": "^5.1.3"
|
|
145
142
|
},
|
|
146
143
|
"dependencies": {
|
|
@@ -159,7 +156,7 @@
|
|
|
159
156
|
"enquirer": "2.4.1",
|
|
160
157
|
"fetch-retry": "^5.0.6",
|
|
161
158
|
"graphql": "15.5.1",
|
|
162
|
-
"graphql-tag": "2.12.
|
|
159
|
+
"graphql-tag": "2.12.6",
|
|
163
160
|
"https-proxy-agent": "^5.0.1",
|
|
164
161
|
"ini": "2.0.0",
|
|
165
162
|
"js-yaml": "^4.1.0",
|
|
@@ -176,7 +173,7 @@
|
|
|
176
173
|
"socket.io-stream": "npm:@wearemothership/socket.io-stream@^0.9.1",
|
|
177
174
|
"socks-proxy-agent": "^5.0.1",
|
|
178
175
|
"update-notifier": "5.1.0",
|
|
179
|
-
"uuid": "9.0.
|
|
176
|
+
"uuid": "9.0.1",
|
|
180
177
|
"xdg-basedir": "^4.0.0",
|
|
181
178
|
"xml2js": "^0.5.0"
|
|
182
179
|
},
|
package/tsconfig.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "@tsconfig/node16/tsconfig.json",
|
|
3
2
|
"compilerOptions": {
|
|
3
|
+
"lib": ["es2021"],
|
|
4
|
+
"module": "node16",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"moduleResolution": "node16",
|
|
10
|
+
|
|
4
11
|
// Target latest version of ECMAScript.
|
|
5
12
|
"target": "esnext",
|
|
6
13
|
// Don't parse types from JS as TS doesn't play well with Flow-ish JS.
|
|
@@ -16,25 +23,18 @@
|
|
|
16
23
|
"paths": {
|
|
17
24
|
"*": [
|
|
18
25
|
"./types/*",
|
|
19
|
-
"./node_modules/*"
|
|
20
|
-
"./node_modules/@types/*",
|
|
21
|
-
// needed because the noImplicitAnyImportBypass overrides the node import too
|
|
22
|
-
"./node_modules/@types/node/*",
|
|
23
|
-
"./noImplicitAnyImportBypass.d.ts"
|
|
26
|
+
"./node_modules/@types/node/*"
|
|
24
27
|
]
|
|
25
28
|
},
|
|
26
29
|
// It's worth enabling this, I promise!
|
|
27
|
-
"noImplicitAny": true
|
|
28
|
-
// We have to use this because we're using Babel
|
|
29
|
-
"moduleResolution": "node"
|
|
30
|
+
"noImplicitAny": true
|
|
30
31
|
},
|
|
31
32
|
"include": [
|
|
32
33
|
"src",
|
|
33
34
|
"helpers",
|
|
34
35
|
"config",
|
|
35
36
|
"__tests__",
|
|
36
|
-
"__fixtures__"
|
|
37
|
-
"noImplicitAnyImportBypass.d.ts"
|
|
37
|
+
"__fixtures__"
|
|
38
38
|
],
|
|
39
39
|
"exclude": [
|
|
40
40
|
"**/*.js",
|