mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-22 05:59:31 +08:00
- Enforce oxlint and oxfmt for owned JavaScript and TypeScript with independent CI checks. - Preserve compiler import boundaries and protected fixtures while cleaning up lint findings. - Standardize source formatting and validate import, fixture, and embedded-source protections.
10 lines
432 B
JavaScript
10 lines
432 B
JavaScript
import { dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { mobileRuntimeConfig } from "../../runtime-pack-common/scripts/mobile-toolchain.mjs";
|
|
|
|
process.env.SCRIPTC_RUNTIME_PACK_ROOT = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
process.env.SCRIPTC_RUNTIME_PACK_CONFIG = JSON.stringify(
|
|
mobileRuntimeConfig("ios-simulator-arm64"),
|
|
);
|
|
await import("../../runtime-pack-common/scripts/build.mjs");
|