@aziontech/bundler 1.2.0 → 1.3.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/README.md +2 -2
- package/dist/index.js +4 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ Options:
|
|
|
128
128
|
-d, --dev Build in development mode (default: false)
|
|
129
129
|
-x, --experimental Enable experimental features (default: false)
|
|
130
130
|
--skip-framework-build Skip framework build step (default: false)
|
|
131
|
-
--config-version <version> Config (Azion API) version: 3 or
|
|
131
|
+
--config-version <version> Config (Azion API) version: 3, 4 or 6. Overrides the `version` field of azion.config (default: 4)
|
|
132
132
|
--config-file <path> Path to the azion.config file to use (default: azion.config.* found in the current directory)
|
|
133
133
|
--only-generate-config Build only generate azion.config (default: false)
|
|
134
134
|
--telemetry [format] Enable telemetry output (console, json, html or both; defaults to both)
|
|
@@ -177,7 +177,7 @@ Options:
|
|
|
177
177
|
-x, --experimental Enable experimental features (default: false)
|
|
178
178
|
--skip-framework-build Skip framework build step (default: false)
|
|
179
179
|
--function-name <name> Specify the function name
|
|
180
|
-
--config-version <version> Config (Azion API) version: 3 or
|
|
180
|
+
--config-version <version> Config (Azion API) version: 3, 4 or 6. Overrides the `version` field of azion.config (default: 4)
|
|
181
181
|
--config-file <path> Path to the azion.config file to use (default: azion.config.* found in the current directory)
|
|
182
182
|
```
|
|
183
183
|
|
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ function A() {
|
|
|
58
58
|
"Indicates that the constructed code inserts its own worker expression. Use --worker or --worker=true to enable, --worker=false to disable"
|
|
59
59
|
).option("-d, --dev", "Build in development mode", !1).option("-x, --experimental [boolean]", "Enable experimental features", !1).option("--skip-framework-build", "Skip framework build step", !1).option(
|
|
60
60
|
"--config-version <version>",
|
|
61
|
-
'Config (Azion API) version of the project: 3 or
|
|
61
|
+
'Config (Azion API) version of the project: 3, 4 or 6. Overrides the "version" field of azion.config (default: 4)'
|
|
62
62
|
).option(
|
|
63
63
|
"--config-file <path>",
|
|
64
64
|
"Path to the azion.config file to use (default: azion.config.* found in the current directory)"
|
|
@@ -99,13 +99,13 @@ Examples:
|
|
|
99
99
|
"Path to the azion.config file to use (default: azion.config.* found in the current directory)"
|
|
100
100
|
).option(
|
|
101
101
|
"--config-version <version>",
|
|
102
|
-
'Config (Azion API) version of the project: 3 or
|
|
102
|
+
'Config (Azion API) version of the project: 3, 4 or 6. Overrides the "version" field of azion.config (default: 4)'
|
|
103
103
|
).action(async (e, o) => {
|
|
104
104
|
const { devCommand: n } = await import("./index-Dx9B4Utx.js"), { experimental: r } = o;
|
|
105
105
|
r && (globalThis.bundler.experimental = !0), await n({ entry: e, ...o });
|
|
106
106
|
}), t.command("presets <command>").description("Manage presets for Azion projects").argument("[preset]", "Preset name (required for config command)").option(
|
|
107
107
|
"--config-version <version>",
|
|
108
|
-
"Config (Azion API) version of the preset config to show: 3 or
|
|
108
|
+
"Config (Azion API) version of the preset config to show: 3, 4 or 6 (default: 4)"
|
|
109
109
|
).option(
|
|
110
110
|
"--config-file <path>",
|
|
111
111
|
'Path to the azion.config file whose "version" is used when --config-version is not given'
|
|
@@ -124,7 +124,7 @@ Examples:
|
|
|
124
124
|
"Path to the azion.config file (generate action). Same as --entry, which takes precedence"
|
|
125
125
|
).option(
|
|
126
126
|
"--config-version <version>",
|
|
127
|
-
'Config (Azion API) version of the project: 3 or
|
|
127
|
+
'Config (Azion API) version of the project: 3, 4 or 6. Used when azion.config does not declare "version" (default: 4)'
|
|
128
128
|
).addHelpText(
|
|
129
129
|
"after",
|
|
130
130
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aziontech/bundler",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
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,10 +13,10 @@
|
|
|
13
13
|
"author": "aziontech",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@aziontech/builder": "~1.0.
|
|
16
|
+
"@aziontech/builder": "~1.0.7",
|
|
17
17
|
"@aziontech/bundler-telemetry": "~1.0.0",
|
|
18
|
-
"@aziontech/config": "~1.
|
|
19
|
-
"@aziontech/presets": "~1.
|
|
18
|
+
"@aziontech/config": "~1.2.0",
|
|
19
|
+
"@aziontech/presets": "~1.3.0",
|
|
20
20
|
"@aziontech/utils": "~1.0.0",
|
|
21
21
|
"@edge-runtime/primitives": "4.0.5",
|
|
22
22
|
"@netlify/framework-info": "^9.9.1",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"globals": "^16.0.0",
|
|
45
45
|
"jest": "^30.4.2",
|
|
46
46
|
"mock-fs": "^5.2.0",
|
|
47
|
-
"puppeteer": "^25.
|
|
47
|
+
"puppeteer": "^25.16.0",
|
|
48
48
|
"supertest": "^7.2.2",
|
|
49
49
|
"tmp": "^0.2.6",
|
|
50
50
|
"ts-jest": "^29.4.11",
|
|
51
51
|
"ts-node": "^10.9.2",
|
|
52
|
-
"vite": "^7.3.
|
|
52
|
+
"vite": "^7.3.7"
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|