- 30 Mar, 2021 3 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Joe Haddad authored
This pull request **temporarily** removes ESLint, as it was not landed in accordance with our standard experimental policies. We are fully committed to landing this change again. This is being reverted because: - Next.js has very strict goals for its install size. This feature resulted in adding over 17MB, or a 43.6% increase. - The feature was not first landed under the `experimental` key in `next.config.js`, rather, it was added under the stable namespace (top-level) - Using the feature doesn't do a "guided setup" like TypeScript, it should ask you to "bring your own" dependencies for ESLint - It uses a undesirable ESLint plugin name: `plugin:@next/next/recommended`. This should read out as strictly `next`, or as short as we can get it. - Does not provide actionable warnings (missing link to resolve issue) - Does not follow appropriate console output styling. We need to revisit how these are presented. To re-land this, we need to ensure the following minimums are met: - Very minor change in install size - Fully experimental (i.e. flagged) with warnings - Finalized package name and configuration shape, preferably so we can do ` { extends: 'next' } `.
-
- 29 Mar, 2021 12 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Lee Robinson authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
Co-authored-by:
Tobias Koppers <tobias.koppers@googlemail.com> Co-authored-by:
Joe Haddad <joe.haddad@zeit.co> Co-authored-by:
JJ Kasper <jj@jjsweb.site> Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Tim Neutkens authored
-
- 28 Mar, 2021 3 commits
-
-
Lee Robinson authored
## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
-
Scott MacDonnell authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
-
Jiachi Liu authored
## Documentation / Examples - [x] Make sure the linting passes `router.pathname` can be dynamic routes like `/posts/[slug]`, use `router.asPath` instead to detect anchor is active
-
- 26 Mar, 2021 6 commits
-
-
Steven authored
## Documentation / Examples - [x] Make sure the linting passes
-
Turadg Aleahmad authored
## Documentation / Examples * removes deprecated `@zeit/next-css`. * adds https://github.com/Mistereo/next-linaria to work with the new built-in CSS functionality. * updates Linaria to latest release (v3 will require https://github.com/Mistereo/next-linaria/pull/3 ) * adds an example of using Linaria without React * gitignores `.linaria-cache`
-
JJ Kasper authored
-
Lee Robinson authored
## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
-
JJ Kasper authored
This adds support for returning an object from `rewrites` in `next.config.js` with `beforeFiles`, `afterFiles`, and `fallback` to allow specifying rewrites at different stages of routing. The existing support for returning an array for rewrites is still supported and behaves the same way. The documentation has been updated to include information on these new stages that can be rewritten and removes the outdated note of rewrites not being able to override pages. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
samsisle authored
-
- 25 Mar, 2021 1 commit
-
-
Pedro Duarte authored
This PR fixes the Stitches config. Thanks! ## Documentation / Examples - [x] Make sure the linting passes
-
- 24 Mar, 2021 10 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
Previously we special cased serverless builds and ran the client/server builds serially to allow the server build to load manifests produced in the client. To help with memory usage and for consistency this updates server mode to build in the same way. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Shu Ding authored
If the upstream MIME type isn't prefixed with `image/`, the endpoint should directly response with a 400 error. ## Bug - [x] Fixes #23312 - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
-
JJ Kasper authored
This adds support for a `has` field to `rewrites`, `redirects`, and `headers` to allow matching against `header`, `cookie`, and `query` values. Documentation and additional tests for the feature is also added in this PR. Closes: https://github.com/vercel/next.js/issues/22345
-
Pedro Duarte authored
Hey
👋 I realise neither I or you want to keep reviewing and merging these "Update Stitches" PRs So I'm setting it to the `latest`. Thanks (and sorry) ## Documentation / Examples - [x] Make sure the linting passes -
Tobias Koppers authored
fixes some bugs and improves performance ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Tim Neutkens authored
-
Joe Haddad authored
Co-authored-by:
Tim Neutkens <timneutkens@me.com> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl>
-
matamatanot authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
- 23 Mar, 2021 5 commits
-
-
Pedro Duarte authored
Hey
👋 Just a quick update to the latest version of Stitches. Thanks! <3 ## Documentation / Examples - [x] Make sure the linting passes -
Shu Ding authored
This is a follow-up PR of #19052, where `visibility: inherit` was mistakenly added back. It was removed in #23278. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
-
Houssein Djirdeh authored
For #22228 This PR: - Adds ESLint to toolchain - Included by default for builds (`next build`) - Can be enabled for development (`next dev`) - Custom formatter built for output - Adds appropriate tests - Adds two documentation pages
-
Tim Neutkens authored
Brings back the remaining Node.js module polyfills to not break existing apps upgrading from webpack 4 to webpack 5. Fixes #23169 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-