balm-core 6.0.0-alpha.2 → 6.0.0-alpha.3
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 +395 -111
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +381 -97
- package/dist/index.js.map +1 -1
- package/package.json +38 -1
- package/src/balm.ts +0 -107
- package/src/bundler/esbuild.ts +0 -48
- package/src/bundler/index.ts +0 -3
- package/src/bundler/rollup.ts +0 -46
- package/src/bundler/webpack.ts +0 -125
- package/src/config/constants.ts +0 -12
- package/src/config/defaults.ts +0 -212
- package/src/config/index.ts +0 -112
- package/src/hooks/index.ts +0 -224
- package/src/index.ts +0 -16
- package/src/pipeline/file.ts +0 -69
- package/src/pipeline/index.ts +0 -10
- package/src/pipeline/pipeline.ts +0 -135
- package/src/pipeline/transforms/cache.ts +0 -147
- package/src/pipeline/transforms/htmlmin.ts +0 -18
- package/src/pipeline/transforms/less.ts +0 -75
- package/src/pipeline/transforms/postcss.ts +0 -43
- package/src/pipeline/transforms/rename.ts +0 -38
- package/src/pipeline/transforms/replace.ts +0 -30
- package/src/pipeline/transforms/sass.ts +0 -106
- package/src/pipeline/transforms/terser.ts +0 -20
- package/src/runner/dag.ts +0 -77
- package/src/runner/task.ts +0 -38
- package/src/shims.d.ts +0 -5
- package/src/tasks/cache.ts +0 -84
- package/src/tasks/clean.ts +0 -21
- package/src/tasks/copy.ts +0 -36
- package/src/tasks/ftp.ts +0 -90
- package/src/tasks/html.ts +0 -290
- package/src/tasks/index.ts +0 -14
- package/src/tasks/publish.ts +0 -71
- package/src/tasks/pwa.ts +0 -86
- package/src/tasks/remove.ts +0 -24
- package/src/tasks/replace.ts +0 -34
- package/src/tasks/script.ts +0 -28
- package/src/tasks/server.ts +0 -218
- package/src/tasks/static.ts +0 -77
- package/src/tasks/style.ts +0 -57
- package/src/tasks/zip.ts +0 -77
- package/src/types/index.ts +0 -225
- package/src/utilities/file.ts +0 -140
- package/src/utilities/logger.ts +0 -63
- package/src/utilities/utils.ts +0 -46
- package/src/utilities/workspace.ts +0 -38
- package/src/watcher/index.ts +0 -100
- package/tsconfig.json +0 -8
- package/tsup.config.ts +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# balm-core
|
|
2
2
|
|
|
3
|
+
## 6.0.0-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1f31e81: Read CLI `--version` dynamically from `package.json` and configure npm package `"files"` and metadata for publishing
|
|
8
|
+
- 1f31e81: Support `extras` includes/excludes in `StaticTask`, replace all occurrences in `transformReplace`, and pass config to lifecycle hooks
|
|
9
|
+
- Add `extras.includes` and `extras.excludes` handling in `StaticTask` alongside `assets` patterns
|
|
10
|
+
- Replace all string pattern occurrences via `replaceAll` in `transformReplace`
|
|
11
|
+
- Pass resolved `BalmConfig` to `beforeTask` and `afterTask` callbacks
|
|
12
|
+
- 1f31e81: Improve Webpack 4.x compatibility, loader toolchain defaults, file watcher extensions, and CLI instance resolution
|
|
13
|
+
- Add `scripts.defaultLoaders` controls and built-in Babel 7 / Webpack 5 loader dependencies (`@babel/core`, `babel-loader`, `css-loader`, `html-loader`, `mini-css-extract-plugin`, `postcss-loader`, `style-loader`)
|
|
14
|
+
- Add 4.x compatibility script/html config defaults (`includeJsResource`, `excludeUrlResource`, `useEsModule`, `urlLoaderOptions`, `babelLoaderOptions`, `htmlLoaderOptions`, `postcssLoaderOptions`, `extractAllVendors`, `vendorName`, `extractCss`)
|
|
15
|
+
- Restrict `deepMerge` recursion to plain objects via `isPlainObject`
|
|
16
|
+
- Support watched directory deduplication and script rebuilds across extended file extensions in `FileWatcher`
|
|
17
|
+
- Unwrap nested default exports via `unwrapBalmInstance` in `balm` core resolver
|
|
18
|
+
|
|
3
19
|
## 6.0.0-alpha.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|