@superblocksteam/cli 2.0.146 → 2.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{acorn-4DRBOQ6O.js → acorn-2W2DFXJS.js} +3 -3
- package/dist/{angular-GRF37QQC.js → angular-D2D5J4JP.js} +3 -3
- package/dist/{api-6ZEIJ4E6.js → api-CTDO4YMX.js} +4 -4
- package/dist/{babel-E2NU4BKW.js → babel-N2XZK2DF.js} +3 -3
- package/dist/{chunk-XREUZFAF.js → chunk-2K42QQSU.js} +3 -3
- package/dist/{chunk-YSLC7F55.js → chunk-AKIIZXGY.js} +3 -3
- package/dist/{chunk-POQREDYJ.js → chunk-BLBCTEVM.js} +4 -4
- package/dist/{chunk-PS63AST3.js → chunk-DQ6URD4I.js} +6 -6
- package/dist/{chunk-43U6TS6J.js → chunk-DZQUVAY4.js} +207 -50
- package/dist/{chunk-43U6TS6J.js.map → chunk-DZQUVAY4.js.map} +1 -1
- package/dist/{chunk-YKQ6WHEK.js → chunk-EQDLQODI.js} +2 -2
- package/dist/{chunk-R2625S2Z.js → chunk-J6AQ6XUC.js} +3 -3
- package/dist/{chunk-NWVE4UVV.js → chunk-K7HTSR2G.js} +3 -3
- package/dist/{chunk-QC77ZOSF.js → chunk-KK6FLCYM.js} +3 -3
- package/dist/{chunk-BDKGHSCA.js → chunk-NT3RLPWF.js} +4 -4
- package/dist/{chunk-2SABYOB2.js → chunk-NWS3FPZF.js} +3 -3
- package/dist/{chunk-765RHOSV.js → chunk-RPKJ3CWK.js} +4 -4
- package/dist/{chunk-UGJQKTNT.js → chunk-SAJCSN4D.js} +3 -3
- package/dist/{chunk-ENRKWBP4.js → chunk-TNM4TXR2.js} +4 -4
- package/dist/{chunk-3Q7YRSCE.js → chunk-U25NRBOO.js} +6 -6
- package/dist/{chunk-4CWXO6CY.js → chunk-USEN3OY6.js} +3 -3
- package/dist/{chunk-GNYCPHYL.js → chunk-VNBOW4FE.js} +3 -3
- package/dist/{chunk-W6ENX4ZK.js → chunk-WHZLDGAU.js} +3 -3
- package/dist/{cli-truncate-HL27WZ7W.js → cli-truncate-63BLANIQ.js} +5 -5
- package/dist/commands/dev-parent.js +3 -3
- package/dist/{dd-trace-WWD3IBZX.js → dd-trace-DKVGHU3H.js} +7 -7
- package/dist/{dist-KPY6COVL.js → dist-PDM7ZZZF.js} +14 -14
- package/dist/{embedded-playwright-mcp-server-YFQIGBZN.js → embedded-playwright-mcp-server-M6FZKLJW.js} +3 -3
- package/dist/{enquirer-ZP3EXYYJ.js → enquirer-XGAN5WFZ.js} +4 -4
- package/dist/{estree-EQAKSXJO.js → estree-LETDVPM2.js} +3 -3
- package/dist/{flow-WULHCHFQ.js → flow-OCRMAJBV.js} +3 -3
- package/dist/{getMachineId-bsd-YZVY3QMR.js → getMachineId-bsd-JJBJZOAZ.js} +5 -5
- package/dist/{getMachineId-darwin-6BR7C5BU.js → getMachineId-darwin-GMUDSMU3.js} +5 -5
- package/dist/{getMachineId-linux-3Z6NSUGE.js → getMachineId-linux-NJEHC6ZR.js} +4 -4
- package/dist/{getMachineId-unsupported-7ZBHATP3.js → getMachineId-unsupported-YQJ6TIYK.js} +4 -4
- package/dist/{getMachineId-win-TVOZB74M.js → getMachineId-win-R4WBXXOH.js} +5 -5
- package/dist/{glimmer-EOORPNY3.js → glimmer-SNAUKJME.js} +3 -3
- package/dist/{graphql-XGFQHBHT.js → graphql-TG2ZP6L4.js} +3 -3
- package/dist/{html-DJKVWPEQ.js → html-MXPM2VMF.js} +3 -3
- package/dist/{http-HQLILXFG.js → http-VYDR5FY7.js} +13 -13
- package/dist/index.js +19 -19
- package/dist/{jiti-G2TMCE4C.js → jiti-VDISF65R.js} +3 -3
- package/dist/{log-update-2WAL2TYS.js → log-update-LGZQ6XDV.js} +6 -6
- package/dist/{markdown-TYTVDVPZ.js → markdown-YKQILULV.js} +3 -3
- package/dist/{meriyah-2WE5XRYY.js → meriyah-ANYZ5QUF.js} +3 -3
- package/dist/{postcss-G7C6UHHQ.js → postcss-TOMURU2F.js} +3 -3
- package/dist/{read-pkg-HSKYHNP2.js → read-pkg-OCOTIFAE.js} +5 -5
- package/dist/{spans-E3RC3ZAP.js → spans-Z5HRYNRP.js} +4 -4
- package/dist/{src-KMNR2VBF.js → src-ZIEPXNK5.js} +3 -3
- package/dist/{token-RUIH5KKB.js → token-RNTJFR2X.js} +5 -5
- package/dist/{token-util-UX265FBE.js → token-util-PVSFKKL5.js} +5 -5
- package/dist/{typescript-55XTKGRC.js → typescript-UJ5YTZHB.js} +3 -3
- package/dist/{wrap-ansi-4Z5IIBI7.js → wrap-ansi-LVFWNNOE.js} +5 -5
- package/dist/{yaml-RBHQZVXI.js → yaml-WCDEAN3L.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- /package/dist/{acorn-4DRBOQ6O.js.map → acorn-2W2DFXJS.js.map} +0 -0
- /package/dist/{angular-GRF37QQC.js.map → angular-D2D5J4JP.js.map} +0 -0
- /package/dist/{api-6ZEIJ4E6.js.map → api-CTDO4YMX.js.map} +0 -0
- /package/dist/{babel-E2NU4BKW.js.map → babel-N2XZK2DF.js.map} +0 -0
- /package/dist/{chunk-XREUZFAF.js.map → chunk-2K42QQSU.js.map} +0 -0
- /package/dist/{chunk-YSLC7F55.js.map → chunk-AKIIZXGY.js.map} +0 -0
- /package/dist/{chunk-POQREDYJ.js.map → chunk-BLBCTEVM.js.map} +0 -0
- /package/dist/{chunk-PS63AST3.js.map → chunk-DQ6URD4I.js.map} +0 -0
- /package/dist/{chunk-YKQ6WHEK.js.map → chunk-EQDLQODI.js.map} +0 -0
- /package/dist/{chunk-R2625S2Z.js.map → chunk-J6AQ6XUC.js.map} +0 -0
- /package/dist/{chunk-NWVE4UVV.js.map → chunk-K7HTSR2G.js.map} +0 -0
- /package/dist/{chunk-QC77ZOSF.js.map → chunk-KK6FLCYM.js.map} +0 -0
- /package/dist/{chunk-BDKGHSCA.js.map → chunk-NT3RLPWF.js.map} +0 -0
- /package/dist/{chunk-2SABYOB2.js.map → chunk-NWS3FPZF.js.map} +0 -0
- /package/dist/{chunk-765RHOSV.js.map → chunk-RPKJ3CWK.js.map} +0 -0
- /package/dist/{chunk-UGJQKTNT.js.map → chunk-SAJCSN4D.js.map} +0 -0
- /package/dist/{chunk-ENRKWBP4.js.map → chunk-TNM4TXR2.js.map} +0 -0
- /package/dist/{chunk-3Q7YRSCE.js.map → chunk-U25NRBOO.js.map} +0 -0
- /package/dist/{chunk-4CWXO6CY.js.map → chunk-USEN3OY6.js.map} +0 -0
- /package/dist/{chunk-GNYCPHYL.js.map → chunk-VNBOW4FE.js.map} +0 -0
- /package/dist/{chunk-W6ENX4ZK.js.map → chunk-WHZLDGAU.js.map} +0 -0
- /package/dist/{cli-truncate-HL27WZ7W.js.map → cli-truncate-63BLANIQ.js.map} +0 -0
- /package/dist/{dd-trace-WWD3IBZX.js.map → dd-trace-DKVGHU3H.js.map} +0 -0
- /package/dist/{dist-KPY6COVL.js.map → dist-PDM7ZZZF.js.map} +0 -0
- /package/dist/{embedded-playwright-mcp-server-YFQIGBZN.js.map → embedded-playwright-mcp-server-M6FZKLJW.js.map} +0 -0
- /package/dist/{enquirer-ZP3EXYYJ.js.map → enquirer-XGAN5WFZ.js.map} +0 -0
- /package/dist/{estree-EQAKSXJO.js.map → estree-LETDVPM2.js.map} +0 -0
- /package/dist/{flow-WULHCHFQ.js.map → flow-OCRMAJBV.js.map} +0 -0
- /package/dist/{getMachineId-bsd-YZVY3QMR.js.map → getMachineId-bsd-JJBJZOAZ.js.map} +0 -0
- /package/dist/{getMachineId-darwin-6BR7C5BU.js.map → getMachineId-darwin-GMUDSMU3.js.map} +0 -0
- /package/dist/{getMachineId-linux-3Z6NSUGE.js.map → getMachineId-linux-NJEHC6ZR.js.map} +0 -0
- /package/dist/{getMachineId-unsupported-7ZBHATP3.js.map → getMachineId-unsupported-YQJ6TIYK.js.map} +0 -0
- /package/dist/{getMachineId-win-TVOZB74M.js.map → getMachineId-win-R4WBXXOH.js.map} +0 -0
- /package/dist/{glimmer-EOORPNY3.js.map → glimmer-SNAUKJME.js.map} +0 -0
- /package/dist/{graphql-XGFQHBHT.js.map → graphql-TG2ZP6L4.js.map} +0 -0
- /package/dist/{html-DJKVWPEQ.js.map → html-MXPM2VMF.js.map} +0 -0
- /package/dist/{http-HQLILXFG.js.map → http-VYDR5FY7.js.map} +0 -0
- /package/dist/{jiti-G2TMCE4C.js.map → jiti-VDISF65R.js.map} +0 -0
- /package/dist/{log-update-2WAL2TYS.js.map → log-update-LGZQ6XDV.js.map} +0 -0
- /package/dist/{markdown-TYTVDVPZ.js.map → markdown-YKQILULV.js.map} +0 -0
- /package/dist/{meriyah-2WE5XRYY.js.map → meriyah-ANYZ5QUF.js.map} +0 -0
- /package/dist/{postcss-G7C6UHHQ.js.map → postcss-TOMURU2F.js.map} +0 -0
- /package/dist/{read-pkg-HSKYHNP2.js.map → read-pkg-OCOTIFAE.js.map} +0 -0
- /package/dist/{spans-E3RC3ZAP.js.map → spans-Z5HRYNRP.js.map} +0 -0
- /package/dist/{src-KMNR2VBF.js.map → src-ZIEPXNK5.js.map} +0 -0
- /package/dist/{token-RUIH5KKB.js.map → token-RNTJFR2X.js.map} +0 -0
- /package/dist/{token-util-UX265FBE.js.map → token-util-PVSFKKL5.js.map} +0 -0
- /package/dist/{typescript-55XTKGRC.js.map → typescript-UJ5YTZHB.js.map} +0 -0
- /package/dist/{wrap-ansi-4Z5IIBI7.js.map → wrap-ansi-LVFWNNOE.js.map} +0 -0
- /package/dist/{yaml-RBHQZVXI.js.map → yaml-WCDEAN3L.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
if (typeof process === 'object' && process !== null &&
|
|
2
2
|
process.env !== null && typeof process.env === 'object') {
|
|
3
3
|
process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
|
|
4
|
-
process.env.DD_GIT_COMMIT_SHA = '
|
|
4
|
+
process.env.DD_GIT_COMMIT_SHA = '7304396bdf5a8bf85a9288baf90d09a8eb2ccc79';
|
|
5
5
|
}
|
|
6
6
|
import { createRequire as $dd_createRequire } from 'module';
|
|
7
7
|
import { fileURLToPath as $dd_fileURLToPath } from 'url';
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
require_lib as require_lib2,
|
|
16
16
|
require_lib2 as require_lib3,
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NWS3FPZF.js";
|
|
19
19
|
import {
|
|
20
20
|
debounce_default,
|
|
21
21
|
get_default,
|
|
@@ -32,20 +32,20 @@ import {
|
|
|
32
32
|
require_lib,
|
|
33
33
|
require_slugify,
|
|
34
34
|
throttle_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-K7HTSR2G.js";
|
|
36
36
|
import {
|
|
37
37
|
require_dd_trace,
|
|
38
38
|
require_js_yaml,
|
|
39
39
|
require_module_details_from_path,
|
|
40
40
|
require_p_limit,
|
|
41
41
|
require_path_to_regexp
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DQ6URD4I.js";
|
|
43
43
|
import {
|
|
44
44
|
require_commonjs
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SAJCSN4D.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dc_polyfill
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KK6FLCYM.js";
|
|
49
49
|
import {
|
|
50
50
|
ATTR_SUPERBLOCKS_BASE_URL,
|
|
51
51
|
ATTR_SUPERBLOCKS_CSB_ID,
|
|
@@ -54,10 +54,10 @@ import {
|
|
|
54
54
|
SERVICE_NAME,
|
|
55
55
|
getEnvironmentFromHostname,
|
|
56
56
|
otlpBaseUrl
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-VNBOW4FE.js";
|
|
58
58
|
import {
|
|
59
59
|
require_token_error
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2K42QQSU.js";
|
|
61
61
|
import {
|
|
62
62
|
ROOT_CONTEXT,
|
|
63
63
|
SpanKind,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
metrics,
|
|
71
71
|
propagation,
|
|
72
72
|
trace
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-USEN3OY6.js";
|
|
74
74
|
import {
|
|
75
75
|
__commonJS,
|
|
76
76
|
__esm,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
__toCommonJS,
|
|
80
80
|
__toESM,
|
|
81
81
|
init_cjs_shims
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-EQDLQODI.js";
|
|
83
83
|
|
|
84
84
|
// ../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js
|
|
85
85
|
var require_constants2 = __commonJS({
|
|
@@ -98262,15 +98262,15 @@ var require_api_files = __commonJS({
|
|
|
98262
98262
|
exports.readAppApiYamlFile = readAppApiYamlFile4;
|
|
98263
98263
|
exports.resolveLanguageSpecificStepContentFromBlocks = resolveLanguageSpecificStepContentFromBlocks2;
|
|
98264
98264
|
async function writeApiFiles3(...args) {
|
|
98265
|
-
const esmFunction = await import("./api-
|
|
98265
|
+
const esmFunction = await import("./api-CTDO4YMX.js");
|
|
98266
98266
|
return esmFunction.writeApiFiles(...args);
|
|
98267
98267
|
}
|
|
98268
98268
|
async function readAppApiYamlFile4(...args) {
|
|
98269
|
-
const esmFunction = await import("./api-
|
|
98269
|
+
const esmFunction = await import("./api-CTDO4YMX.js");
|
|
98270
98270
|
return esmFunction.readAppApiYamlFile(...args);
|
|
98271
98271
|
}
|
|
98272
98272
|
async function resolveLanguageSpecificStepContentFromBlocks2(...args) {
|
|
98273
|
-
const esmFunction = await import("./api-
|
|
98273
|
+
const esmFunction = await import("./api-CTDO4YMX.js");
|
|
98274
98274
|
return esmFunction.resolveLanguageSpecificStepContentFromBlocks(...args);
|
|
98275
98275
|
}
|
|
98276
98276
|
}
|
|
@@ -104958,19 +104958,19 @@ var require_getMachineId = __commonJS({
|
|
|
104958
104958
|
if (!getMachineIdImpl) {
|
|
104959
104959
|
switch (process5.platform) {
|
|
104960
104960
|
case "darwin":
|
|
104961
|
-
getMachineIdImpl = (await import("./getMachineId-darwin-
|
|
104961
|
+
getMachineIdImpl = (await import("./getMachineId-darwin-GMUDSMU3.js")).getMachineId;
|
|
104962
104962
|
break;
|
|
104963
104963
|
case "linux":
|
|
104964
|
-
getMachineIdImpl = (await import("./getMachineId-linux-
|
|
104964
|
+
getMachineIdImpl = (await import("./getMachineId-linux-NJEHC6ZR.js")).getMachineId;
|
|
104965
104965
|
break;
|
|
104966
104966
|
case "freebsd":
|
|
104967
|
-
getMachineIdImpl = (await import("./getMachineId-bsd-
|
|
104967
|
+
getMachineIdImpl = (await import("./getMachineId-bsd-JJBJZOAZ.js")).getMachineId;
|
|
104968
104968
|
break;
|
|
104969
104969
|
case "win32":
|
|
104970
|
-
getMachineIdImpl = (await import("./getMachineId-win-
|
|
104970
|
+
getMachineIdImpl = (await import("./getMachineId-win-R4WBXXOH.js")).getMachineId;
|
|
104971
104971
|
break;
|
|
104972
104972
|
default:
|
|
104973
|
-
getMachineIdImpl = (await import("./getMachineId-unsupported-
|
|
104973
|
+
getMachineIdImpl = (await import("./getMachineId-unsupported-YQJ6TIYK.js")).getMachineId;
|
|
104974
104974
|
break;
|
|
104975
104975
|
}
|
|
104976
104976
|
}
|
|
@@ -186173,8 +186173,8 @@ var require_get_vercel_oidc_token = __commonJS({
|
|
|
186173
186173
|
}
|
|
186174
186174
|
try {
|
|
186175
186175
|
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
|
|
186176
|
-
await import("./token-util-
|
|
186177
|
-
await import("./token-
|
|
186176
|
+
await import("./token-util-PVSFKKL5.js"),
|
|
186177
|
+
await import("./token-RNTJFR2X.js")
|
|
186178
186178
|
]);
|
|
186179
186179
|
if (!token2 || isExpired(getTokenPayload(token2))) {
|
|
186180
186180
|
await refreshToken();
|
|
@@ -470934,7 +470934,7 @@ var require_config_loader = __commonJS({
|
|
|
470934
470934
|
* @returns {Promise<{createJiti: Function|undefined, version: string;}>} A promise that fulfills with an object containing the jiti module's createJiti function and version.
|
|
470935
470935
|
*/
|
|
470936
470936
|
static async loadJiti() {
|
|
470937
|
-
const { createJiti } = await import("./jiti-
|
|
470937
|
+
const { createJiti } = await import("./jiti-VDISF65R.js");
|
|
470938
470938
|
const version3 = require_package5().version;
|
|
470939
470939
|
return { createJiti, version: version3 };
|
|
470940
470940
|
}
|
|
@@ -471263,7 +471263,7 @@ var require_eslint_helpers = __commonJS({
|
|
|
471263
471263
|
}
|
|
471264
471264
|
async function globMatch({ basePath, pattern }) {
|
|
471265
471265
|
let found = false;
|
|
471266
|
-
const { hfs } = await import("./src-
|
|
471266
|
+
const { hfs } = await import("./src-ZIEPXNK5.js");
|
|
471267
471267
|
const patternToUse = normalizeToPosix(path81.relative(basePath, pattern));
|
|
471268
471268
|
const matcher = new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
|
|
471269
471269
|
const walkSettings = {
|
|
@@ -471303,7 +471303,7 @@ var require_eslint_helpers = __commonJS({
|
|
|
471303
471303
|
return new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
|
|
471304
471304
|
});
|
|
471305
471305
|
const unmatchedPatterns = /* @__PURE__ */ new Set([...relativeToPatterns.keys()]);
|
|
471306
|
-
const { hfs } = await import("./src-
|
|
471306
|
+
const { hfs } = await import("./src-ZIEPXNK5.js");
|
|
471307
471307
|
const walk2 = hfs.walk(basePath, {
|
|
471308
471308
|
async directoryFilter(entry) {
|
|
471309
471309
|
if (!matchers.some((matcher) => matcher.match(entry.path, true))) {
|
|
@@ -539722,7 +539722,7 @@ init_cjs_shims();
|
|
|
539722
539722
|
// ../sdk/package.json
|
|
539723
539723
|
var package_default = {
|
|
539724
539724
|
name: "@superblocksteam/sdk",
|
|
539725
|
-
version: "2.0.
|
|
539725
|
+
version: "2.0.147",
|
|
539726
539726
|
description: "Superblocks JS SDK",
|
|
539727
539727
|
homepage: "https://www.superblocks.com",
|
|
539728
539728
|
license: "Superblocks Community Software License",
|
|
@@ -540079,7 +540079,7 @@ var config = void 0;
|
|
|
540079
540079
|
var configured = false;
|
|
540080
540080
|
var ddTracePromise = void 0;
|
|
540081
540081
|
async function getDdTrace() {
|
|
540082
|
-
ddTracePromise ??= import("./dd-trace-
|
|
540082
|
+
ddTracePromise ??= import("./dd-trace-DKVGHU3H.js").then((module) => module.default);
|
|
540083
540083
|
return await ddTracePromise;
|
|
540084
540084
|
}
|
|
540085
540085
|
var deploymentType = (() => {
|
|
@@ -573984,7 +573984,7 @@ var MAX_ATTRIBUTE_LENGTH = 64e3;
|
|
|
573984
573984
|
var LLMObsSpanWriter = null;
|
|
573985
573985
|
async function loadLLMObsSpanWriter() {
|
|
573986
573986
|
if (!LLMObsSpanWriter) {
|
|
573987
|
-
const module = await import("./spans-
|
|
573987
|
+
const module = await import("./spans-Z5HRYNRP.js");
|
|
573988
573988
|
LLMObsSpanWriter = module.default;
|
|
573989
573989
|
}
|
|
573990
573990
|
return LLMObsSpanWriter;
|
|
@@ -658953,7 +658953,7 @@ var PlaywrightMcpServerManager = class {
|
|
|
658953
658953
|
this.logger.info(`Starting embedded Playwright MCP server: browser=${options8?.browser || "chromium"}, headless=${options8?.headless !== false}`);
|
|
658954
658954
|
}
|
|
658955
658955
|
try {
|
|
658956
|
-
const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-
|
|
658956
|
+
const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-M6FZKLJW.js");
|
|
658957
658957
|
this.server = await startEmbeddedPlaywrightMcpServer({
|
|
658958
658958
|
storageStatePath: options8?.storageStatePath,
|
|
658959
658959
|
jwt: options8?.jwt,
|
|
@@ -672869,7 +672869,7 @@ var import_shared67 = __toESM(require_dist2());
|
|
|
672869
672869
|
// ../../../vite-plugin-file-sync/package.json
|
|
672870
672870
|
var package_default2 = {
|
|
672871
672871
|
name: "@superblocksteam/vite-plugin-file-sync",
|
|
672872
|
-
version: "2.0.
|
|
672872
|
+
version: "2.0.147",
|
|
672873
672873
|
keywords: [
|
|
672874
672874
|
"vite-plugin"
|
|
672875
672875
|
],
|
|
@@ -697326,7 +697326,7 @@ var parseYaml3;
|
|
|
697326
697326
|
async function loadYaml(file2) {
|
|
697327
697327
|
const content19 = await read_file_default(file2);
|
|
697328
697328
|
if (!parseYaml3) {
|
|
697329
|
-
({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-
|
|
697329
|
+
({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-WCDEAN3L.js"));
|
|
697330
697330
|
}
|
|
697331
697331
|
try {
|
|
697332
697332
|
return parseYaml3(content19);
|
|
@@ -702720,7 +702720,7 @@ function createParsersAndPrinters(modules) {
|
|
|
702720
702720
|
}
|
|
702721
702721
|
var estreePlugin = createParsersAndPrinters([
|
|
702722
702722
|
{
|
|
702723
|
-
importPlugin: () => import("./estree-
|
|
702723
|
+
importPlugin: () => import("./estree-LETDVPM2.js"),
|
|
702724
702724
|
printers: ["estree", "estree-json"]
|
|
702725
702725
|
}
|
|
702726
702726
|
]);
|
|
@@ -702744,11 +702744,11 @@ var languages = [
|
|
|
702744
702744
|
];
|
|
702745
702745
|
var { parsers: parsers12, printers } = createParsersAndPrinters([
|
|
702746
702746
|
{
|
|
702747
|
-
importPlugin: () => import("./acorn-
|
|
702747
|
+
importPlugin: () => import("./acorn-2W2DFXJS.js"),
|
|
702748
702748
|
parsers: ["acorn", "espree"]
|
|
702749
702749
|
},
|
|
702750
702750
|
{
|
|
702751
|
-
importPlugin: () => import("./angular-
|
|
702751
|
+
importPlugin: () => import("./angular-D2D5J4JP.js"),
|
|
702752
702752
|
parsers: [
|
|
702753
702753
|
"__ng_action",
|
|
702754
702754
|
"__ng_binding",
|
|
@@ -702757,7 +702757,7 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
|
|
|
702757
702757
|
]
|
|
702758
702758
|
},
|
|
702759
702759
|
{
|
|
702760
|
-
importPlugin: () => import("./babel-
|
|
702760
|
+
importPlugin: () => import("./babel-N2XZK2DF.js"),
|
|
702761
702761
|
parsers: [
|
|
702762
702762
|
"babel",
|
|
702763
702763
|
"babel-flow",
|
|
@@ -702776,44 +702776,44 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
|
|
|
702776
702776
|
]
|
|
702777
702777
|
},
|
|
702778
702778
|
{
|
|
702779
|
-
importPlugin: () => import("./flow-
|
|
702779
|
+
importPlugin: () => import("./flow-OCRMAJBV.js"),
|
|
702780
702780
|
parsers: ["flow"]
|
|
702781
702781
|
},
|
|
702782
702782
|
{
|
|
702783
|
-
importPlugin: () => import("./glimmer-
|
|
702783
|
+
importPlugin: () => import("./glimmer-SNAUKJME.js"),
|
|
702784
702784
|
parsers: ["glimmer"],
|
|
702785
702785
|
printers: ["glimmer"]
|
|
702786
702786
|
},
|
|
702787
702787
|
{
|
|
702788
|
-
importPlugin: () => import("./graphql-
|
|
702788
|
+
importPlugin: () => import("./graphql-TG2ZP6L4.js"),
|
|
702789
702789
|
parsers: ["graphql"],
|
|
702790
702790
|
printers: ["graphql"]
|
|
702791
702791
|
},
|
|
702792
702792
|
{
|
|
702793
|
-
importPlugin: () => import("./html-
|
|
702793
|
+
importPlugin: () => import("./html-MXPM2VMF.js"),
|
|
702794
702794
|
parsers: ["html", "angular", "vue", "lwc", "mjml"],
|
|
702795
702795
|
printers: ["html"]
|
|
702796
702796
|
},
|
|
702797
702797
|
{
|
|
702798
|
-
importPlugin: () => import("./markdown-
|
|
702798
|
+
importPlugin: () => import("./markdown-YKQILULV.js"),
|
|
702799
702799
|
parsers: ["markdown", "mdx", "remark"],
|
|
702800
702800
|
printers: ["mdast"]
|
|
702801
702801
|
},
|
|
702802
702802
|
{
|
|
702803
|
-
importPlugin: () => import("./meriyah-
|
|
702803
|
+
importPlugin: () => import("./meriyah-ANYZ5QUF.js"),
|
|
702804
702804
|
parsers: ["meriyah"]
|
|
702805
702805
|
},
|
|
702806
702806
|
{
|
|
702807
|
-
importPlugin: () => import("./postcss-
|
|
702807
|
+
importPlugin: () => import("./postcss-TOMURU2F.js"),
|
|
702808
702808
|
parsers: ["css", "less", "scss"],
|
|
702809
702809
|
printers: ["postcss"]
|
|
702810
702810
|
},
|
|
702811
702811
|
{
|
|
702812
|
-
importPlugin: () => import("./typescript-
|
|
702812
|
+
importPlugin: () => import("./typescript-UJ5YTZHB.js"),
|
|
702813
702813
|
parsers: ["typescript"]
|
|
702814
702814
|
},
|
|
702815
702815
|
{
|
|
702816
|
-
importPlugin: () => import("./yaml-
|
|
702816
|
+
importPlugin: () => import("./yaml-WCDEAN3L.js"),
|
|
702817
702817
|
parsers: ["yaml"],
|
|
702818
702818
|
printers: ["yaml"]
|
|
702819
702819
|
}
|
|
@@ -719216,6 +719216,18 @@ var DevServerMetrics = class {
|
|
|
719216
719216
|
}).add(1, labels);
|
|
719217
719217
|
});
|
|
719218
719218
|
}
|
|
719219
|
+
/**
|
|
719220
|
+
* Records a Vite/esbuild build error suppressed instead of exiting. This is
|
|
719221
|
+
* the alertable replacement for the `dev_server_fatal_exit` log token when
|
|
719222
|
+
* optimizeDeps or transform failures would previously crash the pod.
|
|
719223
|
+
*/
|
|
719224
|
+
recordRecoverableBuildError(labels) {
|
|
719225
|
+
this.record(() => {
|
|
719226
|
+
getMeter().createCounter("dev_server_recoverable_build_error_total", {
|
|
719227
|
+
description: "Count of Vite/esbuild build errors suppressed instead of exiting, by category and handler."
|
|
719228
|
+
}).add(1, labels);
|
|
719229
|
+
});
|
|
719230
|
+
}
|
|
719219
719231
|
/**
|
|
719220
719232
|
* Records an ENOSPC disk-recovery attempt and its outcome. Lets dashboards
|
|
719221
719233
|
* and alerts answer "how often is the live-edit PVC filling up, and is
|
|
@@ -719531,6 +719543,61 @@ function isRecoverableShutdownError(reason) {
|
|
|
719531
719543
|
}
|
|
719532
719544
|
return RECOVERABLE_SHUTDOWN_CODES.has(code);
|
|
719533
719545
|
}
|
|
719546
|
+
var VITE_BUILD_MESSAGE_MARKERS = /Could not resolve ["']|Build failed with \d+ error|Pre-transform error|Failed to resolve import|Transform failed/i;
|
|
719547
|
+
function hasEsbuildBuildFailureShape(reason) {
|
|
719548
|
+
const errors2 = reason.errors;
|
|
719549
|
+
return Array.isArray(errors2) && errors2.length > 0 && errors2.every((entry) => typeof entry === "object" && entry !== null && typeof entry.text === "string");
|
|
719550
|
+
}
|
|
719551
|
+
function isViteBuildError(reason) {
|
|
719552
|
+
if (typeof reason !== "object" || reason === null) {
|
|
719553
|
+
if (typeof reason === "string") {
|
|
719554
|
+
return VITE_BUILD_MESSAGE_MARKERS.test(reason);
|
|
719555
|
+
}
|
|
719556
|
+
return false;
|
|
719557
|
+
}
|
|
719558
|
+
if (hasEsbuildBuildFailureShape(reason)) {
|
|
719559
|
+
return true;
|
|
719560
|
+
}
|
|
719561
|
+
const message = reason instanceof Error ? reason.message : typeof reason.message === "string" ? reason.message : void 0;
|
|
719562
|
+
if (message && VITE_BUILD_MESSAGE_MARKERS.test(message)) {
|
|
719563
|
+
return true;
|
|
719564
|
+
}
|
|
719565
|
+
return false;
|
|
719566
|
+
}
|
|
719567
|
+
function extractEsbuildErrorTexts(reason) {
|
|
719568
|
+
if (typeof reason !== "object" || reason === null) {
|
|
719569
|
+
return [];
|
|
719570
|
+
}
|
|
719571
|
+
const errors2 = reason.errors;
|
|
719572
|
+
if (!Array.isArray(errors2)) {
|
|
719573
|
+
return [];
|
|
719574
|
+
}
|
|
719575
|
+
return errors2.map((entry) => typeof entry === "object" && entry !== null && typeof entry.text === "string" ? entry.text.trim() : "").filter((text3) => text3.length > 0);
|
|
719576
|
+
}
|
|
719577
|
+
function extractViteBuildErrorMessage(reason) {
|
|
719578
|
+
if (typeof reason === "string") {
|
|
719579
|
+
return reason;
|
|
719580
|
+
}
|
|
719581
|
+
const esbuildTexts = extractEsbuildErrorTexts(reason);
|
|
719582
|
+
if (esbuildTexts.length > 0) {
|
|
719583
|
+
return esbuildTexts.join("\n");
|
|
719584
|
+
}
|
|
719585
|
+
if (reason instanceof Error) {
|
|
719586
|
+
return reason.stack ?? reason.message;
|
|
719587
|
+
}
|
|
719588
|
+
if (typeof reason === "object" && reason !== null) {
|
|
719589
|
+
const candidate = reason;
|
|
719590
|
+
if (typeof candidate.message === "string" && candidate.message.trim()) {
|
|
719591
|
+
return candidate.message;
|
|
719592
|
+
}
|
|
719593
|
+
try {
|
|
719594
|
+
return JSON.stringify(reason);
|
|
719595
|
+
} catch {
|
|
719596
|
+
return String(reason);
|
|
719597
|
+
}
|
|
719598
|
+
}
|
|
719599
|
+
return String(reason);
|
|
719600
|
+
}
|
|
719534
719601
|
|
|
719535
719602
|
// ../sdk/dist/dev-utils/prepare-in-place-restart.mjs
|
|
719536
719603
|
init_cjs_shims();
|
|
@@ -719585,6 +719652,9 @@ async function prepareInPlaceRestart(services, options8) {
|
|
|
719585
719652
|
}
|
|
719586
719653
|
}
|
|
719587
719654
|
|
|
719655
|
+
// ../sdk/dist/dev-utils/recoverable-build-error.mjs
|
|
719656
|
+
init_cjs_shims();
|
|
719657
|
+
|
|
719588
719658
|
// ../sdk/dist/dev-utils/vite-dev-server-diagnostics.mjs
|
|
719589
719659
|
init_cjs_shims();
|
|
719590
719660
|
var VITE_ERROR_RAW_LOG_MAX_CHARS = 12e3;
|
|
@@ -719705,6 +719775,67 @@ function logViteBuildError(logger25, params, overrides2) {
|
|
|
719705
719775
|
}
|
|
719706
719776
|
}
|
|
719707
719777
|
|
|
719778
|
+
// ../sdk/dist/dev-utils/recoverable-build-error.mjs
|
|
719779
|
+
var MAX_DEV_SERVER_BUILD_ERRORS = 5;
|
|
719780
|
+
function buildDevServerBuildErrorDedupeKey(entry) {
|
|
719781
|
+
return `${entry.category}:${entry.unresolvedSpecifier ?? ""}`;
|
|
719782
|
+
}
|
|
719783
|
+
function buildDevServerBuildError(reason) {
|
|
719784
|
+
const fullMessage = extractViteBuildErrorMessage(reason);
|
|
719785
|
+
const diagnostic = diagnoseViteBuildLogMessage(fullMessage);
|
|
719786
|
+
const rawError = truncateViteRawLog(fullMessage);
|
|
719787
|
+
if (diagnostic.category === "module_resolve") {
|
|
719788
|
+
return {
|
|
719789
|
+
type: "dev-server/build",
|
|
719790
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
719791
|
+
category: diagnostic.category,
|
|
719792
|
+
unresolvedSpecifier: diagnostic.unresolvedSpecifier,
|
|
719793
|
+
rawError
|
|
719794
|
+
};
|
|
719795
|
+
}
|
|
719796
|
+
return {
|
|
719797
|
+
type: "dev-server/build",
|
|
719798
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
719799
|
+
category: diagnostic.category,
|
|
719800
|
+
rawError
|
|
719801
|
+
};
|
|
719802
|
+
}
|
|
719803
|
+
function upsertDevServerBuildError(devServerStatus, entry) {
|
|
719804
|
+
const dedupeKey = buildDevServerBuildErrorDedupeKey(entry);
|
|
719805
|
+
devServerStatus.serverErrors = devServerStatus.serverErrors.filter((existing) => existing.type !== "dev-server/build" || buildDevServerBuildErrorDedupeKey(existing) !== dedupeKey);
|
|
719806
|
+
devServerStatus.serverErrors.push(entry);
|
|
719807
|
+
let excess = devServerStatus.serverErrors.filter((existing) => existing.type === "dev-server/build").length - MAX_DEV_SERVER_BUILD_ERRORS;
|
|
719808
|
+
if (excess > 0) {
|
|
719809
|
+
devServerStatus.serverErrors = devServerStatus.serverErrors.filter((existing) => {
|
|
719810
|
+
if (excess > 0 && existing.type === "dev-server/build") {
|
|
719811
|
+
excess -= 1;
|
|
719812
|
+
return false;
|
|
719813
|
+
}
|
|
719814
|
+
return true;
|
|
719815
|
+
});
|
|
719816
|
+
}
|
|
719817
|
+
}
|
|
719818
|
+
function handleRecoverableBuildError(params) {
|
|
719819
|
+
try {
|
|
719820
|
+
if (!isViteBuildError(params.reason)) {
|
|
719821
|
+
return false;
|
|
719822
|
+
}
|
|
719823
|
+
const entry = buildDevServerBuildError(params.reason);
|
|
719824
|
+
if (params.devServerStatus) {
|
|
719825
|
+
upsertDevServerBuildError(params.devServerStatus, entry);
|
|
719826
|
+
}
|
|
719827
|
+
params.devServerMetrics.recordRecoverableBuildError({
|
|
719828
|
+
category: entry.category,
|
|
719829
|
+
handler: params.handler
|
|
719830
|
+
});
|
|
719831
|
+
params.logger.warn(`Ignoring recoverable Vite build error (${params.handler})`, { error: entry });
|
|
719832
|
+
return true;
|
|
719833
|
+
} catch (recordError) {
|
|
719834
|
+
params.logger.warn(`Failed to record recoverable Vite build error (${params.handler}); treating as fatal`, { recordError });
|
|
719835
|
+
return false;
|
|
719836
|
+
}
|
|
719837
|
+
}
|
|
719838
|
+
|
|
719708
719839
|
// ../sdk/dist/dev-utils/vite-plugin-build-manifest-stub.mjs
|
|
719709
719840
|
init_cjs_shims();
|
|
719710
719841
|
var BUILD_MANIFEST_MODULE_PATH = "./user-facing/build-manifest.js";
|
|
@@ -719969,6 +720100,24 @@ function attachUpgradeMetricsListener(server) {
|
|
|
719969
720100
|
function buildStatusPayload(base, devServerStatus) {
|
|
719970
720101
|
return { ...base, serverErrors: devServerStatus?.serverErrors ?? [] };
|
|
719971
720102
|
}
|
|
720103
|
+
var RECOVERABLE_SHUTDOWN_LOG_MESSAGE = {
|
|
720104
|
+
uncaughtException: "Ignoring recoverable shutdown error (uncaughtException)",
|
|
720105
|
+
unhandledRejection: "Ignoring recoverable shutdown rejection (unhandledRejection)"
|
|
720106
|
+
};
|
|
720107
|
+
function handleNonFatalProcessError(params) {
|
|
720108
|
+
if (isRecoverableShutdownError(params.reason)) {
|
|
720109
|
+
params.logger.warn(RECOVERABLE_SHUTDOWN_LOG_MESSAGE[params.handler], getErrorMeta(params.reason));
|
|
720110
|
+
params.devServerMetrics.recordRecoverableShutdownError(params.handler, params.reason);
|
|
720111
|
+
return true;
|
|
720112
|
+
}
|
|
720113
|
+
return handleRecoverableBuildError({
|
|
720114
|
+
devServerStatus: params.devServerStatus,
|
|
720115
|
+
devServerMetrics: params.devServerMetrics,
|
|
720116
|
+
handler: params.handler,
|
|
720117
|
+
logger: params.logger,
|
|
720118
|
+
reason: params.reason
|
|
720119
|
+
});
|
|
720120
|
+
}
|
|
719972
720121
|
var DEV_SERVER_BOOT_ID = randomUUID7();
|
|
719973
720122
|
var DEV_SERVER_STARTED_AT = (/* @__PURE__ */ new Date()).toISOString();
|
|
719974
720123
|
function buildHealthResponse(args) {
|
|
@@ -720349,9 +720498,13 @@ async function createDevServer({ root: root3, mode, fsOperationQueue, syncServic
|
|
|
720349
720498
|
if (fatalExitHandled) {
|
|
720350
720499
|
return;
|
|
720351
720500
|
}
|
|
720352
|
-
if (
|
|
720353
|
-
|
|
720354
|
-
devServerMetrics
|
|
720501
|
+
if (handleNonFatalProcessError({
|
|
720502
|
+
devServerStatus,
|
|
720503
|
+
devServerMetrics,
|
|
720504
|
+
handler: "uncaughtException",
|
|
720505
|
+
logger: logger25,
|
|
720506
|
+
reason: error40
|
|
720507
|
+
})) {
|
|
720355
720508
|
return;
|
|
720356
720509
|
}
|
|
720357
720510
|
fatalExitHandled = true;
|
|
@@ -720368,9 +720521,13 @@ async function createDevServer({ root: root3, mode, fsOperationQueue, syncServic
|
|
|
720368
720521
|
if (fatalExitHandled) {
|
|
720369
720522
|
return;
|
|
720370
720523
|
}
|
|
720371
|
-
if (
|
|
720372
|
-
|
|
720373
|
-
devServerMetrics
|
|
720524
|
+
if (handleNonFatalProcessError({
|
|
720525
|
+
devServerStatus,
|
|
720526
|
+
devServerMetrics,
|
|
720527
|
+
handler: "unhandledRejection",
|
|
720528
|
+
logger: logger25,
|
|
720529
|
+
reason
|
|
720530
|
+
})) {
|
|
720374
720531
|
return;
|
|
720375
720532
|
}
|
|
720376
720533
|
fatalExitHandled = true;
|
|
@@ -721456,7 +721613,7 @@ async function handleLockConflict(error40, lockSvc, span, logger25) {
|
|
|
721456
721613
|
}
|
|
721457
721614
|
async function readPkgJson(cwd) {
|
|
721458
721615
|
try {
|
|
721459
|
-
const { readPackage } = await import("./read-pkg-
|
|
721616
|
+
const { readPackage } = await import("./read-pkg-OCOTIFAE.js");
|
|
721460
721617
|
return await readPackage({ cwd });
|
|
721461
721618
|
} catch {
|
|
721462
721619
|
return null;
|
|
@@ -723331,4 +723488,4 @@ serve-static/index.js:
|
|
|
723331
723488
|
chokidar/esm/index.js:
|
|
723332
723489
|
(*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
|
|
723333
723490
|
*/
|
|
723334
|
-
//# sourceMappingURL=chunk-
|
|
723491
|
+
//# sourceMappingURL=chunk-DZQUVAY4.js.map
|