- 29 1月, 2021 2 次提交
-
-
由 Lee Robinson 提交于
-
由 Matt Ruby 提交于
-
- 28 1月, 2021 1 次提交
-
-
由 JJ Kasper 提交于
-
- 27 1月, 2021 7 次提交
-
-
由 JJ Kasper 提交于
This insures we add entries for each locale version of a non-dynamic SSG page since they can have unique revalidate values. This requires a version bump in the `prerender-manifest` since the static routes now contain additional values which need to be handled separately. Fixes: https://github.com/vercel/next.js/issues/21568
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Update CI docs change diff check * Increse fetch depth for merge base detecting * Update cancel branches config
-
由 Jaon 提交于
I tried the preset provided at `packages/next-plugin-storybook` but it was raising error due to an [unsafe negation](https://eslint.org/docs/rules/no-unsafe-negation) in the `preset.js` file. I added a test to show the error: ``` ● next-plugin-storybook filterModuleRules › should filter module rules correctly TypeError: rule.test.test is not a function 48 | if (!rule.test instanceof RegExp) return true 49 | // use Next.js' built-in CSS > 50 | if (rule.test.test('hello.css')) { | ^ 51 | return false 52 | } 53 | // use next-babel-loader instead of storybook's babel-loader at filter (../packages/next-plugin-storybook/preset.js:50:21) at Array.filter (<anonymous>) at Object.filterModuleRules (../packages/next-plugin-storybook/preset.js:46:28) at Object.<anonymous> (unit/webpack-config-overrides.test.js:12:36) ```
-
由 Luis Alvarez D 提交于
-
由 Janicklas Ralph 提交于
-
- 26 1月, 2021 20 次提交
-
-
由 Roko Bekavac 提交于
Co-authored-by: Nrokobekavac0 <roko.beakavac2003@gmail.com> Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 Kazutaka NAKAMURA 提交于
-
由 Ondřej Chrastina 提交于
Kontent example also contains the implementation of the preview capabilities in the example. Including the example as it is [Data fetching section](https://nextjs.org/docs/basic-features/data-fetching).
-
由 Andre Hsu 提交于
Change type of GetServerSidePropsContext.req.cookies the be the same as NextApiRequest.cookies (#21336) The original type for `GetServerSidePropsContext.req.cookies` was introduced in #19724. In the PR, the test at `test/integration/typescript/test/index.test.js` expects req.cookies to always exist, so `req.cookies` will never be undefined. I'm guessing that req.cookies is parsed using the same cookie middleware as `NextApiRequest`, in which case `req.cookies` should be `{ [key: string]: string }`, not `{ [key: string]: any }`.
-
由 Chulki Lee 提交于
Closes #17042 I removed mkdirp from package.json taskfil.js, and ran `yarn && ./check-pre-compiled.sh `. Please let me know if anything else is needed! (Extracted from #20411) Note that now compiled webpack has mkdirP function
-
由 youngvform 提交于
I made an issue #[21330](https://github.com/vercel/next.js/issues/21330). I think this line https://github.com/vercel/next.js/blob/0bd175264b000895cccd75f4499bdf55daad4882/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts#L216 return string array and toLowerCase is undefined in string array so throw error. I fixed it by referring to [launchEditor](https://github.com/facebook/create-react-app/blob/7e4949a20fc828577fb7626a3262832422f3ae3b/packages/react-dev-utils/launchEditor.js) of create react app.
-
由 mcha 提交于
#21279 This is just a comment explaining that changing `pageExtensions` not only applies to `pages/*` but other files as well.
-
由 tarunama 提交于
- Add.type to variables and function, arguments
-
由 Azeez Lukman 提交于
Added more detailed explanation of why there is no router instance, and other ways to fix the error
-
由 tarunama 提交于
- Add return type to function - Add [isNotValidData](https://github.com/vercel/next.js/pull/21148/files#diff-64466461287cc1a70ce5597e3e1d18ac22755f9aeb7ff1865160a8c057540983R374) function for readability
-
由 JJ Kasper 提交于
-
由 Lee Robinson 提交于
-
由 kaykdm 提交于
Fixes: https://github.com/vercel/next.js/issues/20370 > AsPath is incorrect on Server if you use rewrites and getInitialProps. On the server, asPath is the rewritten asPath while on the client asPath ist as given in the request URL. The same issue was used to happen on `getServersideProps`, but it was fixed in this PR (https://github.com/vercel/next.js/pull/17121). `getInitialProps` needs same fix except when the target is serverless, which has correct `asPath` value. Additional tests have been added in the `getInitialProps` suite to ensure correct asPath with rewrites.
-
由 Joe Haddad 提交于
-
由 Janicklas Ralph 提交于
Co-authored-by: NJJ Kasper <jj@jjsweb.site> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 JJ Kasper 提交于
-
由 Ymir 提交于
-
由 Dominik Felber 提交于
-
由 Ryan 提交于
Allows building without permission to write to the application directory, useful for containers and sandboxes.
-
由 Joe Haddad 提交于
-
- 25 1月, 2021 6 次提交
-
-
由 Chulki Lee 提交于
-
由 Faizan Virani 提交于
Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Burak Tokak 提交于
* add "title" as the source for "slug" * Fix linting Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
由 Nick Carchedi 提交于
Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
由 Justin Smith 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Robin 提交于
-
- 24 1月, 2021 2 次提交
-
-
由 Calmon Ribeiro 提交于
-
由 Dylan R. Johnston 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
- 23 1月, 2021 2 次提交
-
-
由 Mohsen Azimi 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Darsh Patel 提交于
-