cngpac@1.0.2
Patch Changes
-
a330247 - Thanks to @almahdi404 !
fix(version): build package after version bump in release pipeline
Previously, the
versioncommand updated the version inpackage.jsonbut did not execute a build step before generating changelogs, staging files, and publishing. This could result in published artifacts containing outdated version strings or stale build output.The release pipeline now introduces a build execution stage immediately following the version update. Users can configure the build stage via the
buildoption incngpac.config.ts, supporting an npm script, a shell command, or a custom plugin function:export default defineConfig({build: { script: "build" },});Additionally,
cngpac versionnow supports a--no-buildflag to skip the build step when compiling is handled externally.