- 15 Jun, 2021 9 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Alex Castle authored
* Update image documentation for static image Adds documentation for static image and blurry placeholder functionality * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Version history and placeholder revisions * Apply suggestions from code review Co-authored-by:
Steven <steven@ceriously.com> * lint-fix Co-authored-by:
Steven <steven@ceriously.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
-
Janicklas Ralph authored
* Script component docs * Update docs with examples and feedback changes * Fix typo * Add example * Update text * Apply suggestions from code review Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
This updates to the latest version of webpack 5 which includes a fix waiting on certain webpack assets ## 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
-
JJ Kasper authored
* Add lint checking events * remove extra log * Update check * Update version check
-
Joe Cohen authored
This PR updates the Learn path in the getting started and from Create React App docs. ## 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
-
- 14 Jun, 2021 10 commits
-
-
Houssein Djirdeh authored
-
Vitaly Baev authored
* fix: don't create .eslintrc if package.json contains eslintConfig * tests: added integration tests for next lint Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Gerald Monaco authored
Forgot to update this in a previous PR.
-
Gerald Monaco authored
-
Gerald Monaco authored
Canary requires `react@>=17.0.2`, so we no longer need these checks.
-
JJ Kasper authored
-
Tim Neutkens authored
Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Pavel Mineev authored
Fixes one of the items from #25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button
-
Pavel Mineev authored
Fixes some examples from #25854 - with-kea [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-kea) - with-mobx [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx) - with-mobx-react-lite [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx-react-lite) - with-mobx-state-tree [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx-state-tree) ## Documentation / Examples - [x] Add the StackBlitz button - [x] Make sure the linting passes
-
Tim Neutkens authored
- Enables excludeDefaultMomentLocales by default - Adds distDir cleaning (See RFC #6009) - Adds support for `PORT` - Removes `router.events` from the server-side router as it should not be used server-side (long-standing todo that is potentially breaking). Note that it's still available as `Router.events` (import Router from 'next/router') and with `useRouter` in `useEffect`. Using it with `useEffect` is the correct way and I've updated the upgrading guide to reflect that - Added webpack 5 to the upgrading guide - Removed `Head.rewind` as it's been a no-op since Next.js 9.5 and can now be safely removed from user code Fixes #11408 Fixes #10338 Fixes #5554 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] 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
-
- 13 Jun, 2021 3 commits
-
-
Pavel Mineev authored
### Documentation / Examples Fixed one of the items from #25854 - [x] add `@graphql-codegen/import-types-preset` - [x] remove depriceated field `schemaEntrypoint` - [x] add the StackBlitz button - [x] Make sure the linting passes [Live demo on StackBlitz](https://stackblitz.com/github/akellbl4/next.js/tree/example/with-typescript-graphql/fix-deps/examples/with-typescript-graphql)
-
D. Kasi Pavan Kumar authored
Greetings. As per the [documentation](https://nextjs.org/docs/basic-features/environment-variables), we should not treat process.env as a Javscript Object & cannot destructure variables out of it. This PR avoid destructuring of environment variables in the `with-mongodb` example. ## 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
-
Pierre de la Martinière authored
## Documentation / Examples - [x] Make sure the linting passes Just updated `next-transpile-modules` across examples. We shipped a workaround in 7.2 for the one breaking change that scared people from updating from v4 to v5+, I tested the updated examples, so we should be good.
-
- 12 Jun, 2021 2 commits
-
-
Tim Neutkens authored
-
Janicklas Ralph authored
Enable optimized Loading strategy by default
-
- 11 Jun, 2021 15 commits
-
-
Vitaly Baev authored
## Documentation / Examples - [x] Make sure the linting passes Continuing fixing #25854 Switching from `node-sass` to `sass`
-
JJ Kasper authored
-
JJ Kasper authored
-
JJ Kasper authored
* Ensure correct browser env is used * Fix production suite in webpack 4 mode * fix page count on webpack 4
-
JJ Kasper authored
* Fix Firefox image decode error * Add next/image test to production suite * update page count test
-
JJ Kasper authored
-
JJ Kasper authored
-
JJ Kasper authored
Co-authored-by:Tim Neutkens <tim@timneutkens.nl>
-
Ikko Ashimine authored
resetted -> reset
-
Tim Neutkens authored
Ensures `lib` is published in @next/codemod ## 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
-
Brandon Chang authored
-
JJ Kasper authored
This prevents unexpected errors occurring from users leveraging `getServerSideProps` in `_error` with the new `/500` prerendering as we are currently only checking for a custom `getInitialProps` in `_error` since it opts out of the static optimization although `getServerSideProps` also opts out of the optimization. Fixes: https://github.com/vercel/next.js/issues/23541 Fixes: https://github.com/vercel/next.js/issues/23128 Fixes: https://github.com/vercel/next.js/issues/23541 Fixes: https://github.com/vercel/next.js/issues/24206 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added
-
C. Lewis authored
Since #24655 landed in 10.2.1, I wanted to update the documentation, especially for the top Google results for "next typescript", so that users know how to create a TS project. Please feel free to change anything you feel is appropriate.
-
Adem ilter authored
* initial commit * delete comment * env name fix * Update README.md * remove hapi-boom * use next-image * fix alt attr * date fix for blog posts * reset gitignore * fix react best-practices * prettier * mdx to md * fix prettier config. lint
👍 * Update examples/blog-with-comment/components/comment/list.js Co-authored-by:Lee Robinson <me@leerob.io> * refactor api methods * fix: blog title * fix: html lang * next-mdx to gray-matter Co-authored-by:
Noah Fischer <78238464+noahfschr@users.noreply.github.com> Co-authored-by:
Lee Robinson <me@leerob.io> Co-authored-by:
Enes Akar <enesakar@gmail.com>
-
matamatanot authored
## Refactor https://github.com/json5/json5/blob/master/CHANGELOG.md#v220-code-diff > New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244) No diffs in the precompiled file.
-
- 10 Jun, 2021 1 commit
-
-
Sam Verschueren authored
Add `Open in StackBlitz` button to `examples/with-redux-persist` and `examples/with-videojs`. #### with-redux-persist At first we though the example didn't work correctly in WebContainer because it shows the following message > redux-persist failed to create sync storage. falling back to noop storage. After investigating this, we saw the same message on local as well and is probably intended behaviour because of SSR. The example works, but it makes sense that it can't get the local storage on the server side and that's what causing the message. #### with-videojs The video's couldn't be played in the preview frame before. I fixed it on our end and thus also added the StackBlitz button. ## 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 - [x] Example(s) updated - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
-