@cloudflare/autoconfig 0.2.9 → 0.4.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/dist/index.d.ts +43 -15
- package/dist/index.js +795 -521
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
17
17
|
import os from 'node:os';
|
|
18
18
|
import tty from 'node:tty';
|
|
19
19
|
import { maybeAppendWranglerToGitIgnore, maybeAppendWranglerToGitIgnoreLikeFile } from '@cloudflare/cli-shared-helpers/gitignore';
|
|
20
|
+
import { InputWorkerSchema, convertToWranglerConfig } from '@cloudflare/config';
|
|
20
21
|
|
|
21
22
|
// ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
22
23
|
var tslib_es6_exports = {};
|
|
@@ -31243,9 +31244,9 @@ var require_typescript2 = __commonJS({
|
|
|
31243
31244
|
}
|
|
31244
31245
|
});
|
|
31245
31246
|
|
|
31246
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31247
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js
|
|
31247
31248
|
var require_constants = __commonJS({
|
|
31248
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31249
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js"(exports$1, module) {
|
|
31249
31250
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
31250
31251
|
var MAX_LENGTH = 256;
|
|
31251
31252
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
@@ -31274,18 +31275,18 @@ var require_constants = __commonJS({
|
|
|
31274
31275
|
}
|
|
31275
31276
|
});
|
|
31276
31277
|
|
|
31277
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31278
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/debug.js
|
|
31278
31279
|
var require_debug = __commonJS({
|
|
31279
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31280
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/debug.js"(exports$1, module) {
|
|
31280
31281
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
31281
31282
|
};
|
|
31282
31283
|
module.exports = debug;
|
|
31283
31284
|
}
|
|
31284
31285
|
});
|
|
31285
31286
|
|
|
31286
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31287
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/re.js
|
|
31287
31288
|
var require_re = __commonJS({
|
|
31288
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31289
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/re.js"(exports$1, module) {
|
|
31289
31290
|
var {
|
|
31290
31291
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
31291
31292
|
MAX_SAFE_BUILD_LENGTH,
|
|
@@ -31370,9 +31371,9 @@ var require_re = __commonJS({
|
|
|
31370
31371
|
}
|
|
31371
31372
|
});
|
|
31372
31373
|
|
|
31373
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31374
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/parse-options.js
|
|
31374
31375
|
var require_parse_options = __commonJS({
|
|
31375
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31376
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/parse-options.js"(exports$1, module) {
|
|
31376
31377
|
var looseOption = Object.freeze({ loose: true });
|
|
31377
31378
|
var emptyOpts = Object.freeze({});
|
|
31378
31379
|
var parseOptions = /* @__PURE__ */ __name((options) => {
|
|
@@ -31388,9 +31389,9 @@ var require_parse_options = __commonJS({
|
|
|
31388
31389
|
}
|
|
31389
31390
|
});
|
|
31390
31391
|
|
|
31391
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31392
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/identifiers.js
|
|
31392
31393
|
var require_identifiers = __commonJS({
|
|
31393
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31394
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/identifiers.js"(exports$1, module) {
|
|
31394
31395
|
var numeric2 = /^[0-9]+$/;
|
|
31395
31396
|
var compareIdentifiers = /* @__PURE__ */ __name((a, b5) => {
|
|
31396
31397
|
if (typeof a === "number" && typeof b5 === "number") {
|
|
@@ -31412,14 +31413,26 @@ var require_identifiers = __commonJS({
|
|
|
31412
31413
|
}
|
|
31413
31414
|
});
|
|
31414
31415
|
|
|
31415
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31416
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/semver.js
|
|
31416
31417
|
var require_semver = __commonJS({
|
|
31417
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31418
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/semver.js"(exports$1, module) {
|
|
31418
31419
|
var debug = require_debug();
|
|
31419
31420
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
31420
31421
|
var { safeRe: re, t: t4 } = require_re();
|
|
31421
31422
|
var parseOptions = require_parse_options();
|
|
31422
31423
|
var { compareIdentifiers } = require_identifiers();
|
|
31424
|
+
var isPrereleaseIdentifier = /* @__PURE__ */ __name((prerelease, identifier) => {
|
|
31425
|
+
const identifiers = identifier.split(".");
|
|
31426
|
+
if (identifiers.length > prerelease.length) {
|
|
31427
|
+
return false;
|
|
31428
|
+
}
|
|
31429
|
+
for (let i = 0; i < identifiers.length; i++) {
|
|
31430
|
+
if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
|
|
31431
|
+
return false;
|
|
31432
|
+
}
|
|
31433
|
+
}
|
|
31434
|
+
return true;
|
|
31435
|
+
}, "isPrereleaseIdentifier");
|
|
31423
31436
|
var SemVer = class _SemVer {
|
|
31424
31437
|
static {
|
|
31425
31438
|
__name(this, "SemVer");
|
|
@@ -31669,8 +31682,9 @@ var require_semver = __commonJS({
|
|
|
31669
31682
|
if (identifierBase === false) {
|
|
31670
31683
|
prerelease = [identifier];
|
|
31671
31684
|
}
|
|
31672
|
-
if (
|
|
31673
|
-
|
|
31685
|
+
if (isPrereleaseIdentifier(this.prerelease, identifier)) {
|
|
31686
|
+
const prereleaseBase = this.prerelease[identifier.split(".").length];
|
|
31687
|
+
if (isNaN(prereleaseBase)) {
|
|
31674
31688
|
this.prerelease = prerelease;
|
|
31675
31689
|
}
|
|
31676
31690
|
} else {
|
|
@@ -31693,9 +31707,9 @@ var require_semver = __commonJS({
|
|
|
31693
31707
|
}
|
|
31694
31708
|
});
|
|
31695
31709
|
|
|
31696
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31710
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/parse.js
|
|
31697
31711
|
var require_parse = __commonJS({
|
|
31698
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31712
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/parse.js"(exports$1, module) {
|
|
31699
31713
|
var SemVer = require_semver();
|
|
31700
31714
|
var parse7 = /* @__PURE__ */ __name((version, options, throwErrors = false) => {
|
|
31701
31715
|
if (version instanceof SemVer) {
|
|
@@ -31714,9 +31728,9 @@ var require_parse = __commonJS({
|
|
|
31714
31728
|
}
|
|
31715
31729
|
});
|
|
31716
31730
|
|
|
31717
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31731
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/valid.js
|
|
31718
31732
|
var require_valid = __commonJS({
|
|
31719
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31733
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/valid.js"(exports$1, module) {
|
|
31720
31734
|
var parse7 = require_parse();
|
|
31721
31735
|
var valid = /* @__PURE__ */ __name((version, options) => {
|
|
31722
31736
|
const v = parse7(version, options);
|
|
@@ -31726,9 +31740,9 @@ var require_valid = __commonJS({
|
|
|
31726
31740
|
}
|
|
31727
31741
|
});
|
|
31728
31742
|
|
|
31729
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31743
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/clean.js
|
|
31730
31744
|
var require_clean = __commonJS({
|
|
31731
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31745
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/clean.js"(exports$1, module) {
|
|
31732
31746
|
var parse7 = require_parse();
|
|
31733
31747
|
var clean = /* @__PURE__ */ __name((version, options) => {
|
|
31734
31748
|
const s = parse7(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -31738,9 +31752,9 @@ var require_clean = __commonJS({
|
|
|
31738
31752
|
}
|
|
31739
31753
|
});
|
|
31740
31754
|
|
|
31741
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31755
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/inc.js
|
|
31742
31756
|
var require_inc = __commonJS({
|
|
31743
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31757
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/inc.js"(exports$1, module) {
|
|
31744
31758
|
var SemVer = require_semver();
|
|
31745
31759
|
var inc = /* @__PURE__ */ __name((version, release, options, identifier, identifierBase) => {
|
|
31746
31760
|
if (typeof options === "string") {
|
|
@@ -31761,9 +31775,9 @@ var require_inc = __commonJS({
|
|
|
31761
31775
|
}
|
|
31762
31776
|
});
|
|
31763
31777
|
|
|
31764
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31778
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/diff.js
|
|
31765
31779
|
var require_diff = __commonJS({
|
|
31766
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31780
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/diff.js"(exports$1, module) {
|
|
31767
31781
|
var parse7 = require_parse();
|
|
31768
31782
|
var diff = /* @__PURE__ */ __name((version1, version2) => {
|
|
31769
31783
|
const v1 = parse7(version1, null, true);
|
|
@@ -31804,36 +31818,36 @@ var require_diff = __commonJS({
|
|
|
31804
31818
|
}
|
|
31805
31819
|
});
|
|
31806
31820
|
|
|
31807
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31821
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/major.js
|
|
31808
31822
|
var require_major = __commonJS({
|
|
31809
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31823
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/major.js"(exports$1, module) {
|
|
31810
31824
|
var SemVer = require_semver();
|
|
31811
31825
|
var major = /* @__PURE__ */ __name((a, loose) => new SemVer(a, loose).major, "major");
|
|
31812
31826
|
module.exports = major;
|
|
31813
31827
|
}
|
|
31814
31828
|
});
|
|
31815
31829
|
|
|
31816
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31830
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/minor.js
|
|
31817
31831
|
var require_minor = __commonJS({
|
|
31818
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31832
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/minor.js"(exports$1, module) {
|
|
31819
31833
|
var SemVer = require_semver();
|
|
31820
31834
|
var minor = /* @__PURE__ */ __name((a, loose) => new SemVer(a, loose).minor, "minor");
|
|
31821
31835
|
module.exports = minor;
|
|
31822
31836
|
}
|
|
31823
31837
|
});
|
|
31824
31838
|
|
|
31825
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31839
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/patch.js
|
|
31826
31840
|
var require_patch = __commonJS({
|
|
31827
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31841
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/patch.js"(exports$1, module) {
|
|
31828
31842
|
var SemVer = require_semver();
|
|
31829
31843
|
var patch = /* @__PURE__ */ __name((a, loose) => new SemVer(a, loose).patch, "patch");
|
|
31830
31844
|
module.exports = patch;
|
|
31831
31845
|
}
|
|
31832
31846
|
});
|
|
31833
31847
|
|
|
31834
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31848
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/prerelease.js
|
|
31835
31849
|
var require_prerelease = __commonJS({
|
|
31836
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31850
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/prerelease.js"(exports$1, module) {
|
|
31837
31851
|
var parse7 = require_parse();
|
|
31838
31852
|
var prerelease = /* @__PURE__ */ __name((version, options) => {
|
|
31839
31853
|
const parsed = parse7(version, options);
|
|
@@ -31843,36 +31857,36 @@ var require_prerelease = __commonJS({
|
|
|
31843
31857
|
}
|
|
31844
31858
|
});
|
|
31845
31859
|
|
|
31846
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31860
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare.js
|
|
31847
31861
|
var require_compare = __commonJS({
|
|
31848
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31862
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare.js"(exports$1, module) {
|
|
31849
31863
|
var SemVer = require_semver();
|
|
31850
31864
|
var compare = /* @__PURE__ */ __name((a, b5, loose) => new SemVer(a, loose).compare(new SemVer(b5, loose)), "compare");
|
|
31851
31865
|
module.exports = compare;
|
|
31852
31866
|
}
|
|
31853
31867
|
});
|
|
31854
31868
|
|
|
31855
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31869
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/rcompare.js
|
|
31856
31870
|
var require_rcompare = __commonJS({
|
|
31857
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31871
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/rcompare.js"(exports$1, module) {
|
|
31858
31872
|
var compare = require_compare();
|
|
31859
31873
|
var rcompare = /* @__PURE__ */ __name((a, b5, loose) => compare(b5, a, loose), "rcompare");
|
|
31860
31874
|
module.exports = rcompare;
|
|
31861
31875
|
}
|
|
31862
31876
|
});
|
|
31863
31877
|
|
|
31864
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31878
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare-loose.js
|
|
31865
31879
|
var require_compare_loose = __commonJS({
|
|
31866
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31880
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare-loose.js"(exports$1, module) {
|
|
31867
31881
|
var compare = require_compare();
|
|
31868
31882
|
var compareLoose = /* @__PURE__ */ __name((a, b5) => compare(a, b5, true), "compareLoose");
|
|
31869
31883
|
module.exports = compareLoose;
|
|
31870
31884
|
}
|
|
31871
31885
|
});
|
|
31872
31886
|
|
|
31873
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31887
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare-build.js
|
|
31874
31888
|
var require_compare_build = __commonJS({
|
|
31875
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31889
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare-build.js"(exports$1, module) {
|
|
31876
31890
|
var SemVer = require_semver();
|
|
31877
31891
|
var compareBuild = /* @__PURE__ */ __name((a, b5, loose) => {
|
|
31878
31892
|
const versionA = new SemVer(a, loose);
|
|
@@ -31883,81 +31897,81 @@ var require_compare_build = __commonJS({
|
|
|
31883
31897
|
}
|
|
31884
31898
|
});
|
|
31885
31899
|
|
|
31886
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31900
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/sort.js
|
|
31887
31901
|
var require_sort = __commonJS({
|
|
31888
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31902
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/sort.js"(exports$1, module) {
|
|
31889
31903
|
var compareBuild = require_compare_build();
|
|
31890
31904
|
var sort = /* @__PURE__ */ __name((list, loose) => list.sort((a, b5) => compareBuild(a, b5, loose)), "sort");
|
|
31891
31905
|
module.exports = sort;
|
|
31892
31906
|
}
|
|
31893
31907
|
});
|
|
31894
31908
|
|
|
31895
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31909
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/rsort.js
|
|
31896
31910
|
var require_rsort = __commonJS({
|
|
31897
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31911
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/rsort.js"(exports$1, module) {
|
|
31898
31912
|
var compareBuild = require_compare_build();
|
|
31899
31913
|
var rsort = /* @__PURE__ */ __name((list, loose) => list.sort((a, b5) => compareBuild(b5, a, loose)), "rsort");
|
|
31900
31914
|
module.exports = rsort;
|
|
31901
31915
|
}
|
|
31902
31916
|
});
|
|
31903
31917
|
|
|
31904
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31918
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/gt.js
|
|
31905
31919
|
var require_gt = __commonJS({
|
|
31906
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31920
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/gt.js"(exports$1, module) {
|
|
31907
31921
|
var compare = require_compare();
|
|
31908
31922
|
var gt = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) > 0, "gt");
|
|
31909
31923
|
module.exports = gt;
|
|
31910
31924
|
}
|
|
31911
31925
|
});
|
|
31912
31926
|
|
|
31913
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31927
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/lt.js
|
|
31914
31928
|
var require_lt = __commonJS({
|
|
31915
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31929
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/lt.js"(exports$1, module) {
|
|
31916
31930
|
var compare = require_compare();
|
|
31917
31931
|
var lt4 = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) < 0, "lt");
|
|
31918
31932
|
module.exports = lt4;
|
|
31919
31933
|
}
|
|
31920
31934
|
});
|
|
31921
31935
|
|
|
31922
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31936
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/eq.js
|
|
31923
31937
|
var require_eq = __commonJS({
|
|
31924
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31938
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/eq.js"(exports$1, module) {
|
|
31925
31939
|
var compare = require_compare();
|
|
31926
31940
|
var eq = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) === 0, "eq");
|
|
31927
31941
|
module.exports = eq;
|
|
31928
31942
|
}
|
|
31929
31943
|
});
|
|
31930
31944
|
|
|
31931
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31945
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/neq.js
|
|
31932
31946
|
var require_neq = __commonJS({
|
|
31933
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31947
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/neq.js"(exports$1, module) {
|
|
31934
31948
|
var compare = require_compare();
|
|
31935
31949
|
var neq = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) !== 0, "neq");
|
|
31936
31950
|
module.exports = neq;
|
|
31937
31951
|
}
|
|
31938
31952
|
});
|
|
31939
31953
|
|
|
31940
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31954
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/gte.js
|
|
31941
31955
|
var require_gte = __commonJS({
|
|
31942
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31956
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/gte.js"(exports$1, module) {
|
|
31943
31957
|
var compare = require_compare();
|
|
31944
31958
|
var gte5 = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) >= 0, "gte");
|
|
31945
31959
|
module.exports = gte5;
|
|
31946
31960
|
}
|
|
31947
31961
|
});
|
|
31948
31962
|
|
|
31949
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31963
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/lte.js
|
|
31950
31964
|
var require_lte = __commonJS({
|
|
31951
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31965
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/lte.js"(exports$1, module) {
|
|
31952
31966
|
var compare = require_compare();
|
|
31953
31967
|
var lte2 = /* @__PURE__ */ __name((a, b5, loose) => compare(a, b5, loose) <= 0, "lte");
|
|
31954
31968
|
module.exports = lte2;
|
|
31955
31969
|
}
|
|
31956
31970
|
});
|
|
31957
31971
|
|
|
31958
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
31972
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/cmp.js
|
|
31959
31973
|
var require_cmp = __commonJS({
|
|
31960
|
-
"../../node_modules/.pnpm/semver@7.
|
|
31974
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/cmp.js"(exports$1, module) {
|
|
31961
31975
|
var eq = require_eq();
|
|
31962
31976
|
var neq = require_neq();
|
|
31963
31977
|
var gt = require_gt();
|
|
@@ -32004,9 +32018,9 @@ var require_cmp = __commonJS({
|
|
|
32004
32018
|
}
|
|
32005
32019
|
});
|
|
32006
32020
|
|
|
32007
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32021
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/coerce.js
|
|
32008
32022
|
var require_coerce = __commonJS({
|
|
32009
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32023
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/coerce.js"(exports$1, module) {
|
|
32010
32024
|
var SemVer = require_semver();
|
|
32011
32025
|
var parse7 = require_parse();
|
|
32012
32026
|
var { safeRe: re, t: t4 } = require_re();
|
|
@@ -32049,9 +32063,49 @@ var require_coerce = __commonJS({
|
|
|
32049
32063
|
}
|
|
32050
32064
|
});
|
|
32051
32065
|
|
|
32052
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32066
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/truncate.js
|
|
32067
|
+
var require_truncate = __commonJS({
|
|
32068
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/truncate.js"(exports$1, module) {
|
|
32069
|
+
var parse7 = require_parse();
|
|
32070
|
+
var constants = require_constants();
|
|
32071
|
+
var SemVer = require_semver();
|
|
32072
|
+
var truncate = /* @__PURE__ */ __name((version, truncation, options) => {
|
|
32073
|
+
if (!constants.RELEASE_TYPES.includes(truncation)) {
|
|
32074
|
+
return null;
|
|
32075
|
+
}
|
|
32076
|
+
const clonedVersion = cloneInputVersion(version, options);
|
|
32077
|
+
return clonedVersion && doTruncation(clonedVersion, truncation);
|
|
32078
|
+
}, "truncate");
|
|
32079
|
+
var cloneInputVersion = /* @__PURE__ */ __name((version, options) => {
|
|
32080
|
+
const versionStringToParse = version instanceof SemVer ? version.version : version;
|
|
32081
|
+
return parse7(versionStringToParse, options);
|
|
32082
|
+
}, "cloneInputVersion");
|
|
32083
|
+
var doTruncation = /* @__PURE__ */ __name((version, truncation) => {
|
|
32084
|
+
if (isPrerelease(truncation)) {
|
|
32085
|
+
return version.version;
|
|
32086
|
+
}
|
|
32087
|
+
version.prerelease = [];
|
|
32088
|
+
switch (truncation) {
|
|
32089
|
+
case "major":
|
|
32090
|
+
version.minor = 0;
|
|
32091
|
+
version.patch = 0;
|
|
32092
|
+
break;
|
|
32093
|
+
case "minor":
|
|
32094
|
+
version.patch = 0;
|
|
32095
|
+
break;
|
|
32096
|
+
}
|
|
32097
|
+
return version.format();
|
|
32098
|
+
}, "doTruncation");
|
|
32099
|
+
var isPrerelease = /* @__PURE__ */ __name((type) => {
|
|
32100
|
+
return type.startsWith("pre");
|
|
32101
|
+
}, "isPrerelease");
|
|
32102
|
+
module.exports = truncate;
|
|
32103
|
+
}
|
|
32104
|
+
});
|
|
32105
|
+
|
|
32106
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/lrucache.js
|
|
32053
32107
|
var require_lrucache = __commonJS({
|
|
32054
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32108
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/lrucache.js"(exports$1, module) {
|
|
32055
32109
|
var LRUCache = class {
|
|
32056
32110
|
static {
|
|
32057
32111
|
__name(this, "LRUCache");
|
|
@@ -32089,9 +32143,9 @@ var require_lrucache = __commonJS({
|
|
|
32089
32143
|
}
|
|
32090
32144
|
});
|
|
32091
32145
|
|
|
32092
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32146
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/range.js
|
|
32093
32147
|
var require_range = __commonJS({
|
|
32094
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32148
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/range.js"(exports$1, module) {
|
|
32095
32149
|
var SPACE_CHARACTERS = /\s+/g;
|
|
32096
32150
|
var Range = class _Range {
|
|
32097
32151
|
static {
|
|
@@ -32161,6 +32215,7 @@ var require_range = __commonJS({
|
|
|
32161
32215
|
return this.range;
|
|
32162
32216
|
}
|
|
32163
32217
|
parseRange(range2) {
|
|
32218
|
+
range2 = range2.replace(BUILDSTRIPRE, "");
|
|
32164
32219
|
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
32165
32220
|
const memoKey = memoOpts + ":" + range2;
|
|
32166
32221
|
const cached = cache.get(memoKey);
|
|
@@ -32243,12 +32298,14 @@ var require_range = __commonJS({
|
|
|
32243
32298
|
var SemVer = require_semver();
|
|
32244
32299
|
var {
|
|
32245
32300
|
safeRe: re,
|
|
32301
|
+
src,
|
|
32246
32302
|
t: t4,
|
|
32247
32303
|
comparatorTrimReplace,
|
|
32248
32304
|
tildeTrimReplace,
|
|
32249
32305
|
caretTrimReplace
|
|
32250
32306
|
} = require_re();
|
|
32251
32307
|
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
|
|
32308
|
+
var BUILDSTRIPRE = new RegExp(src[t4.BUILD], "g");
|
|
32252
32309
|
var isNullSet = /* @__PURE__ */ __name((c) => c.value === "<0.0.0-0", "isNullSet");
|
|
32253
32310
|
var isAny = /* @__PURE__ */ __name((c) => c.value === "", "isAny");
|
|
32254
32311
|
var isSatisfiable = /* @__PURE__ */ __name((comparators, options) => {
|
|
@@ -32277,20 +32334,22 @@ var require_range = __commonJS({
|
|
|
32277
32334
|
return comp;
|
|
32278
32335
|
}, "parseComparator");
|
|
32279
32336
|
var isX = /* @__PURE__ */ __name((id) => !id || id.toLowerCase() === "x" || id === "*", "isX");
|
|
32337
|
+
var invalidXRangeOrder = /* @__PURE__ */ __name((M, m, p) => isX(M) && !isX(m) || isX(m) && p && !isX(p), "invalidXRangeOrder");
|
|
32280
32338
|
var replaceTildes = /* @__PURE__ */ __name((comp, options) => {
|
|
32281
32339
|
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
32282
32340
|
}, "replaceTildes");
|
|
32283
32341
|
var replaceTilde = /* @__PURE__ */ __name((comp, options) => {
|
|
32284
32342
|
const r = options.loose ? re[t4.TILDELOOSE] : re[t4.TILDE];
|
|
32343
|
+
const z = options.includePrerelease ? "-0" : "";
|
|
32285
32344
|
return comp.replace(r, (_, M, m, p, pr) => {
|
|
32286
32345
|
debug("tilde", comp, _, M, m, p, pr);
|
|
32287
32346
|
let ret;
|
|
32288
32347
|
if (isX(M)) {
|
|
32289
32348
|
ret = "";
|
|
32290
32349
|
} else if (isX(m)) {
|
|
32291
|
-
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
32350
|
+
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
32292
32351
|
} else if (isX(p)) {
|
|
32293
|
-
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
32352
|
+
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
|
|
32294
32353
|
} else if (pr) {
|
|
32295
32354
|
debug("replaceTilde pr", pr);
|
|
32296
32355
|
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
@@ -32336,9 +32395,9 @@ var require_range = __commonJS({
|
|
|
32336
32395
|
debug("no pr");
|
|
32337
32396
|
if (M === "0") {
|
|
32338
32397
|
if (m === "0") {
|
|
32339
|
-
ret = `>=${M}.${m}.${p}
|
|
32398
|
+
ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
|
|
32340
32399
|
} else {
|
|
32341
|
-
ret = `>=${M}.${m}.${p}
|
|
32400
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
32342
32401
|
}
|
|
32343
32402
|
} else {
|
|
32344
32403
|
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
@@ -32357,6 +32416,9 @@ var require_range = __commonJS({
|
|
|
32357
32416
|
const r = options.loose ? re[t4.XRANGELOOSE] : re[t4.XRANGE];
|
|
32358
32417
|
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
32359
32418
|
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
32419
|
+
if (invalidXRangeOrder(M, m, p)) {
|
|
32420
|
+
return comp;
|
|
32421
|
+
}
|
|
32360
32422
|
const xM = isX(M);
|
|
32361
32423
|
const xm = xM || isX(m);
|
|
32362
32424
|
const xp = xm || isX(p);
|
|
@@ -32468,9 +32530,9 @@ var require_range = __commonJS({
|
|
|
32468
32530
|
}
|
|
32469
32531
|
});
|
|
32470
32532
|
|
|
32471
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32533
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/comparator.js
|
|
32472
32534
|
var require_comparator = __commonJS({
|
|
32473
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32535
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/comparator.js"(exports$1, module) {
|
|
32474
32536
|
var ANY = Symbol("SemVer ANY");
|
|
32475
32537
|
var Comparator = class _Comparator {
|
|
32476
32538
|
static {
|
|
@@ -32583,9 +32645,9 @@ var require_comparator = __commonJS({
|
|
|
32583
32645
|
}
|
|
32584
32646
|
});
|
|
32585
32647
|
|
|
32586
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32648
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/satisfies.js
|
|
32587
32649
|
var require_satisfies = __commonJS({
|
|
32588
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32650
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/satisfies.js"(exports$1, module) {
|
|
32589
32651
|
var Range = require_range();
|
|
32590
32652
|
var satisfies = /* @__PURE__ */ __name((version, range2, options) => {
|
|
32591
32653
|
try {
|
|
@@ -32599,18 +32661,18 @@ var require_satisfies = __commonJS({
|
|
|
32599
32661
|
}
|
|
32600
32662
|
});
|
|
32601
32663
|
|
|
32602
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32664
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/to-comparators.js
|
|
32603
32665
|
var require_to_comparators = __commonJS({
|
|
32604
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32666
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/to-comparators.js"(exports$1, module) {
|
|
32605
32667
|
var Range = require_range();
|
|
32606
32668
|
var toComparators = /* @__PURE__ */ __name((range2, options) => new Range(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" ")), "toComparators");
|
|
32607
32669
|
module.exports = toComparators;
|
|
32608
32670
|
}
|
|
32609
32671
|
});
|
|
32610
32672
|
|
|
32611
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32673
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/max-satisfying.js
|
|
32612
32674
|
var require_max_satisfying = __commonJS({
|
|
32613
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32675
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/max-satisfying.js"(exports$1, module) {
|
|
32614
32676
|
var SemVer = require_semver();
|
|
32615
32677
|
var Range = require_range();
|
|
32616
32678
|
var maxSatisfying = /* @__PURE__ */ __name((versions, range2, options) => {
|
|
@@ -32636,9 +32698,9 @@ var require_max_satisfying = __commonJS({
|
|
|
32636
32698
|
}
|
|
32637
32699
|
});
|
|
32638
32700
|
|
|
32639
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32701
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/min-satisfying.js
|
|
32640
32702
|
var require_min_satisfying = __commonJS({
|
|
32641
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32703
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/min-satisfying.js"(exports$1, module) {
|
|
32642
32704
|
var SemVer = require_semver();
|
|
32643
32705
|
var Range = require_range();
|
|
32644
32706
|
var minSatisfying = /* @__PURE__ */ __name((versions, range2, options) => {
|
|
@@ -32664,9 +32726,9 @@ var require_min_satisfying = __commonJS({
|
|
|
32664
32726
|
}
|
|
32665
32727
|
});
|
|
32666
32728
|
|
|
32667
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32729
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/min-version.js
|
|
32668
32730
|
var require_min_version = __commonJS({
|
|
32669
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32731
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/min-version.js"(exports$1, module) {
|
|
32670
32732
|
var SemVer = require_semver();
|
|
32671
32733
|
var Range = require_range();
|
|
32672
32734
|
var gt = require_gt();
|
|
@@ -32722,9 +32784,9 @@ var require_min_version = __commonJS({
|
|
|
32722
32784
|
}
|
|
32723
32785
|
});
|
|
32724
32786
|
|
|
32725
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32787
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/valid.js
|
|
32726
32788
|
var require_valid2 = __commonJS({
|
|
32727
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32789
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/valid.js"(exports$1, module) {
|
|
32728
32790
|
var Range = require_range();
|
|
32729
32791
|
var validRange = /* @__PURE__ */ __name((range2, options) => {
|
|
32730
32792
|
try {
|
|
@@ -32737,9 +32799,9 @@ var require_valid2 = __commonJS({
|
|
|
32737
32799
|
}
|
|
32738
32800
|
});
|
|
32739
32801
|
|
|
32740
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32802
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/outside.js
|
|
32741
32803
|
var require_outside = __commonJS({
|
|
32742
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32804
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/outside.js"(exports$1, module) {
|
|
32743
32805
|
var SemVer = require_semver();
|
|
32744
32806
|
var Comparator = require_comparator();
|
|
32745
32807
|
var { ANY } = Comparator;
|
|
@@ -32805,27 +32867,27 @@ var require_outside = __commonJS({
|
|
|
32805
32867
|
}
|
|
32806
32868
|
});
|
|
32807
32869
|
|
|
32808
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32870
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/gtr.js
|
|
32809
32871
|
var require_gtr = __commonJS({
|
|
32810
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32872
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/gtr.js"(exports$1, module) {
|
|
32811
32873
|
var outside = require_outside();
|
|
32812
32874
|
var gtr = /* @__PURE__ */ __name((version, range2, options) => outside(version, range2, ">", options), "gtr");
|
|
32813
32875
|
module.exports = gtr;
|
|
32814
32876
|
}
|
|
32815
32877
|
});
|
|
32816
32878
|
|
|
32817
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32879
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/ltr.js
|
|
32818
32880
|
var require_ltr = __commonJS({
|
|
32819
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32881
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/ltr.js"(exports$1, module) {
|
|
32820
32882
|
var outside = require_outside();
|
|
32821
32883
|
var ltr = /* @__PURE__ */ __name((version, range2, options) => outside(version, range2, "<", options), "ltr");
|
|
32822
32884
|
module.exports = ltr;
|
|
32823
32885
|
}
|
|
32824
32886
|
});
|
|
32825
32887
|
|
|
32826
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32888
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/intersects.js
|
|
32827
32889
|
var require_intersects = __commonJS({
|
|
32828
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32890
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/intersects.js"(exports$1, module) {
|
|
32829
32891
|
var Range = require_range();
|
|
32830
32892
|
var intersects = /* @__PURE__ */ __name((r1, r2, options) => {
|
|
32831
32893
|
r1 = new Range(r1, options);
|
|
@@ -32836,9 +32898,9 @@ var require_intersects = __commonJS({
|
|
|
32836
32898
|
}
|
|
32837
32899
|
});
|
|
32838
32900
|
|
|
32839
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32901
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/simplify.js
|
|
32840
32902
|
var require_simplify = __commonJS({
|
|
32841
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32903
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/simplify.js"(exports$1, module) {
|
|
32842
32904
|
var satisfies = require_satisfies();
|
|
32843
32905
|
var compare = require_compare();
|
|
32844
32906
|
module.exports = (versions, range2, options) => {
|
|
@@ -32885,9 +32947,9 @@ var require_simplify = __commonJS({
|
|
|
32885
32947
|
}
|
|
32886
32948
|
});
|
|
32887
32949
|
|
|
32888
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
32950
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/subset.js
|
|
32889
32951
|
var require_subset = __commonJS({
|
|
32890
|
-
"../../node_modules/.pnpm/semver@7.
|
|
32952
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/ranges/subset.js"(exports$1, module) {
|
|
32891
32953
|
var Range = require_range();
|
|
32892
32954
|
var Comparator = require_comparator();
|
|
32893
32955
|
var { ANY } = Comparator;
|
|
@@ -32994,7 +33056,7 @@ var require_subset = __commonJS({
|
|
|
32994
33056
|
if (higher === c && higher !== gt) {
|
|
32995
33057
|
return false;
|
|
32996
33058
|
}
|
|
32997
|
-
} else if (gt.operator === ">=" && !
|
|
33059
|
+
} else if (gt.operator === ">=" && !c.test(gt.semver)) {
|
|
32998
33060
|
return false;
|
|
32999
33061
|
}
|
|
33000
33062
|
}
|
|
@@ -33009,7 +33071,7 @@ var require_subset = __commonJS({
|
|
|
33009
33071
|
if (lower === c && lower !== lt4) {
|
|
33010
33072
|
return false;
|
|
33011
33073
|
}
|
|
33012
|
-
} else if (lt4.operator === "<=" && !
|
|
33074
|
+
} else if (lt4.operator === "<=" && !c.test(lt4.semver)) {
|
|
33013
33075
|
return false;
|
|
33014
33076
|
}
|
|
33015
33077
|
}
|
|
@@ -33046,9 +33108,9 @@ var require_subset = __commonJS({
|
|
|
33046
33108
|
}
|
|
33047
33109
|
});
|
|
33048
33110
|
|
|
33049
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
33111
|
+
// ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/index.js
|
|
33050
33112
|
var require_semver2 = __commonJS({
|
|
33051
|
-
"../../node_modules/.pnpm/semver@7.
|
|
33113
|
+
"../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/index.js"(exports$1, module) {
|
|
33052
33114
|
var internalRe = require_re();
|
|
33053
33115
|
var constants = require_constants();
|
|
33054
33116
|
var SemVer = require_semver();
|
|
@@ -33076,6 +33138,7 @@ var require_semver2 = __commonJS({
|
|
|
33076
33138
|
var lte2 = require_lte();
|
|
33077
33139
|
var cmp = require_cmp();
|
|
33078
33140
|
var coerce3 = require_coerce();
|
|
33141
|
+
var truncate = require_truncate();
|
|
33079
33142
|
var Comparator = require_comparator();
|
|
33080
33143
|
var Range = require_range();
|
|
33081
33144
|
var satisfies = require_satisfies();
|
|
@@ -33114,6 +33177,7 @@ var require_semver2 = __commonJS({
|
|
|
33114
33177
|
lte: lte2,
|
|
33115
33178
|
cmp,
|
|
33116
33179
|
coerce: coerce3,
|
|
33180
|
+
truncate,
|
|
33117
33181
|
Comparator,
|
|
33118
33182
|
Range,
|
|
33119
33183
|
satisfies,
|
|
@@ -33140,9 +33204,9 @@ var require_semver2 = __commonJS({
|
|
|
33140
33204
|
}
|
|
33141
33205
|
});
|
|
33142
33206
|
|
|
33143
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33207
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
|
|
33144
33208
|
var require_identity = __commonJS({
|
|
33145
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33209
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"(exports$1) {
|
|
33146
33210
|
var ALIAS = Symbol.for("yaml.alias");
|
|
33147
33211
|
var DOC = Symbol.for("yaml.document");
|
|
33148
33212
|
var MAP = Symbol.for("yaml.map");
|
|
@@ -33198,9 +33262,9 @@ var require_identity = __commonJS({
|
|
|
33198
33262
|
}
|
|
33199
33263
|
});
|
|
33200
33264
|
|
|
33201
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33265
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js
|
|
33202
33266
|
var require_visit = __commonJS({
|
|
33203
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33267
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"(exports$1) {
|
|
33204
33268
|
var identity = require_identity();
|
|
33205
33269
|
var BREAK = Symbol("break visit");
|
|
33206
33270
|
var SKIP = Symbol("skip children");
|
|
@@ -33362,9 +33426,9 @@ var require_visit = __commonJS({
|
|
|
33362
33426
|
}
|
|
33363
33427
|
});
|
|
33364
33428
|
|
|
33365
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33429
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
|
|
33366
33430
|
var require_directives = __commonJS({
|
|
33367
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33431
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"(exports$1) {
|
|
33368
33432
|
var identity = require_identity();
|
|
33369
33433
|
var visit3 = require_visit();
|
|
33370
33434
|
var escapeChars = {
|
|
@@ -33535,9 +33599,9 @@ var require_directives = __commonJS({
|
|
|
33535
33599
|
}
|
|
33536
33600
|
});
|
|
33537
33601
|
|
|
33538
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33602
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
|
|
33539
33603
|
var require_anchors = __commonJS({
|
|
33540
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33604
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"(exports$1) {
|
|
33541
33605
|
var identity = require_identity();
|
|
33542
33606
|
var visit3 = require_visit();
|
|
33543
33607
|
function anchorIsValid(anchor) {
|
|
@@ -33608,9 +33672,9 @@ var require_anchors = __commonJS({
|
|
|
33608
33672
|
}
|
|
33609
33673
|
});
|
|
33610
33674
|
|
|
33611
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33675
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
|
|
33612
33676
|
var require_applyReviver = __commonJS({
|
|
33613
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33677
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"(exports$1) {
|
|
33614
33678
|
function applyReviver(reviver, obj, key, val) {
|
|
33615
33679
|
if (val && typeof val === "object") {
|
|
33616
33680
|
if (Array.isArray(val)) {
|
|
@@ -33658,9 +33722,9 @@ var require_applyReviver = __commonJS({
|
|
|
33658
33722
|
}
|
|
33659
33723
|
});
|
|
33660
33724
|
|
|
33661
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33725
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
|
|
33662
33726
|
var require_toJS = __commonJS({
|
|
33663
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33727
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"(exports$1) {
|
|
33664
33728
|
var identity = require_identity();
|
|
33665
33729
|
function toJS(value, arg, ctx) {
|
|
33666
33730
|
if (Array.isArray(value))
|
|
@@ -33688,9 +33752,9 @@ var require_toJS = __commonJS({
|
|
|
33688
33752
|
}
|
|
33689
33753
|
});
|
|
33690
33754
|
|
|
33691
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33755
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
|
|
33692
33756
|
var require_Node = __commonJS({
|
|
33693
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33757
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"(exports$1) {
|
|
33694
33758
|
var applyReviver = require_applyReviver();
|
|
33695
33759
|
var identity = require_identity();
|
|
33696
33760
|
var toJS = require_toJS();
|
|
@@ -33731,9 +33795,9 @@ var require_Node = __commonJS({
|
|
|
33731
33795
|
}
|
|
33732
33796
|
});
|
|
33733
33797
|
|
|
33734
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33798
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
|
|
33735
33799
|
var require_Alias = __commonJS({
|
|
33736
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33800
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"(exports$1) {
|
|
33737
33801
|
var anchors = require_anchors();
|
|
33738
33802
|
var visit3 = require_visit();
|
|
33739
33803
|
var identity = require_identity();
|
|
@@ -33757,6 +33821,8 @@ var require_Alias = __commonJS({
|
|
|
33757
33821
|
* instance of the `source` anchor before this node.
|
|
33758
33822
|
*/
|
|
33759
33823
|
resolve(doc, ctx) {
|
|
33824
|
+
if (ctx?.maxAliasCount === 0)
|
|
33825
|
+
throw new ReferenceError("Alias resolution is disabled");
|
|
33760
33826
|
let nodes;
|
|
33761
33827
|
if (ctx?.aliasResolveCache) {
|
|
33762
33828
|
nodes = ctx.aliasResolveCache;
|
|
@@ -33794,7 +33860,7 @@ var require_Alias = __commonJS({
|
|
|
33794
33860
|
toJS.toJS(source, null, ctx);
|
|
33795
33861
|
data = anchors2.get(source);
|
|
33796
33862
|
}
|
|
33797
|
-
if (
|
|
33863
|
+
if (data?.res === void 0) {
|
|
33798
33864
|
const msg = "This should not happen: Alias anchor was not resolved?";
|
|
33799
33865
|
throw new ReferenceError(msg);
|
|
33800
33866
|
}
|
|
@@ -33848,9 +33914,9 @@ var require_Alias = __commonJS({
|
|
|
33848
33914
|
}
|
|
33849
33915
|
});
|
|
33850
33916
|
|
|
33851
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33917
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
|
|
33852
33918
|
var require_Scalar = __commonJS({
|
|
33853
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33919
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"(exports$1) {
|
|
33854
33920
|
var identity = require_identity();
|
|
33855
33921
|
var Node3 = require_Node();
|
|
33856
33922
|
var toJS = require_toJS();
|
|
@@ -33880,9 +33946,9 @@ var require_Scalar = __commonJS({
|
|
|
33880
33946
|
}
|
|
33881
33947
|
});
|
|
33882
33948
|
|
|
33883
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
33949
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
|
|
33884
33950
|
var require_createNode = __commonJS({
|
|
33885
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
33951
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"(exports$1) {
|
|
33886
33952
|
var Alias = require_Alias();
|
|
33887
33953
|
var identity = require_identity();
|
|
33888
33954
|
var Scalar = require_Scalar();
|
|
@@ -33956,9 +34022,9 @@ var require_createNode = __commonJS({
|
|
|
33956
34022
|
}
|
|
33957
34023
|
});
|
|
33958
34024
|
|
|
33959
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34025
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
|
|
33960
34026
|
var require_Collection = __commonJS({
|
|
33961
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34027
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"(exports$1) {
|
|
33962
34028
|
var createNode = require_createNode();
|
|
33963
34029
|
var identity = require_identity();
|
|
33964
34030
|
var Node3 = require_Node();
|
|
@@ -34102,9 +34168,9 @@ var require_Collection = __commonJS({
|
|
|
34102
34168
|
}
|
|
34103
34169
|
});
|
|
34104
34170
|
|
|
34105
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34171
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
34106
34172
|
var require_stringifyComment = __commonJS({
|
|
34107
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34173
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js"(exports$1) {
|
|
34108
34174
|
var stringifyComment = /* @__PURE__ */ __name((str) => str.replace(/^(?!$)(?: $)?/gm, "#"), "stringifyComment");
|
|
34109
34175
|
function indentComment(comment, indent) {
|
|
34110
34176
|
if (/^\n+$/.test(comment))
|
|
@@ -34119,9 +34185,9 @@ var require_stringifyComment = __commonJS({
|
|
|
34119
34185
|
}
|
|
34120
34186
|
});
|
|
34121
34187
|
|
|
34122
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34188
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
34123
34189
|
var require_foldFlowLines = __commonJS({
|
|
34124
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34190
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports$1) {
|
|
34125
34191
|
var FOLD_FLOW = "flow";
|
|
34126
34192
|
var FOLD_BLOCK = "block";
|
|
34127
34193
|
var FOLD_QUOTED = "quoted";
|
|
@@ -34256,9 +34322,9 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
34256
34322
|
}
|
|
34257
34323
|
});
|
|
34258
34324
|
|
|
34259
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34325
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
|
|
34260
34326
|
var require_stringifyString = __commonJS({
|
|
34261
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34327
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js"(exports$1) {
|
|
34262
34328
|
var Scalar = require_Scalar();
|
|
34263
34329
|
var foldFlowLines = require_foldFlowLines();
|
|
34264
34330
|
var getFoldOptions = /* @__PURE__ */ __name((ctx, isBlock) => ({
|
|
@@ -34545,9 +34611,9 @@ ${indent}`);
|
|
|
34545
34611
|
}
|
|
34546
34612
|
});
|
|
34547
34613
|
|
|
34548
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34614
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
|
|
34549
34615
|
var require_stringify = __commonJS({
|
|
34550
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34616
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"(exports$1) {
|
|
34551
34617
|
var anchors = require_anchors();
|
|
34552
34618
|
var identity = require_identity();
|
|
34553
34619
|
var stringifyComment = require_stringifyComment();
|
|
@@ -34569,6 +34635,7 @@ var require_stringify = __commonJS({
|
|
|
34569
34635
|
nullStr: "null",
|
|
34570
34636
|
simpleKeys: false,
|
|
34571
34637
|
singleQuote: null,
|
|
34638
|
+
trailingComma: false,
|
|
34572
34639
|
trueStr: "true",
|
|
34573
34640
|
verifyAliasOrder: true
|
|
34574
34641
|
}, doc.schema.toStringOptions, options);
|
|
@@ -34671,9 +34738,9 @@ ${ctx.indent}${str}`;
|
|
|
34671
34738
|
}
|
|
34672
34739
|
});
|
|
34673
34740
|
|
|
34674
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34741
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
34675
34742
|
var require_stringifyPair = __commonJS({
|
|
34676
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34743
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"(exports$1) {
|
|
34677
34744
|
var identity = require_identity();
|
|
34678
34745
|
var Scalar = require_Scalar();
|
|
34679
34746
|
var stringify = require_stringify();
|
|
@@ -34760,7 +34827,7 @@ ${indent}:`;
|
|
|
34760
34827
|
${stringifyComment.indentComment(cs, ctx.indent)}`;
|
|
34761
34828
|
}
|
|
34762
34829
|
if (valueStr === "" && !ctx.inFlow) {
|
|
34763
|
-
if (ws === "\n")
|
|
34830
|
+
if (ws === "\n" && valueComment)
|
|
34764
34831
|
ws = "\n\n";
|
|
34765
34832
|
} else {
|
|
34766
34833
|
ws += `
|
|
@@ -34804,9 +34871,9 @@ ${ctx.indent}`;
|
|
|
34804
34871
|
}
|
|
34805
34872
|
});
|
|
34806
34873
|
|
|
34807
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34874
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js
|
|
34808
34875
|
var require_log = __commonJS({
|
|
34809
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34876
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"(exports$1) {
|
|
34810
34877
|
var node_process = __require("process");
|
|
34811
34878
|
function debug(logLevel, ...messages) {
|
|
34812
34879
|
if (logLevel === "debug")
|
|
@@ -34827,9 +34894,9 @@ var require_log = __commonJS({
|
|
|
34827
34894
|
}
|
|
34828
34895
|
});
|
|
34829
34896
|
|
|
34830
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34897
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
34831
34898
|
var require_merge = __commonJS({
|
|
34832
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34899
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports$1) {
|
|
34833
34900
|
var identity = require_identity();
|
|
34834
34901
|
var Scalar = require_Scalar();
|
|
34835
34902
|
var MERGE_KEY = "<<";
|
|
@@ -34845,19 +34912,19 @@ var require_merge = __commonJS({
|
|
|
34845
34912
|
};
|
|
34846
34913
|
var isMergeKey = /* @__PURE__ */ __name((ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default), "isMergeKey");
|
|
34847
34914
|
function addMergeToJSMap(ctx, map, value) {
|
|
34848
|
-
|
|
34849
|
-
if (identity.isSeq(
|
|
34850
|
-
for (const it of
|
|
34915
|
+
const source = resolveAliasValue(ctx, value);
|
|
34916
|
+
if (identity.isSeq(source))
|
|
34917
|
+
for (const it of source.items)
|
|
34851
34918
|
mergeValue(ctx, map, it);
|
|
34852
|
-
else if (Array.isArray(
|
|
34853
|
-
for (const it of
|
|
34919
|
+
else if (Array.isArray(source))
|
|
34920
|
+
for (const it of source)
|
|
34854
34921
|
mergeValue(ctx, map, it);
|
|
34855
34922
|
else
|
|
34856
|
-
mergeValue(ctx, map,
|
|
34923
|
+
mergeValue(ctx, map, source);
|
|
34857
34924
|
}
|
|
34858
34925
|
__name(addMergeToJSMap, "addMergeToJSMap");
|
|
34859
34926
|
function mergeValue(ctx, map, value) {
|
|
34860
|
-
const source = ctx
|
|
34927
|
+
const source = resolveAliasValue(ctx, value);
|
|
34861
34928
|
if (!identity.isMap(source))
|
|
34862
34929
|
throw new Error("Merge sources must be maps or map aliases");
|
|
34863
34930
|
const srcMap = source.toJSON(null, ctx, Map);
|
|
@@ -34879,15 +34946,19 @@ var require_merge = __commonJS({
|
|
|
34879
34946
|
return map;
|
|
34880
34947
|
}
|
|
34881
34948
|
__name(mergeValue, "mergeValue");
|
|
34949
|
+
function resolveAliasValue(ctx, value) {
|
|
34950
|
+
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
|
34951
|
+
}
|
|
34952
|
+
__name(resolveAliasValue, "resolveAliasValue");
|
|
34882
34953
|
exports$1.addMergeToJSMap = addMergeToJSMap;
|
|
34883
34954
|
exports$1.isMergeKey = isMergeKey;
|
|
34884
34955
|
exports$1.merge = merge;
|
|
34885
34956
|
}
|
|
34886
34957
|
});
|
|
34887
34958
|
|
|
34888
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
34959
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
34889
34960
|
var require_addPairToJSMap = __commonJS({
|
|
34890
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
34961
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports$1) {
|
|
34891
34962
|
var log = require_log();
|
|
34892
34963
|
var merge = require_merge();
|
|
34893
34964
|
var stringify = require_stringify();
|
|
@@ -34950,9 +35021,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
34950
35021
|
}
|
|
34951
35022
|
});
|
|
34952
35023
|
|
|
34953
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35024
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
|
|
34954
35025
|
var require_Pair = __commonJS({
|
|
34955
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35026
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"(exports$1) {
|
|
34956
35027
|
var createNode = require_createNode();
|
|
34957
35028
|
var stringifyPair = require_stringifyPair();
|
|
34958
35029
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -34993,9 +35064,9 @@ var require_Pair = __commonJS({
|
|
|
34993
35064
|
}
|
|
34994
35065
|
});
|
|
34995
35066
|
|
|
34996
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35067
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
34997
35068
|
var require_stringifyCollection = __commonJS({
|
|
34998
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35069
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports$1) {
|
|
34999
35070
|
var identity = require_identity();
|
|
35000
35071
|
var stringify = require_stringify();
|
|
35001
35072
|
var stringifyComment = require_stringifyComment();
|
|
@@ -35097,12 +35168,19 @@ ${indent}${line}` : "\n";
|
|
|
35097
35168
|
if (comment)
|
|
35098
35169
|
reqNewline = true;
|
|
35099
35170
|
let str = stringify.stringify(item, itemCtx, () => comment = null);
|
|
35100
|
-
|
|
35171
|
+
reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n"));
|
|
35172
|
+
if (i < items.length - 1) {
|
|
35101
35173
|
str += ",";
|
|
35174
|
+
} else if (ctx.options.trailingComma) {
|
|
35175
|
+
if (ctx.options.lineWidth > 0) {
|
|
35176
|
+
reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
|
|
35177
|
+
}
|
|
35178
|
+
if (reqNewline) {
|
|
35179
|
+
str += ",";
|
|
35180
|
+
}
|
|
35181
|
+
}
|
|
35102
35182
|
if (comment)
|
|
35103
35183
|
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
|
35104
|
-
if (!reqNewline && (lines.length > linesAtValue || str.includes("\n")))
|
|
35105
|
-
reqNewline = true;
|
|
35106
35184
|
lines.push(str);
|
|
35107
35185
|
linesAtValue = lines.length;
|
|
35108
35186
|
}
|
|
@@ -35140,9 +35218,9 @@ ${indent}${end}`;
|
|
|
35140
35218
|
}
|
|
35141
35219
|
});
|
|
35142
35220
|
|
|
35143
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35221
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
35144
35222
|
var require_YAMLMap = __commonJS({
|
|
35145
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35223
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"(exports$1) {
|
|
35146
35224
|
var stringifyCollection = require_stringifyCollection();
|
|
35147
35225
|
var addPairToJSMap = require_addPairToJSMap();
|
|
35148
35226
|
var Collection = require_Collection();
|
|
@@ -35287,9 +35365,9 @@ var require_YAMLMap = __commonJS({
|
|
|
35287
35365
|
}
|
|
35288
35366
|
});
|
|
35289
35367
|
|
|
35290
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35368
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
|
|
35291
35369
|
var require_map = __commonJS({
|
|
35292
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35370
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"(exports$1) {
|
|
35293
35371
|
var identity = require_identity();
|
|
35294
35372
|
var YAMLMap = require_YAMLMap();
|
|
35295
35373
|
var map = {
|
|
@@ -35308,9 +35386,9 @@ var require_map = __commonJS({
|
|
|
35308
35386
|
}
|
|
35309
35387
|
});
|
|
35310
35388
|
|
|
35311
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35389
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
35312
35390
|
var require_YAMLSeq = __commonJS({
|
|
35313
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35391
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports$1) {
|
|
35314
35392
|
var createNode = require_createNode();
|
|
35315
35393
|
var stringifyCollection = require_stringifyCollection();
|
|
35316
35394
|
var Collection = require_Collection();
|
|
@@ -35427,9 +35505,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
35427
35505
|
}
|
|
35428
35506
|
});
|
|
35429
35507
|
|
|
35430
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35508
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
|
|
35431
35509
|
var require_seq = __commonJS({
|
|
35432
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35510
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"(exports$1) {
|
|
35433
35511
|
var identity = require_identity();
|
|
35434
35512
|
var YAMLSeq = require_YAMLSeq();
|
|
35435
35513
|
var seq = {
|
|
@@ -35448,9 +35526,9 @@ var require_seq = __commonJS({
|
|
|
35448
35526
|
}
|
|
35449
35527
|
});
|
|
35450
35528
|
|
|
35451
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35529
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
|
|
35452
35530
|
var require_string = __commonJS({
|
|
35453
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35531
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"(exports$1) {
|
|
35454
35532
|
var stringifyString = require_stringifyString();
|
|
35455
35533
|
var string = {
|
|
35456
35534
|
identify: /* @__PURE__ */ __name((value) => typeof value === "string", "identify"),
|
|
@@ -35466,9 +35544,9 @@ var require_string = __commonJS({
|
|
|
35466
35544
|
}
|
|
35467
35545
|
});
|
|
35468
35546
|
|
|
35469
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35547
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
|
|
35470
35548
|
var require_null = __commonJS({
|
|
35471
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35549
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"(exports$1) {
|
|
35472
35550
|
var Scalar = require_Scalar();
|
|
35473
35551
|
var nullTag = {
|
|
35474
35552
|
identify: /* @__PURE__ */ __name((value) => value == null, "identify"),
|
|
@@ -35483,9 +35561,9 @@ var require_null = __commonJS({
|
|
|
35483
35561
|
}
|
|
35484
35562
|
});
|
|
35485
35563
|
|
|
35486
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35564
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
|
|
35487
35565
|
var require_bool = __commonJS({
|
|
35488
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35566
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"(exports$1) {
|
|
35489
35567
|
var Scalar = require_Scalar();
|
|
35490
35568
|
var boolTag = {
|
|
35491
35569
|
identify: /* @__PURE__ */ __name((value) => typeof value === "boolean", "identify"),
|
|
@@ -35506,17 +35584,17 @@ var require_bool = __commonJS({
|
|
|
35506
35584
|
}
|
|
35507
35585
|
});
|
|
35508
35586
|
|
|
35509
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35587
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
35510
35588
|
var require_stringifyNumber = __commonJS({
|
|
35511
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35589
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports$1) {
|
|
35512
35590
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
35513
35591
|
if (typeof value === "bigint")
|
|
35514
35592
|
return String(value);
|
|
35515
35593
|
const num = typeof value === "number" ? value : Number(value);
|
|
35516
35594
|
if (!isFinite(num))
|
|
35517
35595
|
return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
35518
|
-
let n = JSON.stringify(value);
|
|
35519
|
-
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") &&
|
|
35596
|
+
let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
|
|
35597
|
+
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
|
|
35520
35598
|
let i = n.indexOf(".");
|
|
35521
35599
|
if (i < 0) {
|
|
35522
35600
|
i = n.length;
|
|
@@ -35533,9 +35611,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
35533
35611
|
}
|
|
35534
35612
|
});
|
|
35535
35613
|
|
|
35536
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35614
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
|
|
35537
35615
|
var require_float = __commonJS({
|
|
35538
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35616
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"(exports$1) {
|
|
35539
35617
|
var Scalar = require_Scalar();
|
|
35540
35618
|
var stringifyNumber = require_stringifyNumber();
|
|
35541
35619
|
var floatNaN = {
|
|
@@ -35578,9 +35656,9 @@ var require_float = __commonJS({
|
|
|
35578
35656
|
}
|
|
35579
35657
|
});
|
|
35580
35658
|
|
|
35581
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35659
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
|
|
35582
35660
|
var require_int = __commonJS({
|
|
35583
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35661
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"(exports$1) {
|
|
35584
35662
|
var stringifyNumber = require_stringifyNumber();
|
|
35585
35663
|
var intIdentify = /* @__PURE__ */ __name((value) => typeof value === "bigint" || Number.isInteger(value), "intIdentify");
|
|
35586
35664
|
var intResolve = /* @__PURE__ */ __name((str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix), "intResolve");
|
|
@@ -35623,9 +35701,9 @@ var require_int = __commonJS({
|
|
|
35623
35701
|
}
|
|
35624
35702
|
});
|
|
35625
35703
|
|
|
35626
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35704
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
|
|
35627
35705
|
var require_schema = __commonJS({
|
|
35628
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35706
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"(exports$1) {
|
|
35629
35707
|
var map = require_map();
|
|
35630
35708
|
var _null = require_null();
|
|
35631
35709
|
var seq = require_seq();
|
|
@@ -35650,9 +35728,9 @@ var require_schema = __commonJS({
|
|
|
35650
35728
|
}
|
|
35651
35729
|
});
|
|
35652
35730
|
|
|
35653
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35731
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
|
|
35654
35732
|
var require_schema2 = __commonJS({
|
|
35655
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35733
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"(exports$1) {
|
|
35656
35734
|
var Scalar = require_Scalar();
|
|
35657
35735
|
var map = require_map();
|
|
35658
35736
|
var seq = require_seq();
|
|
@@ -35717,9 +35795,9 @@ var require_schema2 = __commonJS({
|
|
|
35717
35795
|
}
|
|
35718
35796
|
});
|
|
35719
35797
|
|
|
35720
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35798
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
35721
35799
|
var require_binary = __commonJS({
|
|
35722
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35800
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports$1) {
|
|
35723
35801
|
var node_buffer = __require("buffer");
|
|
35724
35802
|
var Scalar = require_Scalar();
|
|
35725
35803
|
var stringifyString = require_stringifyString();
|
|
@@ -35782,9 +35860,9 @@ var require_binary = __commonJS({
|
|
|
35782
35860
|
}
|
|
35783
35861
|
});
|
|
35784
35862
|
|
|
35785
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35863
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
35786
35864
|
var require_pairs = __commonJS({
|
|
35787
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35865
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports$1) {
|
|
35788
35866
|
var identity = require_identity();
|
|
35789
35867
|
var Pair = require_Pair();
|
|
35790
35868
|
var Scalar = require_Scalar();
|
|
@@ -35861,9 +35939,9 @@ ${cn.comment}` : item.comment;
|
|
|
35861
35939
|
}
|
|
35862
35940
|
});
|
|
35863
35941
|
|
|
35864
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
35942
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
35865
35943
|
var require_omap = __commonJS({
|
|
35866
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
35944
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports$1) {
|
|
35867
35945
|
var identity = require_identity();
|
|
35868
35946
|
var toJS = require_toJS();
|
|
35869
35947
|
var YAMLMap = require_YAMLMap();
|
|
@@ -35941,9 +36019,9 @@ var require_omap = __commonJS({
|
|
|
35941
36019
|
}
|
|
35942
36020
|
});
|
|
35943
36021
|
|
|
35944
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36022
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
35945
36023
|
var require_bool2 = __commonJS({
|
|
35946
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36024
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports$1) {
|
|
35947
36025
|
var Scalar = require_Scalar();
|
|
35948
36026
|
function boolStringify({ value, source }, ctx) {
|
|
35949
36027
|
const boolObj = value ? trueTag : falseTag;
|
|
@@ -35973,9 +36051,9 @@ var require_bool2 = __commonJS({
|
|
|
35973
36051
|
}
|
|
35974
36052
|
});
|
|
35975
36053
|
|
|
35976
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36054
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
35977
36055
|
var require_float2 = __commonJS({
|
|
35978
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36056
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports$1) {
|
|
35979
36057
|
var Scalar = require_Scalar();
|
|
35980
36058
|
var stringifyNumber = require_stringifyNumber();
|
|
35981
36059
|
var floatNaN = {
|
|
@@ -36021,9 +36099,9 @@ var require_float2 = __commonJS({
|
|
|
36021
36099
|
}
|
|
36022
36100
|
});
|
|
36023
36101
|
|
|
36024
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36102
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
36025
36103
|
var require_int2 = __commonJS({
|
|
36026
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36104
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports$1) {
|
|
36027
36105
|
var stringifyNumber = require_stringifyNumber();
|
|
36028
36106
|
var intIdentify = /* @__PURE__ */ __name((value) => typeof value === "bigint" || Number.isInteger(value), "intIdentify");
|
|
36029
36107
|
function intResolve(str, offset, radix, { intAsBigInt }) {
|
|
@@ -36101,9 +36179,9 @@ var require_int2 = __commonJS({
|
|
|
36101
36179
|
}
|
|
36102
36180
|
});
|
|
36103
36181
|
|
|
36104
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36182
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
36105
36183
|
var require_set = __commonJS({
|
|
36106
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36184
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports$1) {
|
|
36107
36185
|
var identity = require_identity();
|
|
36108
36186
|
var Pair = require_Pair();
|
|
36109
36187
|
var YAMLMap = require_YAMLMap();
|
|
@@ -36192,9 +36270,9 @@ var require_set = __commonJS({
|
|
|
36192
36270
|
}
|
|
36193
36271
|
});
|
|
36194
36272
|
|
|
36195
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36273
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
36196
36274
|
var require_timestamp = __commonJS({
|
|
36197
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36275
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports$1) {
|
|
36198
36276
|
var stringifyNumber = require_stringifyNumber();
|
|
36199
36277
|
function parseSexagesimal(str, asBigInt) {
|
|
36200
36278
|
const sign = str[0];
|
|
@@ -36281,9 +36359,9 @@ var require_timestamp = __commonJS({
|
|
|
36281
36359
|
}
|
|
36282
36360
|
});
|
|
36283
36361
|
|
|
36284
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36362
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
36285
36363
|
var require_schema3 = __commonJS({
|
|
36286
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36364
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports$1) {
|
|
36287
36365
|
var map = require_map();
|
|
36288
36366
|
var _null = require_null();
|
|
36289
36367
|
var seq = require_seq();
|
|
@@ -36324,9 +36402,9 @@ var require_schema3 = __commonJS({
|
|
|
36324
36402
|
}
|
|
36325
36403
|
});
|
|
36326
36404
|
|
|
36327
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36405
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
|
|
36328
36406
|
var require_tags = __commonJS({
|
|
36329
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36407
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js"(exports$1) {
|
|
36330
36408
|
var map = require_map();
|
|
36331
36409
|
var _null = require_null();
|
|
36332
36410
|
var seq = require_seq();
|
|
@@ -36418,9 +36496,9 @@ var require_tags = __commonJS({
|
|
|
36418
36496
|
}
|
|
36419
36497
|
});
|
|
36420
36498
|
|
|
36421
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36499
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
|
|
36422
36500
|
var require_Schema = __commonJS({
|
|
36423
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36501
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"(exports$1) {
|
|
36424
36502
|
var identity = require_identity();
|
|
36425
36503
|
var map = require_map();
|
|
36426
36504
|
var seq = require_seq();
|
|
@@ -36452,9 +36530,9 @@ var require_Schema = __commonJS({
|
|
|
36452
36530
|
}
|
|
36453
36531
|
});
|
|
36454
36532
|
|
|
36455
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36533
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
36456
36534
|
var require_stringifyDocument = __commonJS({
|
|
36457
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36535
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports$1) {
|
|
36458
36536
|
var identity = require_identity();
|
|
36459
36537
|
var stringify = require_stringify();
|
|
36460
36538
|
var stringifyComment = require_stringifyComment();
|
|
@@ -36532,9 +36610,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
36532
36610
|
}
|
|
36533
36611
|
});
|
|
36534
36612
|
|
|
36535
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36613
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
|
|
36536
36614
|
var require_Document = __commonJS({
|
|
36537
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36615
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"(exports$1) {
|
|
36538
36616
|
var Alias = require_Alias();
|
|
36539
36617
|
var Collection = require_Collection();
|
|
36540
36618
|
var identity = require_identity();
|
|
@@ -36844,9 +36922,9 @@ var require_Document = __commonJS({
|
|
|
36844
36922
|
}
|
|
36845
36923
|
});
|
|
36846
36924
|
|
|
36847
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36925
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js
|
|
36848
36926
|
var require_errors = __commonJS({
|
|
36849
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
36927
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"(exports$1) {
|
|
36850
36928
|
var YAMLError = class extends Error {
|
|
36851
36929
|
static {
|
|
36852
36930
|
__name(this, "YAMLError");
|
|
@@ -36899,7 +36977,7 @@ var require_errors = __commonJS({
|
|
|
36899
36977
|
if (/[^ ]/.test(lineStr)) {
|
|
36900
36978
|
let count = 1;
|
|
36901
36979
|
const end = error.linePos[1];
|
|
36902
|
-
if (end
|
|
36980
|
+
if (end?.line === line && end.col > col) {
|
|
36903
36981
|
count = Math.max(1, Math.min(end.col - col, 80 - ci));
|
|
36904
36982
|
}
|
|
36905
36983
|
const pointer = " ".repeat(ci) + "^".repeat(count);
|
|
@@ -36917,9 +36995,9 @@ ${pointer}
|
|
|
36917
36995
|
}
|
|
36918
36996
|
});
|
|
36919
36997
|
|
|
36920
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
36998
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
|
|
36921
36999
|
var require_resolve_props = __commonJS({
|
|
36922
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37000
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"(exports$1) {
|
|
36923
37001
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
36924
37002
|
let spaceBefore = false;
|
|
36925
37003
|
let atNewline = startOnNewline;
|
|
@@ -37051,9 +37129,9 @@ var require_resolve_props = __commonJS({
|
|
|
37051
37129
|
}
|
|
37052
37130
|
});
|
|
37053
37131
|
|
|
37054
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37132
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
37055
37133
|
var require_util_contains_newline = __commonJS({
|
|
37056
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37134
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js"(exports$1) {
|
|
37057
37135
|
function containsNewline(key) {
|
|
37058
37136
|
if (!key)
|
|
37059
37137
|
return null;
|
|
@@ -37093,9 +37171,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
37093
37171
|
}
|
|
37094
37172
|
});
|
|
37095
37173
|
|
|
37096
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37174
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
37097
37175
|
var require_util_flow_indent_check = __commonJS({
|
|
37098
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37176
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports$1) {
|
|
37099
37177
|
var utilContainsNewline = require_util_contains_newline();
|
|
37100
37178
|
function flowIndentCheck(indent, fc, onError) {
|
|
37101
37179
|
if (fc?.type === "flow-collection") {
|
|
@@ -37111,9 +37189,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
37111
37189
|
}
|
|
37112
37190
|
});
|
|
37113
37191
|
|
|
37114
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37192
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
|
|
37115
37193
|
var require_util_map_includes = __commonJS({
|
|
37116
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37194
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js"(exports$1) {
|
|
37117
37195
|
var identity = require_identity();
|
|
37118
37196
|
function mapIncludes(ctx, items, search) {
|
|
37119
37197
|
const { uniqueKeys } = ctx.options;
|
|
@@ -37127,9 +37205,9 @@ var require_util_map_includes = __commonJS({
|
|
|
37127
37205
|
}
|
|
37128
37206
|
});
|
|
37129
37207
|
|
|
37130
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37208
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
37131
37209
|
var require_resolve_block_map = __commonJS({
|
|
37132
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37210
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"(exports$1) {
|
|
37133
37211
|
var Pair = require_Pair();
|
|
37134
37212
|
var YAMLMap = require_YAMLMap();
|
|
37135
37213
|
var resolveProps = require_resolve_props();
|
|
@@ -37235,9 +37313,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
37235
37313
|
}
|
|
37236
37314
|
});
|
|
37237
37315
|
|
|
37238
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37316
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
37239
37317
|
var require_resolve_block_seq = __commonJS({
|
|
37240
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37318
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports$1) {
|
|
37241
37319
|
var YAMLSeq = require_YAMLSeq();
|
|
37242
37320
|
var resolveProps = require_resolve_props();
|
|
37243
37321
|
var utilFlowIndentCheck = require_util_flow_indent_check();
|
|
@@ -37261,7 +37339,7 @@ var require_resolve_block_seq = __commonJS({
|
|
|
37261
37339
|
});
|
|
37262
37340
|
if (!props.found) {
|
|
37263
37341
|
if (props.anchor || props.tag || value) {
|
|
37264
|
-
if (value
|
|
37342
|
+
if (value?.type === "block-seq")
|
|
37265
37343
|
onError(props.end, "BAD_INDENT", "All sequence items must start at the same column");
|
|
37266
37344
|
else
|
|
37267
37345
|
onError(offset, "MISSING_CHAR", "Sequence item without - indicator");
|
|
@@ -37286,9 +37364,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
37286
37364
|
}
|
|
37287
37365
|
});
|
|
37288
37366
|
|
|
37289
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37367
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
|
|
37290
37368
|
var require_resolve_end = __commonJS({
|
|
37291
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37369
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"(exports$1) {
|
|
37292
37370
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
37293
37371
|
let comment = "";
|
|
37294
37372
|
if (end) {
|
|
@@ -37329,9 +37407,9 @@ var require_resolve_end = __commonJS({
|
|
|
37329
37407
|
}
|
|
37330
37408
|
});
|
|
37331
37409
|
|
|
37332
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37410
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
37333
37411
|
var require_resolve_flow_collection = __commonJS({
|
|
37334
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37412
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports$1) {
|
|
37335
37413
|
var identity = require_identity();
|
|
37336
37414
|
var Pair = require_Pair();
|
|
37337
37415
|
var YAMLMap = require_YAMLMap();
|
|
@@ -37458,7 +37536,7 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
37458
37536
|
onError(valueProps.found, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit flow sequence key");
|
|
37459
37537
|
}
|
|
37460
37538
|
} else if (value) {
|
|
37461
|
-
if ("source" in value && value.source
|
|
37539
|
+
if ("source" in value && value.source?.[0] === ":")
|
|
37462
37540
|
onError(value, "MISSING_CHAR", `Missing space after : in ${fcName}`);
|
|
37463
37541
|
else
|
|
37464
37542
|
onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
|
|
@@ -37495,7 +37573,7 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
37495
37573
|
const expectedEnd = isMap ? "}" : "]";
|
|
37496
37574
|
const [ce, ...ee] = fc.end;
|
|
37497
37575
|
let cePos = offset;
|
|
37498
|
-
if (ce
|
|
37576
|
+
if (ce?.source === expectedEnd)
|
|
37499
37577
|
cePos = ce.offset + ce.source.length;
|
|
37500
37578
|
else {
|
|
37501
37579
|
const name = fcName[0].toUpperCase() + fcName.substring(1);
|
|
@@ -37523,9 +37601,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
37523
37601
|
}
|
|
37524
37602
|
});
|
|
37525
37603
|
|
|
37526
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37604
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
|
|
37527
37605
|
var require_compose_collection = __commonJS({
|
|
37528
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37606
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"(exports$1) {
|
|
37529
37607
|
var identity = require_identity();
|
|
37530
37608
|
var Scalar = require_Scalar();
|
|
37531
37609
|
var YAMLMap = require_YAMLMap();
|
|
@@ -37563,7 +37641,7 @@ var require_compose_collection = __commonJS({
|
|
|
37563
37641
|
let tag = ctx.schema.tags.find((t4) => t4.tag === tagName && t4.collection === expType);
|
|
37564
37642
|
if (!tag) {
|
|
37565
37643
|
const kt = ctx.schema.knownTags[tagName];
|
|
37566
|
-
if (kt
|
|
37644
|
+
if (kt?.collection === expType) {
|
|
37567
37645
|
ctx.schema.tags.push(Object.assign({}, kt, { default: false }));
|
|
37568
37646
|
tag = kt;
|
|
37569
37647
|
} else {
|
|
@@ -37589,9 +37667,9 @@ var require_compose_collection = __commonJS({
|
|
|
37589
37667
|
}
|
|
37590
37668
|
});
|
|
37591
37669
|
|
|
37592
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37670
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
37593
37671
|
var require_resolve_block_scalar = __commonJS({
|
|
37594
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37672
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports$1) {
|
|
37595
37673
|
var Scalar = require_Scalar();
|
|
37596
37674
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
37597
37675
|
const start = scalar.offset;
|
|
@@ -37774,9 +37852,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
37774
37852
|
}
|
|
37775
37853
|
});
|
|
37776
37854
|
|
|
37777
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
37855
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
37778
37856
|
var require_resolve_flow_scalar = __commonJS({
|
|
37779
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
37857
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports$1) {
|
|
37780
37858
|
var Scalar = require_Scalar();
|
|
37781
37859
|
var resolveEnd = require_resolve_end();
|
|
37782
37860
|
function resolveFlowScalar(scalar, strict, onError) {
|
|
@@ -37910,7 +37988,7 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
37910
37988
|
while (next === " " || next === " ")
|
|
37911
37989
|
next = source[++i + 1];
|
|
37912
37990
|
} else if (next === "x" || next === "u" || next === "U") {
|
|
37913
|
-
const length =
|
|
37991
|
+
const length = next === "x" ? 2 : next === "u" ? 4 : 8;
|
|
37914
37992
|
res += parseCharCode(source, i + 1, length, onError);
|
|
37915
37993
|
i += length;
|
|
37916
37994
|
} else {
|
|
@@ -37987,21 +38065,22 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
37987
38065
|
const cc = source.substr(offset, length);
|
|
37988
38066
|
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
|
37989
38067
|
const code = ok ? parseInt(cc, 16) : NaN;
|
|
37990
|
-
|
|
38068
|
+
try {
|
|
38069
|
+
return String.fromCodePoint(code);
|
|
38070
|
+
} catch {
|
|
37991
38071
|
const raw = source.substr(offset - 2, length + 2);
|
|
37992
38072
|
onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
|
|
37993
38073
|
return raw;
|
|
37994
38074
|
}
|
|
37995
|
-
return String.fromCodePoint(code);
|
|
37996
38075
|
}
|
|
37997
38076
|
__name(parseCharCode, "parseCharCode");
|
|
37998
38077
|
exports$1.resolveFlowScalar = resolveFlowScalar;
|
|
37999
38078
|
}
|
|
38000
38079
|
});
|
|
38001
38080
|
|
|
38002
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38081
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
|
|
38003
38082
|
var require_compose_scalar = __commonJS({
|
|
38004
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38083
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"(exports$1) {
|
|
38005
38084
|
var identity = require_identity();
|
|
38006
38085
|
var Scalar = require_Scalar();
|
|
38007
38086
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
@@ -38082,9 +38161,9 @@ var require_compose_scalar = __commonJS({
|
|
|
38082
38161
|
}
|
|
38083
38162
|
});
|
|
38084
38163
|
|
|
38085
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38164
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
38086
38165
|
var require_util_empty_scalar_position = __commonJS({
|
|
38087
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38166
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports$1) {
|
|
38088
38167
|
function emptyScalarPosition(offset, before, pos) {
|
|
38089
38168
|
if (before) {
|
|
38090
38169
|
pos ?? (pos = before.length);
|
|
@@ -38112,9 +38191,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
38112
38191
|
}
|
|
38113
38192
|
});
|
|
38114
38193
|
|
|
38115
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38194
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
|
|
38116
38195
|
var require_compose_node = __commonJS({
|
|
38117
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38196
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"(exports$1) {
|
|
38118
38197
|
var Alias = require_Alias();
|
|
38119
38198
|
var identity = require_identity();
|
|
38120
38199
|
var composeCollection = require_compose_collection();
|
|
@@ -38144,17 +38223,22 @@ var require_compose_node = __commonJS({
|
|
|
38144
38223
|
case "block-map":
|
|
38145
38224
|
case "block-seq":
|
|
38146
38225
|
case "flow-collection":
|
|
38147
|
-
|
|
38148
|
-
|
|
38149
|
-
|
|
38226
|
+
try {
|
|
38227
|
+
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
|
38228
|
+
if (anchor)
|
|
38229
|
+
node.anchor = anchor.source.substring(1);
|
|
38230
|
+
} catch (error) {
|
|
38231
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
38232
|
+
onError(token, "RESOURCE_EXHAUSTION", message);
|
|
38233
|
+
}
|
|
38150
38234
|
break;
|
|
38151
38235
|
default: {
|
|
38152
38236
|
const message = token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`;
|
|
38153
38237
|
onError(token, "UNEXPECTED_TOKEN", message);
|
|
38154
|
-
node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError);
|
|
38155
38238
|
isSrcToken = false;
|
|
38156
38239
|
}
|
|
38157
38240
|
}
|
|
38241
|
+
node ?? (node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError));
|
|
38158
38242
|
if (anchor && node.anchor === "")
|
|
38159
38243
|
onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
|
|
38160
38244
|
if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
|
|
@@ -38215,9 +38299,9 @@ var require_compose_node = __commonJS({
|
|
|
38215
38299
|
}
|
|
38216
38300
|
});
|
|
38217
38301
|
|
|
38218
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38302
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
|
|
38219
38303
|
var require_compose_doc = __commonJS({
|
|
38220
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38304
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"(exports$1) {
|
|
38221
38305
|
var Document = require_Document();
|
|
38222
38306
|
var composeNode = require_compose_node();
|
|
38223
38307
|
var resolveEnd = require_resolve_end();
|
|
@@ -38258,9 +38342,9 @@ var require_compose_doc = __commonJS({
|
|
|
38258
38342
|
}
|
|
38259
38343
|
});
|
|
38260
38344
|
|
|
38261
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38345
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
|
|
38262
38346
|
var require_composer = __commonJS({
|
|
38263
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38347
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"(exports$1) {
|
|
38264
38348
|
var node_process = __require("process");
|
|
38265
38349
|
var directives = require_directives();
|
|
38266
38350
|
var Document = require_Document();
|
|
@@ -38346,8 +38430,10 @@ ${cb}` : comment;
|
|
|
38346
38430
|
}
|
|
38347
38431
|
}
|
|
38348
38432
|
if (afterDoc) {
|
|
38349
|
-
|
|
38350
|
-
|
|
38433
|
+
for (let i = 0; i < this.errors.length; ++i)
|
|
38434
|
+
doc.errors.push(this.errors[i]);
|
|
38435
|
+
for (let i = 0; i < this.warnings.length; ++i)
|
|
38436
|
+
doc.warnings.push(this.warnings[i]);
|
|
38351
38437
|
} else {
|
|
38352
38438
|
doc.errors = this.errors;
|
|
38353
38439
|
doc.warnings = this.warnings;
|
|
@@ -38468,9 +38554,9 @@ ${end.comment}` : end.comment;
|
|
|
38468
38554
|
}
|
|
38469
38555
|
});
|
|
38470
38556
|
|
|
38471
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38557
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
|
|
38472
38558
|
var require_cst_scalar = __commonJS({
|
|
38473
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38559
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"(exports$1) {
|
|
38474
38560
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
38475
38561
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
38476
38562
|
var errors = require_errors();
|
|
@@ -38658,9 +38744,9 @@ var require_cst_scalar = __commonJS({
|
|
|
38658
38744
|
}
|
|
38659
38745
|
});
|
|
38660
38746
|
|
|
38661
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38747
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
|
|
38662
38748
|
var require_cst_stringify = __commonJS({
|
|
38663
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38749
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"(exports$1) {
|
|
38664
38750
|
var stringify = /* @__PURE__ */ __name((cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst), "stringify");
|
|
38665
38751
|
function stringifyToken(token) {
|
|
38666
38752
|
switch (token.type) {
|
|
@@ -38720,9 +38806,9 @@ var require_cst_stringify = __commonJS({
|
|
|
38720
38806
|
}
|
|
38721
38807
|
});
|
|
38722
38808
|
|
|
38723
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38809
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
|
|
38724
38810
|
var require_cst_visit = __commonJS({
|
|
38725
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38811
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js"(exports$1) {
|
|
38726
38812
|
var BREAK = Symbol("break visit");
|
|
38727
38813
|
var SKIP = Symbol("skip children");
|
|
38728
38814
|
var REMOVE = Symbol("remove item");
|
|
@@ -38783,9 +38869,9 @@ var require_cst_visit = __commonJS({
|
|
|
38783
38869
|
}
|
|
38784
38870
|
});
|
|
38785
38871
|
|
|
38786
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38872
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
|
|
38787
38873
|
var require_cst = __commonJS({
|
|
38788
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38874
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"(exports$1) {
|
|
38789
38875
|
var cstScalar = require_cst_scalar();
|
|
38790
38876
|
var cstStringify = require_cst_stringify();
|
|
38791
38877
|
var cstVisit = require_cst_visit();
|
|
@@ -38886,9 +38972,9 @@ var require_cst = __commonJS({
|
|
|
38886
38972
|
}
|
|
38887
38973
|
});
|
|
38888
38974
|
|
|
38889
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
38975
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
|
|
38890
38976
|
var require_lexer = __commonJS({
|
|
38891
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
38977
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"(exports$1) {
|
|
38892
38978
|
var cst = require_cst();
|
|
38893
38979
|
function isEmpty(ch) {
|
|
38894
38980
|
switch (ch) {
|
|
@@ -39091,7 +39177,7 @@ var require_lexer = __commonJS({
|
|
|
39091
39177
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
39092
39178
|
this.indentNext = this.indentValue + 1;
|
|
39093
39179
|
this.indentValue += n;
|
|
39094
|
-
return
|
|
39180
|
+
return "block-start";
|
|
39095
39181
|
}
|
|
39096
39182
|
return "doc";
|
|
39097
39183
|
}
|
|
@@ -39390,28 +39476,38 @@ var require_lexer = __commonJS({
|
|
|
39390
39476
|
return 0;
|
|
39391
39477
|
}
|
|
39392
39478
|
*pushIndicators() {
|
|
39393
|
-
|
|
39394
|
-
|
|
39395
|
-
|
|
39396
|
-
|
|
39397
|
-
|
|
39398
|
-
|
|
39399
|
-
|
|
39400
|
-
|
|
39401
|
-
|
|
39402
|
-
|
|
39403
|
-
|
|
39404
|
-
|
|
39405
|
-
|
|
39406
|
-
|
|
39407
|
-
|
|
39408
|
-
|
|
39409
|
-
|
|
39410
|
-
|
|
39479
|
+
let n = 0;
|
|
39480
|
+
loop: while (true) {
|
|
39481
|
+
switch (this.charAt(0)) {
|
|
39482
|
+
case "!":
|
|
39483
|
+
n += yield* this.pushTag();
|
|
39484
|
+
n += yield* this.pushSpaces(true);
|
|
39485
|
+
continue loop;
|
|
39486
|
+
case "&":
|
|
39487
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
39488
|
+
n += yield* this.pushSpaces(true);
|
|
39489
|
+
continue loop;
|
|
39490
|
+
case "-":
|
|
39491
|
+
// this is an error
|
|
39492
|
+
case "?":
|
|
39493
|
+
// this is an error outside flow collections
|
|
39494
|
+
case ":": {
|
|
39495
|
+
const inFlow = this.flowLevel > 0;
|
|
39496
|
+
const ch1 = this.charAt(1);
|
|
39497
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
39498
|
+
if (!inFlow)
|
|
39499
|
+
this.indentNext = this.indentValue + 1;
|
|
39500
|
+
else if (this.flowKey)
|
|
39501
|
+
this.flowKey = false;
|
|
39502
|
+
n += yield* this.pushCount(1);
|
|
39503
|
+
n += yield* this.pushSpaces(true);
|
|
39504
|
+
continue loop;
|
|
39505
|
+
}
|
|
39411
39506
|
}
|
|
39412
39507
|
}
|
|
39508
|
+
break loop;
|
|
39413
39509
|
}
|
|
39414
|
-
return
|
|
39510
|
+
return n;
|
|
39415
39511
|
}
|
|
39416
39512
|
*pushTag() {
|
|
39417
39513
|
if (this.charAt(1) === "<") {
|
|
@@ -39468,9 +39564,9 @@ var require_lexer = __commonJS({
|
|
|
39468
39564
|
}
|
|
39469
39565
|
});
|
|
39470
39566
|
|
|
39471
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
39567
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
|
|
39472
39568
|
var require_line_counter = __commonJS({
|
|
39473
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
39569
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"(exports$1) {
|
|
39474
39570
|
var LineCounter = class {
|
|
39475
39571
|
static {
|
|
39476
39572
|
__name(this, "LineCounter");
|
|
@@ -39501,9 +39597,9 @@ var require_line_counter = __commonJS({
|
|
|
39501
39597
|
}
|
|
39502
39598
|
});
|
|
39503
39599
|
|
|
39504
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
39600
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
|
|
39505
39601
|
var require_parser2 = __commonJS({
|
|
39506
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
39602
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"(exports$1) {
|
|
39507
39603
|
var node_process = __require("process");
|
|
39508
39604
|
var cst = require_cst();
|
|
39509
39605
|
var lexer = require_lexer();
|
|
@@ -39576,6 +39672,14 @@ var require_parser2 = __commonJS({
|
|
|
39576
39672
|
return prev.splice(i, prev.length);
|
|
39577
39673
|
}
|
|
39578
39674
|
__name(getFirstKeyStartProps, "getFirstKeyStartProps");
|
|
39675
|
+
function arrayPushArray(target, source) {
|
|
39676
|
+
if (source.length < 1e5)
|
|
39677
|
+
Array.prototype.push.apply(target, source);
|
|
39678
|
+
else
|
|
39679
|
+
for (let i = 0; i < source.length; ++i)
|
|
39680
|
+
target.push(source[i]);
|
|
39681
|
+
}
|
|
39682
|
+
__name(arrayPushArray, "arrayPushArray");
|
|
39579
39683
|
function fixFlowSeqItems(fc) {
|
|
39580
39684
|
if (fc.start.type === "flow-seq-start") {
|
|
39581
39685
|
for (const it of fc.items) {
|
|
@@ -39585,11 +39689,11 @@ var require_parser2 = __commonJS({
|
|
|
39585
39689
|
delete it.key;
|
|
39586
39690
|
if (isFlowToken(it.value)) {
|
|
39587
39691
|
if (it.value.end)
|
|
39588
|
-
|
|
39692
|
+
arrayPushArray(it.value.end, it.sep);
|
|
39589
39693
|
else
|
|
39590
39694
|
it.value.end = it.sep;
|
|
39591
39695
|
} else
|
|
39592
|
-
|
|
39696
|
+
arrayPushArray(it.start, it.sep);
|
|
39593
39697
|
delete it.sep;
|
|
39594
39698
|
}
|
|
39595
39699
|
}
|
|
@@ -39699,7 +39803,7 @@ var require_parser2 = __commonJS({
|
|
|
39699
39803
|
}
|
|
39700
39804
|
*step() {
|
|
39701
39805
|
const top = this.peek(1);
|
|
39702
|
-
if (this.type === "doc-end" &&
|
|
39806
|
+
if (this.type === "doc-end" && top?.type !== "doc-end") {
|
|
39703
39807
|
while (this.stack.length > 0)
|
|
39704
39808
|
yield* this.pop();
|
|
39705
39809
|
this.stack.push({
|
|
@@ -39948,7 +40052,7 @@ var require_parser2 = __commonJS({
|
|
|
39948
40052
|
const prev = map.items[map.items.length - 2];
|
|
39949
40053
|
const end = prev?.value?.end;
|
|
39950
40054
|
if (Array.isArray(end)) {
|
|
39951
|
-
|
|
40055
|
+
arrayPushArray(end, it.start);
|
|
39952
40056
|
end.push(this.sourceToken);
|
|
39953
40057
|
map.items.pop();
|
|
39954
40058
|
return;
|
|
@@ -40136,7 +40240,7 @@ var require_parser2 = __commonJS({
|
|
|
40136
40240
|
const prev = seq.items[seq.items.length - 2];
|
|
40137
40241
|
const end = prev?.value?.end;
|
|
40138
40242
|
if (Array.isArray(end)) {
|
|
40139
|
-
|
|
40243
|
+
arrayPushArray(end, it.start);
|
|
40140
40244
|
end.push(this.sourceToken);
|
|
40141
40245
|
seq.items.pop();
|
|
40142
40246
|
return;
|
|
@@ -40177,7 +40281,7 @@ var require_parser2 = __commonJS({
|
|
|
40177
40281
|
do {
|
|
40178
40282
|
yield* this.pop();
|
|
40179
40283
|
top = this.peek(1);
|
|
40180
|
-
} while (top
|
|
40284
|
+
} while (top?.type === "flow-collection");
|
|
40181
40285
|
} else if (fc.end.length === 0) {
|
|
40182
40286
|
switch (this.type) {
|
|
40183
40287
|
case "comma":
|
|
@@ -40376,9 +40480,9 @@ var require_parser2 = __commonJS({
|
|
|
40376
40480
|
}
|
|
40377
40481
|
});
|
|
40378
40482
|
|
|
40379
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
40483
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js
|
|
40380
40484
|
var require_public_api = __commonJS({
|
|
40381
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
40485
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"(exports$1) {
|
|
40382
40486
|
var composer = require_composer();
|
|
40383
40487
|
var Document = require_Document();
|
|
40384
40488
|
var errors = require_errors();
|
|
@@ -40477,9 +40581,9 @@ var require_public_api = __commonJS({
|
|
|
40477
40581
|
}
|
|
40478
40582
|
});
|
|
40479
40583
|
|
|
40480
|
-
// ../../node_modules/.pnpm/yaml@2.
|
|
40584
|
+
// ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js
|
|
40481
40585
|
var require_dist = __commonJS({
|
|
40482
|
-
"../../node_modules/.pnpm/yaml@2.
|
|
40586
|
+
"../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js"(exports$1) {
|
|
40483
40587
|
var composer = require_composer();
|
|
40484
40588
|
var Document = require_Document();
|
|
40485
40589
|
var Schema = require_Schema();
|
|
@@ -43684,7 +43788,9 @@ var Framework = class {
|
|
|
43684
43788
|
this.id = frameworkInfo.id;
|
|
43685
43789
|
this.name = frameworkInfo.name;
|
|
43686
43790
|
}
|
|
43687
|
-
isConfigured(_projectPath
|
|
43791
|
+
isConfigured(_projectPath, {
|
|
43792
|
+
target: _target = "cf"
|
|
43793
|
+
} = {}) {
|
|
43688
43794
|
return false;
|
|
43689
43795
|
}
|
|
43690
43796
|
configurationDescription;
|
|
@@ -43742,13 +43848,14 @@ var Analog = class extends Framework {
|
|
|
43742
43848
|
await updateViteConfig(projectPath);
|
|
43743
43849
|
}
|
|
43744
43850
|
return {
|
|
43745
|
-
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43749
|
-
|
|
43851
|
+
buildTool: "wrangler",
|
|
43852
|
+
workerConfig: {
|
|
43853
|
+
entrypoint: "./dist/analog/server/index.mjs",
|
|
43854
|
+
env: {
|
|
43855
|
+
ASSETS: { type: "assets" }
|
|
43750
43856
|
}
|
|
43751
|
-
}
|
|
43857
|
+
},
|
|
43858
|
+
buildConfig: { assetsDirectory: "./dist/analog/public" }
|
|
43752
43859
|
};
|
|
43753
43860
|
}
|
|
43754
43861
|
};
|
|
@@ -43867,22 +43974,21 @@ var Angular = class extends Framework {
|
|
|
43867
43974
|
await installAdditionalDependencies(packageManager, isWorkspaceRoot);
|
|
43868
43975
|
}
|
|
43869
43976
|
return {
|
|
43870
|
-
|
|
43871
|
-
|
|
43872
|
-
|
|
43873
|
-
|
|
43874
|
-
|
|
43977
|
+
buildTool: "wrangler",
|
|
43978
|
+
workerConfig: {
|
|
43979
|
+
entrypoint: "./dist/server/server.mjs",
|
|
43980
|
+
env: {
|
|
43981
|
+
ASSETS: { type: "assets" }
|
|
43875
43982
|
}
|
|
43876
|
-
}
|
|
43983
|
+
},
|
|
43984
|
+
buildConfig: { assetsDirectory: `${outputDir}browser` }
|
|
43877
43985
|
};
|
|
43878
43986
|
} else {
|
|
43879
43987
|
this.configurationDescription = "Configuring Angular SPA project (assets only)";
|
|
43880
43988
|
return {
|
|
43881
|
-
|
|
43882
|
-
|
|
43883
|
-
|
|
43884
|
-
}
|
|
43885
|
-
}
|
|
43989
|
+
buildTool: "wrangler",
|
|
43990
|
+
workerConfig: {},
|
|
43991
|
+
buildConfig: { assetsDirectory: outputDir }
|
|
43886
43992
|
};
|
|
43887
43993
|
}
|
|
43888
43994
|
}
|
|
@@ -43984,18 +44090,19 @@ var Astro = class extends Framework {
|
|
|
43984
44090
|
}
|
|
43985
44091
|
if (semiver_default(astroVersion, "6.0.0") < 0) {
|
|
43986
44092
|
return {
|
|
43987
|
-
|
|
43988
|
-
|
|
43989
|
-
|
|
43990
|
-
|
|
43991
|
-
|
|
43992
|
-
|
|
44093
|
+
buildTool: "wrangler",
|
|
44094
|
+
workerConfig: {
|
|
44095
|
+
entrypoint: `${outputDir}/_worker.js/index.js`,
|
|
44096
|
+
compatibilityFlags: ["global_fetch_strictly_public"],
|
|
44097
|
+
env: {
|
|
44098
|
+
ASSETS: { type: "assets" }
|
|
43993
44099
|
}
|
|
43994
|
-
}
|
|
44100
|
+
},
|
|
44101
|
+
buildConfig: { assetsDirectory: outputDir }
|
|
43995
44102
|
};
|
|
43996
44103
|
}
|
|
43997
44104
|
return {
|
|
43998
|
-
|
|
44105
|
+
workerConfig: null
|
|
43999
44106
|
};
|
|
44000
44107
|
}
|
|
44001
44108
|
configurationDescription = 'Configuring project for Astro with "astro add cloudflare"';
|
|
@@ -44162,7 +44269,7 @@ var NextJs = class extends Framework {
|
|
|
44162
44269
|
}
|
|
44163
44270
|
return {
|
|
44164
44271
|
// `@opennextjs/cloudflare migrate` creates the wrangler config file
|
|
44165
|
-
|
|
44272
|
+
workerConfig: {},
|
|
44166
44273
|
packageJsonScriptsOverrides: {
|
|
44167
44274
|
preview: "opennextjs-cloudflare build && opennextjs-cloudflare preview",
|
|
44168
44275
|
deploy: "opennextjs-cloudflare build && opennextjs-cloudflare deploy"
|
|
@@ -44234,16 +44341,17 @@ var Nuxt = class extends Framework {
|
|
|
44234
44341
|
updateNuxtConfig(projectPath);
|
|
44235
44342
|
}
|
|
44236
44343
|
return {
|
|
44237
|
-
|
|
44238
|
-
|
|
44239
|
-
|
|
44240
|
-
|
|
44241
|
-
|
|
44344
|
+
buildTool: "wrangler",
|
|
44345
|
+
workerConfig: {
|
|
44346
|
+
entrypoint: "./.output/server/index.mjs",
|
|
44347
|
+
env: {
|
|
44348
|
+
ASSETS: { type: "assets" }
|
|
44242
44349
|
},
|
|
44243
44350
|
observability: {
|
|
44244
44351
|
enabled: true
|
|
44245
44352
|
}
|
|
44246
|
-
}
|
|
44353
|
+
},
|
|
44354
|
+
buildConfig: { assetsDirectory: "./.output/public/" }
|
|
44247
44355
|
};
|
|
44248
44356
|
}
|
|
44249
44357
|
configurationDescription = "Configuring project for Nuxt";
|
|
@@ -44279,14 +44387,15 @@ var Qwik = class extends Framework {
|
|
|
44279
44387
|
addBindingsProxy(projectPath);
|
|
44280
44388
|
}
|
|
44281
44389
|
return {
|
|
44282
|
-
|
|
44283
|
-
|
|
44284
|
-
|
|
44285
|
-
|
|
44286
|
-
|
|
44287
|
-
|
|
44390
|
+
buildTool: "wrangler",
|
|
44391
|
+
workerConfig: {
|
|
44392
|
+
entrypoint: "./dist/_worker.js",
|
|
44393
|
+
compatibilityFlags: ["global_fetch_strictly_public"],
|
|
44394
|
+
env: {
|
|
44395
|
+
ASSET: { type: "assets" }
|
|
44288
44396
|
}
|
|
44289
44397
|
},
|
|
44398
|
+
buildConfig: { assetsDirectory: "./dist" },
|
|
44290
44399
|
packageJsonScriptsOverrides: {
|
|
44291
44400
|
preview: `${packageManager.type} run build && wrangler dev`,
|
|
44292
44401
|
deploy: `${packageManager.type} run build && wrangler deploy`
|
|
@@ -44888,6 +44997,9 @@ var ReactRouter = class extends Framework {
|
|
|
44888
44997
|
static {
|
|
44889
44998
|
__name(this, "ReactRouter");
|
|
44890
44999
|
}
|
|
45000
|
+
env = {
|
|
45001
|
+
CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT: "true"
|
|
45002
|
+
};
|
|
44891
45003
|
async configure({
|
|
44892
45004
|
dryRun,
|
|
44893
45005
|
projectPath,
|
|
@@ -44926,8 +45038,9 @@ var ReactRouter = class extends Framework {
|
|
|
44926
45038
|
}
|
|
44927
45039
|
}
|
|
44928
45040
|
return {
|
|
44929
|
-
|
|
44930
|
-
|
|
45041
|
+
buildTool: "vite",
|
|
45042
|
+
workerConfig: {
|
|
45043
|
+
entrypoint: "./workers/app.ts"
|
|
44931
45044
|
}
|
|
44932
45045
|
};
|
|
44933
45046
|
}
|
|
@@ -44951,13 +45064,14 @@ var SolidStart = class extends Framework {
|
|
|
44951
45064
|
}
|
|
44952
45065
|
}
|
|
44953
45066
|
return {
|
|
44954
|
-
|
|
44955
|
-
|
|
44956
|
-
|
|
44957
|
-
|
|
44958
|
-
|
|
45067
|
+
buildTool: "wrangler",
|
|
45068
|
+
workerConfig: {
|
|
45069
|
+
entrypoint: "./.output/server/index.mjs",
|
|
45070
|
+
env: {
|
|
45071
|
+
ASSETS: { type: "assets" }
|
|
44959
45072
|
}
|
|
44960
|
-
}
|
|
45073
|
+
},
|
|
45074
|
+
buildConfig: { assetsDirectory: "./.output/public" }
|
|
44961
45075
|
};
|
|
44962
45076
|
}
|
|
44963
45077
|
};
|
|
@@ -45030,11 +45144,9 @@ var Static = class extends Framework {
|
|
|
45030
45144
|
}
|
|
45031
45145
|
configure({ outputDir }) {
|
|
45032
45146
|
return {
|
|
45033
|
-
|
|
45034
|
-
|
|
45035
|
-
|
|
45036
|
-
}
|
|
45037
|
-
}
|
|
45147
|
+
buildTool: "wrangler",
|
|
45148
|
+
workerConfig: {},
|
|
45149
|
+
buildConfig: { assetsDirectory: outputDir }
|
|
45038
45150
|
};
|
|
45039
45151
|
}
|
|
45040
45152
|
};
|
|
@@ -45076,13 +45188,14 @@ var SvelteKit = class extends Framework {
|
|
|
45076
45188
|
});
|
|
45077
45189
|
}
|
|
45078
45190
|
return {
|
|
45079
|
-
|
|
45080
|
-
|
|
45081
|
-
|
|
45082
|
-
|
|
45083
|
-
|
|
45191
|
+
buildTool: "wrangler",
|
|
45192
|
+
workerConfig: {
|
|
45193
|
+
entrypoint: ".svelte-kit/cloudflare/_worker.js",
|
|
45194
|
+
env: {
|
|
45195
|
+
ASSETS: { type: "assets" }
|
|
45084
45196
|
}
|
|
45085
|
-
}
|
|
45197
|
+
},
|
|
45198
|
+
buildConfig: { assetsDirectory: ".svelte-kit/cloudflare" }
|
|
45086
45199
|
};
|
|
45087
45200
|
}
|
|
45088
45201
|
configurationDescription = 'Configuring project for SvelteKit with "sv add"';
|
|
@@ -45093,6 +45206,9 @@ var TanstackStart = class extends Framework {
|
|
|
45093
45206
|
static {
|
|
45094
45207
|
__name(this, "TanstackStart");
|
|
45095
45208
|
}
|
|
45209
|
+
env = {
|
|
45210
|
+
CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT: "true"
|
|
45211
|
+
};
|
|
45096
45212
|
async configure({
|
|
45097
45213
|
dryRun,
|
|
45098
45214
|
projectPath,
|
|
@@ -45108,8 +45224,9 @@ var TanstackStart = class extends Framework {
|
|
|
45108
45224
|
transformViteConfig(projectPath, { viteEnvironmentName: "ssr" });
|
|
45109
45225
|
}
|
|
45110
45226
|
return {
|
|
45111
|
-
|
|
45112
|
-
|
|
45227
|
+
buildTool: "vite",
|
|
45228
|
+
workerConfig: {
|
|
45229
|
+
entrypoint: "@tanstack/react-start/server-entry"
|
|
45113
45230
|
}
|
|
45114
45231
|
};
|
|
45115
45232
|
}
|
|
@@ -45122,6 +45239,9 @@ var Vike = class extends Framework {
|
|
|
45122
45239
|
static {
|
|
45123
45240
|
__name(this, "Vike");
|
|
45124
45241
|
}
|
|
45242
|
+
env = {
|
|
45243
|
+
CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT: "true"
|
|
45244
|
+
};
|
|
45125
45245
|
async configure({
|
|
45126
45246
|
projectPath,
|
|
45127
45247
|
dryRun,
|
|
@@ -45155,8 +45275,9 @@ var Vike = class extends Framework {
|
|
|
45155
45275
|
addVikePhotonToConfigFile(projectPath);
|
|
45156
45276
|
}
|
|
45157
45277
|
return {
|
|
45158
|
-
|
|
45159
|
-
|
|
45278
|
+
buildTool: "vite",
|
|
45279
|
+
workerConfig: {
|
|
45280
|
+
entrypoint: "virtual:photon:cloudflare:server-entry"
|
|
45160
45281
|
},
|
|
45161
45282
|
packageJsonScriptsOverrides: {
|
|
45162
45283
|
preview: "vike build && vike preview",
|
|
@@ -45295,7 +45416,13 @@ var Vite = class extends Framework {
|
|
|
45295
45416
|
static {
|
|
45296
45417
|
__name(this, "Vite");
|
|
45297
45418
|
}
|
|
45298
|
-
|
|
45419
|
+
env = {
|
|
45420
|
+
CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT: "true"
|
|
45421
|
+
};
|
|
45422
|
+
isConfigured(projectPath, { target = "cf" } = {}) {
|
|
45423
|
+
if (target !== "wrangler") {
|
|
45424
|
+
return false;
|
|
45425
|
+
}
|
|
45299
45426
|
if (!hasViteConfig(projectPath)) {
|
|
45300
45427
|
return false;
|
|
45301
45428
|
}
|
|
@@ -45320,9 +45447,10 @@ var Vite = class extends Framework {
|
|
|
45320
45447
|
}
|
|
45321
45448
|
}
|
|
45322
45449
|
return {
|
|
45323
|
-
|
|
45450
|
+
buildTool: "vite",
|
|
45451
|
+
workerConfig: {
|
|
45324
45452
|
assets: {
|
|
45325
|
-
|
|
45453
|
+
notFoundHandling: "single-page-application"
|
|
45326
45454
|
}
|
|
45327
45455
|
}
|
|
45328
45456
|
};
|
|
@@ -45370,14 +45498,17 @@ var Waku = class extends Framework {
|
|
|
45370
45498
|
await updateWakuConfig(projectPath);
|
|
45371
45499
|
}
|
|
45372
45500
|
return {
|
|
45373
|
-
|
|
45374
|
-
|
|
45501
|
+
buildTool: "wrangler",
|
|
45502
|
+
workerConfig: {
|
|
45503
|
+
entrypoint: "./src/waku.server",
|
|
45375
45504
|
assets: {
|
|
45376
|
-
|
|
45377
|
-
|
|
45378
|
-
|
|
45505
|
+
htmlHandling: "drop-trailing-slash"
|
|
45506
|
+
},
|
|
45507
|
+
env: {
|
|
45508
|
+
ASSETS: { type: "assets" }
|
|
45379
45509
|
}
|
|
45380
|
-
}
|
|
45510
|
+
},
|
|
45511
|
+
buildConfig: { assetsDirectory: "./dist/public" }
|
|
45381
45512
|
};
|
|
45382
45513
|
}
|
|
45383
45514
|
};
|
|
@@ -45727,7 +45858,7 @@ var NoOpFramework = class extends Framework {
|
|
|
45727
45858
|
}
|
|
45728
45859
|
async configure() {
|
|
45729
45860
|
return {
|
|
45730
|
-
|
|
45861
|
+
workerConfig: {}
|
|
45731
45862
|
};
|
|
45732
45863
|
}
|
|
45733
45864
|
};
|
|
@@ -45761,7 +45892,7 @@ function isFrameworkSupported(frameworkId) {
|
|
|
45761
45892
|
}
|
|
45762
45893
|
__name(isFrameworkSupported, "isFrameworkSupported");
|
|
45763
45894
|
|
|
45764
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
45895
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/logger.js
|
|
45765
45896
|
var LogLevel;
|
|
45766
45897
|
(function(LogLevel2) {
|
|
45767
45898
|
LogLevel2["DEBUG"] = "debug";
|
|
@@ -45809,7 +45940,7 @@ var DefaultLogger = class {
|
|
|
45809
45940
|
}
|
|
45810
45941
|
};
|
|
45811
45942
|
|
|
45812
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
45943
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/file-system.js
|
|
45813
45944
|
function normalizePathSegments(parts, allowAboveRoot) {
|
|
45814
45945
|
const res = [];
|
|
45815
45946
|
for (let i = 0; i < parts.length; i++) {
|
|
@@ -45988,10 +46119,10 @@ ${error.stack}`;
|
|
|
45988
46119
|
}
|
|
45989
46120
|
};
|
|
45990
46121
|
|
|
45991
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46122
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/framework.js
|
|
45992
46123
|
var import_semver = __toESM(require_semver2(), 1);
|
|
45993
46124
|
|
|
45994
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46125
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/get-commands.js
|
|
45995
46126
|
var NPM_DEV_SCRIPTS = ["dev", "serve", "develop", "start", "run", "web"];
|
|
45996
46127
|
var EXCLUDED_DEV_SCRIPTS = ["netlify dev"];
|
|
45997
46128
|
var NPM_BUILD_SCRIPTS = ["build"];
|
|
@@ -46024,7 +46155,7 @@ function getBuildCommands(frameworkBuildCommand, scripts = {}) {
|
|
|
46024
46155
|
}
|
|
46025
46156
|
__name(getBuildCommands, "getBuildCommands");
|
|
46026
46157
|
|
|
46027
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46158
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/framework.js
|
|
46028
46159
|
var Category;
|
|
46029
46160
|
(function(Category2) {
|
|
46030
46161
|
Category2["BackendFramework"] = "backend_framework";
|
|
@@ -46288,7 +46419,7 @@ var BaseFramework = class {
|
|
|
46288
46419
|
}
|
|
46289
46420
|
};
|
|
46290
46421
|
|
|
46291
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46422
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/analog.js
|
|
46292
46423
|
var Analog2 = class extends BaseFramework {
|
|
46293
46424
|
static {
|
|
46294
46425
|
__name(this, "Analog");
|
|
@@ -46314,7 +46445,7 @@ var Analog2 = class extends BaseFramework {
|
|
|
46314
46445
|
};
|
|
46315
46446
|
};
|
|
46316
46447
|
|
|
46317
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46448
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/angular.js
|
|
46318
46449
|
var import_semver2 = __toESM(require_semver2(), 1);
|
|
46319
46450
|
var Angular2 = class extends BaseFramework {
|
|
46320
46451
|
static {
|
|
@@ -46361,7 +46492,7 @@ var Angular2 = class extends BaseFramework {
|
|
|
46361
46492
|
}
|
|
46362
46493
|
};
|
|
46363
46494
|
|
|
46364
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46495
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/assemble.js
|
|
46365
46496
|
var Assemble = class extends BaseFramework {
|
|
46366
46497
|
static {
|
|
46367
46498
|
__name(this, "Assemble");
|
|
@@ -46381,7 +46512,7 @@ var Assemble = class extends BaseFramework {
|
|
|
46381
46512
|
};
|
|
46382
46513
|
};
|
|
46383
46514
|
|
|
46384
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46515
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/astro.js
|
|
46385
46516
|
var import_semver3 = __toESM(require_semver2(), 1);
|
|
46386
46517
|
var Astro2 = class extends BaseFramework {
|
|
46387
46518
|
static {
|
|
@@ -46418,7 +46549,7 @@ var Astro2 = class extends BaseFramework {
|
|
|
46418
46549
|
}
|
|
46419
46550
|
};
|
|
46420
46551
|
|
|
46421
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46552
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/blitz.js
|
|
46422
46553
|
var Blitz = class extends BaseFramework {
|
|
46423
46554
|
static {
|
|
46424
46555
|
__name(this, "Blitz");
|
|
@@ -46443,7 +46574,7 @@ var Blitz = class extends BaseFramework {
|
|
|
46443
46574
|
};
|
|
46444
46575
|
};
|
|
46445
46576
|
|
|
46446
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46577
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/brunch.js
|
|
46447
46578
|
var Brunch = class extends BaseFramework {
|
|
46448
46579
|
static {
|
|
46449
46580
|
__name(this, "Brunch");
|
|
@@ -46469,7 +46600,7 @@ var Brunch = class extends BaseFramework {
|
|
|
46469
46600
|
};
|
|
46470
46601
|
};
|
|
46471
46602
|
|
|
46472
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46603
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/cecil.js
|
|
46473
46604
|
var Cecil = class extends BaseFramework {
|
|
46474
46605
|
static {
|
|
46475
46606
|
__name(this, "Cecil");
|
|
@@ -46494,7 +46625,7 @@ var Cecil = class extends BaseFramework {
|
|
|
46494
46625
|
};
|
|
46495
46626
|
};
|
|
46496
46627
|
|
|
46497
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46628
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/docpad.js
|
|
46498
46629
|
var DocPad = class extends BaseFramework {
|
|
46499
46630
|
static {
|
|
46500
46631
|
__name(this, "DocPad");
|
|
@@ -46514,7 +46645,7 @@ var DocPad = class extends BaseFramework {
|
|
|
46514
46645
|
};
|
|
46515
46646
|
};
|
|
46516
46647
|
|
|
46517
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46648
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/docusaurus.js
|
|
46518
46649
|
var Docusaurus = class extends BaseFramework {
|
|
46519
46650
|
static {
|
|
46520
46651
|
__name(this, "Docusaurus");
|
|
@@ -46566,7 +46697,7 @@ var Docusaurus = class extends BaseFramework {
|
|
|
46566
46697
|
}
|
|
46567
46698
|
};
|
|
46568
46699
|
|
|
46569
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46700
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/eleventy.js
|
|
46570
46701
|
var Eleventy = class extends BaseFramework {
|
|
46571
46702
|
static {
|
|
46572
46703
|
__name(this, "Eleventy");
|
|
@@ -46592,7 +46723,7 @@ var Eleventy = class extends BaseFramework {
|
|
|
46592
46723
|
};
|
|
46593
46724
|
};
|
|
46594
46725
|
|
|
46595
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46726
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/ember.js
|
|
46596
46727
|
var Ember = class extends BaseFramework {
|
|
46597
46728
|
static {
|
|
46598
46729
|
__name(this, "Ember");
|
|
@@ -46618,7 +46749,7 @@ var Ember = class extends BaseFramework {
|
|
|
46618
46749
|
};
|
|
46619
46750
|
};
|
|
46620
46751
|
|
|
46621
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46752
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/expo.js
|
|
46622
46753
|
var Expo = class extends BaseFramework {
|
|
46623
46754
|
static {
|
|
46624
46755
|
__name(this, "Expo");
|
|
@@ -46644,7 +46775,7 @@ var Expo = class extends BaseFramework {
|
|
|
46644
46775
|
};
|
|
46645
46776
|
};
|
|
46646
46777
|
|
|
46647
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46778
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/gatsby.js
|
|
46648
46779
|
var import_semver4 = __toESM(require_semver2(), 1);
|
|
46649
46780
|
var Gatsby = class extends BaseFramework {
|
|
46650
46781
|
static {
|
|
@@ -46692,7 +46823,7 @@ var Gatsby = class extends BaseFramework {
|
|
|
46692
46823
|
}
|
|
46693
46824
|
};
|
|
46694
46825
|
|
|
46695
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46826
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/gridsome.js
|
|
46696
46827
|
var Gridsome = class extends BaseFramework {
|
|
46697
46828
|
static {
|
|
46698
46829
|
__name(this, "Gridsome");
|
|
@@ -46718,7 +46849,7 @@ var Gridsome = class extends BaseFramework {
|
|
|
46718
46849
|
};
|
|
46719
46850
|
};
|
|
46720
46851
|
|
|
46721
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46852
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/grunt.js
|
|
46722
46853
|
var Grunt = class extends BaseFramework {
|
|
46723
46854
|
static {
|
|
46724
46855
|
__name(this, "Grunt");
|
|
@@ -46738,7 +46869,7 @@ var Grunt = class extends BaseFramework {
|
|
|
46738
46869
|
};
|
|
46739
46870
|
};
|
|
46740
46871
|
|
|
46741
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46872
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/gulp.js
|
|
46742
46873
|
var Gulp = class extends BaseFramework {
|
|
46743
46874
|
static {
|
|
46744
46875
|
__name(this, "Gulp");
|
|
@@ -46758,7 +46889,7 @@ var Gulp = class extends BaseFramework {
|
|
|
46758
46889
|
};
|
|
46759
46890
|
};
|
|
46760
46891
|
|
|
46761
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46892
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/harp.js
|
|
46762
46893
|
var Harp = class extends BaseFramework {
|
|
46763
46894
|
static {
|
|
46764
46895
|
__name(this, "Harp");
|
|
@@ -46783,7 +46914,7 @@ var Harp = class extends BaseFramework {
|
|
|
46783
46914
|
};
|
|
46784
46915
|
};
|
|
46785
46916
|
|
|
46786
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46917
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/hexo.js
|
|
46787
46918
|
var Hexo = class extends BaseFramework {
|
|
46788
46919
|
static {
|
|
46789
46920
|
__name(this, "Hexo");
|
|
@@ -46809,7 +46940,7 @@ var Hexo = class extends BaseFramework {
|
|
|
46809
46940
|
};
|
|
46810
46941
|
};
|
|
46811
46942
|
|
|
46812
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46943
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/hono.js
|
|
46813
46944
|
var Hono = class extends BaseFramework {
|
|
46814
46945
|
static {
|
|
46815
46946
|
__name(this, "Hono");
|
|
@@ -46825,7 +46956,7 @@ var Hono = class extends BaseFramework {
|
|
|
46825
46956
|
};
|
|
46826
46957
|
};
|
|
46827
46958
|
|
|
46828
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46959
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/hugo.js
|
|
46829
46960
|
var Hugo = class extends BaseFramework {
|
|
46830
46961
|
static {
|
|
46831
46962
|
__name(this, "Hugo");
|
|
@@ -46850,7 +46981,7 @@ var Hugo = class extends BaseFramework {
|
|
|
46850
46981
|
};
|
|
46851
46982
|
};
|
|
46852
46983
|
|
|
46853
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
46984
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/hydrogen.js
|
|
46854
46985
|
var CLASSIC_COMPILER_CONFIG_FILES = ["remix.config.js"];
|
|
46855
46986
|
var CLASSIC_COMPILER_DEV = {
|
|
46856
46987
|
command: 'remix dev --manual -c "netlify dev"'
|
|
@@ -46907,7 +47038,7 @@ var Hydrogen = class extends BaseFramework {
|
|
|
46907
47038
|
}
|
|
46908
47039
|
};
|
|
46909
47040
|
|
|
46910
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47041
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/jekyll.js
|
|
46911
47042
|
var Jekyll = class extends BaseFramework {
|
|
46912
47043
|
static {
|
|
46913
47044
|
__name(this, "Jekyll");
|
|
@@ -46932,7 +47063,7 @@ var Jekyll = class extends BaseFramework {
|
|
|
46932
47063
|
};
|
|
46933
47064
|
};
|
|
46934
47065
|
|
|
46935
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47066
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/mastra.js
|
|
46936
47067
|
var Mastra = class extends BaseFramework {
|
|
46937
47068
|
static {
|
|
46938
47069
|
__name(this, "Mastra");
|
|
@@ -46957,7 +47088,7 @@ var Mastra = class extends BaseFramework {
|
|
|
46957
47088
|
};
|
|
46958
47089
|
};
|
|
46959
47090
|
|
|
46960
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47091
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/metalsmith.js
|
|
46961
47092
|
var Metalsmith = class extends BaseFramework {
|
|
46962
47093
|
static {
|
|
46963
47094
|
__name(this, "Metalsmith");
|
|
@@ -46977,7 +47108,7 @@ var Metalsmith = class extends BaseFramework {
|
|
|
46977
47108
|
};
|
|
46978
47109
|
};
|
|
46979
47110
|
|
|
46980
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47111
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/middleman.js
|
|
46981
47112
|
var Middleman = class extends BaseFramework {
|
|
46982
47113
|
static {
|
|
46983
47114
|
__name(this, "Middleman");
|
|
@@ -47002,7 +47133,7 @@ var Middleman = class extends BaseFramework {
|
|
|
47002
47133
|
};
|
|
47003
47134
|
};
|
|
47004
47135
|
|
|
47005
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47136
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/next.js
|
|
47006
47137
|
var import_semver5 = __toESM(require_semver2(), 1);
|
|
47007
47138
|
var Next = class extends BaseFramework {
|
|
47008
47139
|
static {
|
|
@@ -47040,7 +47171,7 @@ var Next = class extends BaseFramework {
|
|
|
47040
47171
|
}
|
|
47041
47172
|
};
|
|
47042
47173
|
|
|
47043
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47174
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/nuxt.js
|
|
47044
47175
|
var Nuxt2 = class extends BaseFramework {
|
|
47045
47176
|
static {
|
|
47046
47177
|
__name(this, "Nuxt");
|
|
@@ -47076,7 +47207,7 @@ var Nuxt2 = class extends BaseFramework {
|
|
|
47076
47207
|
}
|
|
47077
47208
|
};
|
|
47078
47209
|
|
|
47079
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47210
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/observable.js
|
|
47080
47211
|
var Observable = class extends BaseFramework {
|
|
47081
47212
|
static {
|
|
47082
47213
|
__name(this, "Observable");
|
|
@@ -47101,7 +47232,7 @@ var Observable = class extends BaseFramework {
|
|
|
47101
47232
|
};
|
|
47102
47233
|
};
|
|
47103
47234
|
|
|
47104
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47235
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/parcel.js
|
|
47105
47236
|
var Parcel = class extends BaseFramework {
|
|
47106
47237
|
static {
|
|
47107
47238
|
__name(this, "Parcel");
|
|
@@ -47126,7 +47257,7 @@ var Parcel = class extends BaseFramework {
|
|
|
47126
47257
|
};
|
|
47127
47258
|
};
|
|
47128
47259
|
|
|
47129
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47260
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/phenomic.js
|
|
47130
47261
|
var Phenomic = class extends BaseFramework {
|
|
47131
47262
|
static {
|
|
47132
47263
|
__name(this, "Phenomic");
|
|
@@ -47151,7 +47282,7 @@ var Phenomic = class extends BaseFramework {
|
|
|
47151
47282
|
};
|
|
47152
47283
|
};
|
|
47153
47284
|
|
|
47154
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47285
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/quasar.js
|
|
47155
47286
|
var Quasar = class extends BaseFramework {
|
|
47156
47287
|
static {
|
|
47157
47288
|
__name(this, "Quasar");
|
|
@@ -47191,7 +47322,7 @@ var Quasar = class extends BaseFramework {
|
|
|
47191
47322
|
}
|
|
47192
47323
|
};
|
|
47193
47324
|
|
|
47194
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47325
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/qwik.js
|
|
47195
47326
|
var Qwik2 = class extends BaseFramework {
|
|
47196
47327
|
static {
|
|
47197
47328
|
__name(this, "Qwik");
|
|
@@ -47212,7 +47343,7 @@ var Qwik2 = class extends BaseFramework {
|
|
|
47212
47343
|
};
|
|
47213
47344
|
};
|
|
47214
47345
|
|
|
47215
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47346
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/react-router.js
|
|
47216
47347
|
var import_semver6 = __toESM(require_semver2(), 1);
|
|
47217
47348
|
var ReactRouter2 = class extends BaseFramework {
|
|
47218
47349
|
static {
|
|
@@ -47251,7 +47382,7 @@ var ReactRouter2 = class extends BaseFramework {
|
|
|
47251
47382
|
}
|
|
47252
47383
|
};
|
|
47253
47384
|
|
|
47254
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47385
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/react-static.js
|
|
47255
47386
|
var ReactStatic = class extends BaseFramework {
|
|
47256
47387
|
static {
|
|
47257
47388
|
__name(this, "ReactStatic");
|
|
@@ -47277,7 +47408,7 @@ var ReactStatic = class extends BaseFramework {
|
|
|
47277
47408
|
};
|
|
47278
47409
|
};
|
|
47279
47410
|
|
|
47280
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47411
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/react.js
|
|
47281
47412
|
var CreateReactApp = class extends BaseFramework {
|
|
47282
47413
|
static {
|
|
47283
47414
|
__name(this, "CreateReactApp");
|
|
@@ -47304,7 +47435,7 @@ var CreateReactApp = class extends BaseFramework {
|
|
|
47304
47435
|
env = { BROWSER: "none", PORT: "3000" };
|
|
47305
47436
|
};
|
|
47306
47437
|
|
|
47307
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47438
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/redwoodjs.js
|
|
47308
47439
|
var RedwoodJS = class extends BaseFramework {
|
|
47309
47440
|
static {
|
|
47310
47441
|
__name(this, "RedwoodJS");
|
|
@@ -47338,7 +47469,7 @@ var RedwoodJS = class extends BaseFramework {
|
|
|
47338
47469
|
};
|
|
47339
47470
|
};
|
|
47340
47471
|
|
|
47341
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47472
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/remix.js
|
|
47342
47473
|
var CLASSIC_COMPILER_CONFIG_FILES2 = ["remix.config.js"];
|
|
47343
47474
|
var CLASSIC_COMPILER_DEV2 = {
|
|
47344
47475
|
command: "remix watch"
|
|
@@ -47406,7 +47537,7 @@ var Remix = class extends BaseFramework {
|
|
|
47406
47537
|
}
|
|
47407
47538
|
};
|
|
47408
47539
|
|
|
47409
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47540
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/roots.js
|
|
47410
47541
|
var Roots = class extends BaseFramework {
|
|
47411
47542
|
static {
|
|
47412
47543
|
__name(this, "Roots");
|
|
@@ -47431,7 +47562,7 @@ var Roots = class extends BaseFramework {
|
|
|
47431
47562
|
};
|
|
47432
47563
|
};
|
|
47433
47564
|
|
|
47434
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47565
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/sapper.js
|
|
47435
47566
|
var Sapper = class extends BaseFramework {
|
|
47436
47567
|
static {
|
|
47437
47568
|
__name(this, "Sapper");
|
|
@@ -47457,7 +47588,7 @@ var Sapper = class extends BaseFramework {
|
|
|
47457
47588
|
};
|
|
47458
47589
|
};
|
|
47459
47590
|
|
|
47460
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47591
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/solid-js.js
|
|
47461
47592
|
var SolidJs = class extends BaseFramework {
|
|
47462
47593
|
static {
|
|
47463
47594
|
__name(this, "SolidJs");
|
|
@@ -47483,7 +47614,7 @@ var SolidJs = class extends BaseFramework {
|
|
|
47483
47614
|
};
|
|
47484
47615
|
};
|
|
47485
47616
|
|
|
47486
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47617
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/solid-start.js
|
|
47487
47618
|
var LEGACY_PACKAGE_NAME = "solid-start";
|
|
47488
47619
|
var LEGACY_DEV = {
|
|
47489
47620
|
command: "solid-start dev",
|
|
@@ -47532,7 +47663,7 @@ var SolidStart2 = class extends BaseFramework {
|
|
|
47532
47663
|
}
|
|
47533
47664
|
};
|
|
47534
47665
|
|
|
47535
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47666
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/stencil.js
|
|
47536
47667
|
var Stencil = class extends BaseFramework {
|
|
47537
47668
|
static {
|
|
47538
47669
|
__name(this, "Stencil");
|
|
@@ -47562,7 +47693,7 @@ var Stencil = class extends BaseFramework {
|
|
|
47562
47693
|
};
|
|
47563
47694
|
};
|
|
47564
47695
|
|
|
47565
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47696
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/svelte-kit.js
|
|
47566
47697
|
var SvelteKit2 = class extends BaseFramework {
|
|
47567
47698
|
static {
|
|
47568
47699
|
__name(this, "SvelteKit");
|
|
@@ -47588,7 +47719,7 @@ var SvelteKit2 = class extends BaseFramework {
|
|
|
47588
47719
|
};
|
|
47589
47720
|
};
|
|
47590
47721
|
|
|
47591
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47722
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/svelte.js
|
|
47592
47723
|
var Svelte = class extends BaseFramework {
|
|
47593
47724
|
static {
|
|
47594
47725
|
__name(this, "Svelte");
|
|
@@ -47615,7 +47746,7 @@ var Svelte = class extends BaseFramework {
|
|
|
47615
47746
|
};
|
|
47616
47747
|
};
|
|
47617
47748
|
|
|
47618
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47749
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/tanstack-router.js
|
|
47619
47750
|
var TanStackRouter = class extends BaseFramework {
|
|
47620
47751
|
static {
|
|
47621
47752
|
__name(this, "TanStackRouter");
|
|
@@ -47641,7 +47772,7 @@ var TanStackRouter = class extends BaseFramework {
|
|
|
47641
47772
|
};
|
|
47642
47773
|
};
|
|
47643
47774
|
|
|
47644
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47775
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/tanstack-start.js
|
|
47645
47776
|
var import_semver7 = __toESM(require_semver2(), 1);
|
|
47646
47777
|
var TanStackStart = class extends BaseFramework {
|
|
47647
47778
|
static {
|
|
@@ -47685,7 +47816,7 @@ var TanStackStart = class extends BaseFramework {
|
|
|
47685
47816
|
}
|
|
47686
47817
|
};
|
|
47687
47818
|
|
|
47688
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47819
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/vike.js
|
|
47689
47820
|
var Vike2 = class extends BaseFramework {
|
|
47690
47821
|
static {
|
|
47691
47822
|
__name(this, "Vike");
|
|
@@ -47709,7 +47840,7 @@ var Vike2 = class extends BaseFramework {
|
|
|
47709
47840
|
};
|
|
47710
47841
|
};
|
|
47711
47842
|
|
|
47712
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47843
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/vite.js
|
|
47713
47844
|
var Vite2 = class extends BaseFramework {
|
|
47714
47845
|
static {
|
|
47715
47846
|
__name(this, "Vite");
|
|
@@ -47752,7 +47883,7 @@ var Vite2 = class extends BaseFramework {
|
|
|
47752
47883
|
};
|
|
47753
47884
|
};
|
|
47754
47885
|
|
|
47755
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47886
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/vitepress.js
|
|
47756
47887
|
var VitePress = class extends BaseFramework {
|
|
47757
47888
|
static {
|
|
47758
47889
|
__name(this, "VitePress");
|
|
@@ -47777,7 +47908,7 @@ var VitePress = class extends BaseFramework {
|
|
|
47777
47908
|
};
|
|
47778
47909
|
};
|
|
47779
47910
|
|
|
47780
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47911
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/vue.js
|
|
47781
47912
|
var Vue = class extends BaseFramework {
|
|
47782
47913
|
static {
|
|
47783
47914
|
__name(this, "Vue");
|
|
@@ -47802,7 +47933,7 @@ var Vue = class extends BaseFramework {
|
|
|
47802
47933
|
};
|
|
47803
47934
|
};
|
|
47804
47935
|
|
|
47805
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47936
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/vuepress.js
|
|
47806
47937
|
var VuePress = class extends BaseFramework {
|
|
47807
47938
|
static {
|
|
47808
47939
|
__name(this, "VuePress");
|
|
@@ -47827,7 +47958,7 @@ var VuePress = class extends BaseFramework {
|
|
|
47827
47958
|
};
|
|
47828
47959
|
};
|
|
47829
47960
|
|
|
47830
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47961
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/waku.js
|
|
47831
47962
|
var Waku2 = class extends BaseFramework {
|
|
47832
47963
|
static {
|
|
47833
47964
|
__name(this, "Waku");
|
|
@@ -47852,7 +47983,7 @@ var Waku2 = class extends BaseFramework {
|
|
|
47852
47983
|
};
|
|
47853
47984
|
};
|
|
47854
47985
|
|
|
47855
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
47986
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/wintersmith.js
|
|
47856
47987
|
var Wintersmith = class extends BaseFramework {
|
|
47857
47988
|
static {
|
|
47858
47989
|
__name(this, "Wintersmith");
|
|
@@ -47878,7 +48009,7 @@ var Wintersmith = class extends BaseFramework {
|
|
|
47878
48009
|
};
|
|
47879
48010
|
};
|
|
47880
48011
|
|
|
47881
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48012
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/wmr.js
|
|
47882
48013
|
var WMR = class extends BaseFramework {
|
|
47883
48014
|
static {
|
|
47884
48015
|
__name(this, "WMR");
|
|
@@ -47903,7 +48034,7 @@ var WMR = class extends BaseFramework {
|
|
|
47903
48034
|
};
|
|
47904
48035
|
};
|
|
47905
48036
|
|
|
47906
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48037
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/zola.js
|
|
47907
48038
|
var Zola = class extends BaseFramework {
|
|
47908
48039
|
static {
|
|
47909
48040
|
__name(this, "Zola");
|
|
@@ -47923,7 +48054,7 @@ var Zola = class extends BaseFramework {
|
|
|
47923
48054
|
};
|
|
47924
48055
|
};
|
|
47925
48056
|
|
|
47926
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48057
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/frameworks/index.js
|
|
47927
48058
|
var frameworks = [
|
|
47928
48059
|
// Static site generators / meta frameworks
|
|
47929
48060
|
Astro2,
|
|
@@ -47986,7 +48117,7 @@ var frameworks = [
|
|
|
47986
48117
|
WMR
|
|
47987
48118
|
];
|
|
47988
48119
|
|
|
47989
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48120
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/get-framework.js
|
|
47990
48121
|
async function getFramework(frameworkId, project) {
|
|
47991
48122
|
const frameworkList = frameworks.map((Framework2) => new Framework2(project));
|
|
47992
48123
|
const framework = frameworkList.find(({ id }) => id === frameworkId);
|
|
@@ -48003,10 +48134,10 @@ async function getFramework(frameworkId, project) {
|
|
|
48003
48134
|
}
|
|
48004
48135
|
__name(getFramework, "getFramework");
|
|
48005
48136
|
|
|
48006
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48137
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/project.js
|
|
48007
48138
|
var import_semver9 = __toESM(require_semver2(), 1);
|
|
48008
48139
|
|
|
48009
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48140
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/build-system.js
|
|
48010
48141
|
var BaseBuildTool = class {
|
|
48011
48142
|
static {
|
|
48012
48143
|
__name(this, "BaseBuildTool");
|
|
@@ -48044,7 +48175,7 @@ var BaseBuildTool = class {
|
|
|
48044
48175
|
}
|
|
48045
48176
|
};
|
|
48046
48177
|
|
|
48047
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48178
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/bazel.js
|
|
48048
48179
|
var Bazel = class extends BaseBuildTool {
|
|
48049
48180
|
static {
|
|
48050
48181
|
__name(this, "Bazel");
|
|
@@ -48063,7 +48194,7 @@ var Bazel = class extends BaseBuildTool {
|
|
|
48063
48194
|
}
|
|
48064
48195
|
};
|
|
48065
48196
|
|
|
48066
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48197
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/buck.js
|
|
48067
48198
|
var Buck = class extends BaseBuildTool {
|
|
48068
48199
|
static {
|
|
48069
48200
|
__name(this, "Buck");
|
|
@@ -48082,7 +48213,7 @@ var Buck = class extends BaseBuildTool {
|
|
|
48082
48213
|
}
|
|
48083
48214
|
};
|
|
48084
48215
|
|
|
48085
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48216
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/gradle.js
|
|
48086
48217
|
var Gradle = class extends BaseBuildTool {
|
|
48087
48218
|
static {
|
|
48088
48219
|
__name(this, "Gradle");
|
|
@@ -48101,7 +48232,7 @@ var Gradle = class extends BaseBuildTool {
|
|
|
48101
48232
|
}
|
|
48102
48233
|
};
|
|
48103
48234
|
|
|
48104
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48235
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/lage.js
|
|
48105
48236
|
var Lage = class extends BaseBuildTool {
|
|
48106
48237
|
static {
|
|
48107
48238
|
__name(this, "Lage");
|
|
@@ -48111,7 +48242,7 @@ var Lage = class extends BaseBuildTool {
|
|
|
48111
48242
|
configFiles = ["lage.config.js"];
|
|
48112
48243
|
};
|
|
48113
48244
|
|
|
48114
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48245
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/lerna.js
|
|
48115
48246
|
var Lerna = class extends BaseBuildTool {
|
|
48116
48247
|
static {
|
|
48117
48248
|
__name(this, "Lerna");
|
|
@@ -48126,7 +48257,7 @@ var Lerna = class extends BaseBuildTool {
|
|
|
48126
48257
|
};
|
|
48127
48258
|
};
|
|
48128
48259
|
|
|
48129
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48260
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/moon.js
|
|
48130
48261
|
var Moon = class extends BaseBuildTool {
|
|
48131
48262
|
static {
|
|
48132
48263
|
__name(this, "Moon");
|
|
@@ -48148,7 +48279,7 @@ var Moon = class extends BaseBuildTool {
|
|
|
48148
48279
|
}
|
|
48149
48280
|
};
|
|
48150
48281
|
|
|
48151
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48282
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/nix.js
|
|
48152
48283
|
var Nix = class extends BaseBuildTool {
|
|
48153
48284
|
static {
|
|
48154
48285
|
__name(this, "Nix");
|
|
@@ -48167,7 +48298,7 @@ var Nix = class extends BaseBuildTool {
|
|
|
48167
48298
|
}
|
|
48168
48299
|
};
|
|
48169
48300
|
|
|
48170
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
48301
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/workspaces/detect-workspace.js
|
|
48171
48302
|
var import_yaml = __toESM(require_dist(), 1);
|
|
48172
48303
|
|
|
48173
48304
|
// ../../node_modules/.pnpm/balanced-match@4.0.4/node_modules/balanced-match/dist/esm/index.js
|
|
@@ -49993,7 +50124,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
49993
50124
|
minimatch.escape = escape;
|
|
49994
50125
|
minimatch.unescape = unescape;
|
|
49995
50126
|
|
|
49996
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50127
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/workspaces/get-workspace-packages.js
|
|
49997
50128
|
function getDirFromPattern(pattern) {
|
|
49998
50129
|
const dir = [];
|
|
49999
50130
|
const parts = pattern.globParts[0];
|
|
@@ -50069,7 +50200,7 @@ async function getWorkspacePackages(project, patterns = []) {
|
|
|
50069
50200
|
}
|
|
50070
50201
|
__name(getWorkspacePackages, "getWorkspacePackages");
|
|
50071
50202
|
|
|
50072
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50203
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/workspaces/detect-workspace.js
|
|
50073
50204
|
var WorkspaceInfo = class {
|
|
50074
50205
|
static {
|
|
50075
50206
|
__name(this, "WorkspaceInfo");
|
|
@@ -50142,7 +50273,7 @@ async function detectWorkspaces(project) {
|
|
|
50142
50273
|
}
|
|
50143
50274
|
__name(detectWorkspaces, "detectWorkspaces");
|
|
50144
50275
|
|
|
50145
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50276
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/nx.js
|
|
50146
50277
|
var Nx = class extends BaseBuildTool {
|
|
50147
50278
|
static {
|
|
50148
50279
|
__name(this, "Nx");
|
|
@@ -50373,7 +50504,7 @@ var Nx = class extends BaseBuildTool {
|
|
|
50373
50504
|
}
|
|
50374
50505
|
};
|
|
50375
50506
|
|
|
50376
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50507
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/package-managers.js
|
|
50377
50508
|
var PNPM = class extends BaseBuildTool {
|
|
50378
50509
|
static {
|
|
50379
50510
|
__name(this, "PNPM");
|
|
@@ -50453,7 +50584,7 @@ var NPM = class extends BaseBuildTool {
|
|
|
50453
50584
|
}
|
|
50454
50585
|
};
|
|
50455
50586
|
|
|
50456
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50587
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/pants.js
|
|
50457
50588
|
var Pants = class extends BaseBuildTool {
|
|
50458
50589
|
static {
|
|
50459
50590
|
__name(this, "Pants");
|
|
@@ -50472,7 +50603,7 @@ var Pants = class extends BaseBuildTool {
|
|
|
50472
50603
|
}
|
|
50473
50604
|
};
|
|
50474
50605
|
|
|
50475
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50606
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/rush.js
|
|
50476
50607
|
var Rush = class extends BaseBuildTool {
|
|
50477
50608
|
static {
|
|
50478
50609
|
__name(this, "Rush");
|
|
@@ -50487,7 +50618,7 @@ var Rush = class extends BaseBuildTool {
|
|
|
50487
50618
|
};
|
|
50488
50619
|
};
|
|
50489
50620
|
|
|
50490
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50621
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/turbo.js
|
|
50491
50622
|
var Turbo = class extends BaseBuildTool {
|
|
50492
50623
|
static {
|
|
50493
50624
|
__name(this, "Turbo");
|
|
@@ -50523,7 +50654,7 @@ var Turbo = class extends BaseBuildTool {
|
|
|
50523
50654
|
}
|
|
50524
50655
|
};
|
|
50525
50656
|
|
|
50526
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50657
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/build-systems/index.js
|
|
50527
50658
|
var buildSystems = [
|
|
50528
50659
|
Bazel,
|
|
50529
50660
|
Buck,
|
|
@@ -50542,7 +50673,7 @@ var buildSystems = [
|
|
|
50542
50673
|
Yarn
|
|
50543
50674
|
];
|
|
50544
50675
|
|
|
50545
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50676
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/events.js
|
|
50546
50677
|
var EventEmitter = class {
|
|
50547
50678
|
static {
|
|
50548
50679
|
__name(this, "EventEmitter");
|
|
@@ -50565,7 +50696,7 @@ var EventEmitter = class {
|
|
|
50565
50696
|
}
|
|
50566
50697
|
};
|
|
50567
50698
|
|
|
50568
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50699
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/metrics.js
|
|
50569
50700
|
var import_js = __toESM(require_notifier(), 1);
|
|
50570
50701
|
var { default: Bugsnag } = import_js.default;
|
|
50571
50702
|
var normalizeError = /* @__PURE__ */ __name((error) => {
|
|
@@ -50600,7 +50731,7 @@ function report(error, options = {}) {
|
|
|
50600
50731
|
}
|
|
50601
50732
|
__name(report, "report");
|
|
50602
50733
|
|
|
50603
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50734
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/package-managers/detect-package-manager.js
|
|
50604
50735
|
var import_semver8 = __toESM(require_semver2(), 1);
|
|
50605
50736
|
var AVAILABLE_PACKAGE_MANAGERS = {
|
|
50606
50737
|
[
|
|
@@ -50719,7 +50850,7 @@ var detectPackageManager = /* @__PURE__ */ __name(async (project, options) => {
|
|
|
50719
50850
|
];
|
|
50720
50851
|
}, "detectPackageManager");
|
|
50721
50852
|
|
|
50722
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50853
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/runtime.js
|
|
50723
50854
|
var LangRuntime = class {
|
|
50724
50855
|
static {
|
|
50725
50856
|
__name(this, "LangRuntime");
|
|
@@ -50748,7 +50879,7 @@ var LangRuntime = class {
|
|
|
50748
50879
|
}
|
|
50749
50880
|
};
|
|
50750
50881
|
|
|
50751
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50882
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/brew.js
|
|
50752
50883
|
var Brew = class extends LangRuntime {
|
|
50753
50884
|
static {
|
|
50754
50885
|
__name(this, "Brew");
|
|
@@ -50758,7 +50889,7 @@ var Brew = class extends LangRuntime {
|
|
|
50758
50889
|
configFiles = ["Brewfile.netlify"];
|
|
50759
50890
|
};
|
|
50760
50891
|
|
|
50761
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50892
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/bun.js
|
|
50762
50893
|
var Bun = class extends LangRuntime {
|
|
50763
50894
|
static {
|
|
50764
50895
|
__name(this, "Bun");
|
|
@@ -50768,7 +50899,7 @@ var Bun = class extends LangRuntime {
|
|
|
50768
50899
|
configFiles = ["bun.lock", "bun.lockb", "bunfig.toml"];
|
|
50769
50900
|
};
|
|
50770
50901
|
|
|
50771
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50902
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/cask.js
|
|
50772
50903
|
var Emacs = class extends LangRuntime {
|
|
50773
50904
|
static {
|
|
50774
50905
|
__name(this, "Emacs");
|
|
@@ -50778,7 +50909,7 @@ var Emacs = class extends LangRuntime {
|
|
|
50778
50909
|
configFiles = ["Cask"];
|
|
50779
50910
|
};
|
|
50780
50911
|
|
|
50781
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50912
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/dotnet.js
|
|
50782
50913
|
var Dotnet = class extends LangRuntime {
|
|
50783
50914
|
static {
|
|
50784
50915
|
__name(this, "Dotnet");
|
|
@@ -50788,7 +50919,7 @@ var Dotnet = class extends LangRuntime {
|
|
|
50788
50919
|
configFiles = ["Program.cs", "appsettings.json"];
|
|
50789
50920
|
};
|
|
50790
50921
|
|
|
50791
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50922
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/erlang.js
|
|
50792
50923
|
var Erlang = class extends LangRuntime {
|
|
50793
50924
|
static {
|
|
50794
50925
|
__name(this, "Erlang");
|
|
@@ -50798,7 +50929,7 @@ var Erlang = class extends LangRuntime {
|
|
|
50798
50929
|
configFiles = ["rebar.config", "rebar.lock"];
|
|
50799
50930
|
};
|
|
50800
50931
|
|
|
50801
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50932
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/go.js
|
|
50802
50933
|
var Go = class extends LangRuntime {
|
|
50803
50934
|
static {
|
|
50804
50935
|
__name(this, "Go");
|
|
@@ -50808,7 +50939,7 @@ var Go = class extends LangRuntime {
|
|
|
50808
50939
|
configFiles = ["go.mod", ".go-version", "go.work"];
|
|
50809
50940
|
};
|
|
50810
50941
|
|
|
50811
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50942
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/java.js
|
|
50812
50943
|
var Java = class extends LangRuntime {
|
|
50813
50944
|
static {
|
|
50814
50945
|
__name(this, "Java");
|
|
@@ -50818,7 +50949,7 @@ var Java = class extends LangRuntime {
|
|
|
50818
50949
|
configFiles = ["project.clj", "build.boot"];
|
|
50819
50950
|
};
|
|
50820
50951
|
|
|
50821
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50952
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/node.js
|
|
50822
50953
|
var Node = class extends LangRuntime {
|
|
50823
50954
|
static {
|
|
50824
50955
|
__name(this, "Node");
|
|
@@ -50828,7 +50959,7 @@ var Node = class extends LangRuntime {
|
|
|
50828
50959
|
configFiles = [".node-version", ".nvmrc", "package.json"];
|
|
50829
50960
|
};
|
|
50830
50961
|
|
|
50831
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50962
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/php.js
|
|
50832
50963
|
var Php = class extends LangRuntime {
|
|
50833
50964
|
static {
|
|
50834
50965
|
__name(this, "Php");
|
|
@@ -50838,7 +50969,7 @@ var Php = class extends LangRuntime {
|
|
|
50838
50969
|
configFiles = ["composer.json"];
|
|
50839
50970
|
};
|
|
50840
50971
|
|
|
50841
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50972
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/python.js
|
|
50842
50973
|
var Python = class extends LangRuntime {
|
|
50843
50974
|
static {
|
|
50844
50975
|
__name(this, "Python");
|
|
@@ -50848,7 +50979,7 @@ var Python = class extends LangRuntime {
|
|
|
50848
50979
|
configFiles = ["requirements.txt", "Pipfile"];
|
|
50849
50980
|
};
|
|
50850
50981
|
|
|
50851
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50982
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/ruby.js
|
|
50852
50983
|
var Ruby = class extends LangRuntime {
|
|
50853
50984
|
static {
|
|
50854
50985
|
__name(this, "Ruby");
|
|
@@ -50858,7 +50989,7 @@ var Ruby = class extends LangRuntime {
|
|
|
50858
50989
|
configFiles = [".ruby-version", "Gemfile.lock", "Gemfile"];
|
|
50859
50990
|
};
|
|
50860
50991
|
|
|
50861
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
50992
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/rust.js
|
|
50862
50993
|
var Rust = class extends LangRuntime {
|
|
50863
50994
|
static {
|
|
50864
50995
|
__name(this, "Rust");
|
|
@@ -50868,7 +50999,7 @@ var Rust = class extends LangRuntime {
|
|
|
50868
50999
|
configFiles = ["Cargo.toml", "Cargo.lock"];
|
|
50869
51000
|
};
|
|
50870
51001
|
|
|
50871
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
51002
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/swift.js
|
|
50872
51003
|
var Swift = class extends LangRuntime {
|
|
50873
51004
|
static {
|
|
50874
51005
|
__name(this, "Swift");
|
|
@@ -50878,10 +51009,10 @@ var Swift = class extends LangRuntime {
|
|
|
50878
51009
|
configFiles = [".swift-version", "Package.swift"];
|
|
50879
51010
|
};
|
|
50880
51011
|
|
|
50881
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
51012
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/runtime/index.js
|
|
50882
51013
|
var runtimes = [Node, Ruby, Brew, Bun, Dotnet, Emacs, Erlang, Go, Java, Php, Rust, Swift, Python];
|
|
50883
51014
|
|
|
50884
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
51015
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/settings/get-build-settings.js
|
|
50885
51016
|
async function applyBuildSystemOverrides(settings, project, baseDirectory) {
|
|
50886
51017
|
const buildSystem = project.buildSystems[0];
|
|
50887
51018
|
const updatedSettings = { ...settings };
|
|
@@ -50968,7 +51099,7 @@ async function getBuildSettings(project, packagePath) {
|
|
|
50968
51099
|
}
|
|
50969
51100
|
__name(getBuildSettings, "getBuildSettings");
|
|
50970
51101
|
|
|
50971
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
51102
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/project.js
|
|
50972
51103
|
var Project = class {
|
|
50973
51104
|
static {
|
|
50974
51105
|
__name(this, "Project");
|
|
@@ -51450,7 +51581,7 @@ async function findUp(name, options = {}) {
|
|
|
51450
51581
|
}
|
|
51451
51582
|
__name(findUp, "findUp");
|
|
51452
51583
|
|
|
51453
|
-
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=
|
|
51584
|
+
// ../../node_modules/.pnpm/@netlify+build-info@10.5.1_patch_hash=d4dab4e515b41a301041eaf8700001b612ab00616fa5837c8a65bcb3ce2df039/node_modules/@netlify/build-info/lib/node/file-system.js
|
|
51454
51585
|
var NodeFS = class extends FileSystem {
|
|
51455
51586
|
static {
|
|
51456
51587
|
__name(this, "NodeFS");
|
|
@@ -52006,7 +52137,10 @@ createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
52006
52137
|
var source_default = chalk;
|
|
52007
52138
|
|
|
52008
52139
|
// src/details/framework-detection.ts
|
|
52009
|
-
async function detectFramework(projectPath, context,
|
|
52140
|
+
async function detectFramework(projectPath, context, {
|
|
52141
|
+
wranglerConfig,
|
|
52142
|
+
target = "cf"
|
|
52143
|
+
} = {}) {
|
|
52010
52144
|
const fs3 = new NodeFS();
|
|
52011
52145
|
fs3.logger = context.logger;
|
|
52012
52146
|
const project = new Project(fs3, projectPath, projectPath).setEnvironment(process.env).setNodeVersion(process.version);
|
|
@@ -52037,6 +52171,11 @@ async function detectFramework(projectPath, context, wranglerConfig) {
|
|
|
52037
52171
|
buildSettings,
|
|
52038
52172
|
context
|
|
52039
52173
|
);
|
|
52174
|
+
if (maybeDetectedFramework && target === "cf") {
|
|
52175
|
+
const detectedFrameworkSettings = project.frameworks.get(maybeDetectedFramework.baseDirectory ?? "")?.find(({ id }) => id === maybeDetectedFramework.framework.id);
|
|
52176
|
+
maybeDetectedFramework.devCommand = detectedFrameworkSettings?.dev?.command;
|
|
52177
|
+
maybeDetectedFramework.buildCommand = detectedFrameworkSettings?.build?.command;
|
|
52178
|
+
}
|
|
52040
52179
|
if (await isPagesProject(
|
|
52041
52180
|
projectPath,
|
|
52042
52181
|
context,
|
|
@@ -52203,6 +52342,7 @@ function maybeFindDetectedFramework(settings, context) {
|
|
|
52203
52342
|
__name(maybeFindDetectedFramework, "maybeFindDetectedFramework");
|
|
52204
52343
|
|
|
52205
52344
|
// src/details/index.ts
|
|
52345
|
+
var CLOUDFLARE_CONFIG_FILE = "cloudflare.config.ts";
|
|
52206
52346
|
function assertNonConfigured(details) {
|
|
52207
52347
|
assert3(
|
|
52208
52348
|
details.configured === false,
|
|
@@ -52239,15 +52379,15 @@ __name(findAssetsDir, "findAssetsDir");
|
|
|
52239
52379
|
async function getDetailsForAutoConfig({
|
|
52240
52380
|
projectPath = process.cwd(),
|
|
52241
52381
|
wranglerConfig,
|
|
52382
|
+
target = "cf",
|
|
52242
52383
|
context
|
|
52243
52384
|
}) {
|
|
52244
52385
|
const { logger } = context;
|
|
52245
52386
|
logger.debug(`Running autoconfig detection in ${projectPath}...`);
|
|
52246
|
-
|
|
52247
|
-
|
|
52248
|
-
|
|
52249
|
-
|
|
52250
|
-
) {
|
|
52387
|
+
const hasCloudflareConfig = target === "cf" && existsSync(resolve(projectPath, CLOUDFLARE_CONFIG_FILE));
|
|
52388
|
+
if (target === "wrangler" && // If a real Wrangler config has been found the project is already configured for Workers
|
|
52389
|
+
wranglerConfig?.configPath && // Unless `pages_build_output_dir` is set, since that indicates that the project is a Pages one instead
|
|
52390
|
+
!wranglerConfig.pages_build_output_dir) {
|
|
52251
52391
|
return {
|
|
52252
52392
|
configured: true,
|
|
52253
52393
|
projectPath,
|
|
@@ -52256,7 +52396,7 @@ async function getDetailsForAutoConfig({
|
|
|
52256
52396
|
packageManager: NpmPackageManager
|
|
52257
52397
|
};
|
|
52258
52398
|
}
|
|
52259
|
-
const { detectedFramework, packageManager, isWorkspaceRoot } = await detectFramework(projectPath, context, wranglerConfig);
|
|
52399
|
+
const { detectedFramework, packageManager, isWorkspaceRoot } = await detectFramework(projectPath, context, { wranglerConfig, target });
|
|
52260
52400
|
const framework = getFrameworkClassInstance(detectedFramework.framework.id);
|
|
52261
52401
|
const packageJsonPath = resolve(projectPath, "package.json");
|
|
52262
52402
|
let packageJson;
|
|
@@ -52268,19 +52408,19 @@ async function getDetailsForAutoConfig({
|
|
|
52268
52408
|
} catch {
|
|
52269
52409
|
logger.debug("No package.json found when running autoconfig");
|
|
52270
52410
|
}
|
|
52271
|
-
const configured = framework.isConfigured(projectPath
|
|
52411
|
+
const configured = hasCloudflareConfig || framework.isConfigured(projectPath, { target });
|
|
52272
52412
|
const outputDir = detectedFramework?.dist ?? await findAssetsDir(projectPath);
|
|
52273
52413
|
const baseDetails = {
|
|
52274
52414
|
projectPath,
|
|
52275
52415
|
framework,
|
|
52276
52416
|
packageJson,
|
|
52277
52417
|
packageManager,
|
|
52278
|
-
|
|
52279
|
-
|
|
52280
|
-
|
|
52281
|
-
|
|
52282
|
-
|
|
52283
|
-
|
|
52418
|
+
devCommand: getProjectCommand(detectedFramework.devCommand, packageManager),
|
|
52419
|
+
buildCommand: getProjectCommand(
|
|
52420
|
+
detectedFramework.buildCommand,
|
|
52421
|
+
packageManager
|
|
52422
|
+
),
|
|
52423
|
+
env: framework.env,
|
|
52284
52424
|
workerName: getWorkerName(packageJson?.name, projectPath)
|
|
52285
52425
|
};
|
|
52286
52426
|
if (configured) {
|
|
@@ -52306,19 +52446,19 @@ async function getDetailsForAutoConfig({
|
|
|
52306
52446
|
};
|
|
52307
52447
|
}
|
|
52308
52448
|
__name(getDetailsForAutoConfig, "getDetailsForAutoConfig");
|
|
52309
|
-
function
|
|
52310
|
-
if (!
|
|
52449
|
+
function getProjectCommand(command, packageManager) {
|
|
52450
|
+
if (!command) {
|
|
52311
52451
|
return void 0;
|
|
52312
52452
|
}
|
|
52313
52453
|
const { type, dlx, npx } = packageManager;
|
|
52314
52454
|
for (const packageManagerCommandPrefix of [type, dlx.join(" "), npx]) {
|
|
52315
|
-
if (
|
|
52316
|
-
return
|
|
52455
|
+
if (command.startsWith(packageManagerCommandPrefix)) {
|
|
52456
|
+
return command;
|
|
52317
52457
|
}
|
|
52318
52458
|
}
|
|
52319
|
-
return `${npx} ${
|
|
52459
|
+
return `${npx} ${command}`;
|
|
52320
52460
|
}
|
|
52321
|
-
__name(
|
|
52461
|
+
__name(getProjectCommand, "getProjectCommand");
|
|
52322
52462
|
function displayAutoConfigDetails(autoConfigDetails, context, displayOptions) {
|
|
52323
52463
|
const { logger } = context;
|
|
52324
52464
|
logger.log("");
|
|
@@ -52411,11 +52551,12 @@ async function confirmAutoConfigDetails(autoConfigDetails, context) {
|
|
|
52411
52551
|
__name(confirmAutoConfigDetails, "confirmAutoConfigDetails");
|
|
52412
52552
|
async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
|
|
52413
52553
|
const { context } = autoConfigOptions;
|
|
52554
|
+
const target = autoConfigOptions.target ?? "cf";
|
|
52414
52555
|
const { logger } = context;
|
|
52415
52556
|
const dryRun = autoConfigOptions.dryRun === true;
|
|
52416
52557
|
const runBuild = !dryRun && (autoConfigOptions.runBuild ?? true);
|
|
52417
52558
|
const skipConfirmations = dryRun || autoConfigOptions.skipConfirmations === true;
|
|
52418
|
-
const
|
|
52559
|
+
const enableTargetCliInstallation = autoConfigOptions.enableTargetCliInstallation ?? true;
|
|
52419
52560
|
assertNonConfigured(autoConfigDetails);
|
|
52420
52561
|
displayAutoConfigDetails(autoConfigDetails, context);
|
|
52421
52562
|
const updatedAutoConfigDetails = skipConfirmations ? autoConfigDetails : await confirmAutoConfigDetails(autoConfigDetails, context);
|
|
@@ -52442,10 +52583,9 @@ async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
|
|
|
52442
52583
|
"The Output Directory is unexpectedly missing"
|
|
52443
52584
|
);
|
|
52444
52585
|
const compatibilityDate = DEFAULT_COMPAT_DATE;
|
|
52445
|
-
const
|
|
52446
|
-
$schema: "node_modules/wrangler/config-schema.json",
|
|
52586
|
+
const defaultWorkerConfig = {
|
|
52447
52587
|
name: autoConfigDetails.workerName,
|
|
52448
|
-
|
|
52588
|
+
compatibilityDate,
|
|
52449
52589
|
observability: {
|
|
52450
52590
|
enabled: true
|
|
52451
52591
|
}
|
|
@@ -52463,6 +52603,7 @@ async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
|
|
|
52463
52603
|
);
|
|
52464
52604
|
}
|
|
52465
52605
|
const dryRunConfigurationResults = await autoConfigDetails.framework.configure({
|
|
52606
|
+
target,
|
|
52466
52607
|
outputDir: autoConfigDetails.outputDir,
|
|
52467
52608
|
projectPath: autoConfigDetails.projectPath,
|
|
52468
52609
|
workerName: autoConfigDetails.workerName,
|
|
@@ -52471,18 +52612,29 @@ async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
|
|
|
52471
52612
|
packageManager,
|
|
52472
52613
|
context
|
|
52473
52614
|
});
|
|
52615
|
+
const dryRunWorkerConfig = mergeWorkerConfig(
|
|
52616
|
+
defaultWorkerConfig,
|
|
52617
|
+
dryRunConfigurationResults.workerConfig
|
|
52618
|
+
);
|
|
52619
|
+
if (target === "cf" && dryRunConfigurationResults.buildTool === "wrangler" && dryRunConfigurationResults.buildConfig && existsSync(resolve(autoConfigDetails.projectPath, "wrangler.config.ts"))) {
|
|
52620
|
+
throw new FatalError(
|
|
52621
|
+
"Cannot generate wrangler.config.ts because the file already exists. Remove or rename the existing file, then run autoconfig again.",
|
|
52622
|
+
{ telemetryMessage: "autoconfig wrangler config conflict" }
|
|
52623
|
+
);
|
|
52624
|
+
}
|
|
52474
52625
|
const { npx } = packageManager;
|
|
52626
|
+
const buildCommand = dryRunConfigurationResults.buildCommandOverride ?? autoConfigDetails.buildCommand;
|
|
52475
52627
|
const autoConfigSummary = await buildOperationsSummary(
|
|
52476
52628
|
{ ...autoConfigDetails, outputDir: autoConfigDetails.outputDir },
|
|
52477
|
-
|
|
52478
|
-
|
|
52479
|
-
...dryRunConfigurationResults.wranglerConfig
|
|
52480
|
-
}),
|
|
52629
|
+
dryRunWorkerConfig,
|
|
52630
|
+
dryRunConfigurationResults,
|
|
52481
52631
|
{
|
|
52482
|
-
build:
|
|
52483
|
-
deploy: dryRunConfigurationResults.deployCommandOverride ?? `${npx}
|
|
52484
|
-
version: dryRunConfigurationResults
|
|
52632
|
+
build: buildCommand,
|
|
52633
|
+
deploy: dryRunConfigurationResults.deployCommandOverride ?? `${npx} ${target} deploy`,
|
|
52634
|
+
version: dryRunConfigurationResults.versionCommandOverride ?? `${npx} ${target} versions upload`
|
|
52485
52635
|
},
|
|
52636
|
+
enableTargetCliInstallation,
|
|
52637
|
+
target,
|
|
52486
52638
|
context,
|
|
52487
52639
|
dryRunConfigurationResults.packageJsonScriptsOverrides
|
|
52488
52640
|
);
|
|
@@ -52502,10 +52654,24 @@ async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
|
|
|
52502
52654
|
`Running autoconfig with:
|
|
52503
52655
|
${JSON.stringify(autoConfigDetails, null, 2)}...`
|
|
52504
52656
|
);
|
|
52505
|
-
if (
|
|
52657
|
+
if (autoConfigDetails.packageJson && enableTargetCliInstallation) {
|
|
52658
|
+
if (target === "cf") {
|
|
52659
|
+
const hasCfDependency = autoConfigDetails.packageJson.dependencies?.cf !== void 0 || autoConfigDetails.packageJson.devDependencies?.cf !== void 0;
|
|
52660
|
+
if (!hasCfDependency) {
|
|
52661
|
+
await installPackages(packageManager.type, ["cf@latest"], {
|
|
52662
|
+
dev: true,
|
|
52663
|
+
isWorkspaceRoot
|
|
52664
|
+
});
|
|
52665
|
+
}
|
|
52666
|
+
} else {
|
|
52667
|
+
await installWrangler(packageManager.type, isWorkspaceRoot);
|
|
52668
|
+
}
|
|
52669
|
+
}
|
|
52670
|
+
if (autoConfigDetails.packageJson && target === "cf" && dryRunConfigurationResults.buildTool === "wrangler") {
|
|
52506
52671
|
await installWrangler(packageManager.type, isWorkspaceRoot);
|
|
52507
52672
|
}
|
|
52508
52673
|
const configurationResults = await autoConfigDetails.framework.configure({
|
|
52674
|
+
target,
|
|
52509
52675
|
outputDir: autoConfigDetails.outputDir,
|
|
52510
52676
|
projectPath: autoConfigDetails.projectPath,
|
|
52511
52677
|
workerName: autoConfigDetails.workerName,
|
|
@@ -52514,6 +52680,10 @@ ${JSON.stringify(autoConfigDetails, null, 2)}...`
|
|
|
52514
52680
|
packageManager,
|
|
52515
52681
|
context
|
|
52516
52682
|
});
|
|
52683
|
+
const workerConfig = mergeWorkerConfig(
|
|
52684
|
+
defaultWorkerConfig,
|
|
52685
|
+
configurationResults.workerConfig
|
|
52686
|
+
);
|
|
52517
52687
|
if (autoConfigDetails.packageJson) {
|
|
52518
52688
|
const packageJsonPath = resolve(
|
|
52519
52689
|
autoConfigDetails.projectPath,
|
|
@@ -52537,11 +52707,25 @@ ${JSON.stringify(autoConfigDetails, null, 2)}...`
|
|
|
52537
52707
|
) + "\n"
|
|
52538
52708
|
);
|
|
52539
52709
|
}
|
|
52540
|
-
if (
|
|
52541
|
-
|
|
52542
|
-
|
|
52543
|
-
|
|
52544
|
-
|
|
52710
|
+
if (target === "wrangler") {
|
|
52711
|
+
const wranglerConfig = getWranglerConfig(
|
|
52712
|
+
workerConfig,
|
|
52713
|
+
configurationResults
|
|
52714
|
+
);
|
|
52715
|
+
if (wranglerConfig !== null) {
|
|
52716
|
+
await saveWranglerJsonc(autoConfigDetails.projectPath, wranglerConfig);
|
|
52717
|
+
}
|
|
52718
|
+
}
|
|
52719
|
+
if (target === "cf") {
|
|
52720
|
+
if (workerConfig !== null) {
|
|
52721
|
+
await saveCloudflareConfig(autoConfigDetails.projectPath, workerConfig);
|
|
52722
|
+
}
|
|
52723
|
+
if (configurationResults.buildTool === "wrangler" && configurationResults.buildConfig) {
|
|
52724
|
+
await saveWranglerConfigTs(
|
|
52725
|
+
autoConfigDetails.projectPath,
|
|
52726
|
+
configurationResults.buildConfig
|
|
52727
|
+
);
|
|
52728
|
+
}
|
|
52545
52729
|
}
|
|
52546
52730
|
maybeAppendWranglerToGitIgnore(autoConfigDetails.projectPath);
|
|
52547
52731
|
if (autoConfigDetails.outputDir === autoConfigDetails.projectPath) {
|
|
@@ -52549,7 +52733,6 @@ ${JSON.stringify(autoConfigDetails, null, 2)}...`
|
|
|
52549
52733
|
`${autoConfigDetails.projectPath}/.assetsignore`
|
|
52550
52734
|
);
|
|
52551
52735
|
}
|
|
52552
|
-
const buildCommand = configurationResults.buildCommandOverride ?? autoConfigDetails.buildCommand;
|
|
52553
52736
|
if (buildCommand && runBuild) {
|
|
52554
52737
|
await context.runCommand(
|
|
52555
52738
|
buildCommand,
|
|
@@ -52560,6 +52743,32 @@ ${JSON.stringify(autoConfigDetails, null, 2)}...`
|
|
|
52560
52743
|
return autoConfigSummary;
|
|
52561
52744
|
}
|
|
52562
52745
|
__name(runAutoConfig, "runAutoConfig");
|
|
52746
|
+
function mergeWorkerConfig(defaultWorkerConfig, workerConfig) {
|
|
52747
|
+
return workerConfig === null ? null : { ...defaultWorkerConfig, ...workerConfig };
|
|
52748
|
+
}
|
|
52749
|
+
__name(mergeWorkerConfig, "mergeWorkerConfig");
|
|
52750
|
+
function getWranglerConfig(workerConfig, configurationResults) {
|
|
52751
|
+
if (workerConfig === null) {
|
|
52752
|
+
return null;
|
|
52753
|
+
}
|
|
52754
|
+
const parsedWorkerConfig = InputWorkerSchema.parse({
|
|
52755
|
+
type: "worker",
|
|
52756
|
+
...workerConfig
|
|
52757
|
+
});
|
|
52758
|
+
const convertedWranglerConfig = convertToWranglerConfig(parsedWorkerConfig);
|
|
52759
|
+
const wranglerConfig = ensureNodejsCompatIsEnabled({
|
|
52760
|
+
$schema: "node_modules/wrangler/config-schema.json",
|
|
52761
|
+
...convertedWranglerConfig,
|
|
52762
|
+
...configurationResults.buildConfig?.assetsDirectory ? {
|
|
52763
|
+
assets: {
|
|
52764
|
+
...convertedWranglerConfig.assets,
|
|
52765
|
+
directory: configurationResults.buildConfig.assetsDirectory
|
|
52766
|
+
}
|
|
52767
|
+
} : {}
|
|
52768
|
+
});
|
|
52769
|
+
return wranglerConfig;
|
|
52770
|
+
}
|
|
52771
|
+
__name(getWranglerConfig, "getWranglerConfig");
|
|
52563
52772
|
function ensureNodejsCompatIsEnabled(wranglerConfig) {
|
|
52564
52773
|
const flags = (wranglerConfig.compatibility_flags ?? []).filter(
|
|
52565
52774
|
(flag) => !flag.startsWith("nodejs_")
|
|
@@ -52594,39 +52803,88 @@ async function saveWranglerJsonc(projectPath, wranglerConfig) {
|
|
|
52594
52803
|
);
|
|
52595
52804
|
}
|
|
52596
52805
|
__name(saveWranglerJsonc, "saveWranglerJsonc");
|
|
52597
|
-
async function
|
|
52806
|
+
async function saveCloudflareConfig(projectPath, workerConfig) {
|
|
52807
|
+
await writeFile(
|
|
52808
|
+
resolve(projectPath, "cloudflare.config.ts"),
|
|
52809
|
+
renderCloudflareConfig(workerConfig)
|
|
52810
|
+
);
|
|
52811
|
+
}
|
|
52812
|
+
__name(saveCloudflareConfig, "saveCloudflareConfig");
|
|
52813
|
+
async function saveWranglerConfigTs(projectPath, buildConfig) {
|
|
52814
|
+
await writeFile(
|
|
52815
|
+
resolve(projectPath, "wrangler.config.ts"),
|
|
52816
|
+
renderWranglerConfigTs(buildConfig)
|
|
52817
|
+
);
|
|
52818
|
+
}
|
|
52819
|
+
__name(saveWranglerConfigTs, "saveWranglerConfigTs");
|
|
52820
|
+
function renderCloudflareConfig(workerConfig) {
|
|
52821
|
+
return `import { defineWorker } from "cf/config";
|
|
52822
|
+
|
|
52823
|
+
export default defineWorker(${JSON.stringify(workerConfig, null, 2)});
|
|
52824
|
+
`;
|
|
52825
|
+
}
|
|
52826
|
+
__name(renderCloudflareConfig, "renderCloudflareConfig");
|
|
52827
|
+
function renderWranglerConfigTs(buildConfig) {
|
|
52828
|
+
return `import { defineWranglerConfig } from "wrangler/experimental-config";
|
|
52829
|
+
|
|
52830
|
+
export default defineWranglerConfig(${JSON.stringify(buildConfig, null, 2)});
|
|
52831
|
+
`;
|
|
52832
|
+
}
|
|
52833
|
+
__name(renderWranglerConfigTs, "renderWranglerConfigTs");
|
|
52834
|
+
function indentFileContent(content) {
|
|
52835
|
+
return " " + content.trimEnd().replace(/\n/g, "\n ");
|
|
52836
|
+
}
|
|
52837
|
+
__name(indentFileContent, "indentFileContent");
|
|
52838
|
+
async function buildOperationsSummary(autoConfigDetails, workerConfig, configurationResults, projectCommands, enableTargetCliInstallation, target, context, packageJsonScriptsOverrides) {
|
|
52598
52839
|
const { logger } = context;
|
|
52599
52840
|
logger.log("");
|
|
52841
|
+
const wranglerConfig = target === "wrangler" ? getWranglerConfig(workerConfig, configurationResults) : null;
|
|
52600
52842
|
const summary = {
|
|
52601
|
-
wranglerInstall: false,
|
|
52602
52843
|
scripts: {},
|
|
52603
|
-
...
|
|
52604
|
-
|
|
52605
|
-
|
|
52844
|
+
...target === "wrangler" ? { wranglerConfig: wranglerConfig ?? void 0 } : {
|
|
52845
|
+
workerConfig: workerConfig ?? void 0,
|
|
52846
|
+
buildConfig: configurationResults.buildConfig
|
|
52847
|
+
},
|
|
52606
52848
|
outputDir: autoConfigDetails.outputDir,
|
|
52607
52849
|
frameworkId: autoConfigDetails.framework.id,
|
|
52608
52850
|
buildCommand: projectCommands.build,
|
|
52609
52851
|
deployCommand: projectCommands.deploy,
|
|
52610
52852
|
versionCommand: projectCommands.version
|
|
52611
52853
|
};
|
|
52854
|
+
const packagesToInstall = /* @__PURE__ */ new Set();
|
|
52612
52855
|
if (autoConfigDetails.packageJson) {
|
|
52613
|
-
|
|
52856
|
+
if (enableTargetCliInstallation) {
|
|
52857
|
+
packagesToInstall.add(target);
|
|
52858
|
+
}
|
|
52859
|
+
if (configurationResults.buildTool === "vite") {
|
|
52860
|
+
packagesToInstall.add("@cloudflare/vite-plugin");
|
|
52861
|
+
} else if (target === "cf" && configurationResults.buildTool === "wrangler") {
|
|
52862
|
+
packagesToInstall.add("wrangler");
|
|
52863
|
+
}
|
|
52864
|
+
}
|
|
52865
|
+
if (packagesToInstall.size > 0) {
|
|
52614
52866
|
logger.log("\u{1F4E6} Install packages:");
|
|
52615
|
-
|
|
52867
|
+
for (const packageName of packagesToInstall) {
|
|
52868
|
+
logger.log(` - ${packageName} (devDependency)`);
|
|
52869
|
+
}
|
|
52616
52870
|
logger.log("");
|
|
52871
|
+
}
|
|
52872
|
+
if (autoConfigDetails.packageJson) {
|
|
52873
|
+
const scriptOverrides = target === "wrangler" ? packageJsonScriptsOverrides : void 0;
|
|
52874
|
+
const buildCommandPrefix = target === "wrangler" && autoConfigDetails.buildCommand ? `${autoConfigDetails.buildCommand} && ` : "";
|
|
52617
52875
|
summary.scripts = {
|
|
52618
|
-
deploy:
|
|
52619
|
-
preview:
|
|
52876
|
+
deploy: scriptOverrides?.deploy ?? `${buildCommandPrefix}${target} deploy`,
|
|
52877
|
+
preview: scriptOverrides?.preview ?? `${buildCommandPrefix}${target} dev`
|
|
52620
52878
|
};
|
|
52621
52879
|
const containsServerSideCode = (
|
|
52622
52880
|
// If there is an entrypoint then we know that there is server side code
|
|
52623
|
-
!!
|
|
52881
|
+
!!workerConfig?.entrypoint
|
|
52624
52882
|
);
|
|
52625
52883
|
if (
|
|
52626
52884
|
// If there is no server side code, then there is no need to add the cf-typegen script
|
|
52627
52885
|
containsServerSideCode && usesTypescript(autoConfigDetails.projectPath) && !("cf-typegen" in (autoConfigDetails.packageJson.scripts ?? {}))
|
|
52628
52886
|
) {
|
|
52629
|
-
summary.scripts["cf-typegen"] =
|
|
52887
|
+
summary.scripts["cf-typegen"] = scriptOverrides?.typegen ?? `${target} types`;
|
|
52630
52888
|
}
|
|
52631
52889
|
logger.log("\u{1F4DD} Update package.json scripts:");
|
|
52632
52890
|
for (const [name, script] of Object.entries(summary.scripts)) {
|
|
@@ -52634,7 +52892,21 @@ async function buildOperationsSummary(autoConfigDetails, wranglerConfigToWrite,
|
|
|
52634
52892
|
}
|
|
52635
52893
|
logger.log("");
|
|
52636
52894
|
}
|
|
52637
|
-
if (
|
|
52895
|
+
if (target === "cf" && workerConfig) {
|
|
52896
|
+
logger.log("\u{1F4C4} Create cloudflare.config.ts:");
|
|
52897
|
+
logger.log(indentFileContent(renderCloudflareConfig(workerConfig)));
|
|
52898
|
+
logger.log("");
|
|
52899
|
+
}
|
|
52900
|
+
if (target === "cf" && configurationResults.buildTool === "wrangler" && configurationResults.buildConfig) {
|
|
52901
|
+
logger.log("\u{1F4C4} Create wrangler.config.ts:");
|
|
52902
|
+
logger.log(
|
|
52903
|
+
indentFileContent(
|
|
52904
|
+
renderWranglerConfigTs(configurationResults.buildConfig)
|
|
52905
|
+
)
|
|
52906
|
+
);
|
|
52907
|
+
logger.log("");
|
|
52908
|
+
}
|
|
52909
|
+
if (target === "wrangler" && wranglerConfig) {
|
|
52638
52910
|
const wranglerConfigPath = resolve(
|
|
52639
52911
|
autoConfigDetails.projectPath,
|
|
52640
52912
|
"wrangler.jsonc"
|
|
@@ -52644,11 +52916,13 @@ async function buildOperationsSummary(autoConfigDetails, wranglerConfigToWrite,
|
|
|
52644
52916
|
configExists ? "\u{1F4C4} Update wrangler.jsonc:" : "\u{1F4C4} Create wrangler.jsonc:"
|
|
52645
52917
|
);
|
|
52646
52918
|
logger.log(
|
|
52647
|
-
" " + JSON.stringify(
|
|
52919
|
+
" " + JSON.stringify(wranglerConfig, null, 2).replace(/\n/g, "\n ")
|
|
52648
52920
|
);
|
|
52649
52921
|
logger.log("");
|
|
52650
52922
|
}
|
|
52651
|
-
if (autoConfigDetails.framework && !(autoConfigDetails.framework instanceof Static) && !autoConfigDetails.framework.isConfigured(autoConfigDetails.projectPath
|
|
52923
|
+
if (autoConfigDetails.framework && !(autoConfigDetails.framework instanceof Static) && !autoConfigDetails.framework.isConfigured(autoConfigDetails.projectPath, {
|
|
52924
|
+
target
|
|
52925
|
+
})) {
|
|
52652
52926
|
summary.frameworkConfiguration = autoConfigDetails.framework.configurationDescription ?? `Configuring project for ${autoConfigDetails.framework.name}`;
|
|
52653
52927
|
logger.log(`\u{1F6E0}\uFE0F ${summary.frameworkConfiguration}`);
|
|
52654
52928
|
logger.log("");
|