balm-core 6.0.0-alpha.2 → 6.0.0-alpha.4

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 (55) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index.cjs +559 -224
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +42 -3
  5. package/dist/index.d.ts +42 -3
  6. package/dist/index.js +540 -210
  7. package/dist/index.js.map +1 -1
  8. package/package.json +38 -1
  9. package/src/balm.ts +0 -107
  10. package/src/bundler/esbuild.ts +0 -48
  11. package/src/bundler/index.ts +0 -3
  12. package/src/bundler/rollup.ts +0 -46
  13. package/src/bundler/webpack.ts +0 -125
  14. package/src/config/constants.ts +0 -12
  15. package/src/config/defaults.ts +0 -212
  16. package/src/config/index.ts +0 -112
  17. package/src/hooks/index.ts +0 -224
  18. package/src/index.ts +0 -16
  19. package/src/pipeline/file.ts +0 -69
  20. package/src/pipeline/index.ts +0 -10
  21. package/src/pipeline/pipeline.ts +0 -135
  22. package/src/pipeline/transforms/cache.ts +0 -147
  23. package/src/pipeline/transforms/htmlmin.ts +0 -18
  24. package/src/pipeline/transforms/less.ts +0 -75
  25. package/src/pipeline/transforms/postcss.ts +0 -43
  26. package/src/pipeline/transforms/rename.ts +0 -38
  27. package/src/pipeline/transforms/replace.ts +0 -30
  28. package/src/pipeline/transforms/sass.ts +0 -106
  29. package/src/pipeline/transforms/terser.ts +0 -20
  30. package/src/runner/dag.ts +0 -77
  31. package/src/runner/task.ts +0 -38
  32. package/src/shims.d.ts +0 -5
  33. package/src/tasks/cache.ts +0 -84
  34. package/src/tasks/clean.ts +0 -21
  35. package/src/tasks/copy.ts +0 -36
  36. package/src/tasks/ftp.ts +0 -90
  37. package/src/tasks/html.ts +0 -290
  38. package/src/tasks/index.ts +0 -14
  39. package/src/tasks/publish.ts +0 -71
  40. package/src/tasks/pwa.ts +0 -86
  41. package/src/tasks/remove.ts +0 -24
  42. package/src/tasks/replace.ts +0 -34
  43. package/src/tasks/script.ts +0 -28
  44. package/src/tasks/server.ts +0 -218
  45. package/src/tasks/static.ts +0 -77
  46. package/src/tasks/style.ts +0 -57
  47. package/src/tasks/zip.ts +0 -77
  48. package/src/types/index.ts +0 -225
  49. package/src/utilities/file.ts +0 -140
  50. package/src/utilities/logger.ts +0 -63
  51. package/src/utilities/utils.ts +0 -46
  52. package/src/utilities/workspace.ts +0 -38
  53. package/src/watcher/index.ts +0 -100
  54. package/tsconfig.json +0 -8
  55. package/tsup.config.ts +0 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # balm-core
2
2
 
3
+ ## 6.0.0-alpha.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c35e767: Rewrite CSS and PWA manifest asset paths to target directories and ignore `.DS_Store` in pipelines
8
+ - Rewrite relative (`../<source>/`) and root-relative (`url(/<source>/)`) asset URLs to `paths.target` in `StyleTask` for production and backend builds
9
+ - Apply shared source-to-target asset path rewriting (`rewriteHtmlAssetPaths`) across HTML and PWA manifest files (`manifest.json`, `*.webmanifest`) in `StaticTask` and `HtmlTask`
10
+ - Ignore `**/.DS_Store` in `Pipeline.src` so macOS Finder metadata files are excluded from build output
11
+
12
+ ## 6.0.0-alpha.3
13
+
14
+ ### Patch Changes
15
+
16
+ - 1f31e81: Read CLI `--version` dynamically from `package.json` and configure npm package `"files"` and metadata for publishing
17
+ - 1f31e81: Support `extras` includes/excludes in `StaticTask`, replace all occurrences in `transformReplace`, and pass config to lifecycle hooks
18
+ - Add `extras.includes` and `extras.excludes` handling in `StaticTask` alongside `assets` patterns
19
+ - Replace all string pattern occurrences via `replaceAll` in `transformReplace`
20
+ - Pass resolved `BalmConfig` to `beforeTask` and `afterTask` callbacks
21
+ - 1f31e81: Improve Webpack 4.x compatibility, loader toolchain defaults, file watcher extensions, and CLI instance resolution
22
+ - 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`)
23
+ - Add 4.x compatibility script/html config defaults (`includeJsResource`, `excludeUrlResource`, `useEsModule`, `urlLoaderOptions`, `babelLoaderOptions`, `htmlLoaderOptions`, `postcssLoaderOptions`, `extractAllVendors`, `vendorName`, `extractCss`)
24
+ - Restrict `deepMerge` recursion to plain objects via `isPlainObject`
25
+ - Support watched directory deduplication and script rebuilds across extended file extensions in `FileWatcher`
26
+ - Unwrap nested default exports via `unwrapBalmInstance` in `balm` core resolver
27
+
3
28
  ## 6.0.0-alpha.2
4
29
 
5
30
  ### Patch Changes