netlify-cli 12.12.1 → 12.13.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/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.13.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "12.
|
|
9
|
+
"version": "12.13.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@netlify/edge-bundler": "^8.6.0",
|
|
17
17
|
"@netlify/framework-info": "^9.8.1",
|
|
18
18
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
19
|
-
"@netlify/zip-it-and-ship-it": "^8.
|
|
19
|
+
"@netlify/zip-it-and-ship-it": "^8.7.0",
|
|
20
20
|
"@octokit/rest": "^19.0.0",
|
|
21
21
|
"ansi-escapes": "^5.0.0",
|
|
22
22
|
"ansi-styles": "^5.0.0",
|
|
@@ -5050,9 +5050,9 @@
|
|
|
5050
5050
|
}
|
|
5051
5051
|
},
|
|
5052
5052
|
"node_modules/@netlify/zip-it-and-ship-it": {
|
|
5053
|
-
"version": "8.
|
|
5054
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-8.
|
|
5055
|
-
"integrity": "sha512-
|
|
5053
|
+
"version": "8.7.0",
|
|
5054
|
+
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-8.7.0.tgz",
|
|
5055
|
+
"integrity": "sha512-YPcftbNoWohCp84mwngFUdJfDV2LguOgq9yZhs3fjVw8KJmngYH9V4xpedygbXRtlQuFjHjnnau+UwxQRYDCNg==",
|
|
5056
5056
|
"dependencies": {
|
|
5057
5057
|
"@babel/parser": "7.16.8",
|
|
5058
5058
|
"@netlify/binary-info": "^1.0.0",
|
|
@@ -27536,9 +27536,9 @@
|
|
|
27536
27536
|
}
|
|
27537
27537
|
},
|
|
27538
27538
|
"@netlify/zip-it-and-ship-it": {
|
|
27539
|
-
"version": "8.
|
|
27540
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-8.
|
|
27541
|
-
"integrity": "sha512-
|
|
27539
|
+
"version": "8.7.0",
|
|
27540
|
+
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-8.7.0.tgz",
|
|
27541
|
+
"integrity": "sha512-YPcftbNoWohCp84mwngFUdJfDV2LguOgq9yZhs3fjVw8KJmngYH9V4xpedygbXRtlQuFjHjnnau+UwxQRYDCNg==",
|
|
27542
27542
|
"requires": {
|
|
27543
27543
|
"@babel/parser": "7.16.8",
|
|
27544
27544
|
"@netlify/binary-info": "^1.0.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
3
|
"description": "Netlify command line tool",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.13.0",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@netlify/edge-bundler": "^8.6.0",
|
|
82
82
|
"@netlify/framework-info": "^9.8.1",
|
|
83
83
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
84
|
-
"@netlify/zip-it-and-ship-it": "^8.
|
|
84
|
+
"@netlify/zip-it-and-ship-it": "^8.7.0",
|
|
85
85
|
"@octokit/rest": "^19.0.0",
|
|
86
86
|
"ansi-escapes": "^5.0.0",
|
|
87
87
|
"ansi-styles": "^5.0.0",
|
|
@@ -108,7 +108,7 @@ const hashFns = async (
|
|
|
108
108
|
statusCb,
|
|
109
109
|
tmpDir,
|
|
110
110
|
})
|
|
111
|
-
const fileObjs = functionZips.map(({ displayName, path: functionPath, runtime }) => ({
|
|
111
|
+
const fileObjs = functionZips.map(({ displayName, generator, path: functionPath, runtime }) => ({
|
|
112
112
|
filepath: functionPath,
|
|
113
113
|
root: tmpDir,
|
|
114
114
|
relname: path.relative(tmpDir, functionPath),
|
|
@@ -119,10 +119,14 @@ const hashFns = async (
|
|
|
119
119
|
normalizedPath: path.basename(functionPath, path.extname(functionPath)),
|
|
120
120
|
runtime,
|
|
121
121
|
displayName,
|
|
122
|
+
generator,
|
|
122
123
|
}))
|
|
123
124
|
const fnConfig = functionZips
|
|
124
|
-
.filter((func) => Boolean(func.displayName))
|
|
125
|
-
.reduce(
|
|
125
|
+
.filter((func) => Boolean(func.displayName || func.generator))
|
|
126
|
+
.reduce(
|
|
127
|
+
(funcs, curr) => ({ ...funcs, [curr.name]: { display_name: curr.displayName, generator: curr.generator } }),
|
|
128
|
+
{},
|
|
129
|
+
)
|
|
126
130
|
const functionSchedules = functionZips
|
|
127
131
|
.map(({ name, schedule }) => schedule && { name, cron: schedule })
|
|
128
132
|
.filter(Boolean)
|