Skip to content

Commit

Permalink
Merge branch 'canary' into font
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Sep 15, 2021
2 parents 65a2ca1 + 807beac commit 312320e
Show file tree
Hide file tree
Showing 156 changed files with 3,609 additions and 1,251 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
toolchain: nightly-2021-08-12
target: ${{ matrix.target }}
- name: Cache cargo registry
uses: actions/cache@v1
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/cache@v2
with:
path: packages/next/native/**
key: next-swc-nightly-2021-03-25-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_native.yml', 'packages/next/build/swc/**') }}
key: next-swc-nightly-2021-08-12-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_native.yml', 'packages/next/build/swc/**') }}
- name: Cross build aarch64 setup
if: ${{ matrix.target == 'aarch64-apple-darwin' && steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ jobs:
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
with:
profile: minimal
toolchain: nightly-2021-03-25
toolchain: nightly-2021-08-12
target: ${{ matrix.target }}
- name: Cache cargo registry
uses: actions/cache@v1
Expand All @@ -491,7 +491,7 @@ jobs:
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
with:
path: packages/next/native/next-swc.*.node
key: next-swc-nightly-2021-03-25-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_test_deploy.yml', 'packages/next/build/swc/**') }}
key: next-swc-nightly-2021-08-12-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_test_deploy.yml', 'packages/next/build/swc/**') }}
- name: Cross build aarch64 setup
if: ${{ matrix.target == 'aarch64-apple-darwin' && steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
run: |
Expand Down Expand Up @@ -531,7 +531,7 @@ jobs:
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-03-25
toolchain: nightly-2021-08-12
profile: minimal
- run: cd packages/next/build/swc && cargo test
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ packages/react-dev-overlay/lib/**
**/__tmp__/**
lerna.json
.github/actions/next-stats-action/.work
packages/next/build/swc/tests/fixture/**/*
packages/next-codemod/transforms/__testfixtures__/**/*
packages/next-codemod/transforms/__tests__/**/*
packages/next-codemod/**/*.js
Expand Down
1 change: 1 addition & 0 deletions .prettierignore_staged
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
**/.next/**
**/_next/**
**/dist/**
packages/next/build/swc/tests/**
packages/next/compiled/**/*
packages/next/bundles/webpack/packages/*.runtime.js
lerna.json
Expand Down
34 changes: 0 additions & 34 deletions examples/with-redux-code-splitting/.gitignore

This file was deleted.

29 changes: 0 additions & 29 deletions examples/with-redux-code-splitting/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions examples/with-redux-code-splitting/config/redux.js

This file was deleted.

39 changes: 0 additions & 39 deletions examples/with-redux-code-splitting/containers/about.js

This file was deleted.

39 changes: 0 additions & 39 deletions examples/with-redux-code-splitting/containers/homepage.js

This file was deleted.

19 changes: 0 additions & 19 deletions examples/with-redux-code-splitting/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions examples/with-redux-code-splitting/pages/about.js

This file was deleted.

4 changes: 0 additions & 4 deletions examples/with-redux-code-splitting/pages/index.js

This file was deleted.

34 changes: 0 additions & 34 deletions examples/with-redux-toolkit-typescript/.gitignore

This file was deleted.

24 changes: 1 addition & 23 deletions examples/with-redux-toolkit-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1 @@
# Redux Toolkit TypeScript Example

This example shows how to integrate Next.js with [Redux Toolkit](https://redux-toolkit.js.org).

The **Redux Toolkit** is a standardized way to write Redux logic (create actions and reducers, setup the store with some default middlewares like redux devtools extension). This example demonstrates each of these features with Next.js

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-redux-toolkit-typescript&project-name=with-redux-toolkit&repository-name=with-redux-toolkit)

## How to use

Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:

```bash
npx create-next-app --example with-redux-toolkit-typescript with-redux-toolkit-app
# or
yarn create next-app --example with-redux-toolkit-typescript with-redux-toolkit-app
```

Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
This example has been moved to [with-redux](https://github.com/vercel/next.js/tree/canary/examples/with-redux).
32 changes: 0 additions & 32 deletions examples/with-redux-toolkit-typescript/package.json

This file was deleted.

34 changes: 0 additions & 34 deletions examples/with-redux-toolkit/.gitignore

This file was deleted.

Loading

0 comments on commit 312320e

Please sign in to comment.