- 20 May, 2020 17 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
This eliminates code referenced via destructuring assignment, as reported by @styfle.
-
Piotr Kuczynski authored
-
Kirill Konshin authored
Fixes https://github.com/zeit/next.js/issues/12920
-
Joe Haddad authored
-
Janicklas Ralph authored
Adding a conformance plugin the make sure users don't undo the benefits of the granularChunks config. The plugin makes sure that minSize, maxInitialRequests values aren't overridden. Also ensures the cacheGroups - vendors, framework, libs, common, shared are maintained. The warning and error messages do not break the build with this change. They only display a message. cc - @prateekbh, @atcastle
-
Christian Alfoni authored
split into two examples
-
jmgr2996 authored
This issue is related to [12694](https://github.com/zeit/next.js/issues/12964). I covered the following examples - with-zeit-fetch - with-yarn-workspaces - with-why-did-your-render - with-video-js - with-universal-configuration-runtime - with-typestyle - with-three-js If you have a suggestion or change I'd appreciate it
-
Joe Haddad authored
This switches to faster source maps in development for the server-side compilation on macOS. We still need to figure out a story for Windows.
-
Michael Albertz authored
Fixes: https://github.com/zeit/next.js/issues/10734 Related: https://github.com/zeit/now/discussions/4320 This fixes the **Deploy your own** button for the with-yarn-workspaces example. Currently the deployment fails with the following error. ``` Module not found: Can't resolve 'bar' in '/zeit/3ad1f9cd/pages' ``` I also added a dynamic api route to the example, because I had problems configuring vercel to redirect to dynamic routes. This will be the new Vercel-Import-From link: [Deploy](https://vercel.com/import/project?template=https://github.com/Prioe/next.js/tree/fix-with-yarn-workspaces-deploy/examples/with-yarn-workspaces)
-
taye authored
The example app expects all fields of Post and Author entries to be present and fails to build if any are missing. This PR adds a "required" validation to fields of both content types to avoid bulid errors. CC @stefanjudis
-
Dave Cardwell authored
I have a plugin with a src folder structure following jest’s recommended practice of including a `__tests__` folder: ``` $ find src/ src/ src/document-html-props-server.ts src/__tests__ src/__tests__/document-html-props-server.unit.ts ``` collect-plugins.ts [reads the src directory](https://github.com/zeit/next.js/blob/960c18da53af89115c7e96dc8188646a51c53c15/packages/next/build/plugins/collect-plugins.ts#L65) and finds: ```js [ '__tests__', 'document-html-props-server.ts' ] ``` …which it then [converts to](https://github.com/zeit/next.js/blob/960c18da53af89115c7e96dc8188646a51c53c15/packages/next/build/plugins/collect-plugins.ts#L76-L80): ```js [ '', 'document-html-props-server' ] ``` …and finally [outputs](https://github.com/zeit/next.js/blob/960c18da53af89115c7e96dc8188646a51c53c15/packages/next/build/plugins/collect-plugins.ts#L90-L96): ``` Next.js Plugin: {my plugin} listed invalid middleware ``` This pull request makes collect-plugins.ts only consider files, so my __tests__ directory and its contents are ignored.
-
Tim Neutkens authored
Fixes #13067
-
Tim Neutkens authored
Note this is only for the Next.js core, will look at a configuration for the debugger for Next.js apps soon.
-
Luis Alvarez D authored
Moved from `getInitialProps` to the new data fetching methods. Updated the readme and simplified the implementation for pages.
-
Joe Haddad authored
This reverts commit b0a020e8.
-
Joe Haddad authored
-
- 19 May, 2020 20 commits
-
-
Greg Rickaby authored
👋 🏻 This PR updates the Datocms example: - [x] Next.js 9.4 absolute import and aliases support - [x] Next.js 9.4 native `.env` support - [x] Tailwind 1.4 native PurgeCSS support - [x] Chore: bump other dependencies, like React, Remark, and DateFNS I've tested this PR here: -💻 https://github.com/gregrickaby/datocms-next-js-blog-demo-2392 -👀 https://datocms-next-js-blog-demo-2392.now.sh/ -
Joe Haddad authored
-
Joe Haddad authored
-
Jan Potoms authored
Failing test case for https://github.com/zeit/next.js/issues/10488#issuecomment-584500081 This used to give a 500 in dev environment
-
Joe Haddad authored
-
Jimmy Chion authored
-
Tommy Ljungberg authored
-
Zach Waterfield authored
Update the Automatic Static Optimization docs to explicitly state that Next.js will trigger an update. (#13096)
-
JJ Kasper authored
-
Jaime Leonardo Suncin Cruz authored
-
Joe Haddad authored
-
Slawek Kolodziej authored
-
Tim Neutkens authored
-
TodorTotev authored
* removed redundant imports and replaced the fragment with the shorthand syntax * Brought back the component import Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Luis Alvarez D authored
-
Tim Neutkens authored
-
Maxi Gimenez authored
-
Prateek Bhatnagar authored
* addinng no html-link lint rule * fixing lint tests * adding the utils file * fixing lock file * prettier fix
-
Tim Neutkens authored
* Generate sourcemaps for core files that pass through Babel * Run files through Babel instead of tsc * Get rid of wildcard helper * Get rid of wildcard helper * Remove unused file * Update wildcard imports * Add exclude * Get rid of object-assign helper * Use Object.assign as it gives better output Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Joe Haddad authored
-
- 18 May, 2020 3 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
-
TodorTotev authored
-