Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: update `package.json` scripts to use `cross-env` for env variable mgmt (#5087)

Srihari Thyagarajancbee510b8018
diff --git a/frontend/package.json b/frontend/package.json
index eeef945605..1af96c97ec 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -157,22 +157,22 @@
},
"scripts": {
"preinstall": "npx only-allow pnpm",
- "ci": "CI=true run-s lint typecheck test build",
+ "ci": "cross-env CI=true run-s lint typecheck test build",
"start": "vite",
"dev": "vite",
"build:watch": "vite build --watch --outDir ../marimo/_static",
- "build": "NODE_OPTIONS=--max-old-space-size=4096 vite build",
+ "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build",
"test": "vitest",
"typecheck": "tsc --noEmit",
"lint": "run-s lint:eslint lint:stylelint lint:biome format",
"lint:biome": "biome lint --diagnostic-level=warn --write .",
- "lint:eslint": "TIMING=1 eslint src e2e-tests --fix",
+ "lint:eslint": "cross-env TIMING=1 eslint src e2e-tests --fix",
"lint:stylelint": "stylelint src/**/*.css --fix",
"format": "biome format --write .",
"preview": "vite preview",
"dev:islands": "cross-env VITE_MARIMO_ISLANDS=true vite --config islands/vite.config.mts",
- "build:islands": "VITE_MARIMO_ISLANDS=true vite --config islands/vite.config.mts build",
- "preview:islands": "VITE_MARIMO_VERSION='0.4.6' VITE_MARIMO_ISLANDS=true vite --config islands/vite.config.mts build",
+ "build:islands": "cross-env VITE_MARIMO_ISLANDS=true vite --config islands/vite.config.mts build",
+ "preview:islands": "cross-env VITE_MARIMO_VERSION='0.4.6' VITE_MARIMO_ISLANDS=true vite --config islands/vite.config.mts build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},