Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"tsc": "tsc -b packages/*/tsconfig.json packages/*/examples/*/tsconfig.json",
"tsc-dev": "pnpm tsc --watch --preserveWatchOutput",
"test": "pnpm -r --sequential test run",
"vite-ecosystem-ci:build": "pnpm -r --filter '@hiogawa/vite-rsc...' build",
"vite-ecosystem-ci:before-test": "playwright install chromium",
"vite-ecosystem-ci:test": "bash scripts/vite-ecosystem-ci.sh",
"lint": "biome check --write .",
"lint-check": "biome check ."
},
Expand Down
3 changes: 2 additions & 1 deletion packages/rsc/examples/basic/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export default defineConfig({
ssr: "@hiogawa/vite-rsc/extra/ssr",
},
}),
Inspect(),
// avoid ecosystem CI fail due to vite-plugin-inspect compatibility
!process.env.ECOSYSTEM_CI && Inspect(),
{
name: "show-encryption-key",
enforce: "post",
Expand Down
7 changes: 7 additions & 0 deletions scripts/vite-ecosystem-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu -o pipefail

# a part of test-rsc-core from ci.yml
pnpm -C packages/rsc/examples/basic test-e2e
pnpm -C packages/rsc/examples/basic build
pnpm -C packages/rsc/examples/basic test-e2e-preview
3 changes: 3 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"paths": {
"@oxc-project/types": ["./node_modules/@types/estree"]
},
"noImplicitReturns": false,
"exactOptionalPropertyTypes": false,
"verbatimModuleSyntax": true,
Expand Down
Loading