@crab-dev/wake 0.1.24 → 0.1.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.25
4
+
5
+ - Replaced the legacy minifier with an owned typed optimizer and structural module/codegen pipeline,
6
+ including explicit fixed-point passes, deterministic mangling, and source-map fences for generated
7
+ code.
8
+ - Added one-shot cold-build execution, resolver path compression, and linker-proven request/export
9
+ liveness so the 2,000-module production benchmark builds faster than Vite without using a cache.
10
+ - Improved minified bundle size through barrel compaction, discarded static requests, export getter
11
+ compaction, and cross-module dead-code elimination while preserving runtime checksums and module
12
+ semantics.
13
+ - Kept minification compatible with source maps, decorators, TypeScript/TSX, CommonJS/ESM interop,
14
+ coverage, and test diagnostics, and made test module-graph preparation promptly cancellable.
15
+
3
16
  ## 0.1.24
4
17
 
5
18
  - Added Activity, Recent Problems, and Changes views to the interactive `wake dev` and `wake docs dev`
package/README.md CHANGED
@@ -50,12 +50,19 @@ await bundle({
50
50
  format: 'cjs',
51
51
  target: 'node20',
52
52
  external: ['vscode'],
53
+ minify: true,
54
+ sourceMap: true,
53
55
  })
54
56
  ```
55
57
 
56
58
  `platform: 'node'` defaults to CommonJS and `node20`, so `format` and `target`
57
- can be omitted. `bundle()` returns a dedicated result whose `code` is always a
58
- string. With `sourceMap: true`, `sourceMap` is returned in memory; when
59
+ can be omitted. `minify: true` and `sourceMap: true` can be combined; a source
60
+ map is emitted for optimized output without switching to an unminified pipeline.
61
+ Minification uses Wake's centralized Closure-style ordered-pass/fixed-point
62
+ pipeline; this does not expose Closure `ADVANCED`, externs, or whole-world
63
+ configuration.
64
+ `bundle()` returns a dedicated result whose `code` is always a string. With
65
+ `sourceMap: true`, `sourceMap` is returned in memory; when
59
66
  `outfile` is present Wake also writes `<outfile>.map`, exposes
60
67
  `sourceMapFile`, and appends the matching `sourceMappingURL`.
61
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crab-dev/wake",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Wake native web build tools for Node.js",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {
@@ -64,7 +64,7 @@
64
64
  "node": ">=22.14 <27"
65
65
  },
66
66
  "dependencies": {
67
- "@crab-dev/css": "0.1.24",
67
+ "@crab-dev/css": "0.1.25",
68
68
  "@crab-dev/rc-alert": "^0.0.2",
69
69
  "@crab-dev/rc-button": "^0.0.2",
70
70
  "@crab-dev/rc-dialog": "^0.0.2",
@@ -95,11 +95,11 @@
95
95
  "react-dom": "19.2.8"
96
96
  },
97
97
  "optionalDependencies": {
98
- "@crab-dev/wake-darwin-arm64": "0.1.24",
99
- "@crab-dev/wake-darwin-x64": "0.1.24",
100
- "@crab-dev/wake-linux-arm64-gnu": "0.1.24",
101
- "@crab-dev/wake-linux-x64-gnu": "0.1.24",
102
- "@crab-dev/wake-win32-x64-msvc": "0.1.24"
98
+ "@crab-dev/wake-darwin-arm64": "0.1.25",
99
+ "@crab-dev/wake-darwin-x64": "0.1.25",
100
+ "@crab-dev/wake-linux-arm64-gnu": "0.1.25",
101
+ "@crab-dev/wake-linux-x64-gnu": "0.1.25",
102
+ "@crab-dev/wake-win32-x64-msvc": "0.1.25"
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public",