Skip to content

Commit 21d70b2

Browse files
committed
refactor: remove demo application and related assets
- Deleted the demo application located in apps/demo, including main.tsx, styles.css, and vite.config.ts. - Removed associated assets such as reveal.jpeg. - Updated nginx configuration to handle effects routing. - Cleaned up package.json by removing Playwright dependencies and demo scripts. - Adjusted pnpm workspace configuration to exclude apps from the workspace. - Removed visual testing configurations and related test files. - Updated TypeScript configuration to reflect the removal of the demo app.
1 parent 3cb6bf6 commit 21d70b2

28 files changed

Lines changed: 20 additions & 1229 deletions

.changeset/ten-kiwis-march.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@protohiro/effects": patch
3+
---
4+
5+
Expand peer dependency compatibility to support React 19 and React DOM 19.
6+
7+
This removes installation conflicts in apps using React 19 while keeping React 18 support.

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ node_modules
55
dist
66
**/dist
77
coverage
8-
playwright-report
98
test-results
109
.pnpm-store
1110
.DS_Store

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ jobs:
2020
- run: pnpm typecheck
2121
- run: pnpm test
2222
- run: pnpm build
23-
- run: pnpm exec playwright install --with-deps
24-
- run: pnpm test:visual

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
node_modules
22
dist
33
coverage
4-
.vite
5-
.playwright
6-
playwright-report
74
test-results
85
*.tsbuildinfo
96
.DS_Store

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Use `codex/<lane>-<task>` branch names.
99
Keep PRs single-lane:
1010
- infra/core
1111
- single effect
12-
- tests/visuals
13-
- docs/demo
12+
- tests
13+
- docs
1414

1515
## Definition of done
1616

@@ -26,6 +26,6 @@ Every PR must include:
2626
1. infra
2727
2. core runtime
2828
3. effects
29-
4. visual tests
30-
5. docs/demo
29+
4. tests
30+
5. docs
3131
6. release

Dockerfile.demo

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@ Protohiro Effects is a zero-wrapper React library for hard CSS effects on existi
44

55
Built for design systems and app UIs that need premium effects without extra DOM nodes, layout shifts, or runtime layout measurements.
66

7-
## Live demo
8-
9-
[libs.protohiro.com/effects](https://libs.protohiro.com/effects/)
10-
117
## Packages
128

139
- `@protohiro/effects-core`: shared runtime utilities.
1410
- `@protohiro/effects`: React hooks and effect styles.
15-
- `@protohiro/effects-demo`: local demo app.
1611

1712
## Quick start
1813

@@ -144,6 +139,5 @@ Hooks are composable because each effect writes only namespaced classes (`pe-*`)
144139
pnpm lint
145140
pnpm typecheck
146141
pnpm test
147-
pnpm test:visual
148142
pnpm size
149143
```

apps/demo/CHANGELOG.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

apps/demo/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/demo/package.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)