Skip to content

Commit 633c5f2

Browse files
aidenybaiclaude
andauthored
chore: remove tailwind-merge dependency (#254)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent febad9d commit 633c5f2

File tree

7 files changed

+6
-14
lines changed

7 files changed

+6
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ test-results
1313
playwright-report
1414
.vercel
1515
.cursor/debug.log
16-
.cursor
16+
.cursor
17+
meta.json

AGENTS.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pnpm typecheck # runs type checking
101101
pnpm format
102102
```
103103

104-
## Cursor Cloud specific instructions
104+
## Development instructions
105105

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

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

118118
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`.
119119

120-
### Known flaky test
121-
122-
`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.
123-
124120
### Key commands reference
125121

126122
See root `package.json` scripts and `CONTRIBUTING.md` for the full list. Quick reference:

packages/react-grab/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"esbuild-plugin-babel": "^0.2.3",
118118
"oxlint": "^1.42.0",
119119
"publint": "^0.2.12",
120-
"tailwind-merge": "^2.5.5",
121120
"tailwindcss": "^4.1.0",
122121
"tsup": "^8.2.4"
123122
},

packages/react-grab/src/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "tailwindcss";
1+
@import "tailwindcss" source(".");
22

33
@theme {
44
--font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
import { clsx, type ClassValue } from "clsx";
2-
import { twMerge } from "tailwind-merge";
32

4-
export const cn = (...inputs: ClassValue[]): string => twMerge(clsx(inputs));
3+
export const cn = (...inputs: ClassValue[]): string => clsx(inputs);

packages/react-grab/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const DEFAULT_OPTIONS: Options = {
5050
".css": "text",
5151
},
5252
minify: process.env.NODE_ENV === "production",
53-
noExternal: ["clsx", "tailwind-merge", "solid-js", "bippy"],
53+
noExternal: ["clsx", "solid-js", "bippy"],
5454
onSuccess: process.env.COPY ? "pbcopy < ./dist/index.global.js" : undefined,
5555
outDir: "./dist",
5656
sourcemap: false,

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)