netlify-cli 8.2.0 → 8.2.4
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/npm-shrinkwrap.json +382 -679
- package/package.json +5 -5
- package/src/functions-templates/javascript/stripe-charge/package-lock.json +12 -12
- package/src/functions-templates/javascript/stripe-subscription/package-lock.json +12 -12
- package/src/functions-templates/javascript/token-hider/package-lock.json +6 -6
- package/src/functions-templates/typescript/hello-world/package-lock.json +1 -1
- package/src/lib/build.js +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
3
|
"description": "Netlify command line tool",
|
|
4
|
-
"version": "8.2.
|
|
4
|
+
"version": "8.2.4",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tools,scripts,site,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!CHANGELOG.md\" \"!npm-shrinkwrap.json\" \"!.github/**/*.md\""
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@netlify/build": "^
|
|
82
|
-
"@netlify/config": "^17.0.
|
|
81
|
+
"@netlify/build": "^26.0.0",
|
|
82
|
+
"@netlify/config": "^17.0.1",
|
|
83
83
|
"@netlify/framework-info": "^7.0.0",
|
|
84
84
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
85
85
|
"@netlify/plugin-edge-handlers": "^3.0.0",
|
|
86
86
|
"@netlify/plugins-list": "^6.2.0",
|
|
87
87
|
"@netlify/routing-local-proxy": "^0.34.1",
|
|
88
|
-
"@netlify/zip-it-and-ship-it": "5.
|
|
88
|
+
"@netlify/zip-it-and-ship-it": "5.3.0",
|
|
89
89
|
"@octokit/rest": "^18.0.0",
|
|
90
90
|
"@sindresorhus/slugify": "^1.1.0",
|
|
91
91
|
"ansi-styles": "^5.0.0",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"@babel/preset-react": "^7.12.13",
|
|
192
192
|
"@commitlint/cli": "^15.0.0",
|
|
193
193
|
"@commitlint/config-conventional": "^15.0.0",
|
|
194
|
-
"@netlify/eslint-config-node": "^4.0.
|
|
194
|
+
"@netlify/eslint-config-node": "^4.0.2",
|
|
195
195
|
"ava": "^3.15.0",
|
|
196
196
|
"eslint-plugin-local-rules": "file:tools/eslint-rules",
|
|
197
197
|
"eslint-plugin-sort-destructure-keys": "^1.3.5",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"node_modules/@types/node": {
|
|
16
|
-
"version": "17.0.
|
|
17
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.
|
|
18
|
-
"integrity": "sha512-
|
|
16
|
+
"version": "17.0.1",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.1.tgz",
|
|
18
|
+
"integrity": "sha512-NXKvBVUzIbs6ylBwmOwHFkZS2EXCcjnqr8ZCRNaXBkHAf+3mn/rPcJxwrzuc6movh8fxQAsUUfYklJ/EG+hZqQ=="
|
|
19
19
|
},
|
|
20
20
|
"node_modules/call-bind": {
|
|
21
21
|
"version": "1.0.2",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"node_modules/object-inspect": {
|
|
73
|
-
"version": "1.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "1.12.0",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
75
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==",
|
|
76
76
|
"funding": {
|
|
77
77
|
"url": "https://github.com/sponsors/ljharb"
|
|
78
78
|
}
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
121
|
"@types/node": {
|
|
122
|
-
"version": "17.0.
|
|
123
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.
|
|
124
|
-
"integrity": "sha512-
|
|
122
|
+
"version": "17.0.1",
|
|
123
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.1.tgz",
|
|
124
|
+
"integrity": "sha512-NXKvBVUzIbs6ylBwmOwHFkZS2EXCcjnqr8ZCRNaXBkHAf+3mn/rPcJxwrzuc6movh8fxQAsUUfYklJ/EG+hZqQ=="
|
|
125
125
|
},
|
|
126
126
|
"call-bind": {
|
|
127
127
|
"version": "1.0.2",
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
|
|
162
162
|
},
|
|
163
163
|
"object-inspect": {
|
|
164
|
-
"version": "1.
|
|
165
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
166
|
-
"integrity": "sha512-
|
|
164
|
+
"version": "1.12.0",
|
|
165
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
166
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g=="
|
|
167
167
|
},
|
|
168
168
|
"qs": {
|
|
169
169
|
"version": "6.10.2",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"node_modules/@types/node": {
|
|
16
|
-
"version": "17.0.
|
|
17
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.
|
|
18
|
-
"integrity": "sha512-
|
|
16
|
+
"version": "17.0.1",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.1.tgz",
|
|
18
|
+
"integrity": "sha512-NXKvBVUzIbs6ylBwmOwHFkZS2EXCcjnqr8ZCRNaXBkHAf+3mn/rPcJxwrzuc6movh8fxQAsUUfYklJ/EG+hZqQ=="
|
|
19
19
|
},
|
|
20
20
|
"node_modules/call-bind": {
|
|
21
21
|
"version": "1.0.2",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"node_modules/object-inspect": {
|
|
73
|
-
"version": "1.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "1.12.0",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
75
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==",
|
|
76
76
|
"funding": {
|
|
77
77
|
"url": "https://github.com/sponsors/ljharb"
|
|
78
78
|
}
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
121
|
"@types/node": {
|
|
122
|
-
"version": "17.0.
|
|
123
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.
|
|
124
|
-
"integrity": "sha512-
|
|
122
|
+
"version": "17.0.1",
|
|
123
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.1.tgz",
|
|
124
|
+
"integrity": "sha512-NXKvBVUzIbs6ylBwmOwHFkZS2EXCcjnqr8ZCRNaXBkHAf+3mn/rPcJxwrzuc6movh8fxQAsUUfYklJ/EG+hZqQ=="
|
|
125
125
|
},
|
|
126
126
|
"call-bind": {
|
|
127
127
|
"version": "1.0.2",
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
|
|
162
162
|
},
|
|
163
163
|
"object-inspect": {
|
|
164
|
-
"version": "1.
|
|
165
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
166
|
-
"integrity": "sha512-
|
|
164
|
+
"version": "1.12.0",
|
|
165
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
166
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g=="
|
|
167
167
|
},
|
|
168
168
|
"qs": {
|
|
169
169
|
"version": "6.10.2",
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"node_modules/object-inspect": {
|
|
96
|
-
"version": "1.
|
|
97
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
98
|
-
"integrity": "sha512-
|
|
96
|
+
"version": "1.12.0",
|
|
97
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
98
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==",
|
|
99
99
|
"funding": {
|
|
100
100
|
"url": "https://github.com/sponsors/ljharb"
|
|
101
101
|
}
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
|
|
181
181
|
},
|
|
182
182
|
"object-inspect": {
|
|
183
|
-
"version": "1.
|
|
184
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
185
|
-
"integrity": "sha512-
|
|
183
|
+
"version": "1.12.0",
|
|
184
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
|
|
185
|
+
"integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g=="
|
|
186
186
|
},
|
|
187
187
|
"qs": {
|
|
188
188
|
"version": "6.10.2",
|
package/src/lib/build.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-check
|
|
2
|
-
const
|
|
2
|
+
const netlifyBuildPromise = import('@netlify/build')
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The buildConfig + a missing cachedConfig
|
|
@@ -39,6 +39,7 @@ const getBuildOptions = ({ cachedConfig, options: { debug, dry, json, offline, s
|
|
|
39
39
|
* @returns
|
|
40
40
|
*/
|
|
41
41
|
const runBuild = async (options) => {
|
|
42
|
+
const { default: build } = await netlifyBuildPromise
|
|
42
43
|
const { configMutations, netlifyConfig: newConfig, severityCode: exitCode } = await build(options)
|
|
43
44
|
return { exitCode, newConfig, configMutations }
|
|
44
45
|
}
|