@vesk/vesk-cli 0.2.81 → 0.2.82

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.
Files changed (2) hide show
  1. package/dist/cli.js +9 -0
  2. package/package.json +5 -5
package/dist/cli.js CHANGED
@@ -37650,6 +37650,15 @@ export const createHash = () => ({ update: () => {}, digest: () => '' });
37650
37650
  outfile,
37651
37651
  minify: false,
37652
37652
  sourcemap: false,
37653
+ // Node targets run from a real deployment root: leave bare packages to the
37654
+ // platform's dependency tracer instead of inlining them. Bundling CJS
37655
+ // packages into the ESM handler turned their `require('events')` and
37656
+ // friends into esbuild's throwing `__require` shim (slintorm's pg driver
37657
+ // failed with "Dynamic require of \"events\" is not supported"), and it
37658
+ // inflated the single function file to millions of lines — the cold-start
37659
+ // memory spike behind the SIGKILLs. Edge targets have no node_modules, so
37660
+ // they keep bundling everything.
37661
+ packages: nodeBuiltins ? "external" : void 0,
37653
37662
  logOverride: { "direct-eval": "silent" },
37654
37663
  plugins
37655
37664
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vesk/vesk-cli",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "type": "module",
5
5
  "description": "Vesk — compiler-first framework for the post-VDOM web. vesk dev, vesk build.",
6
6
  "bin": {
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "main": "./dist/cli.js",
10
10
  "dependencies": {
11
- "@vesk/adapter": "^0.2.81",
12
- "@vesk/compiler": "^0.2.81",
13
- "@vesk/plugin-tailwind": "^0.2.81",
14
- "@vesk/runtime": "^0.2.81",
11
+ "@vesk/adapter": "^0.2.82",
12
+ "@vesk/compiler": "^0.2.82",
13
+ "@vesk/plugin-tailwind": "^0.2.82",
14
+ "@vesk/runtime": "^0.2.82",
15
15
  "esrap": "^2.3.0",
16
16
  "typescript": "^5.8.0",
17
17
  "ws": "^8.18.0",