Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: web-tool-kit/libwiz

v1.0.0

19 Aug 20:55
@xettri xettri

Choose a tag to compare

🚀 libwiz v1.0.0

This is the first major release of libwiz, bringing a more stable, framework-agnostic build system with a simplified configuration model, stronger type support, and new CLI features.


✨ What’s New

  • New CLI Commands
    • libwiz init – bootstrap a config
    • libwiz types – generate .d.ts files
    • libwiz types --check – type-check only, no emit
  • Framework-Agnostic by Default
    • React is no longer assumed, add @babel/preset-react if needed
  • Config Model Overhaul
    • Unified output block (dir, target, comments, sourceMap)
    • Per-format overrides under lib.esm / lib.cjs
    • compiler now accepts static object or function for advanced configs
  • Simplified Defaults
    • Focus on @babel/core, @babel/preset-env, @babel/preset-typescript
    • Explicit React support documented separately

💥 Breaking Changes

  • Targets renamed
    • modernesm
    • commoncjs
  • Config
    • buildPathoutput.dir
  • Flags
    • Removed: --prebuild, --verbose
    • Added: --progress, --quiet
  • React preset not included by default (must be added manually)

🛠 Migration Guide (from v0.0.2)

  1. Update build targets:
    modernesm, commoncjs
  2. Replace buildPath with output.dir
  3. Install React preset if needed:
    npm i -D @babel/preset-react
    // libwiz.config.js
    module.exports = {
     compiler: {
     presets: [['@babel/preset-react', { runtime: 'automatic' }]],
     },
    }
  4. Remove usage of --prebuild and --verbose
  5. For types:
    libwiz build --types # emit .d.ts
    libwiz types --check # check types only

📦 Other Improvements

  • Dependency cleanup (14 → 11)
  • Documentation updated with React add-on guide
Assets 2
Loading

v0.0.2

28 Jul 09:59
@xettri xettri

Choose a tag to compare

make comments default true
Loading

AltStyle によって変換されたページ (->オリジナル) /