Repository navigation
1.5.1
Added
- Added final pre-bundling checks for unsupported dependency syntaxes (
CommonJS,JSX/TSX). When detected,suseelogs an actionable error and exits with code1. - Added CLI command
initto generate a minimalsuseeconfig file at the project root. - Added
npm run commitworkflow support inscripts/susee-commit.tsto rungit 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-commonjsfor mostCommonJSprojects. - Migrated Git hooks from
husky/commitlintto repository-tracked hooks in.githooks. - Added
npm run hooks:installsetup flow and enforced commit subject format:<Type>: <message> (#<number>)whereTypeis one ofAdded,Changed,Deprecated,Fixed,Security,Modified. - Updated
README.mdandCONTRIBUTING.mdto match the current scripts, hook behavior, and project documentation layout.
Fixed
- Fixed source map URL generation by adding
resolveSourceMappingURL, replacing incorrect//# sourceMappingURL=<fileName>.js.mapwith extension-aware values (.cjs.map/.mjs.map).
Notes
JSX/TSXdependency 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