Skip to content

Commit e324801

Browse files
authored
feat(builder): display bundle version (#4061)
1 parent edf5b98 commit e324801

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.yarn/versions/f6489b6b.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
releases:
2+
"@yarnpkg/builder": minor
3+
4+
declined:
5+
- "@yarnpkg/plugin-constraints"
6+
- "@yarnpkg/plugin-exec"
7+
- "@yarnpkg/plugin-interactive-tools"
8+
- "@yarnpkg/plugin-stage"
9+
- "@yarnpkg/plugin-typescript"
10+
- "@yarnpkg/plugin-version"
11+
- "@yarnpkg/plugin-workspace-tools"
12+
- "@yarnpkg/cli"

packages/yarnpkg-builder/sources/commands/build/bundle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export default class BuildBundleCommand extends Command {
159159
report.reportInfo(null, `${Mark.Check} Done building the CLI!`);
160160
report.reportInfo(null, `${Mark.Question} Bundle path: ${formatUtils.pretty(configuration, output, formatUtils.Type.PATH)}`);
161161
report.reportInfo(null, `${Mark.Question} Bundle size: ${formatUtils.pretty(configuration, fs.statSync(output).size, formatUtils.Type.SIZE)}`);
162+
report.reportInfo(null, `${Mark.Question} Bundle version: ${formatUtils.pretty(configuration, version, formatUtils.Type.REFERENCE)}`);
162163

163164
report.reportSeparator();
164165

0 commit comments

Comments
 (0)