update some of the build command

This commit is contained in:
Nate Kelley 2025-09-05 12:11:41 -06:00
parent 1a13266898
commit e828b230f1
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
5 changed files with 4 additions and 7 deletions

View File

@ -6,13 +6,14 @@
"scripts": {
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || tsx scripts/validate-env.ts",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck",
"build:staging": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --env staging",
"build:production": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --env production",
"build:local": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --local",
"build:no-typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
"build-storybook": "storybook build",
"build:visualize": "npx vite-bundle-visualizer",
"deploy:dev": "pnpm run build && npx wrangler deploy .output/server/index.mjs --env dev --assets .output/public",
"deploy:production": "pnpm run build && npx wrangler deploy .output/server/index.mjs --env production --assets .output/public",
"deploy:staging": "pnpm run build && npx wrangler deploy .output/server/index.mjs --env staging --assets .output/public",
"deploy:production": "pnpm run build:production && npx wrangler deploy .output/server/index.mjs --env production --assets .output/public",
"deploy:staging": "pnpm run build:staging && npx wrangler deploy .output/server/index.mjs --env staging --assets .output/public",
"dev": "vite dev --port 3000",
"dev:fast": "pnpm run build:local && pnpm run start:bun",
"generate-routes": "tsr generate",

View File

@ -48,7 +48,6 @@ export const BlockDiscussion: RenderNodeWrapper<AnyPluginConfig> = (props) => {
return;
}
// biome-ignore lint/correctness/noNestedComponentDefinitions: meh
const Component = (props: PlateElementProps) => (
<BlockCommentContent
blockPath={blockPath}

View File

@ -65,7 +65,6 @@ export const BlockDraggable: RenderNodeWrapper = (props) => {
if (!enabled) return;
// biome-ignore lint/correctness/noNestedComponentDefinitions: meh
const Component = (props: PlateElementProps) => <Draggable {...props} />;
Component.displayName = 'BlockDraggable';
return Component;

View File

@ -23,7 +23,6 @@ const config: Record<
export const BlockList: RenderNodeWrapper = (props) => {
if (!props.element.listStyleType) return;
// biome-ignore lint/correctness/noNestedComponentDefinitions: meh
const Component = (props: PlateElementProps) => <List {...props} />;
Component.displayName = 'BlockList';

View File

@ -280,7 +280,6 @@ const InlineComboboxItem = ({
const store = useComboboxContext()!;
// Optimization: Do not subscribe to value if filter is false
// biome-ignore lint/correctness/useHookAtTopLevel: it's cool
const search = filter && store.useState('value');
const visible = React.useMemo(