Skip to content

Commit

Permalink
Upgrade Prisma and update test snapshots
Browse files Browse the repository at this point in the history
Updated Prisma from 5.16.0 to 5.22.0 across various packages and adjusted test snapshots accordingly. Also modified react-hook-form dependency to use a flexible version range.
  • Loading branch information
AhmedElywa committed Nov 11, 2024
1 parent 9c2d8ea commit 49901e3
Show file tree
Hide file tree
Showing 28 changed files with 231 additions and 79 deletions.
13 changes: 13 additions & 0 deletions packages/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @paljs/admin

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

### Patch Changes

- Updated dependencies
- @paljs/types@7.1.0

## 7.0.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/admin",
"version": "7.0.6",
"version": "7.1.0",
"main": "index.js",
"module": "./esm/index.js",
"types": "index.d.ts",
Expand All @@ -27,7 +27,7 @@
"@heroicons/react": "^2.1.3",
"@paljs/types": "workspace:*",
"react-beautiful-dnd": "13.1.0",
"react-hook-form": "7.51.5",
"react-hook-form": "*",
"react-table": "7.8.0"
},
"devDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @paljs/cli

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

### Patch Changes

- Updated dependencies
- @paljs/generator@7.1.0
- @paljs/types@7.1.0
- @paljs/utils@7.1.0
- @paljs/create@7.1.0
- @paljs/display@7.1.0
- @paljs/schema@7.1.0

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@paljs/cli",
"description": "Pal cli will be your friend in developing nodejs full-stack projects to auto generate everything for you",
"version": "7.0.2",
"version": "7.1.0",
"author": "Ahmed Elewa @AhmedElywa",
"bin": {
"pal": "./bin/run"
Expand Down
14 changes: 14 additions & 0 deletions packages/create/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @paljs/create

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

### Patch Changes

- Updated dependencies
- @paljs/types@7.1.0
- @paljs/display@7.1.0

## 7.0.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/create/examples/apollo-nexus-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"dependencies": {
"nexus": "1.x",
"@prisma/client": "5.x",
"@paljs/nexus": "7.0.2",
"@paljs/nexus": "7.1.0",
"apollo-server": "3.x",
"graphql": "16.x"
},
"devDependencies": {
"prisma": "5.x",
"@types/node": "20.x",
"@paljs/cli": "7.0.2",
"@paljs/cli": "7.1.0",
"prettier": "2.x",
"ts-node": "10.x",
"ts-node-dev": "2.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/create/examples/apollo-sdl-first/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@graphql-tools/merge": "8.x",
"@graphql-tools/schema": "9.x",
"@paljs/plugins": "7.0.2",
"@paljs/plugins": "7.1.0",
"@prisma/client": "5.x",
"apollo-server": "3.x",
"graphql": "16.x",
Expand All @@ -25,7 +25,7 @@
"devDependencies": {
"prisma": "5.x",
"@types/node": "20.x",
"@paljs/cli": "7.0.2",
"@paljs/cli": "7.1.0",
"prettier": "2.x",
"ts-node": "10.x",
"ts-node-dev": "2.x",
Expand Down
6 changes: 3 additions & 3 deletions packages/create/examples/full-stack-nextjs/multi_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@heroicons/react": "1.x",
"@material-ui/core": "4.x",
"@material-ui/icons": "4.x",
"@paljs/admin": "7.0.6",
"@paljs/nexus": "7.0.2",
"@paljs/admin": "7.1.0",
"@paljs/nexus": "7.1.0",
"@prisma/client": "3.x",
"apollo-server-micro": "3.x",
"bcryptjs": "2.x",
Expand All @@ -46,7 +46,7 @@
"@graphql-codegen/typescript": "2.x",
"@graphql-codegen/typescript-operations": "2.x",
"@graphql-codegen/typescript-react-apollo": "3.x",
"@paljs/cli": "7.0.2",
"@paljs/cli": "7.1.0",
"@types/bcryptjs": "2.x",
"@types/cookie": "0.x",
"@types/graphql": "14.x",
Expand Down
6 changes: 3 additions & 3 deletions packages/create/examples/full-stack-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"@heroicons/react": "1.x",
"@material-ui/core": "4.x",
"@material-ui/icons": "4.x",
"@paljs/admin": "7.0.6",
"@paljs/nexus": "7.0.2",
"@paljs/admin": "7.1.0",
"@paljs/nexus": "7.1.0",
"@prisma/client": "5.x",
"apollo-server-micro": "3.x",
"bcryptjs": "2.x",
Expand All @@ -47,7 +47,7 @@
"@graphql-codegen/typescript": "2.x",
"@graphql-codegen/typescript-operations": "2.x",
"@graphql-codegen/typescript-react-apollo": "3.x",
"@paljs/cli": "7.0.2",
"@paljs/cli": "7.1.0",
"@types/bcryptjs": "2.x",
"@types/cookie": "0.x",
"@types/graphql": "14.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/create/examples/graphql-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"graphql-modules": "1.x",
"@paljs/plugins": "7.0.2",
"@paljs/plugins": "7.1.0",
"@prisma/client": "5.x",
"apollo-server": "3.x",
"graphql": "16.x",
Expand All @@ -24,7 +24,7 @@
"devDependencies": {
"prisma": "5.x",
"@types/node": "20.x",
"@paljs/cli": "7.0.2",
"@paljs/cli": "7.1.0",
"prettier": "2.x",
"ts-node": "10.x",
"ts-node-dev": "2.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/create",
"version": "7.0.2",
"version": "7.1.0",
"main": "dist/index.js",
"module": "dist/create.esm.js",
"types": "dist/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions packages/display/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @paljs/display

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/display/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/display",
"version": "7.0.2",
"version": "7.1.0",
"description": "Display package for the paljs CLI",
"homepage": "https://paljs.com",
"license": "MIT",
Expand Down
15 changes: 15 additions & 0 deletions packages/generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @paljs/generator

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

### Patch Changes

- Updated dependencies
- @paljs/types@7.1.0
- @paljs/utils@7.1.0
- @paljs/schema@7.1.0

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/generator",
"version": "7.0.2",
"version": "7.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
"fields": [
{
"create": false,
"defaultValue": "autoincrement()",
"editor": false,
"filter": true,
"id": "User.id",
Expand All @@ -43,7 +42,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": false,
"defaultValue": "now()",
"editor": false,
"filter": true,
"id": "User.createdAt",
Expand All @@ -65,7 +63,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "User.email",
Expand All @@ -87,7 +84,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "User.name",
Expand All @@ -109,7 +105,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "User.password",
Expand All @@ -131,7 +126,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": "\"{}\"",
"editor": false,
"filter": true,
"id": "User.permissions",
Expand All @@ -153,7 +147,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "User.posts",
Expand Down Expand Up @@ -187,7 +180,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
"fields": [
{
"create": false,
"defaultValue": "autoincrement()",
"editor": false,
"filter": true,
"id": "Post.id",
Expand All @@ -209,7 +201,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": "false",
"editor": false,
"filter": true,
"id": "Post.published",
Expand All @@ -231,7 +222,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "Post.title",
Expand All @@ -253,7 +243,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": true,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "Post.author",
Expand All @@ -274,7 +263,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": false,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "Post.authorId",
Expand All @@ -296,7 +284,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": false,
"defaultValue": "now()",
"editor": false,
"filter": true,
"id": "Post.createdAt",
Expand All @@ -318,7 +305,6 @@ exports[`Generate Json Object For Admin Tables Should back with Json Settings 1`
},
{
"create": false,
"defaultValue": undefined,
"editor": false,
"filter": true,
"id": "Post.updatedAt",
Expand Down
15 changes: 15 additions & 0 deletions packages/nexus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @paljs/nexus

## 7.1.0

### Minor Changes

- Upgrade Prisma dependencies and update test snapshots

Updated Prisma-related dependencies from version 5.16.0 to 5.22.0. This change also includes updates to test snapshots to reflect recent modifications in model indexes and field defaults. The dependency react-hook-form is now specified with a flexible version range.

### Patch Changes

- Updated dependencies
- @paljs/types@7.1.0
- @paljs/utils@7.1.0
- @paljs/plugins@7.1.0

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nexus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/nexus",
"version": "7.0.2",
"version": "7.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
Expand Down
Loading

0 comments on commit 49901e3

Please sign in to comment.