balm-core 6.0.0-alpha.1 → 6.0.0-alpha.2
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 +16 -0
- package/dist/index.cjs +234 -146
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +222 -135
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/balm.ts +11 -12
- package/src/bundler/esbuild.ts +2 -1
- package/src/bundler/rollup.ts +2 -1
- package/src/bundler/webpack.ts +2 -1
- package/src/config/defaults.ts +5 -2
- package/src/pipeline/transforms/cache.ts +1 -0
- package/src/pipeline/transforms/rename.ts +2 -1
- package/src/pipeline/transforms/sass.ts +1 -1
- package/src/tasks/cache.ts +13 -1
- package/src/tasks/html.ts +60 -2
- package/src/tasks/pwa.ts +0 -13
- package/src/tasks/server.ts +35 -0
- package/src/tasks/static.ts +0 -27
- package/src/tasks/zip.ts +19 -7
- package/src/types/index.ts +23 -0
- package/src/utilities/file.ts +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# balm-core
|
|
2
2
|
|
|
3
|
+
## 6.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- - **balm**:
|
|
8
|
+
- Support `-c, --config <file>` CLI option for custom configuration file path
|
|
9
|
+
- Support async configuration functions returning config objects
|
|
10
|
+
- Support `beforeTask`, `afterTask`, and `api`/`recipes` hooks in config object
|
|
11
|
+
- **balm-core**:
|
|
12
|
+
- Export `resolveDefaultEntry` utility supporting `main/index` with `.js/.ts/.jsx/.tsx`
|
|
13
|
+
- Add `html.analytics` option supporting Google Analytics and custom analytics script injection
|
|
14
|
+
- Add `server.serveStatic` option for custom static routes and directory serving
|
|
15
|
+
- Support fast-glob pattern matching in `ZipTask`
|
|
16
|
+
- Refine `CacheTask` asset globs and protect `.webmanifest`, `sw.js`, `service-worker.js`, and `workbox-sw.js`
|
|
17
|
+
- Support `basename` option in `RenameTask`
|
|
18
|
+
|
|
3
19
|
## 6.0.0-alpha.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|