- 10 Aug, 2021 1 commit
-
-
Tim Neutkens authored
-
- 09 Aug, 2021 8 commits
-
-
Delba de Oliveira authored
This PR adds a with-cypress example to match the examples in upcoming docs. ## Documentation / Examples - [ ] Make sure the linting passes **Note:** This PR does not pass linting because ESLint needs to have the [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) installed globally to ignore the Cypress methods.
-
Delba de Oliveira authored
## Documentation / Examples - [x] Make sure the linting passes This PR updates our current with-jest example to match the examples in upcoming docs, add module alias configuration and be more consistent with Jest conventions.
-
Jiachi Liu authored
Upgrade styled-jsx to v4 for supporting concurrent mode in react 18 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
-
stefanprobst authored
This adds a type annotation for the `NextConfig` type to `next.config.js` in the `create-next-app` typescript template. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
-
C. Lewis authored
## Feature I was struggling to get my local dev build working as a local package.json override, and types do not seem to be generated by `yarn dev`, so I had to figure out a cohesive way to build the project start-to-finish (and also clean the project). Building the project and all types ended up just being `yarn prepublish`, here aliased as `yarn build`, and I added a `yarn clean` script. These two together should make it very difficult for any contributor to be confused how to generate a final build including all type declarations. - [ ] 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples https://github.com/ctjlewis/next.js/blob/b2a888c14405d7978dc612fc4c66db208038736f/contributing.md#building
-
Nick Kelly authored
## Performance improvement - [x] Performance improvement Uses `fs.readdir`'s `withFileTypes` option, added in NodeJS version 10, to simultaneously read the target directories files and their stats, removing the need to call `fs.stat` on each of the files individually. Similar to #27769, applies the same change to `recursiveCopy` and `recursiveDelete`.
-
Tobias Koppers authored
-
Tim Neutkens authored
Co-authored-by:
Steven <steven@ceriously.com> Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 08 Aug, 2021 1 commit
-
-
Nick Crews authored
Google has begun using Cumulative Layout Shift as a factor in ranking search results, according to the linked Google docs. This perhaps will make this page out of sync with other Nextjs docs, but I figure better start somewhere. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
-
- 06 Aug, 2021 7 commits
-
-
Tim Neutkens authored
Fixes the vscode debugger breakpoints. Thanks @kdy1 for implementing the `sourceFileName` option in SWC.
-
JJ Kasper authored
-
Maia Teegarden authored
Ported `packages/next/build/babel/plugins/react-loadable-plugin.ts` to swc
-
stefanprobst authored
-
JJ Kasper authored
* Use @vercel/fetch for run-tests requests * update precompileld
-
Tim Neutkens authored
-
-
- 05 Aug, 2021 9 commits
-
-
Abdullah authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
-
Houssein Djirdeh authored
* updates Aurora team members in labeler * lint-fix Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Steven authored
This PR will reduce noisy notifications
-
Jiachi Liu authored
* Update styed-jsx to latest version, containing bugfixes for babel plugin and typings. * Use `/// <reference>` instead of redeclaring types ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
* Update client error to show link in console * Apply suggestions from code review
-
Sjors Smits authored
## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` fixes #27744
-
Orta Therox authored
N/a
-
JJ Kasper authored
-
Houssein Djirdeh authored
Documentation: - Expands the "Migrating Existing Config" section of ESLint doc to explain in more detail - Minor changes to the "Ignoring ESLint" doc Bug fixes: - Adds `browser` and `node` environments to `eslint-config-next`. Closes #26319 - Fixes `no-document-import` rule. Closes #26159 - Fixes `no-page-custom-font` rule. Closes #26160 #26894
-
- 04 Aug, 2021 6 commits
-
-
Nick Kelly authored
## Performance improvement - [x] Performance improvement Removes unnecessary `fs.stat` calls in `recursiveReadDir`. `fs.readdir` had an option `withFileTypes: boolean` added NodeJS version 10. It can be used to read the directory contents and fetch its stats simultaneously, removing the need to read individual file stats after reading the directory contents.
-
Houssein Djirdeh authored
This PR introduces an improved developer experience when `next lint` is run for the first time. ### Current behavior `eslint-config-next` is a required package that must be installed before proceeding with `next lint` or `next build`:  Although this has helped many developers start using the new ESLint config, this has also resulted in a few issues: - Users are required to install the full config (`eslint-config-next`) even if they do not use it or use the Next.js plugin directly (`eslint-plugin-next`). - #26348 - There's some confusion on why `eslint-config-next` needs to be installed or how it should be used instead of `eslint-plugin-next`. - #26574 - #26475 - #26438 ### New behavior Instead of enforcing `eslint-config-next` as a required package, this PR prompts the user by asking what config they would like to start. This happens when `next lint` is run for the first time **and** if no ESLint configuration is detected in the application. <img src="https://user-images.githubusercontent.com/12476932/124331177-e1668a80-db5c-11eb-8915-38d3dc20f5d4.gif" width="800" /> - The CLI will take care of installing `eslint` or `eslint-config-next` if either is not already installed - Users now have the option to choose between a strict configuration (`next/core-web-vitals`) or just the base configuration (`next`) - For users that decide to create their own ESLint configuration, or already have an existing one, **installing `eslint-config-next` will not be a requirement for `next lint` or `next build` to run**. A warning message will just show if the Next.js ESLint plugin is not detected in an ESLint config. <img width="682" alt="Screen Shot 2021-06-25 at 3 02 12 PM" src="https://user-images.githubusercontent.com/12476932/123473329-6cc4a680-d5c6-11eb-9a57-d5c0b89a2732.png"> --- In addition, this PR also: - Fixes #26348 - Updates documentation to make it more clear what approach to take for new and existing ESLint configurations
-
Artyom Kurnikov authored
- fix `with-fauna` example to populate client secret properly when auto-deploy on changes happens - improve security by avoiding usage of the `FAUNA_ADMIN_KEY` in the application, now it's used in the setup script only
-
JJ Kasper authored
This is a follow-up to https://github.com/vercel/next.js/pull/26963 which after discussion changes to interpolate the decoded variant of the value into the path. x-ref: https://github.com/vercel/next.js/issues/24775 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
Steven authored
According to [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-hidden_attribute#deciding_between_aria-hiddentrue_rolepresentation_and_rolenone): - `aria-hidden="true"` will remove the entire element from the accessibility API. - `role="presentation"` will remove the semantic meaning of an element while still exposing it to assistive technology. We don't need both so we'll keep `aria-hidden="true"` since the element is used for sizing, not content that should be read. Fixes #27163
-
Steven authored
- Related to #27724 - Related to #19309 - Related to #23140
-
- 03 Aug, 2021 8 commits
-
-
Christian authored
For users looking at the api reference for 'next/head' it might be a good idea to let them know that there is the 'next/script' component. Using 'next/script' has a lot of advantages over adding a script tag with 'next/head' ## Documentation / Examples - [x] Make sure the linting passes
-
Maia Teegarden authored
* Add amp attribute transform * Add amp attribute unit tests * Fix ci if statements * Checkout code in rust tests * Add rust fixtures to eslintignore * Add cargo config * Configure toolchain for cross compilation
-
JJ Kasper authored
This adds handling for repeated forward/back slashes in Next.js, when these slashes are detected in a request to Next.js we will automatically remove the additional slashes redirecting with a 308 status code which prevents duplicate content when being crawled by search engines. Fixes: https://github.com/vercel/next.js/issues/13011 Fixes: https://github.com/vercel/next.js/issues/23772 Closes: https://github.com/vercel/next.js/pull/15171 Closes: https://github.com/vercel/next.js/pull/25745
-
강동윤 authored
-
stefanprobst authored
-
Lee Robinson authored
To make it more clear you're using the admin key on the server.
-
Tom Chen authored
Need `--template` in the `yarn` command, otherwise it's not working
-
JJ Kasper authored
-