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
8 changes: 4 additions & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [],
"privatePackages": {
"version": true,
"tag": true
}
},
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 1 addition & 1 deletion .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["./node_modules/ras-stack/config/oxlint/application.json"],
"extends": ["./node_modules/ras-stack/config/oxlint/application.json", "./node_modules/ras-stack/config/oxlint/domain.json"],
"overrides": [
{
"files": ["src/components/ui/**"],
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ Exports rebuild circular geometry at a 1µm chord tolerance. The preview deliber
## Deployment

Production setup and verification live in the [Cloudflare deployment guide](docs/deployment.md).

## Shared infrastructure checks

The shared Oxlint domain preset restricts Node and framework imports in `src/geometry`; test files can still load real geometry fixtures. `.oxlintrc.json` is the active lint configuration. `ras policy check` validates existing Changesets without requiring a release note for every change. The PostHog wiring test imports the real application entrypoint and verifies the provider configuration passed by the app.
4 changes: 2 additions & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deployment guide

BaseKit is a static Vite app. It needs no backend, database, secrets, server functions, or cross-origin isolation headers. Geometry, fonts, the Manifold WASM module, and STL/3MF generation all run in the browser.
BaseKit is a static Vite app. It needs no backend, database, runtime secrets, server functions, or cross-origin isolation headers. Geometry, fonts, the Manifold WASM module, and STL/3MF generation all run in the browser.

## Cloudflare Pages

Expand All @@ -15,7 +15,7 @@ Create a Pages project from the `richardsolomou/basekit` GitHub repository with

Set `NODE_VERSION=24` in the build environment. pnpm reads its version from the `packageManager` field in `package.json`.

Pages creates a preview deployment for pull requests and a production deployment for `main`. No runtime environment variables are required.
Pages creates a preview deployment for pull requests and a production deployment for `main`. No runtime environment variables are required. Configure `VITE_POSTHOG_PROJECT_TOKEN`, `VITE_POSTHOG_HOST`, `POSTHOG_PROJECT_ID`, `POSTHOG_HOST`, and the encrypted `POSTHOG_API_KEY` in the Pages build environment to enable telemetry and upload browser source maps; the personal API key is used only while building and is not included in `dist/`.

## Custom domain

Expand Down
3 changes: 0 additions & 3 deletions oxlint.json

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"lint": "oxlint --deny-warnings src scripts e2e",
"lint:fix": "oxlint --fix src scripts e2e",
"lint": "oxlint --deny-warnings .",
"lint:fix": "oxlint --fix .",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"test": "vitest run",
Expand All @@ -44,7 +44,7 @@
"manifold-3d": "^3.5.3",
"opentype.js": "^2.0.0",
"posthog-js": "^1.417.1",
"ras-stack": "^1.0.0",
"ras-stack": "^2.0.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"tailwind-merge": "^3.6.0",
Expand All @@ -53,6 +53,7 @@
"devDependencies": {
"@changesets/cli": "3.0.2",
"@playwright/test": "^1.62.1",
"@posthog/rollup-plugin": "^1.6.0",
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^26.2.0",
"@types/opentype.js": "^1.3.10",
Expand Down
Loading
Loading