Skip to content

Commit

Permalink
Remove embedded keystone functionality (#8315)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
  • Loading branch information
dcousens and dcousens committed Feb 16, 2023
1 parent 94e9943 commit 907f7b1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 67 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-papayas-boris.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-6/core': major
---

Removes `@keystone-6/core/next` from our exports
4 changes: 0 additions & 4 deletions packages/core/next/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"main": "dist/keystone-6-core.cjs.js",
"module": "dist/keystone-6-core.esm.js",
"exports": {
"./next": {
"module": "./next/dist/keystone-6-core-next.esm.js",
"default": "./next/dist/keystone-6-core-next.cjs.js"
},
".": {
"module": "./dist/keystone-6-core.esm.js",
"default": "./dist/keystone-6-core.cjs.js"
Expand Down Expand Up @@ -310,7 +306,6 @@
"entrypoints": [
"index.ts",
"system.ts",
"next.ts",
"___internal-do-not-use-will-break-in-patch/load-config.ts",
"___internal-do-not-use-will-break-in-patch/artifacts.ts",
"___internal-do-not-use-will-break-in-patch/admin-ui/pages/*/index.tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const config = withPreconstruct({
config.externals = [
...config.externals,
/@keystone-6\/core(?!\/___internal-do-not-use-will-break-in-patch\/admin-ui\/id-field-view|\/fields\/types\/[^\/]+\/views)/,
'.prisma/client',
];
// we need to set these to true so that when __dirname/__filename is used
// to resolve the location of field views, we will get a path that we can use
Expand Down
57 changes: 0 additions & 57 deletions packages/core/src/next.ts

This file was deleted.

0 comments on commit 907f7b1

Please sign in to comment.