@akanjs/cli 0.0.103 → 0.0.105

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/index.js CHANGED
@@ -2388,6 +2388,7 @@ var import_path4 = __toESM(require("path"));
2388
2388
  var vite = __toESM(require("vite"));
2389
2389
  var import_vite_plugin_node_polyfills = require("vite-plugin-node-polyfills");
2390
2390
  var import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"));
2391
+ var import_vite_plugin_commonjs = __toESM(require("vite-plugin-commonjs"));
2391
2392
 
2392
2393
  // pkgs/@akanjs/cli/src/module/module.prompt.ts
2393
2394
  var frameworkDescription = `
@@ -4069,6 +4070,12 @@ var ApplicationRunner = class {
4069
4070
  plugins: [
4070
4071
  (0, import_plugin_react.default)(),
4071
4072
  (0, import_vite_tsconfig_paths.default)(),
4073
+ (0, import_vite_plugin_commonjs.default)({
4074
+ filter(id) {
4075
+ if (id.includes("@akanjs/base"))
4076
+ return true;
4077
+ }
4078
+ }),
4072
4079
  (0, import_vite_plugin_node_polyfills.nodePolyfills)({
4073
4080
  exclude: ["fs"],
4074
4081
  include: ["crypto", "process", "stream", "util"],
@@ -4111,6 +4118,13 @@ var ApplicationRunner = class {
4111
4118
  "process.platform": JSON.stringify("browser"),
4112
4119
  "process.version": JSON.stringify(process.version)
4113
4120
  },
4121
+ // optimizeDeps: {
4122
+ // include: ["@akanjs/base"],
4123
+ // esbuildOptions: {
4124
+ // format: "esm",
4125
+ // target: "esnext",
4126
+ // }
4127
+ // }
4114
4128
  server: { host: "0.0.0.0", port: 4201 },
4115
4129
  logLevel: "error"
4116
4130
  });
package/index.mjs CHANGED
@@ -4226,6 +4226,7 @@ import path5 from "path";
4226
4226
  import * as vite from "vite";
4227
4227
  import { nodePolyfills } from "vite-plugin-node-polyfills";
4228
4228
  import tsconfigPaths from "vite-tsconfig-paths";
4229
+ import commonjs from "vite-plugin-commonjs";
4229
4230
  var ApplicationRunner;
4230
4231
  var init_application_runner = __esm({
4231
4232
  "pkgs/@akanjs/cli/src/application/application.runner.ts"() {
@@ -4388,6 +4389,12 @@ var init_application_runner = __esm({
4388
4389
  plugins: [
4389
4390
  react(),
4390
4391
  tsconfigPaths(),
4392
+ commonjs({
4393
+ filter(id) {
4394
+ if (id.includes("@akanjs/base"))
4395
+ return true;
4396
+ }
4397
+ }),
4391
4398
  nodePolyfills({
4392
4399
  exclude: ["fs"],
4393
4400
  include: ["crypto", "process", "stream", "util"],
@@ -4430,6 +4437,13 @@ var init_application_runner = __esm({
4430
4437
  "process.platform": JSON.stringify("browser"),
4431
4438
  "process.version": JSON.stringify(process.version)
4432
4439
  },
4440
+ // optimizeDeps: {
4441
+ // include: ["@akanjs/base"],
4442
+ // esbuildOptions: {
4443
+ // format: "esm",
4444
+ // target: "esnext",
4445
+ // }
4446
+ // }
4433
4447
  server: { host: "0.0.0.0", port: 4201 },
4434
4448
  logLevel: "error"
4435
4449
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "@akanjs/cli",
4
- "version": "0.0.103",
4
+ "version": "0.0.105",
5
5
  "bin": {
6
6
  "akan": "index.js"
7
7
  },
@@ -45,6 +45,7 @@
45
45
  "typescript": "5.8.3",
46
46
  "uuid": "^11.0.3",
47
47
  "vite": "^6.3.4",
48
+ "vite-plugin-commonjs": "^0.10.4",
48
49
  "vite-plugin-node-polyfills": "^0.23.0",
49
50
  "vite-tsconfig-paths": "^5.1.4"
50
51
  },
@@ -19,6 +19,7 @@
19
19
  "ts-jest": "^29.3.4",
20
20
  "url-polyfill": "^1.1.13",
21
21
  "vite": "^6.3.5",
22
+ "vite-plugin-commonjs": "^0.10.4",
22
23
  "vite-plugin-node-polyfills": "^0.23.0",
23
24
  "vite-tsconfig-paths": "^5.1.4",
24
25
  },