-
Notifications
You must be signed in to change notification settings - Fork 2
[WIP] Fix ag-grid documentation style import issue #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ | |
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite", | ||
| "prebuild": "pnpm --filter @object-ui/types build && pnpm --filter @object-ui/core build && pnpm --filter @object-ui/react build && pnpm --filter @object-ui/components build && pnpm --filter @object-ui/fields build && pnpm --filter @object-ui/layout build && pnpm --filter @object-ui/plugin-dashboard build", | ||
|
||
| "build": "tsc && vite build", | ||
| "preview": "vite preview" | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This long sequential build command is difficult to maintain and error-prone. Consider these more maintainable alternatives:
Use PNPM's built-in topological ordering:
pnpm -r --filter='./packages/*' buildwill automatically build packages in the correct dependency order.Leverage Turbo (already installed at the root): Create a
turbo.jsonconfiguration to manage build orchestration across the monorepo.Use PNPM's
--filterwith ellipsis syntax:pnpm --filter='@examples/crm-app^...' buildwill build all dependencies of crm-app.The current approach requires manual updates whenever dependencies change and is inconsistent with the root package.json's build script (line 19 in root package.json) which uses
-rfor recursive topological builds.