netlify-cli 27.5.0 → 27.5.1
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/lib/build.d.ts
CHANGED
|
@@ -112,8 +112,8 @@ export declare const getRunBuildOptions: ({ cachedConfig, currentDir, defaultCon
|
|
|
112
112
|
export declare const logsAreBuffered: (logs: unknown) => logs is Logs;
|
|
113
113
|
export declare const runBuild: (options: RunBuildOptions) => Promise<{
|
|
114
114
|
exitCode: number;
|
|
115
|
-
newConfig
|
|
116
|
-
configMutations
|
|
115
|
+
newConfig?: NetlifyConfig;
|
|
116
|
+
configMutations?: Awaited<ReturnType<typeof build>>['configMutations'];
|
|
117
117
|
logs?: Logs;
|
|
118
118
|
}>;
|
|
119
119
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Buffer } from 'buffer';
|
|
2
2
|
import { basename, extname } from 'path';
|
|
3
3
|
import { version as nodeVersion } from 'process';
|
|
4
|
-
import
|
|
4
|
+
import { CronExpressionParser } from 'cron-parser';
|
|
5
5
|
import semver from 'semver';
|
|
6
6
|
import { logAndThrowError } from '../../utils/command-helpers.js';
|
|
7
7
|
import { BACKGROUND } from '../../utils/functions/get-functions.js';
|
|
@@ -11,7 +11,7 @@ const V2_MIN_NODE_VERSION = '20.12.2';
|
|
|
11
11
|
// Returns a new set with all elements of `setA` that don't exist in `setB`.
|
|
12
12
|
const difference = (setA, setB) => new Set([...setA].filter((item) => !setB.has(item)));
|
|
13
13
|
const getNextRun = function (schedule) {
|
|
14
|
-
const cron =
|
|
14
|
+
const cron = CronExpressionParser.parse(schedule, {
|
|
15
15
|
tz: 'Etc/UTC',
|
|
16
16
|
});
|
|
17
17
|
return cron.next().toDate();
|
package/dist/utils/run-build.js
CHANGED
|
@@ -101,7 +101,7 @@ export async function runNetlifyBuild({ command, env = {}, options, settings, ti
|
|
|
101
101
|
useStaticServer: true,
|
|
102
102
|
dist: undefined,
|
|
103
103
|
};
|
|
104
|
-
if (!options.dir && netlifyConfig?.build
|
|
104
|
+
if (!options.dir && netlifyConfig?.build.publish) {
|
|
105
105
|
settingsOverrides.dist = netlifyConfig.build.publish;
|
|
106
106
|
}
|
|
107
107
|
await devCommand({ netlifyConfig, settingsOverrides });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "27.5.
|
|
3
|
+
"version": "27.5.1",
|
|
4
4
|
"description": "Netlify command line tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"@netlify/ai": "^1.0.1",
|
|
57
57
|
"@netlify/api": "^15.1.2",
|
|
58
58
|
"@netlify/blobs": "^11.0.3",
|
|
59
|
-
"@netlify/build": "^36.4.
|
|
59
|
+
"@netlify/build": "^36.4.7",
|
|
60
60
|
"@netlify/build-info": "^11.3.0",
|
|
61
|
-
"@netlify/config": "^25.2.
|
|
61
|
+
"@netlify/config": "^25.2.4",
|
|
62
62
|
"@netlify/dev": "^5.0.5",
|
|
63
63
|
"@netlify/dev-utils": "^6.0.1",
|
|
64
64
|
"@netlify/edge-bundler": "^16.0.4",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"comment-json": "^5.0.0",
|
|
86
86
|
"content-type": "^1.0.5",
|
|
87
87
|
"cookie": "^2.0.0",
|
|
88
|
-
"cron-parser": "^
|
|
88
|
+
"cron-parser": "^5.0.0",
|
|
89
89
|
"debug": "^4.4.3",
|
|
90
90
|
"decache": "^4.6.2",
|
|
91
91
|
"dot-prop": "^10.1.0",
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
"parse-github-url": "^1.0.3",
|
|
136
136
|
"pg": "^8.20.0",
|
|
137
137
|
"prettyjson": "^1.2.5",
|
|
138
|
-
"raw-body": "^
|
|
138
|
+
"raw-body": "^4.0.0",
|
|
139
139
|
"read-package-up": "^12.0.0",
|
|
140
140
|
"readdirp": "^5.0.0",
|
|
141
141
|
"semver": "^7.7.2",
|
|
142
142
|
"source-map-support": "^0.5.21",
|
|
143
143
|
"terminal-link": "^5.0.0",
|
|
144
|
-
"toml": "^
|
|
144
|
+
"toml": "^4.0.0",
|
|
145
145
|
"tomlify-j0.4": "^3.0.0",
|
|
146
146
|
"ulid": "^3.0.1",
|
|
147
147
|
"update-notifier": "^7.3.1",
|
|
@@ -219,5 +219,10 @@
|
|
|
219
219
|
"engines": {
|
|
220
220
|
"node": ">=22.13.0"
|
|
221
221
|
},
|
|
222
|
-
"packageManager": "npm@
|
|
222
|
+
"packageManager": "npm@11.19.1+sha512.cedb312b1b7f92421a02cfb68b4194e88f8346651dacd6acc5364a25ef5309d4a32b19616a1ff8aff865e7280c0fa5c0835a99f5cd93368991e2a80ec9da75d2",
|
|
223
|
+
"allowScripts": {
|
|
224
|
+
"esbuild": true,
|
|
225
|
+
"sharp@0.34.5": true,
|
|
226
|
+
"unix-dgram": true
|
|
227
|
+
}
|
|
223
228
|
}
|