@vercel/static-build 27.0.0 → 28.0.0-snapshot-579f9b2619d8
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/index.js +0 -15
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -32314,19 +32314,14 @@ var require_detect_builders = __commonJS({
|
|
|
32314
32314
|
var __toCommonJS22 = (mod) => __copyProps22(__defProp22({}, "__esModule", { value: true }), mod);
|
|
32315
32315
|
var entrypoint_exports = {};
|
|
32316
32316
|
__export22(entrypoint_exports, {
|
|
32317
|
-
SCHEDULE_ENTRYPOINT_FORMS_HINT: () => SCHEDULE_ENTRYPOINT_FORMS_HINT,
|
|
32318
32317
|
isDockerfileEntrypoint: () => isDockerfileEntrypoint,
|
|
32319
32318
|
parsePyModuleAttrEntrypoint: () => parsePyModuleAttrEntrypoint2,
|
|
32320
|
-
parseScheduleEntrypoint: () => parseScheduleEntrypoint,
|
|
32321
32319
|
stripTrailingSlash: () => stripTrailingSlash
|
|
32322
32320
|
});
|
|
32323
32321
|
module22.exports = __toCommonJS22(entrypoint_exports);
|
|
32324
32322
|
var import_path22 = require("path");
|
|
32325
32323
|
var import_constants2 = require_constants3();
|
|
32326
32324
|
var PYTHON_MODULE_ATTR_RE = /^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/;
|
|
32327
|
-
var NODE_FILE_ENTRYPOINT_RE = /^(?!\/)(?!.*(?:^|\/)\.\.?(?:\/|$))(?:[\w@+.-]+\/)*[\w@+.-]+\.[cm]?[jt]s$/;
|
|
32328
|
-
var PYTHON_FILE_ENTRYPOINT_RE = /^(?!\/)(?!.*(?:^|\/)\.\.?(?:\/|$))(?:[\w@+.-]+\/)*[\w@+.-]+\.py$/;
|
|
32329
|
-
var NODE_DECLARATION_ENTRYPOINT_RE = /\.d\.[cm]?ts$/;
|
|
32330
32325
|
function parsePyModuleAttrEntrypoint2(entrypoint) {
|
|
32331
32326
|
const match = PYTHON_MODULE_ATTR_RE.exec(entrypoint);
|
|
32332
32327
|
if (!match)
|
|
@@ -32340,16 +32335,6 @@ var require_detect_builders = __commonJS({
|
|
|
32340
32335
|
moduleName: modulePart
|
|
32341
32336
|
};
|
|
32342
32337
|
}
|
|
32343
|
-
var SCHEDULE_ENTRYPOINT_FORMS_HINT = 'Use a source file path like "jobs/nightly.py" or "jobs/nightly.ts".';
|
|
32344
|
-
function parseScheduleEntrypoint(entrypoint) {
|
|
32345
|
-
if (PYTHON_FILE_ENTRYPOINT_RE.test(entrypoint)) {
|
|
32346
|
-
return { runtime: "python", filePath: entrypoint };
|
|
32347
|
-
}
|
|
32348
|
-
if (NODE_FILE_ENTRYPOINT_RE.test(entrypoint) && !NODE_DECLARATION_ENTRYPOINT_RE.test(entrypoint)) {
|
|
32349
|
-
return { runtime: "node", filePath: entrypoint };
|
|
32350
|
-
}
|
|
32351
|
-
return null;
|
|
32352
|
-
}
|
|
32353
32338
|
var CONTAINER_ENTRYPOINT_BASENAMES = new Set(
|
|
32354
32339
|
import_constants2.CONTAINER_ENTRYPOINT_CANDIDATES.map((name) => name.toLowerCase())
|
|
32355
32340
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "28.0.0-snapshot-579f9b2619d8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
|
|
18
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.2.
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.2.86-snapshot-579f9b2619d8",
|
|
19
19
|
"@vercel/static-config": "3.4.4"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@vercel/build-utils": "15.
|
|
22
|
+
"@vercel/build-utils": "15.4.0-snapshot-579f9b2619d8"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"semver": "7.5.2",
|
|
41
41
|
"tree-kill": "1.2.2",
|
|
42
42
|
"vitest": "4.1.10",
|
|
43
|
-
"@vercel/build-utils": "15.
|
|
44
|
-
"@vercel/error-utils": "2.2.1",
|
|
43
|
+
"@vercel/build-utils": "15.4.0-snapshot-579f9b2619d8",
|
|
45
44
|
"@vercel/frameworks": "3.35.0",
|
|
46
|
-
"@vercel/
|
|
45
|
+
"@vercel/error-utils": "2.2.1",
|
|
46
|
+
"@vercel/fs-detectors": "7.12.1-snapshot-579f9b2619d8",
|
|
47
47
|
"@vercel/routing-utils": "6.6.1"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|