Skip to content

Commit

Permalink
Merge branch 'master' into fix-access-control-args
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson authored Oct 30, 2020
2 parents 90b714d + 574a5f2 commit b3ee14e
Show file tree
Hide file tree
Showing 104 changed files with 449 additions and 369 deletions.
8 changes: 4 additions & 4 deletions design-system/packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/button",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/button.cjs.js",
Expand All @@ -10,9 +10,9 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/icons": "*",
"@keystone-ui/loading": "*",
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/icons": "^0.0.0",
"@keystone-ui/loading": "^0.0.0",
"react": "^16.14.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion design-system/packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/core",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/core.cjs.js",
Expand Down
6 changes: 3 additions & 3 deletions design-system/packages/fields/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/fields",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/fields.cjs.js",
Expand All @@ -10,8 +10,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/icons": "*",
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/icons": "^0.0.0",
"@types/react-select": "^3.0.22",
"react": "^16.14.0",
"react-select": "^3.1.0"
Expand Down
4 changes: 2 additions & 2 deletions design-system/packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/icons",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/icons.cjs.js",
Expand All @@ -23,7 +23,7 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*"
"@keystone-ui/core": "^0.0.0"
},
"peerDependencies": {
"react": "^16.14.0"
Expand Down
4 changes: 2 additions & 2 deletions design-system/packages/loading/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/loading",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/loading.cjs.js",
Expand All @@ -10,7 +10,7 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/core": "^0.0.0",
"react": "^16.14.0"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions design-system/packages/modals/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/modals",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/modals.cjs.js",
Expand All @@ -10,8 +10,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/button": "*",
"@keystone-ui/core": "*",
"@keystone-ui/button": "^0.0.0",
"@keystone-ui/core": "^0.0.0",
"react": "^16.14.0",
"react-focus-lock": "^2.4.1",
"react-remove-scroll": "^2.4.0",
Expand Down
8 changes: 4 additions & 4 deletions design-system/packages/notice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/notice",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/notice.cjs.js",
Expand All @@ -10,9 +10,9 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/button": "*",
"@keystone-ui/core": "*",
"@keystone-ui/icons": "*",
"@keystone-ui/button": "^0.0.0",
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/icons": "^0.0.0",
"react": "^16.14.0"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions design-system/packages/options/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/options",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/options.cjs.js",
Expand All @@ -13,9 +13,9 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/fields": "*",
"@keystone-ui/icons": "*",
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/fields": "^0.0.0",
"@keystone-ui/icons": "^0.0.0",
"@types/react-select": "^3.0.22",
"react-select": "^3.1.0"
},
Expand Down
6 changes: 3 additions & 3 deletions design-system/packages/pill/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/pill",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/pill.cjs.js",
Expand All @@ -13,8 +13,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/icons": "*"
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/icons": "^0.0.0"
},
"engines": {
"node": ">=10.0.0"
Expand Down
4 changes: 2 additions & 2 deletions design-system/packages/popover/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/popover",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/popover.cjs.js",
Expand All @@ -15,7 +15,7 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/core": "^0.0.0",
"@popperjs/core": "^2.5.3",
"react-popper": "^2.2.3"
},
Expand Down
4 changes: 2 additions & 2 deletions design-system/packages/segmented-control/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/segmented-control",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/segmented-control.cjs.js",
Expand All @@ -11,7 +11,7 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*"
"@keystone-ui/core": "^0.0.0"
},
"peerDependencies": {
"react": "^16.14.0"
Expand Down
6 changes: 3 additions & 3 deletions design-system/packages/toast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/toast",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/toast.cjs.js",
Expand All @@ -11,8 +11,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/icons": "*"
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/icons": "^0.0.0"
},
"peerDependencies": {
"react": "^16.14.0"
Expand Down
6 changes: 3 additions & 3 deletions design-system/packages/tooltip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-ui/tooltip",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "dist/tooltip.cjs.js",
Expand All @@ -15,8 +15,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/core": "*",
"@keystone-ui/popover": "*"
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/popover": "^0.0.0"
},
"engines": {
"node": ">=10.0.0"
Expand Down
7 changes: 0 additions & 7 deletions design-system/website/CHANGELOG.md

This file was deleted.

26 changes: 13 additions & 13 deletions design-system/website/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "@keystone-ui/website",
"version": "1.0.1",
"version": "0.0.0",
"private": true,
"license": "MIT",
"scripts": {
"dev": "next -p 8080"
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@keystone-ui/button": "*",
"@keystone-ui/core": "*",
"@keystone-ui/fields": "*",
"@keystone-ui/loading": "*",
"@keystone-ui/modals": "*",
"@keystone-ui/notice": "*",
"@keystone-ui/options": "*",
"@keystone-ui/pill": "*",
"@keystone-ui/popover": "*",
"@keystone-ui/segmented-control": "*",
"@keystone-ui/toast": "*",
"@keystone-ui/tooltip": "*",
"@keystone-ui/button": "^0.0.0",
"@keystone-ui/core": "^0.0.0",
"@keystone-ui/fields": "^0.0.0",
"@keystone-ui/loading": "^0.0.0",
"@keystone-ui/modals": "^0.0.0",
"@keystone-ui/notice": "^0.0.0",
"@keystone-ui/options": "^0.0.0",
"@keystone-ui/pill": "^0.0.0",
"@keystone-ui/popover": "^0.0.0",
"@keystone-ui/segmented-control": "^0.0.0",
"@keystone-ui/toast": "^0.0.0",
"@keystone-ui/tooltip": "^0.0.0",
"@preconstruct/next": "^2.0.0",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.9",
Expand Down
6 changes: 3 additions & 3 deletions examples-next/auth/keystone.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from '@keystone-spike/keystone/schema';
import { statelessSessions, withItemData } from '@keystone-spike/keystone/session';
import { config } from '@keystone-next/keystone/schema';
import { statelessSessions, withItemData } from '@keystone-next/keystone/session';
import { lists } from './schema';
import { createAuth } from '@keystone-spike/auth';
import { createAuth } from '@keystone-next/auth';

/**
* TODO: Implement validateItem. Would be invoked by the getItem() method in
Expand Down
12 changes: 6 additions & 6 deletions examples-next/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@keystone-spike/example-auth",
"version": "1.0.0",
"name": "@keystone-next/example-auth",
"version": "0.0.0",
"private": true,
"license": "MIT",
"scripts": {
"dev": "keystone-next"
},
"dependencies": {
"@keystone-spike/admin-ui": "*",
"@keystone-spike/auth": "*",
"@keystone-spike/fields": "*",
"@keystone-spike/keystone": "*",
"@keystone-next/admin-ui": "^0.0.0",
"@keystone-next/auth": "^0.0.0",
"@keystone-next/fields": "^0.0.0",
"@keystone-next/keystone": "^0.0.0",
"next": "^10.0.0",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
4 changes: 2 additions & 2 deletions examples-next/auth/schema.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createSchema, list } from '@keystone-spike/keystone/schema';
import { text, checkbox, password } from '@keystone-spike/fields';
import { createSchema, list } from '@keystone-next/keystone/schema';
import { text, checkbox, password } from '@keystone-next/fields';

export const lists = createSchema({
User: list({
Expand Down
10 changes: 5 additions & 5 deletions examples-next/basic/.keystone/schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Scalars = {
readonly String: string;
readonly Int: number;
readonly Float: number;
readonly JSON: import('@keystone-spike/types').JSONValue;
readonly JSON: import('@keystone-next/types').JSONValue;
};

export type PostRelateToManyInput = {
Expand Down Expand Up @@ -472,11 +472,11 @@ export type UserListTypeInfo = {
};

export type UserListFn = (
listConfig: import('@keystone-spike/keystone/schema').ListConfig<
listConfig: import('@keystone-next/keystone/schema').ListConfig<
UserListTypeInfo,
UserListTypeInfo['fields']
>
) => import('@keystone-spike/keystone/schema').ListConfig<
) => import('@keystone-next/keystone/schema').ListConfig<
UserListTypeInfo,
UserListTypeInfo['fields']
>;
Expand Down Expand Up @@ -516,11 +516,11 @@ export type PostListTypeInfo = {
};

export type PostListFn = (
listConfig: import('@keystone-spike/keystone/schema').ListConfig<
listConfig: import('@keystone-next/keystone/schema').ListConfig<
PostListTypeInfo,
PostListTypeInfo['fields']
>
) => import('@keystone-spike/keystone/schema').ListConfig<
) => import('@keystone-next/keystone/schema').ListConfig<
PostListTypeInfo,
PostListTypeInfo['fields']
>;
Expand Down
4 changes: 2 additions & 2 deletions examples-next/basic/admin/config.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// import React from 'react';

import { AdminConfig } from '@keystone-spike/types';
import { AdminConfig } from '@keystone-next/types';

// import { DarkTheme } from '@keystone-spike/admin-ui/themes';
// import { DarkTheme } from '@keystone-next/admin-ui/themes';
// export const theme = DarkTheme;

// const CustomLogo = () => <h1>Keystone!</h1>;
Expand Down
6 changes: 3 additions & 3 deletions examples-next/basic/keystone.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from '@keystone-spike/keystone/schema';
import { statelessSessions, withItemData } from '@keystone-spike/keystone/session';
import { config } from '@keystone-next/keystone/schema';
import { statelessSessions, withItemData } from '@keystone-next/keystone/session';
import { lists, extendGraphqlSchema } from './schema';
import { createAuth } from '@keystone-spike/auth';
import { createAuth } from '@keystone-next/auth';

let sessionSecret = '-- DEV COOKIE SECRET; CHANGE ME --';
let sessionMaxAge = 60 * 60 * 24 * 30; // 30 days
Expand Down
Loading

0 comments on commit b3ee14e

Please sign in to comment.