@aziontech/bundler 1.2.0 → 1.3.1

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/dist/index.js CHANGED
@@ -45,7 +45,7 @@ function k() {
45
45
  }
46
46
  function A() {
47
47
  t.version(globalThis.bundler.version), t.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: n } = await import("./index-Dx9B4Utx.js");
48
+ const { storeCommand: n } = await import("./index-B3LSRKMb.js");
49
49
  await n({
50
50
  command: e,
51
51
  options: o
@@ -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 4. Overrides the "version" field of azion.config (default: 4)'
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)"
@@ -83,7 +83,7 @@ Examples:
83
83
  $ azbundler build --telemetry json
84
84
  `
85
85
  ).action(async (e) => {
86
- const { buildCommand: o, manifestCommand: n } = await import("./index-Dx9B4Utx.js"), { dev: r, experimental: c, telemetry: s, aliasEnv: f, ...d } = e;
86
+ const { buildCommand: o, manifestCommand: n } = await import("./index-B3LSRKMb.js"), { dev: r, experimental: c, telemetry: s, aliasEnv: f, ...d } = e;
87
87
  if (c && (globalThis.bundler.experimental = !0), s !== void 0) {
88
88
  const m = typeof s == "string" ? s : "both";
89
89
  process.env.AZ_BUNDLER_TELEMETRY = "true", process.env.AZ_BUNDLER_TELEMETRY_FORMAT = m;
@@ -99,18 +99,18 @@ 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 4. Overrides the "version" field of azion.config (default: 4)'
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
- const { devCommand: n } = await import("./index-Dx9B4Utx.js"), { experimental: r } = o;
104
+ const { devCommand: n } = await import("./index-B3LSRKMb.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 4 (default: 4)"
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'
112
112
  ).action(async (e, o, n) => {
113
- const { presetsCommand: r } = await import("./index-Dx9B4Utx.js");
113
+ const { presetsCommand: r } = await import("./index-B3LSRKMb.js");
114
114
  await r(e, {
115
115
  preset: o,
116
116
  configVersion: n?.configVersion,
@@ -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 4. Used when azion.config does not declare "version" (default: 4)'
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
  `
@@ -135,7 +135,7 @@ Examples:
135
135
  $ azbundler manifest generate --config-file ./azion.config.ts
136
136
  `
137
137
  ).action(async (e, o, n) => {
138
- const { manifestCommand: r } = await import("./index-Dx9B4Utx.js");
138
+ const { manifestCommand: r } = await import("./index-B3LSRKMb.js");
139
139
  await r({
140
140
  ...o || n,
141
141
  action: e
@@ -157,7 +157,7 @@ Examples:
157
157
  $ azbundler config read -a --config-file ./azion.config.ts
158
158
  `
159
159
  ).action(async (e, o) => {
160
- const { configCommand: n } = await import("./index-Dx9B4Utx.js");
160
+ const { configCommand: n } = await import("./index-B3LSRKMb.js");
161
161
  await n({
162
162
  command: e,
163
163
  options: o
@@ -170,7 +170,7 @@ Examples:
170
170
  $ azbundler telemetry --path ./custom-report.html
171
171
  `
172
172
  ).action(async (e) => {
173
- const { telemetryCommand: o } = await import("./index-Dx9B4Utx.js");
173
+ const { telemetryCommand: o } = await import("./index-B3LSRKMb.js");
174
174
  await o(e);
175
175
  }), t.parse(process.argv);
176
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aziontech/bundler",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
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.6",
16
+ "@aziontech/builder": "~1.0.9",
17
17
  "@aziontech/bundler-telemetry": "~1.0.0",
18
- "@aziontech/config": "~1.1.0",
19
- "@aziontech/presets": "~1.2.0",
18
+ "@aziontech/config": "~1.2.1",
19
+ "@aziontech/presets": "~1.4.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.3.0",
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.6"
52
+ "vite": "^7.3.7"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",