@aziontech/bundler 1.1.1 → 1.1.3
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/{index-B5d6nLzb.js → index-dMuB6SYF.js} +576 -552
- package/dist/index.js +7 -7
- package/package.json +15 -16
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ function E() {
|
|
|
45
45
|
}
|
|
46
46
|
function k() {
|
|
47
47
|
n.version(globalThis.bundler.version), n.command("store <command>").description("Manage store configuration").option("-c, --config <json>", `Configuration in JSON format (e.g., '{"key": "value"}')`).option("-s, --scope <scope>", "Scope of the store (default: global)").action(async (e, o) => {
|
|
48
|
-
const { storeCommand: t } = await import("./index-
|
|
48
|
+
const { storeCommand: t } = await import("./index-dMuB6SYF.js");
|
|
49
49
|
await t({
|
|
50
50
|
command: e,
|
|
51
51
|
options: o
|
|
@@ -71,7 +71,7 @@ Examples:
|
|
|
71
71
|
$ azbundler build --telemetry json
|
|
72
72
|
`
|
|
73
73
|
).action(async (e) => {
|
|
74
|
-
const { buildCommand: o, manifestCommand: t } = await import("./index-
|
|
74
|
+
const { buildCommand: o, manifestCommand: t } = await import("./index-dMuB6SYF.js"), { dev: i, experimental: l, telemetry: s, ...d } = e;
|
|
75
75
|
if (l && (globalThis.bundler.experimental = !0), s !== void 0) {
|
|
76
76
|
const u = typeof s == "string" ? s : "both";
|
|
77
77
|
process.env.AZ_BUNDLER_TELEMETRY = "true", process.env.AZ_BUNDLER_TELEMETRY_FORMAT = u;
|
|
@@ -82,10 +82,10 @@ Examples:
|
|
|
82
82
|
});
|
|
83
83
|
await t({ action: "generate", config: m });
|
|
84
84
|
}), n.command("dev").description("Start local development environment").argument("[entry]", "Specify the entry file (default: .edge/worker.dev.js)").option("-p, --port <port>", "Specify the port", "3333").option("-x, --experimental [boolean]", "Enable experimental features", !1).option("--skip-framework-build", "Skip framework build step", !1).option("--function-name <name>", "Specify the function name").action(async (e, o) => {
|
|
85
|
-
const { devCommand: t } = await import("./index-
|
|
85
|
+
const { devCommand: t } = await import("./index-dMuB6SYF.js"), { experimental: i } = o;
|
|
86
86
|
i && (globalThis.bundler.experimental = !0), await t({ entry: e, ...o });
|
|
87
87
|
}), n.command("presets <command>").description("Manage presets for Azion projects").argument("[preset]", "Preset name (required for config command)").action(async (e, o) => {
|
|
88
|
-
const { presetsCommand: t } = await import("./index-
|
|
88
|
+
const { presetsCommand: t } = await import("./index-dMuB6SYF.js");
|
|
89
89
|
await t(e, { preset: o });
|
|
90
90
|
}), n.command("manifest [action]").description("Manage manifest files for Azion").argument(
|
|
91
91
|
"[action]",
|
|
@@ -99,7 +99,7 @@ Examples:
|
|
|
99
99
|
$ azbundler manifest -e azion.config.js -o .edge
|
|
100
100
|
`
|
|
101
101
|
).action(async (e, o, t) => {
|
|
102
|
-
const { manifestCommand: i } = await import("./index-
|
|
102
|
+
const { manifestCommand: i } = await import("./index-dMuB6SYF.js");
|
|
103
103
|
await i({
|
|
104
104
|
...o || t,
|
|
105
105
|
action: e
|
|
@@ -117,7 +117,7 @@ Examples:
|
|
|
117
117
|
$ azbundler config replace -k '$EDGE_FUNCTION_NAME' -v "my-func"
|
|
118
118
|
`
|
|
119
119
|
).action(async (e, o) => {
|
|
120
|
-
const { configCommand: t } = await import("./index-
|
|
120
|
+
const { configCommand: t } = await import("./index-dMuB6SYF.js");
|
|
121
121
|
await t({
|
|
122
122
|
command: e,
|
|
123
123
|
options: o
|
|
@@ -130,7 +130,7 @@ Examples:
|
|
|
130
130
|
$ azbundler telemetry --path ./custom-report.html
|
|
131
131
|
`
|
|
132
132
|
).action(async (e) => {
|
|
133
|
-
const { telemetryCommand: o } = await import("./index-
|
|
133
|
+
const { telemetryCommand: o } = await import("./index-dMuB6SYF.js");
|
|
134
134
|
await o(e);
|
|
135
135
|
}), n.parse(process.argv);
|
|
136
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aziontech/bundler",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Tool to launch and build JavaScript/Frameworks. This tool automates polyfills for Edge Computing and assists in creating Workers, notably for the Azion platform.",
|
|
5
5
|
"index": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"author": "aziontech",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@aziontech/builder": "1.0.
|
|
16
|
+
"@aziontech/builder": "1.0.5",
|
|
17
17
|
"@aziontech/bundler-telemetry": "1.0.0",
|
|
18
|
-
"@aziontech/config": "1.0.
|
|
18
|
+
"@aziontech/config": "1.0.2",
|
|
19
|
+
"@aziontech/presets": "1.1.2",
|
|
19
20
|
"@aziontech/utils": "1.0.0",
|
|
20
|
-
"@aziontech/presets": "1.1.1",
|
|
21
21
|
"@edge-runtime/primitives": "4.0.5",
|
|
22
22
|
"@netlify/framework-info": "^9.9.1",
|
|
23
23
|
"chokidar": "^3.5.3",
|
|
@@ -31,27 +31,26 @@
|
|
|
31
31
|
"typescript": "^5.5.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
34
|
+
"@aziontech/types": "1.0.0",
|
|
35
|
+
"@jest/globals": "^30.4.1",
|
|
35
36
|
"@swc/core": "^1.3.96",
|
|
36
|
-
"@swc/jest": "^0.2.
|
|
37
|
+
"@swc/jest": "^0.2.39",
|
|
37
38
|
"@types/inquirer": "^9.0.7",
|
|
38
|
-
"@types/jest": "^
|
|
39
|
+
"@types/jest": "^30.0.0",
|
|
39
40
|
"@types/lodash": "^4.17.16",
|
|
40
41
|
"@types/mock-fs": "^4.13.4",
|
|
41
42
|
"@types/semver": "^7.5.8",
|
|
42
43
|
"@types/tmp": "^0.2.6",
|
|
43
|
-
"conventional-changelog-conventionalcommits": "^4.6.0",
|
|
44
44
|
"globals": "^16.0.0",
|
|
45
|
-
"jest": "^
|
|
46
|
-
"jest-puppeteer": "^9.0.1",
|
|
45
|
+
"jest": "^30.4.2",
|
|
47
46
|
"markdown-table": "^3.0.3",
|
|
48
47
|
"mock-fs": "^5.2.0",
|
|
49
|
-
"puppeteer": "^
|
|
50
|
-
"supertest": "^
|
|
48
|
+
"puppeteer": "^25.3.0",
|
|
49
|
+
"supertest": "^7.2.2",
|
|
51
50
|
"tmp": "^0.2.6",
|
|
52
|
-
"ts-jest": "^29.
|
|
51
|
+
"ts-jest": "^29.4.11",
|
|
53
52
|
"ts-node": "^10.9.2",
|
|
54
|
-
"vite": "^7.3.
|
|
53
|
+
"vite": "^7.3.6"
|
|
55
54
|
},
|
|
56
55
|
"repository": {
|
|
57
56
|
"type": "git",
|
|
@@ -81,8 +80,8 @@
|
|
|
81
80
|
"e2e:start": "pnpm submodule:update && tests/scripts/start-e2e-env.sh",
|
|
82
81
|
"e2e:stop": "tests/scripts/stop-e2e-env.sh",
|
|
83
82
|
"e2e:destroy": "tests/scripts/destroy-e2e-env.sh",
|
|
84
|
-
"test:e2e": "pnpm e2e:start && NODE_OPTIONS='--experimental-vm-modules' jest --detectOpenHandles --runInBand --config=./jest-e2e.config.js tests/e2e/ --json --outputFile e2e_results.json && pnpm e2e:stop; pnpm task:reports",
|
|
85
|
-
"test:nodejs-apis": "pnpm e2e:start && NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --config=./jest-e2e.config.js tests/nodejs-apis/ --json --outputFile nodejs_apis_results.json && pnpm e2e:stop && pnpm task:reports-nodejs-apis",
|
|
83
|
+
"test:e2e": "pnpm e2e:start && NODE_OPTIONS='--experimental-vm-modules' jest --detectOpenHandles --forceExit --runInBand --config=./jest-e2e.config.js tests/e2e/ --json --outputFile e2e_results.json && pnpm e2e:stop; pnpm task:reports",
|
|
84
|
+
"test:nodejs-apis": "pnpm e2e:start && NODE_OPTIONS='--experimental-vm-modules' jest --forceExit --runInBand --config=./jest-e2e.config.js tests/nodejs-apis/ --json --outputFile nodejs_apis_results.json && pnpm e2e:stop && pnpm task:reports-nodejs-apis",
|
|
86
85
|
"submodule:update": "git submodule update --init --recursive && git submodule foreach git pull origin main"
|
|
87
86
|
}
|
|
88
87
|
}
|