zephyr-astro-integration 0.1.3-next.2 → 0.1.3-next.4
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.
|
@@ -14,16 +14,11 @@ function withZephyr(options) {
|
|
|
14
14
|
'astro:config:done': async ({ config }) => {
|
|
15
15
|
// config.root is a URL object, convert to file path
|
|
16
16
|
const contextPath = (0, node_url_1.fileURLToPath)(config.root);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
catch (error) {
|
|
25
|
-
(0, zephyr_agent_1.logFn)('error', zephyr_agent_1.ZephyrError.format(error));
|
|
26
|
-
}
|
|
17
|
+
// Initialize ZephyrEngine with Astro context
|
|
18
|
+
zephyr_defer_create({
|
|
19
|
+
builder: 'astro',
|
|
20
|
+
context: contextPath,
|
|
21
|
+
});
|
|
27
22
|
},
|
|
28
23
|
'astro:build:done': async (_a) => {
|
|
29
24
|
var { dir } = _a, params = tslib_1.__rest(_a, ["dir"]);
|
|
@@ -48,7 +43,7 @@ function withZephyr(options) {
|
|
|
48
43
|
await zephyr_engine.build_finished();
|
|
49
44
|
}
|
|
50
45
|
catch (error) {
|
|
51
|
-
(0, zephyr_agent_1.
|
|
46
|
+
(0, zephyr_agent_1.handleGlobalError)(error);
|
|
52
47
|
}
|
|
53
48
|
},
|
|
54
49
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astro-integration-zephyr.js","sourceRoot":"","sources":["../../src/lib/astro-integration-zephyr.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"astro-integration-zephyr.js","sourceRoot":"","sources":["../../src/lib/astro-integration-zephyr.ts"],"names":[],"mappings":";;AAkBA,gCAmDC;;AApED,uCAAyC;AACzC,+CAKsB;AACtB,kFAAsF;AAUtF,SAAgB,UAAU,CAAC,OAA4B;IACrD,MAAM,EAAE,mBAAmB,EAAE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AAE,CAAC;oBACf,IAAA,gCAAiB,EAAC,KAAK,CAAC,CAAC;gBAC3B,CAAC;YACH,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/jest": "catalog:typescript",
|
|
53
53
|
"@typescript-eslint/eslint-plugin": "catalog:eslint",
|
|
54
|
-
"astro": "^
|
|
54
|
+
"astro": "^5.15.8",
|
|
55
55
|
"ts-jest": "catalog:typescript"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"astro": "^4.0.0"
|
|
58
|
+
"astro": "^4.0.0 || ^5.15.8"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-astro-integration",
|
|
3
|
-
"version": "0.1.3-next.
|
|
3
|
+
"version": "0.1.3-next.4",
|
|
4
4
|
"description": "Astro integration for Zephyr Cloud deployment and module federation",
|
|
5
5
|
"homepage": "https://github.com/ZephyrCloudIO/zephyr-packages/tree/main/libs/zephyr-astro-integration#readme",
|
|
6
6
|
"repository": {
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"tslib": "^2.8.1",
|
|
45
|
-
"zephyr-agent": "0.1.3-next.
|
|
45
|
+
"zephyr-agent": "0.1.3-next.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/jest": "29.5.14",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "^8.27.0",
|
|
50
|
-
"astro": "^
|
|
50
|
+
"astro": "^5.15.8",
|
|
51
51
|
"ts-jest": "^29.2.6"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"astro": "^4.0.0"
|
|
54
|
+
"astro": "^4.0.0 || ^5.15.8"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public",
|