Skip to content

Commit

Permalink
use yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Feb 17, 2023
1 parent 29d09fd commit 3d79f42
Show file tree
Hide file tree
Showing 11 changed files with 907 additions and 11 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@ yarn-error.log
package-lock.json
bin
pkg
.next
.next

# yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.4.1.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarnPath: .yarn/releases/yarn-3.4.1.cjs
nodeLinker: node-modules
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "starters",
"version": "0.0.0",
"private": true,
"workspaces": [
"templates/*"
],
"license": "MIT",
"packageManager": "[email protected]",
"dependencies": {
"hono": "3.0.0-rc.16"
}
}
4 changes: 2 additions & 2 deletions templates/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"dev": "bun run --hot src/index.ts"
},
"dependencies": {
"hono": "^2.7.2"
"hono": "3.0.0-rc.16"
},
"devDependencies": {
"bun-types": "^0.4.0"
}
}
}
2 changes: 1 addition & 1 deletion templates/cloudflare-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"deploy": "wrangler pages publish ./pages"
},
"dependencies": {
"hono": "3.0.0-rc.13"
"hono": "3.0.0-rc.16"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20221111.1",
Expand Down
4 changes: 2 additions & 2 deletions templates/cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"deploy": "wrangler publish src/index.ts"
},
"dependencies": {
"hono": "^2.7.2"
"hono": "3.0.0-rc.16"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20221111.1",
"wrangler": "^2.7.1"
}
}
}
2 changes: 1 addition & 1 deletion templates/fastly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"dependencies": {
"@fastly/js-compute": "^1.3.4",
"crypto-js": "^4.1.1",
"hono": "^2.7.2"
"hono": "3.0.0-rc.16"
}
}
4 changes: 2 additions & 2 deletions templates/lagon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"dev": "lagon dev src/index.ts"
},
"dependencies": {
"hono": "^2.7.2"
"hono": "3.0.0-rc.16"
}
}
}
2 changes: 1 addition & 1 deletion templates/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"lint": "next lint"
},
"dependencies": {
"hono": "3.0.0-rc.13",
"hono": "3.0.0-rc.16",
"next": "13.1.2",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion templates/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"dependencies": {
"@hono/node-server": "^0.2.3",
"hono": "^2.7.2"
"hono": "3.0.0-rc.16"
},
"devDependencies": {
"tsx": "^3.12.2"
Expand Down

0 comments on commit 3d79f42

Please sign in to comment.