-
Notifications
You must be signed in to change notification settings - Fork 1
fix: resolve Vercel build OOM and timeout by skipping memory-hungry plugins and redundant build steps in CI #976
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
860a00c
19fa65f
88aeae3
0c3236b
59ba8dc
d744723
2dd45fd
7f9bb2c
e1b90d2
0eedfe7
c58dad8
b7c69fd
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 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -23,6 +23,7 @@ | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| import React, { useEffect, useState, useCallback, useMemo } from 'react'; | ||||||||||||||||||||||
| import type { ObjectGridSchema, DataSource, ListColumn, ViewData } from '@object-ui/types'; | ||||||||||||||||||||||
| import type { I18nLabel } from '@objectstack/spec/ui'; | ||||||||||||||||||||||
| import { SchemaRenderer, useDataScope, useNavigationOverlay, useAction, useObjectTranslation, useSafeFieldLabel } from '@object-ui/react'; | ||||||||||||||||||||||
| import { getCellRenderer, formatCurrency, formatCompactCurrency, formatDate, formatPercent, humanizeLabel } from '@object-ui/fields'; | ||||||||||||||||||||||
| import { | ||||||||||||||||||||||
|
Comment on lines
25
to
29
|
||||||||||||||||||||||
| import type { ObjectGridSchema, DataSource, ListColumn, ViewData } from '@object-ui/types'; | |
| import type { I18nLabel } from '@objectstack/spec/ui'; | |
| import { SchemaRenderer, useDataScope, useNavigationOverlay, useAction, useObjectTranslation, useSafeFieldLabel } from '@object-ui/react'; | |
| import { getCellRenderer, formatCurrency, formatCompactCurrency, formatDate, formatPercent, humanizeLabel } from '@object-ui/fields'; | |
| import { | |
| import type { ObjectGridSchema, DataSource, ListColumn, ViewData, I18nLabel } from '@object-ui/types'; | |
| import { SchemaRenderer, useDataScope, useNavigationOverlay, useAction, useObjectTranslation, useSafeFieldLabel } from '@object-ui/react'; | |
| import { getCellRenderer, formatCurrency, formatCompactCurrency, formatDate, formatPercent, humanizeLabel } from '@object-ui/fields'; | |
| import { | |
| import { |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -544,6 +544,16 @@ export interface DashboardWidgetSchema { | |
| * Aligned with @objectstack/spec DashboardWidgetSchema.responsive. | ||
| */ | ||
| responsive?: any; | ||
| /** | ||
| * Enable search input for table-type widgets. | ||
| * @default false | ||
| */ | ||
| searchable?: boolean; | ||
| /** | ||
| * Enable pagination for table-type widgets. | ||
| * @default false | ||
| */ | ||
| pagination?: boolean; | ||
|
Comment on lines
+547
to
+556
|
||
| /** | ||
| * ARIA accessibility attributes. | ||
| * Aligned with @objectstack/spec AriaPropsSchema. | ||
|
|
||
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.
buildCommandinvokesvite builddirectly. Outside of a package-script runner,node_modules/.binmay not be on PATH (common on CI), which can causevite: command not found. To make the command robust, usepnpm exec vite build(orpnpm vite build) instead of callingvitedirectly.