Skip to content

Commit

Permalink
chore: move cloudflare-pages example into examples (#17)
Browse files Browse the repository at this point in the history
* chore: move cloudflare-pages example into `examples`

* fix the CI command
  • Loading branch information
yusukebe authored Nov 11, 2024
1 parent 9c031e3 commit 36e4b13
Show file tree
Hide file tree
Showing 17 changed files with 69 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e
- run: npm run test
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "example",
"name": "example-cloudflare-pages",
"private": true,
"sideEffects": false,
"type": "module",
Expand Down Expand Up @@ -37,4 +37,4 @@
"engines": {
"node": ">=20.0.0"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
97 changes: 63 additions & 34 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.3.0",
"type": "module",
"scripts": {
"test": "npm run test:e2e",
"test:e2e": "npm run test:e2e -w example",
"test": "npm run test:e2e:cloudflare-pages",
"test:e2e:cloudflare-pages": "npm run test:e2e -w example-cloudflare-pages",
"build": "tsup",
"watch": "tsup --watch",
"lint": "eslint src example/app example/server",
Expand All @@ -18,7 +18,7 @@
],
"workspaces": [
"/",
"./example"
"./examples/cloudflare-pages"
],
"exports": {
"./vite": {
Expand Down

0 comments on commit 36e4b13

Please sign in to comment.