@embeddable.com/sdk-core 3.9.13 → 3.10.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/bin/embeddable +8 -5
- package/bin/package.json +3 -0
- package/lib/index.esm.js +15 -24
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +15 -24
- package/lib/index.js.map +1 -1
- package/loader/entryPoint.js +75 -0
- package/loader/entryPoint.test.js +122 -0
- package/loader/package.json +3 -0
- package/package.json +14 -14
- package/src/build.test.ts +0 -1
- package/src/generate.ts +1 -10
- package/src/rollbar.test.ts +0 -1
- package/src/entryPoint.js +0 -12
package/lib/index.js
CHANGED
|
@@ -539,16 +539,7 @@ async function runStencil(ctx) {
|
|
|
539
539
|
});
|
|
540
540
|
const compiler$1 = await compiler.createCompiler(validated.config);
|
|
541
541
|
const buildResults = await compiler$1.build();
|
|
542
|
-
if (devMode) {
|
|
543
|
-
// Handle process exit to clean up resources
|
|
544
|
-
const cleanUp = async () => {
|
|
545
|
-
await compiler$1.destroy();
|
|
546
|
-
process.exit(0);
|
|
547
|
-
};
|
|
548
|
-
process.on("SIGINT", cleanUp);
|
|
549
|
-
process.on("SIGTERM", cleanUp);
|
|
550
|
-
}
|
|
551
|
-
else {
|
|
542
|
+
if (!devMode) {
|
|
552
543
|
if (buildResults.hasError) {
|
|
553
544
|
console.error("Stencil build error:", buildResults.diagnostics);
|
|
554
545
|
throw new Error("Stencil build error");
|
|
@@ -22030,7 +22021,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
22030
22021
|
};
|
|
22031
22022
|
|
|
22032
22023
|
var name = "@embeddable.com/sdk-core";
|
|
22033
|
-
var version = "3.
|
|
22024
|
+
var version = "3.10.0";
|
|
22034
22025
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22035
22026
|
var keywords = [
|
|
22036
22027
|
"embeddable",
|
|
@@ -22069,26 +22060,26 @@ var engines = {
|
|
|
22069
22060
|
var license = "MIT";
|
|
22070
22061
|
var dependencies = {
|
|
22071
22062
|
"@embeddable.com/sdk-utils": "*",
|
|
22072
|
-
"@inquirer/prompts": "^7.
|
|
22073
|
-
"@stencil/core": "^4.22.
|
|
22063
|
+
"@inquirer/prompts": "^7.1.0",
|
|
22064
|
+
"@stencil/core": "^4.22.2",
|
|
22074
22065
|
"@swc-node/register": "^1.10.9",
|
|
22075
|
-
archiver: "^5.3.
|
|
22076
|
-
axios: "^1.7.
|
|
22077
|
-
chokidar: "^
|
|
22078
|
-
finalhandler: "^1.
|
|
22066
|
+
archiver: "^5.3.2",
|
|
22067
|
+
axios: "^1.7.7",
|
|
22068
|
+
chokidar: "^4.0.1",
|
|
22069
|
+
finalhandler: "^1.3.1",
|
|
22079
22070
|
"formdata-node": "^6.0.3",
|
|
22080
22071
|
minimist: "^1.2.8",
|
|
22081
22072
|
open: "^9.1.0",
|
|
22082
|
-
ora: "^8.
|
|
22083
|
-
"serve-static": "^1.
|
|
22084
|
-
sorcery: "^0.11.
|
|
22085
|
-
vite: "^5.4.
|
|
22086
|
-
ws: "^8.
|
|
22087
|
-
yaml: "^2.
|
|
22073
|
+
ora: "^8.1.1",
|
|
22074
|
+
"serve-static": "^1.16.2",
|
|
22075
|
+
sorcery: "^0.11.1",
|
|
22076
|
+
vite: "^5.4.11",
|
|
22077
|
+
ws: "^8.18.0",
|
|
22078
|
+
yaml: "^2.6.0"
|
|
22088
22079
|
};
|
|
22089
22080
|
var devDependencies = {
|
|
22090
22081
|
"@types/archiver": "^5.3.4",
|
|
22091
|
-
"@types/ws": "^8.5.
|
|
22082
|
+
"@types/ws": "^8.5.13"
|
|
22092
22083
|
};
|
|
22093
22084
|
var _package = {
|
|
22094
22085
|
name: name,
|