Skip to content

Commit

Permalink
Release @keystone/* packages (つ^◡^)つ (keystonejs#1813)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesstelford authored Oct 23, 2019
1 parent 4bd01e8 commit c7ba40e
Show file tree
Hide file tree
Showing 341 changed files with 1,026 additions and 1,090 deletions.
54 changes: 54 additions & 0 deletions .changeset/honest-poems-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
'@keystone/api-tests': major
'@keystone/benchmarks': major
'@keystone/demo-project-blog': major
'@keystone/demo-project-meetup': major
'@keystone/demo-project-todo': major
'@keystone/access-control': major
'@keystone/adapter-knex': major
'@keystone/adapter-mongoose': major
'@keystone/apollo-helpers': major
'@keystone/app-admin-ui': major
'@keystone/app-graphql-playground': major
'@keystone/app-graphql': major
'@keystone/app-next': major
'@keystone/app-nuxt': major
'@keystone/app-schema-router': major
'@keystone/app-static': major
'@keystone/auth-passport': major
'@keystone/auth-password': major
'@keystone/build-field-types': major
'@keystone/email': major
'@keystone/field-content': major
'@keystone/field-views-loader': major
'@keystone/fields-auto-increment': major
'@keystone/fields-datetime-utc': major
'@keystone/fields-markdown': major
'@keystone/fields-mongoid': major
'@keystone/fields-wysiwyg-tinymce': major
'@keystone/fields': major
'@keystone/file-adapters': major
'@keystone/keystone': major
'@keystone/list-plugins': major
'@keystone/logger': major
'@keystone/mongo-join-builder': major
'@keystone/oembed-adapters': major
'@keystone/session': major
'@keystone/test-utils': major
'@keystone/utils': major
'@keystone/cypress-project-access-control': major
'@keystone/cypress-project-basic': major
'@keystone/cypress-project-client-validation': major
'@keystone/cypress-project-login': major
'@keystone/cypress-project-social-login': major
'@keystone/website': major
'@keystone/example-projects-blank': major
'@keystone/example-projects-nuxt': major
'@keystone/example-projects-starter': major
'@keystone/example-projects-todo': major
'create-keystone-app': minor
---

- This is the first release of `@keystone/*` packages (previously `@keystone-alpha/*`).
- All packages in the `@keystone-alpha` namespace are now available in the `@keystone` namespace, starting at version `5.0.0`.
- To upgrade your project you must update any `@keystone-alpha/*` dependencies in `package.json` to point to `"@keystone/*": "^5.0.0"` and update any `require`/`import` statements in your code.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ x-job-setup: &job-setup
# Download and cache dependencies
x-restore-cache: &restore-cache
keys:
- v13-dependencies-{{ checksum "yarn.lock" }}
- v14-dependencies-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- v13-dependencies-
- v14-dependencies-

x-save-cache: &save-cache
paths:
- node_modules
key: v13-dependencies-{{ checksum "yarn.lock" }}
key: v14-dependencies-{{ checksum "yarn.lock" }}

x-integration-steps: &integration-steps
steps:
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[lints]

[options]
module.name_mapper='^@keystone-alpha\/\(.+\)$' -> '<PROJECT_ROOT>/packages/\1'
module.name_mapper='^@keystone\/\(.+\)$' -> '<PROJECT_ROOT>/packages/\1'
module.name_mapper='.*FIELD_TYPES' -> '<PROJECT_ROOT>/packages/field-views-loader/field-types'
module.name_mapper='^@arch-ui\/\([^\/]+\)$' -> '@arch-ui/\1/src/index.js'
server.max_workers=1
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ An example, if you generate a changeset that includes `adapter-mongoose` as a pa

```md
---
'@keystone-alpha/adapter-mongoose': patch
'@keystone-alpha/keystone': minor
'@keystone/adapter-mongoose': patch
'@keystone/keystone': minor
---

A very useful description of the changes should be here.
Expand Down Expand Up @@ -181,11 +181,11 @@ Now, for each release we want to backport to, we follow this process:

1. Checkout the tag of the release

Let's say the package being patched is `@keystone-alpha/keystone`, then we
Let's say the package being patched is `@keystone/keystone`, then we
want to run:

```sh
git checkout -b backport-keystone-14.0.1 @keystone-alpha/[email protected]
git checkout -b backport-keystone-14.0.1 @keystone/[email protected]
```

2. Cherry pick the commit across.
Expand Down Expand Up @@ -228,7 +228,7 @@ Now, for each release we want to backport to, we follow this process:

```sh
(\
export PACKAGE_NAME=@keystone-alpha/keystone && \
export PACKAGE_NAME=@keystone/keystone && \
export OTP_CODE= && \
cd packages/keystone && \
yarn publish --tag=backport --otp=$OTP_CODE && \
Expand Down
Loading

0 comments on commit c7ba40e

Please sign in to comment.