**chore(version, build): bump version to 0.9.13 and enhance CLI build configuration**
- Updated `npm` badge in `README.md` to reflect version `0.9.13`. - Updated `VERSION` constant in `src/utils/version.ts` to `0.9.13`. - Refined `rollup.config.js` to conditionally export configurations based on build type (`cli` or `main`). - Added `build:cli` script in `package.json` for CLI-specific builds. - Updated `cli` script to include CLI build step for executable generation. - Adjusted `package.json` `files` field to exclude CLI build artifacts in package distribution. These changes ensure version consistency, improve CLI build workflows, and align the package distribution with project requirements.
This commit is contained in:
parent
f87e13b8bc
commit
5d9128991f
4 changed files with 10 additions and 6 deletions
|
|
@ -228,5 +228,6 @@ const cliConfig = {
|
|||
]
|
||||
}
|
||||
|
||||
// Export both configurations
|
||||
export default [mainConfig, cliConfig]
|
||||
// Export configurations based on build type
|
||||
// Only include CLI config when specifically building CLI
|
||||
export default buildType === 'cli' ? cliConfig : mainConfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue