Skip to content

Commit

Permalink
fix: clean up peer dependencies (zenstackhq#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored Feb 27, 2023
1 parent a545e97 commit a9283cd
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zenstack-monorepo",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"description": "",
"scripts": {
"build": "pnpm -r build",
Expand Down
2 changes: 1 addition & 1 deletion packages/language/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/language",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"displayName": "ZenStack modeling language compiler",
"description": "ZenStack modeling language compiler",
"homepage": "https://zenstack.dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/next",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"displayName": "ZenStack Next.js integration",
"description": "ZenStack Next.js integration",
"homepage": "https://zenstack.dev",
Expand Down
6 changes: 5 additions & 1 deletion packages/plugins/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/react",
"displayName": "ZenStack plugin and runtime for ReactJS",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"description": "ZenStack plugin and runtime for ReactJS",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -32,6 +32,10 @@
"swr": "^2.0.3",
"ts-morph": "^16.0.0"
},
"peerDependencies": {
"react": "^17.0.2 || ^18",
"react-dom": "^17.0.2 || ^18"
},
"devDependencies": {
"@types/react": "^18.0.26",
"copyfiles": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/trpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/trpc",
"displayName": "ZenStack plugin for tRPC",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"description": "ZenStack plugin for tRPC",
"main": "index.js",
"repository": {
Expand Down
7 changes: 2 additions & 5 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/runtime",
"displayName": "ZenStack Runtime Library",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"description": "Runtime of ZenStack for both client-side and server-side environments.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -35,10 +35,7 @@
"zod-validation-error": "^0.2.1"
},
"peerDependencies": {
"@prisma/client": "^4.0.0",
"next": "^12.3.1 || ^13",
"react": "^17.0.2 || ^18",
"react-dom": "^17.0.2 || ^18"
"@prisma/client": "^4.0.0"
},
"author": {
"name": "ZenStack Team"
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "zenstack",
"displayName": "ZenStack Language Tools",
"description": "A toolkit for building secure CRUD apps with Next.js + Typescript",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"author": {
"name": "ZenStack Team"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/sdk",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"description": "ZenStack plugin development SDK",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 4 additions & 6 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions tests/integration/test-run/package-lock.json

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

0 comments on commit a9283cd

Please sign in to comment.