Skip to content

1.5.1

Choose a tag to compare

@phothinmg phothinmg released this 01 Apr 13:35
· 423 commits to main since this release
6b5483f

Added

  • Added final pre-bundling checks for unsupported dependency syntaxes (CommonJS, JSX/TSX). When detected, susee logs an actionable error and exits with code 1.
  • Added CLI command init to generate a minimal susee config file at the project root.
  • Added npm run commit workflow support in scripts/susee-commit.ts to run git add ., create a formatted commit message, and push to the active branch.
  • Added global commit number incrementation for commit subjects by scanning git history (git log --all) and appending (#<number>).

Changed

  • Updated output format options from "esm" | "commonjs" | "both" to ("commonjs" | "esm")[].
  • Improved unsupported-module diagnostics to suggest @suseejs/plugin-commonjs for most CommonJS projects.
  • Migrated Git hooks from husky/commitlint to repository-tracked hooks in .githooks.
  • Added npm run hooks:install setup flow and enforced commit subject format: <Type>: <message> (#<number>) where Type is one of Added, Changed, Deprecated, Fixed, Security, Modified.
  • Updated README.md and CONTRIBUTING.md to match the current scripts, hook behavior, and project documentation layout.

Fixed

  • Fixed source map URL generation by adding resolveSourceMappingURL, replacing incorrect //# sourceMappingURL=<fileName>.js.map with extension-aware values (.cjs.map / .mjs.map).

Notes

  • JSX/TSX dependency transpilation is still unsupported in core and planned for future plugin-based support.
  • Browser ESM bundling and mixed-syntax project workflows are still on the roadmap.

Full Changelog: 1.5.0...1.5.1