netlify-cli 17.0.0 → 17.1.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/README.md +0 -14
- package/npm-shrinkwrap.json +2759 -1606
- package/package.json +5 -5
- package/src/commands/addons/addons-auth.mjs +1 -1
- package/src/commands/addons/addons-config.mjs +1 -1
- package/src/commands/addons/addons-create.mjs +1 -1
- package/src/commands/addons/addons-delete.mjs +1 -1
- package/src/commands/addons/addons-list.mjs +1 -1
- package/src/commands/addons/addons.mjs +2 -2
- package/src/lib/edge-functions/bootstrap.mjs +1 -1
- package/src/lib/functions/netlify-function.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
3
|
"description": "Netlify command line tool",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.1.0",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=18.
|
|
8
|
+
"node": ">=18.14.0"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"/bin",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@bugsnag/js": "7.20.2",
|
|
46
46
|
"@fastify/static": "6.10.2",
|
|
47
47
|
"@netlify/blobs": "^4.0.0",
|
|
48
|
-
"@netlify/build": "29.
|
|
49
|
-
"@netlify/build-info": "7.10.
|
|
48
|
+
"@netlify/build": "29.25.0",
|
|
49
|
+
"@netlify/build-info": "7.10.2",
|
|
50
50
|
"@netlify/config": "20.9.0",
|
|
51
51
|
"@netlify/edge-bundler": "9.4.1",
|
|
52
52
|
"@netlify/local-functions-proxy": "1.1.1",
|
|
53
|
-
"@netlify/zip-it-and-ship-it": "9.25.
|
|
53
|
+
"@netlify/zip-it-and-ship-it": "9.25.7",
|
|
54
54
|
"@octokit/rest": "19.0.13",
|
|
55
55
|
"ansi-escapes": "6.2.0",
|
|
56
56
|
"ansi-styles": "6.2.1",
|
|
@@ -39,7 +39,7 @@ const addonsAuth = async (addonName, options, command) => {
|
|
|
39
39
|
*/
|
|
40
40
|
export const createAddonsAuthCommand = (program) =>
|
|
41
41
|
program
|
|
42
|
-
.command('addons:auth')
|
|
42
|
+
.command('addons:auth', { hidden: true })
|
|
43
43
|
.alias('addon:auth')
|
|
44
44
|
.argument('<name>', 'Add-on slug')
|
|
45
45
|
.description('Login to add-on provider')
|
|
@@ -168,7 +168,7 @@ const addonsConfig = async (addonName, options, command) => {
|
|
|
168
168
|
*/
|
|
169
169
|
export const createAddonsConfigCommand = (program) =>
|
|
170
170
|
program
|
|
171
|
-
.command('addons:config')
|
|
171
|
+
.command('addons:config', { hidden: true })
|
|
172
172
|
.alias('addon:config')
|
|
173
173
|
.argument('<name>', 'Add-on namespace')
|
|
174
174
|
.description('Configure add-on settings')
|
|
@@ -116,7 +116,7 @@ const addonsCreate = async (addonName, options, command) => {
|
|
|
116
116
|
*/
|
|
117
117
|
export const createAddonsCreateCommand = (program) =>
|
|
118
118
|
program
|
|
119
|
-
.command('addons:create')
|
|
119
|
+
.command('addons:create', { hidden: true })
|
|
120
120
|
.alias('addon:create')
|
|
121
121
|
.argument('<name>', 'Add-on namespace')
|
|
122
122
|
.description(
|
|
@@ -48,7 +48,7 @@ const addonsDelete = async (addonName, options, command) => {
|
|
|
48
48
|
*/
|
|
49
49
|
export const createAddonsDeleteCommand = (program) =>
|
|
50
50
|
program
|
|
51
|
-
.command('addons:delete')
|
|
51
|
+
.command('addons:delete', { hidden: true })
|
|
52
52
|
.alias('addon:delete')
|
|
53
53
|
.argument('<name>', 'Add-on namespace')
|
|
54
54
|
.description(
|
|
@@ -50,7 +50,7 @@ const addonsList = async (options, command) => {
|
|
|
50
50
|
*/
|
|
51
51
|
export const createAddonsListCommand = (program) =>
|
|
52
52
|
program
|
|
53
|
-
.command('addons:list')
|
|
53
|
+
.command('addons:list', { hidden: true })
|
|
54
54
|
.alias('addon:list')
|
|
55
55
|
.description(`List currently installed add-ons for site`)
|
|
56
56
|
.option('--json', 'Output add-on data as JSON')
|
|
@@ -27,9 +27,9 @@ export const createAddonsCommand = (program) => {
|
|
|
27
27
|
createAddonsListCommand(program)
|
|
28
28
|
|
|
29
29
|
return program
|
|
30
|
-
.command('addons')
|
|
30
|
+
.command('addons', { hidden: true })
|
|
31
31
|
.alias('addon')
|
|
32
|
-
.description('
|
|
32
|
+
.description('[Deprecated and will be removed from future versions] Manage Netlify Add-ons')
|
|
33
33
|
.addExamples([
|
|
34
34
|
'netlify addons:create addon-xyz',
|
|
35
35
|
'netlify addons:list',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { env } from 'process'
|
|
2
2
|
|
|
3
|
-
const latestBootstrapURL = 'https://
|
|
3
|
+
const latestBootstrapURL = 'https://65437779a0c9990008b54abe--edge.netlify.com/bootstrap/index-combined.ts'
|
|
4
4
|
|
|
5
5
|
export const getBootstrapURL = () => env.NETLIFY_EDGE_BOOTSTRAP || latestBootstrapURL
|
|
@@ -10,7 +10,7 @@ import { error as errorExit } from '../../utils/command-helpers.mjs'
|
|
|
10
10
|
import { BACKGROUND } from '../../utils/functions/get-functions.mjs'
|
|
11
11
|
|
|
12
12
|
const TYPESCRIPT_EXTENSIONS = new Set(['.cts', '.mts', '.ts'])
|
|
13
|
-
const V2_MIN_NODE_VERSION = '18.
|
|
13
|
+
const V2_MIN_NODE_VERSION = '18.14.0'
|
|
14
14
|
|
|
15
15
|
// Returns a new set with all elements of `setA` that don't exist in `setB`.
|
|
16
16
|
const difference = (setA, setB) => new Set([...setA].filter((item) => !setB.has(item)))
|