Burak Tokak
130039c3e5
Add "title" as the source for "slug" in cms-sanity example ( #19867 )
...
* add "title" as the source for "slug"
* Fix linting
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-01-25 14:46:51 +01:00
Nick Carchedi
379c4c4e33
Bring Tailwind CSS example in line with official Tailwind docs ( #19750 )
...
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-01-25 14:20:14 +01:00
Justin Smith
8d92010979
Update headers.md to clarify Cache-Control gets overwritten in prod ( #19967 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-24 17:14:19 +01:00
Robin
c47f3d84c4
Unify installation scripts for example apps ( #19808 )
2021-01-24 17:05:49 +01:00
Calmon Ribeiro
783b9d86ff
fix(next): respect extends in tsconfig with exclude and include ( #16619 )
2021-01-24 14:24:36 +01:00
Dylan R. Johnston
5baedf5567
Update data-fetching.md to use async file loading ( #17518 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-01-23 17:28:33 +01:00
Mohsen Azimi
caf95e1e35
Add a VSCode Launch configuration for debugging examples ( #16940 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-23 16:40:30 +01:00
Darsh Patel
d68d21c329
Test: serverless target should set correct revalidation (cache-control
) header ( #15512 )
2021-01-23 16:15:13 +01:00
Kevin Jennison
450e7130b0
Add example: Firebase authentication + SSR ( #15202 )
...
Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2021-01-23 15:49:14 +01:00
kaykdm
a5b0094677
Fix shallow routing scroll ( #21437 )
...
This ensures that Next.js will not scroll to the top of the page in shallow routing.
Fixes: https://github.com/vercel/next.js/issues/21386
Fixes: https://github.com/vercel/next.js/issues/21366
2021-01-22 18:03:29 +00:00
Joe Haddad
74b6389bd6
ci: fix webpack 5 enabling for tests ( #21436 )
...
* ci: fix webpack 5 enabling for tests
* refactor: move default location
* Disable incompatible suite
2021-01-22 11:20:53 -06:00
Max Nowack
f2de5a08b8
Fix typo in Header component of with-iron-session example ( #21428 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-22 14:14:55 +01:00
Hank Andre
372fb5dc53
refactor(with-tailwindcss-emotion): example remove styles directory ( #21368 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-22 12:16:57 +01:00
MMT-LD
60b0267400
feature/vanilla-emotion - add an example of vanilla emotion ( #20228 )
...
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2021-01-22 12:16:50 +01:00
Tim Neutkens
4dc32ec0a7
v10.0.6-canary.7
2021-01-22 09:56:40 +01:00
Michael McQuade
ded6e24b3d
Use autoprefixer instead of postcss-preset-env ( #21215 )
...
I realized while looking over this that the `autoprefixer` plugin isn't being used by postcss because it's not included in the `postcss.config.js`. Additionally, since `postcss-preset-env` doesn't support PostCSS 8 yet, and it includes PostCSS 7 as a dependency, I've removed that package.
There is an open issue to add PostCSS 8 support to `postcss-preset-env` [here](https://github.com/csstools/postcss-preset-env/issues/191 ). @kripod's comments on my other PR #20956 are what prompted me to check this out.
On a side note, it looks like all the CMS examples use Tailwind CSS v1 still, so that's something someone (possibly myself) could tackle later.
2021-01-22 06:13:33 +00:00
Lindsey Simon
7602cfad32
Adds optional REDIS_PASSWORD env var to make setup with RedisLabs work easily for the with-redis
example ( #21432 )
...
Easy to add one more optional password env var locally and a few lines of code to make the example app work with RedisLabs as well.
2021-01-22 00:28:27 +00:00
JJ Kasper
5b70802f61
Preserve asPath while resolving rewrites ( #21410 )
...
* Preserve asPath while resolving rewrites
* remove un-needed alias
* Add new alias
* Add return type for resolve rewrites
2021-01-21 17:40:23 -06:00
Shashi Srinath
9fd9d83221
added an ipcRenderer usage sample to the electron-typescript example ( #20000 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-21 16:37:40 +01:00
Tim Neutkens
d991e3c957
Update manifest.json
2021-01-21 15:06:53 +01:00
David Spiessens
0fc46d0b70
Add Note to i18n-routing Docs for Subdomains for Locale Domains ( #21387 )
2021-01-20 17:08:55 +00:00
JJ Kasper
f6304cde92
Add additional dynamic route hash tests ( #21363 )
...
This adds tests for https://github.com/vercel/next.js/issues/18601 to ensure we don't regress on this feature working correctly.
Closes: https://github.com/vercel/next.js/issues/18601
2021-01-20 09:45:58 +00:00
Joe Haddad
a1b8fb49e6
v10.0.6-canary.6
2021-01-20 00:48:30 -05:00
Joe Haddad
47ec677127
chore: compile css-loader ( #21357 )
...
This PR compiles `css-loader` to resolve a peer dep warning.
2021-01-20 05:47:25 +00:00
Joe Haddad
55b8502dd0
chore: compile style-loader
dep ( #21355 )
...
This PR compiles `style-loader` to resolve a peer dep warning.
---
Closes #21359
2021-01-20 05:25:46 +00:00
Joe Haddad
0d0db45c72
v10.0.6-canary.5
2021-01-19 15:11:46 -05:00
Joe Haddad
ab158c0aee
chore: compile resolve-url-loader ( #21351 )
...
Closes #21166
2021-01-19 20:08:24 +00:00
Tim Neutkens
56b149f7be
Add experimental per-page option to disable JS preloads ( #21329 )
...
As discussed with @csswizardry. This is a temporary option in case you know the preloads are not needed. It will likely be a default once the ScriptLoader work from @janicklas-ralph has been proven in partner apps and landed.
```js
// pages/index.js
export const config = {
unstable_JsPreload: false
}
```
2021-01-19 19:38:15 +00:00
Tobias Koppers
11900431fa
upgrade webpack 5 for empty entrypoint fix ( #21353 )
...
fixes a problem where entrypoints are nearly empty.
2021-01-19 19:15:45 +00:00
Bernd Artmüller
72ce099106
Fix splitting page path by buildId ( #19901 )
...
Running next.js in `development` causes issues when having pages named "development" or "developments",... as `this.buildId` = `development`
Fixes: https://github.com/vercel/next.js/issues/19520
2021-01-19 18:27:28 +00:00
Joe Haddad
d33aad7815
chore: upgrade chokidar
to fix install warning ( #21343 )
...
To resolve:
```
warning next > chokidar > fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
```
2021-01-19 17:02:32 +00:00
Joe Haddad
02aa7b28da
ci: stabilize Window CI ( #21344 )
...
This skips a test suite that always flakes on Windows due to `http-proxy` <> Windows interop issues.
2021-01-19 16:04:27 +00:00
Thor 雷神 Schaeff
0bd175264b
Update Supabase example. ( #21200 )
2021-01-19 07:10:56 -06:00
Tim Neutkens
85624d6164
Remove console.log
2021-01-19 09:44:03 +01:00
Luis Alvarez D
e28fd50441
Include utm_source on example links to vercel.com ( #21305 )
2021-01-19 07:28:54 +00:00
Joe Haddad
cfae5c6c32
fix: lint
2021-01-19 00:26:53 -05:00
Lee Robinson
5d98874e8f
Add guide "Migrating from Create React App" ( #21212 )
2021-01-18 17:37:32 -06:00
Tim Neutkens
f8fecf57c3
Fix webpack 5 warning + disabling of profiling ( #21276 )
...
Noticed that there was a specific warning when using webpack 5.
2021-01-18 16:38:00 +00:00
Tim Neutkens
c5b5c43e3d
Add codemod for files that do not support the new React JSX transform ( #21281 )
...
Previously our automatic React injection approach injected `import React from 'react'` automatically whenever JSX was detected. The new official JSX transform solves this by enforcing importing `React` when it is used.
This codemod automatically converted files that are using a "global React variable" to use `import React from 'react'`
2021-01-18 15:17:10 +00:00
kaykdm
699a7aeaaa
Move hydration mis-match test suite ( #21264 )
...
In this [PR](https://github.com/vercel/next.js/pull/21065 ), it was suggested to move the test suite, but it was merged before fixing.
This is the fix for that, moving link-with-hash test suite to client-navigation suite
detail: https://github.com/vercel/next.js/pull/21065/files#r558425551
2021-01-18 04:05:41 +00:00
Tim Neutkens
f534a5cad2
v10.0.6-canary.4
2021-01-17 20:13:41 +01:00
Tobias Koppers
b02df3f487
improve splitChunks config for webpack 5 ( #21208 )
2021-01-17 20:05:47 +01:00
Tobias Koppers
9c4d368459
use webpack resolve api to resolve in externals config ( #21205 )
2021-01-17 20:02:20 +01:00
Sumanth Ratna
f40a41cd6d
Update chromedriver brew install instructions in contributing doc ( #21251 )
...
`brew cask install` was recently deprecated in favor of `brew install --cask`
2021-01-17 18:55:44 +00:00
Peter Kellner
8e88282da5
Small spelling fix ( #21246 )
2021-01-17 16:50:46 +01:00
JJ Kasper
cfa9326c63
Minimal mode normalizing ( #21083 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-16 16:46:21 +01:00
kaykdm
cdab7bf831
fix hydration mismatch on href for url with anchor refs ( #21065 )
...
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-15 17:53:10 +01:00
Joe Haddad
ceef1566c3
v10.0.6-canary.3
2021-01-15 11:49:31 -05:00
Joe Haddad
54bee4fb4d
fix: resolve two peer dep install warnings ( #21176 )
...
This removes the peer dep on `webpack` from `react-dev-overlay`, as it is for types only.
This makes the peer dep on `webpack` optional for `react-refresh-utils`, as you can provide webpack via the constructor (how Next.js does).
2021-01-15 16:39:49 +00:00
Joe Haddad
598997f038
fix: lint
2021-01-15 10:24:16 -05:00