Skip to content

Commit

Permalink
Version Packages (#8841)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens authored Sep 27, 2023
1 parent cf0bd47 commit 98c9591
Show file tree
Hide file tree
Showing 23 changed files with 39 additions and 101 deletions.
5 changes: 0 additions & 5 deletions .changeset/add-error-message.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/add-field-hooks.md

This file was deleted.

2 changes: 2 additions & 0 deletions .changeset/contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"MohammadKurjieh",
"MurzNN",
"Noviny",
"ScottAgirs",
"SeanDoyleGit",
"Skulek",
"TasinIshmam",
Expand Down Expand Up @@ -81,6 +82,7 @@
"ticidesign",
"timgates42",
"timleslie",
"ttbarnes",
"u-ishii",
"u-u-z",
"willemmulder",
Expand Down
5 changes: 0 additions & 5 deletions .changeset/fix-cloudinary-init.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-id-filters.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/odd-lemons-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/refine-hook-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-swans-destroy.md

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion examples/cloudinary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@keystone-6/cloudinary": "workspace:^",
"@keystone-6/core": "^5.0.0",
"@keystone-6/core": "^5.7.0",
"@prisma/client": "^4.16.2",
"dotenv": "^16.0.0"
},
Expand Down
6 changes: 0 additions & 6 deletions examples/custom-id/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ This example includes sample data. To add it to your database:
2. Run `pnpm seed-data`. This will populate your database with sample content.
3. Run `pnpm dev` again to startup Admin UI with sample data in place.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/custom-id>. You can also fork this sandbox to make your own changes.
6 changes: 0 additions & 6 deletions examples/limits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,3 @@ This example includes sample data. To add it to your database:
## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/limits>. You can also fork this sandbox to make your own changes.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
6 changes: 0 additions & 6 deletions examples/script/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ Congratulations, you're now up and running with Keystone! 🚀
## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/script>. You can also fork this sandbox to make your own changes.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
6 changes: 0 additions & 6 deletions examples/usecase-blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ This example includes sample data. To add it to your database:
## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-blog>. You can also fork this sandbox to make your own changes.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
4 changes: 2 additions & 2 deletions examples/usecase-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dev": "keystone dev",
"start": "keystone start",
"build": "keystone build",
"seed-data": "tsx seed-data.ts",
"postinstall": "keystone postinstall"
"postinstall": "keystone postinstall",
"seed-data": "tsx seed-data.ts"
},
"dependencies": {
"@keystone-6/core": "^5.2.0",
Expand Down
23 changes: 4 additions & 19 deletions examples/usecase-relationship-union/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
## Base Project - Versioning
## Base Project - Relationship Union

This project demonstrates a Posts list where a particular field is always required to be sent in a GraphQL request; this can useful for optimistic locking and versioning.

Use it as a starting place for learning how to use Keystone.
This project demonstrates a meta-list relationship approach that effectively acts as union of a number of different relationships.
This can be useful when trying to use represent union (or sum) types in a list, without forgoing relational or database integrity.

## Instructions

Expand All @@ -19,20 +18,6 @@ You can also access a GraphQL Playground at [localhost:3000/api/graphql](http://

Congratulations, you're now up and running with Keystone! 🚀

### Optional: add sample data

This example includes sample data. To add it to your database:

1. Ensure you’ve initialised your project with `pnpm dev` at least once.
2. Run `pnpm seed-data`. This will populate your database with sample content.
3. Run `pnpm dev` again to startup Admin UI with sample data in place.

## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-versioning>. You can also fork this sandbox to make your own changes.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-relationship-union>. You can also fork this sandbox to make your own changes.
8 changes: 1 addition & 7 deletions examples/usecase-todo/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Base Project - Task Manager
## Base Project - Task Management Application

This base project implements a simple **Task Management** app, with `Tasks` and `People` who can be assigned to tasks.

Expand Down Expand Up @@ -26,12 +26,6 @@ This example includes sample data. To add it to your database:
2. Run `pnpm seed-data`. This will populate your database with sample content.
3. Run `pnpm dev` again to startup Admin UI with sample data in place.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-todo>. You can also fork this sandbox to make your own changes.
8 changes: 0 additions & 8 deletions examples/usecase-versioning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

This project demonstrates a Posts list where a particular field is always required to be sent in a GraphQL request; this can useful for optimistic locking and versioning.

Use it as a starting place for learning how to use Keystone.

## Instructions

To run this project, clone the Keystone repository locally, run `pnpm` at the root of this repository, then navigate to this directory and run:
Expand All @@ -30,9 +28,3 @@ This example includes sample data. To add it to your database:
## Try it out in CodeSandbox 🧪

You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-versioning>. You can also fork this sandbox to make your own changes.

## Next steps

Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.

When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
6 changes: 6 additions & 0 deletions packages/cloudinary/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @keystone-6/cloudinary

## 7.0.2

### Patch Changes

- [#8836](https://github.com/keystonejs/keystone/pull/8836) [`a216bc2d2`](https://github.com/keystonejs/keystone/commit/a216bc2d211dbb056e7226377323a41b9699c86d) Thanks [@dcousens](https://github.com/dcousens)! - Remove runtime errors from the Cloudinary field, fall back to the `cloudinary` package for Cloudinary errors

## 7.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudinary/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-6/cloudinary",
"version": "7.0.1",
"version": "7.0.2",
"license": "MIT",
"main": "dist/keystone-6-cloudinary.cjs.js",
"module": "dist/keystone-6-cloudinary.esm.js",
Expand Down
18 changes: 18 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# @keystone-6/core

## 5.7.0

### Minor Changes

- [#8837](https://github.com/keystonejs/keystone/pull/8837) [`650fae574`](https://github.com/keystonejs/keystone/commit/650fae574951f91454eb1169ff2b1f9ff51e918c) Thanks [@dcousens](https://github.com/dcousens)! - Add type `FieldHooks` to `@keystone-6/core/types` exports

* [#8826](https://github.com/keystonejs/keystone/pull/8826) [`dc26bdfed`](https://github.com/keystonejs/keystone/commit/dc26bdfedb783a0d73174e579e46d9f00410e8ef) Thanks [@dcousens](https://github.com/dcousens)! - Add `beforeOperation.[create|update|delete]` and `afterOperation.[create|update|delete]` operation routing for list hooks

### Patch Changes

- [#8819](https://github.com/keystonejs/keystone/pull/8819) [`52337e3aa`](https://github.com/keystonejs/keystone/commit/52337e3aa6a57c23c2f0756199a90058a6e5a2ac) Thanks [@acburdine](https://github.com/acburdine)! - Fix `hooks.validateInput` argument types for update operations

* [#8824](https://github.com/keystonejs/keystone/pull/8824) [`712ebb427`](https://github.com/keystonejs/keystone/commit/712ebb42700cd418bb2642858493f57cf7825a40) Thanks [@ScottAgirs](https://github.com/ScottAgirs)! - Remove deprecated `experimental.appDir` flag from generated next.config

## 5.6.0

### Minor Changes

- [#8810](https://github.com/keystonejs/keystone/pull/8810) [`27a893380`](https://github.com/keystonejs/keystone/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Adds error messages for GraphQL errors on the List view in the AdminUI

- [#8773](https://github.com/keystonejs/keystone/pull/8773) [`32f7a6ad4`](https://github.com/keystonejs/keystone/commit/32f7a6ad4a5a51a58988e7be495c96b06771b9b7) Thanks [@marekryb](https://github.com/marekryb)! - Adds `config.graphql.schemaPath`

* [#8777](https://github.com/keystonejs/keystone/pull/8777) [`e3438dcad`](https://github.com/keystonejs/keystone/commit/e3438dcad7a97fb976c1d012b0b53919d0514747) Thanks [@dcousens](https://github.com/dcousens)! - Adds `config.db.prismaSchemaPath`
Expand All @@ -12,6 +28,8 @@

### Patch Changes

- [#8810](https://github.com/keystonejs/keystone/pull/8810) [`27a893380`](https://github.com/keystonejs/keystone/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Fix `Input error: only a int can be passed to id filters` for AdminUI

- [#8790](https://github.com/keystonejs/keystone/pull/8790) [`b830b7c6d`](https://github.com/keystonejs/keystone/commit/b830b7c6deebcffabcf6cd84919a7326a66e9bc9) Thanks [@dcousens](https://github.com/dcousens)! - Reduce number of package dependencies

* [#8788](https://github.com/keystonejs/keystone/pull/8788) [`7b2bb087c`](https://github.com/keystonejs/keystone/commit/7b2bb087c475255322893b01dc1be08174bcca80) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `keystone build` hanging with next version >13.4.12
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-6/core",
"version": "5.6.0",
"version": "5.7.0",
"repository": "https://github.com/keystonejs/keystone/tree/main/packages/core",
"license": "MIT",
"main": "dist/keystone-6-core.cjs.js",
Expand Down Expand Up @@ -248,7 +248,7 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@keystone-6/core": "5.6.0",
"@keystone-6/core": "5.7.0",
"@types/apollo-upload-client": "17.0.3",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.2",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

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

0 comments on commit 98c9591

Please sign in to comment.