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: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ test-results
playwright-report
.vercel
.cursor/debug.log
.cursor
.cursor
meta.json
6 changes: 1 addition & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pnpm typecheck # runs type checking
pnpm format
```

## Cursor Cloud specific instructions
## Development instructions

This is a pnpm + Turborepo monorepo (19 packages under `packages/`). No external services (databases, Docker, etc.) are required.

Expand All @@ -117,10 +117,6 @@ The root `package.json` has `pnpm.onlyBuiltDependencies` configured for `@parcel

E2E tests (`pnpm test` at root) run Playwright against the `e2e-playground` Vite dev server on port 5175 (auto-started by the Playwright config). Chromium must be installed: `npx --prefix packages/react-grab playwright install chromium --with-deps`.

### Known flaky test

`e2e/history-items.spec.ts` > "should reposition when toolbar is dragged to top edge" intermittently times out in headless CI environments. This is a pre-existing issue.

### Key commands reference

See root `package.json` scripts and `CONTRIBUTING.md` for the full list. Quick reference:
Expand Down
1 change: 0 additions & 1 deletion packages/react-grab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
"esbuild-plugin-babel": "^0.2.3",
"oxlint": "^1.42.0",
"publint": "^0.2.12",
"tailwind-merge": "^2.5.5",
"tailwindcss": "^4.1.0",
"tsup": "^8.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-grab/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "tailwindcss";
@import "tailwindcss" source(".");

@theme {
--font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
Expand Down
3 changes: 1 addition & 2 deletions packages/react-grab/src/utils/cn.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export const cn = (...inputs: ClassValue[]): string => twMerge(clsx(inputs));
export const cn = (...inputs: ClassValue[]): string => clsx(inputs);
2 changes: 1 addition & 1 deletion packages/react-grab/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const DEFAULT_OPTIONS: Options = {
".css": "text",
},
minify: process.env.NODE_ENV === "production",
noExternal: ["clsx", "tailwind-merge", "solid-js", "bippy"],
noExternal: ["clsx", "solid-js", "bippy"],
onSuccess: process.env.COPY ? "pbcopy < ./dist/index.global.js" : undefined,
outDir: "./dist",
sourcemap: false,
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading