Skip to content

Commit ba05514

Browse files
committed
fix(build): stabilize repo bundle validation
1 parent 5f7b8c2 commit ba05514

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

CLAUDE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ The project uses **Yarn 4** (Berry) in **pnpm mode** with **Lage** as the task r
5656
```bash
5757
yarn build # TypeScript build for all packages (outputs to lib/ and lib-commonjs/)
5858
yarn test # Build, lint, and run tests across all packages
59-
yarn lint # ESLint across all packages
60-
yarn bundle # Bundle all packages
61-
yarn buildci # Full CI pipeline: build + test + lint + bundle + depcheck + check-publishing
59+
yarn lint # Lint across all packages
60+
yarn lage bundle # Bundle all packages
61+
yarn bundle:repo # Convenience wrapper for the repo bundle graph
62+
yarn lage buildci # Configured CI graph alias from lage.config.mjs
6263
yarn clean # Clean build artifacts
6364
```
6465

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ For running tasks the repo has switched to using [Lage](https://github.com/micro
102102

103103
- `yarn build` - does the typescript build for all packages in the repository
104104
- `yarn test` - will build, lint, and run any applicable tests on all packages in the repo
105-
- `yarn bundle` - will bundle all packages in the repo
106-
- `yarn buildci` - will build, lint, run tests, and bundle everything in the repo
105+
- `yarn lage bundle` - will bundle all packages in the repo
106+
- `yarn bundle:repo` - convenience wrapper for `yarn lage bundle`
107+
- `yarn lage buildci` - will build, lint, run tests, and run the configured repo checks
107108

108109
Note that Lage uses caching to avoid redundant steps and has very minimal output. To avoid caching add `--no-cache` as a command line argument. Similarly adding `--verbose` will give more detailed output.
109110

apps/fluent-tester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build": "fluentui-scripts build",
2727
"build-cjs": "tsgo --outDir lib-commonjs",
2828
"build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
29-
"bundle": "rnx-cli bundle --dev false",
29+
"bundle": "yarn bundle:android && yarn bundle:ios && yarn bundle:macos",
3030
"bundle:android": "rnx-cli bundle --dev false --platform android",
3131
"bundle:ios": "rnx-cli bundle --dev false --platform ios",
3232
"bundle:macos": "rnx-cli bundle --dev false --platform macos",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "lage build-all",
1919
"clean-all": "node ./scripts/src/preinstall/clean-all.js",
2020
"docs": "yarn workspace fluent-rn-website start",
21-
"bundle": "lage bundle",
21+
"bundle:repo": "lage bundle",
2222
"clean": "lage clean",
2323
"change": "node .github/scripts/change.mts",
2424
"changeset:version": "node .github/scripts/changeset-version-with-postbump.mts",

0 commit comments

Comments
 (0)