- 29 9月, 2020 3 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This handles the case where the children on a head element are undefined and not a string or an array of strings. This doesn't currently handle sub-children on head elements so additional handling will be needed if this is a feature we would like to support although can be discussed/investigated separately from this fix. Fixes: https://github.com/vercel/next.js/issues/17364 Fixes: https://github.com/vercel/next.js/issues/6388 Closes: https://github.com/vercel/next.js/pull/16751
-
- 28 9月, 2020 1 次提交
-
-
由 Tim Feeley 提交于
-
- 26 9月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Expose dotenv loading under separate package * Update pre-compiled * Rename package to @next/env * Update lint ignores * Update package.json Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 25 9月, 2020 4 次提交
-
-
由 JJ Kasper 提交于
Noticed while adding config checks for a new config that the `basePath` checks were wrapped in a `result.experimental` check and even though this should always be true from the default experimental value being an object the `basePath` checks shouldn't be wrapped in this check since it isn't experimental anymore.
-
由 Rishi Raj Jain 提交于
As clear from [#14233](https://github.com/vercel/next.js/pull/14233#issuecomment-645997757) that the 'with-algolia example is not SSR', I've updated the documentation to clear the confusion caused, as visible in #17229 Fixes #17229
-
由 Antonio Pitasi 提交于
Wrong variable was being checked for the hydrate action on redux. This was causing the count to be reset to 0 instead of being 1 when initially loading index.js page. Fixes #17299
-
由 Sam Robbins 提交于
The example has been emptied as it is no longer the recommended way to do it so it shouldn't be linked to
-
- 24 9月, 2020 4 次提交
-
-
由 Sam Poder 提交于
There was a blank line, this PR removes it :D
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
Prior to this pull request, Next.js would immediately decode all URLs sent to its server (via `path-match`). This was rarely needed, and Next.js would typically re-encode the incoming request right away (see all the `encodeURIComponent`s removed in PR diff). This adds unnecessary performance overhead. Long term, this will also help prevent weird encoding edge-cases like #10004, #10022, #11371, et al. --- No new tests are necessary for this change because we've extensively tested these edge cases with existing tests. One test was updated to reflect that we skip decoding in a 404 scenario. Let's see if all the existing tests pass!
-
由 Stig Kleppe-Jørgensen 提交于
-
- 23 9月, 2020 1 次提交
-
-
由 Gergo Tolnai 提交于
-
- 22 9月, 2020 6 次提交
-
-
由 Luis Alvarez D 提交于
-
由 Joe Haddad 提交于
-
由 Sébastien Vanvelthem 提交于
Update [`next-auth`](https://github.com/iaincollins/next-auth) from `^2.1.0` to `^3.1.0` and minor sqlite bump to `^5.0.0`.
-
由 Kazuma Furuhashi 提交于
This is a change to add the project name as in the other examples. When we run with the current create command, we are asked for the project name. As follows: ``` $ npx create-next-app --example with-three-js ? What is your project named? › my-app ```
-
由 paulogdm 提交于
This PR removes "vercel.json" from the Yarn workspaces example. Since the release of [monorepos](https://vercel.com/blog/monorepos) support, there is no need to use the "builds" property or "vercel.json".
-
由 Yuji Sugiura 提交于
This PR fixes `info - undefined (N/N)` log for `export` cli. ![image](https://user-images.githubusercontent.com/6259812/93186247-5d801500-f779-11ea-89ec-e20939d7b7c1.png) Default parameter `label` for `createProgress()` was always ignored by `${Log.prefixes.info} undefined`
😅 .
-
- 21 9月, 2020 8 次提交
-
-
由 tomasdisk 提交于
This PR adds an example Next.js project with chakra-ui as its component library using TypeScript. ![image](https://user-images.githubusercontent.com/11686408/91192736-a8ec5980-e6cc-11ea-8f95-b9180defbf47.png) Both libraries has built-in TypeScript declarations. Will help to encourage typed projects, so why not? It's a combination of two existing examples [with-chakra-ui](https://github.com/vercel/next.js/tree/canary/examples/with-chakra-ui) and [with-typescript](https://github.com/vercel/next.js/tree/canary/examples/with-typescript). All credits for their contributors.
-
由 Nghiệp 提交于
* Fix missing yarn.lock * Add --frozen-lockfile flag to speed up install deps * Make sure node_modules do not contains devDependencies * Add --targe stage docker build
-
由 Ilya Lebedev 提交于
Because `import()` for .json files return object like this: ```json { "default": { "some": ... }, "some": ... } ``` ![image](https://user-images.githubusercontent.com/2598671/93468826-4156b200-f8f8-11ea-8e39-42df2df83057.png)
-
由 Ilya Lebedev 提交于
Invalid ordering in Promise.all and in receiving destruction. Now appProps receives result of polyfill(supportedLocale) call.
-
由 Devin Ekadeni 提交于
As mentioned in [here](https://www.npmjs.com/package/@types/testing-library__react), the package has been deprecated and not necessary to be installed. By removing this from `package.json` will give other devs have more understanding when learning typescript with eslint and jest about what need to be installed on the project.
-
由 GH Lee 提交于
Modified paths to absolute paths. - Deploying to Vercel - Base path
-
由 Austin Huang 提交于
Pull request for (Issue: Fix or remove the with-rebass example #16828). Just added some missing dependencies to the package.json of the example Fixes #16839
-
由 Mohamed Akram 提交于
`esModule: false` required for fonts to load.
-
- 20 9月, 2020 1 次提交
-
-
由 Daniel Lauzon 提交于
Reflect the change in `trailingSlash` parameter name. I found this because of the great warning on the build! ``` Warning: The "exportTrailingSlash" option has been renamed to "trailingSlash". Please update your next.config.js. ```
-
- 18 9月, 2020 3 次提交
-
-
由 Sam Dornan 提交于
-
由 Dan Laugharn 提交于
This comes up a lot in discussions/as an issue, so added a small comment about uploading files to the public directory. I'm not sure if it is worth a deeper technical explanation as well.
-
由 stefanprobst 提交于
currently, the `no-html-link-for-pages` eslint rule will look for the pages folder in either `pages`, or a custom folder provided via rule option. this PR adds support for also looking in `src/pages` by default. (sidenote: not sure about the custom pagesfolder path: does next support locations other than `pages` and `src/pages`)?) fixes #16426
-
- 17 9月, 2020 1 次提交
-
-
由 Long Ho 提交于
fix #16752 cc @thuringia
-
- 16 9月, 2020 3 次提交
-
-
由 Luis Alvarez D 提交于
Including prettier changes that were done automatically after the code sample became valid.
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This makes sure we have the correct `asPath` value to prevent breaking hydration for `getServerSideProps` pages and doesn't re-use the `resolvedUrl` value for the `asPath` and instead creates a separate `resolvedAsPath` value that only removes the `_next/data` prefix from the path. Additional tests have been added in the `getServerSideProps` suite to ensure correct `asPath` with rewrites. Fixes: https://github.com/vercel/next.js/issues/17113
-
- 15 9月, 2020 3 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
On the latest beta of webpack 5 resolving fails with the below error and according to https://github.com/webpack/webpack/issues/11467 is due to the imports in this module not being fully specified. This adds the config mentioned in the thread to correct the resolving for this module. ```sh Failed to compile. -- 16:33:50.046 | ModuleNotFoundError: Module not found: Error: Can't resolve './assertThisInitialized' in '/vercel/f03cc85/node_modules/@babel/runtime/helpers/esm' 16:33:50.046 | > Build error occurred 16:33:50.047 | Error: > Build failed because of webpack errors 16:33:50.047 | at build (/vercel/f03cc85/node_modules/next/dist/build/index.js:15:918) 16:33:50.099 | error Command failed with exit code 1. ```
-
由 Joe Haddad 提交于
-