Commit graph

4983 commits

Author SHA1 Message Date
Shu Uesugi
e1083f0e3a docs: remove --save from npm install; avoid system-ui (#10252)
* Minor edits for CSS doc

* Remove unnecessary --save from npm install

* Different font family

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-27 08:35:12 -05:00
James Mosier
c9dc17b852 Added support for BigInt to API routes (#10215)
* Added support for bigint to API routes

Closes #7980

* added BigInt test to get result

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-27 08:19:49 -05:00
Matthew Sweeney
569e7acab8 Improve Stalled Requests Grammar (#10283) 2020-01-27 08:05:31 -05:00
Stig Kleppe-Jørgensen
799bb42517 Improved wording in comment (#10277) 2020-01-27 12:59:40 +01:00
Bart Deslagmulder
7e6e25de7c Add .jsx as a valid file extension in the pages directory (#10281)
It's possible to use a .jsx file extension in the `pages` directory but the doc doesn't mention it.
Next to the current extensions: .js, .ts & .tsx I would mention .jsx also in the list.
2020-01-27 12:52:49 +01:00
Matthew Sweeney
b0053a4a73 Update FaunaDB Example Instructions (#10280)
* update fauna example instructions

* change key name in setup script
2020-01-27 12:52:04 +01:00
Danny Tatom
dd3bb73d80 Update typo in typescript docs (#10276) 2020-01-27 12:51:34 +01:00
Tim Neutkens
c71694e28b
Update built-in-css-support.md 2020-01-26 16:01:22 +01:00
Soichi Takamura
f13bf1e2bf [example with-typescript-graphql] Fix type error (#10269)
* fix: Type error

* Improve README.md
2020-01-25 22:32:58 -05:00
JJ Kasper
2ff2e9e12c Update _next/data URL handling in serverless-loader (#10261)
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-24 23:34:00 -05:00
JJ Kasper
f143ca63be Update SSG types and clean up RenderOpts type (#10259)
* Update SSG types and clean up RenderOpts type

* Move SSG types back to internal module
2020-01-24 23:25:11 -05:00
JJ Kasper
e079cce41c
Update static check vars and fix types (#10260)
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-24 17:41:00 -06:00
JJ Kasper
8579888cec De-dupe escape-regex with escape-string-regexp (#10257)
* De-dupe escape-regex with escape-string-regex

* Un de-dupe for client-side file
2020-01-24 18:27:39 -05:00
Nikita Borisowsky
5bcd33fccb Fix missing file extensions in docs (#10251) 2020-01-23 22:41:48 -05:00
Joe Haddad
45d5535b36
v9.2.1 2020-01-23 17:09:26 -05:00
Joe Haddad
f495ec44f1
v9.2.1-canary.11 2020-01-23 16:39:43 -05:00
Joe Haddad
3f9b930815
Error on Invalid PostCSS Shape (#10244)
* Error on Invalid PostCSS Shape

* Add link to docs
2020-01-23 16:27:07 -05:00
Prateek Bhatnagar
0edd6a031a Adding conformance webpack plugin (#9716)
* adding Conformance Plugin behind a flag

* fixing compiler ts error

* fixing spelling errors 🤦🏻‍♂️

* addressing comments

* bug fix

* making it const enum

* reverting const enum

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 16:09:12 -05:00
JJ Kasper
127f707c18 Tweak export test to be more stable (#10241)
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 15:40:12 -05:00
Arek Mytych
9d7ee34d2c Add info on storing cache in GitHub Actions (#10231)
* Add info on storing cache in GitHub Actions

* Specify yaml for code formatting

Co-Authored-By: Joe Haddad <timer150@gmail.com>

* Fix wording

Co-Authored-By: Joe Haddad <timer150@gmail.com>

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 15:40:02 -05:00
Joe Haddad
32ded0539e
PostCSS Error When Exporting Function (#10242)
* PostCSS Error When Exporting Function

* Update postcss-function.md
2020-01-23 15:39:50 -05:00
Joe Haddad
c713741f51
Explain Ignored PostCSS Plugin (#10240) 2020-01-23 15:28:37 -05:00
Aaron Reisman
a356d2f68c Add Apollo Server and Client Auth Example (#9913)
* Add Apollo Server and Client Auth Example

* Some updates

* Updated docs

Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-01-23 14:55:45 -05:00
none23
bc139c29b7 Fix a typo in docs (#10239)
SSR Catching -> SSR Caching
2020-01-23 14:40:09 -05:00
Joe Haddad
fb47360f8d
Add PostCSS Configuration to Sidebar 2020-01-23 14:23:10 -05:00
Rohman Masyhar
320d98e051 Add example with-xstate (#10234)
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 13:24:35 -05:00
JJ Kasper
c1cbad0155 Update tests running and add splitting by timings for Azure (#10214)
* Add splitting by timings for Azure

* Add --timings flag for azure

* Update timings API

* Update timings var

* Fix test directory not being reset before re-trying

* Update to re-use CircleCI timing data

* Bump concurrency for Azure

* Remove extra logging

* Update timeout for create-next-app tests

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 12:37:01 -05:00
Joe Haddad
bf31b4ee8d
Check CSS Test Output (#10237)
* Check CSS Test Output

* replace more

* Fix tests

* check code

* Add code check

* Check codes everywhere
2020-01-23 12:28:24 -05:00
Luis Alvarez D
b747f7b26e Check for invalid objects in rewrites/redirects/headers (#10238) 2020-01-23 11:08:25 -06:00
Joe Haddad
f4a5b61244
Customizing PostCSS Configuration (#10236)
* Customizing PostCSS Configuration

* Adjust docs

* Make a warning

* expand

* Add note about require()

* Have details open by default
2020-01-23 11:47:31 -05:00
JJ Kasper
37628d5887
v9.2.1-canary.10 2020-01-23 08:30:52 -06:00
Joe Haddad
3c3186efb5
Revert "feat(build): Transpile assuming higher version of runt… (#10233)
This reverts commit 6b87b2b541.
2020-01-23 09:04:46 -05:00
Joe Haddad
945f726590
Fix Linting 2020-01-23 08:30:18 -05:00
Martin Grubinger
60e62241a8 Add Bitbucket Pipelines to errors/no-cache.md (#10229)
* Update no-cache.md: add Bitbucket Pipelines

Add section on how to setup caching for Bitbucket Pipelines

* Update no-cache.md

Change wording of referencing the next cache in bitbucket pipeline
2020-01-23 11:18:00 +01:00
Shu Uesugi
85571af157 Improve Link documentation (#10225)
* Improve Link documentation

* Add comments
2020-01-23 11:05:24 +01:00
JJ Kasper
17cb1ef999 Fix rewriting to API routes not including query (#10223) 2020-01-23 10:23:34 +01:00
Andrew Kim
e2de7a8e78 Update README.md for example project "form-handler" (#10224) 2020-01-23 10:10:46 +01:00
JJ Kasper
999b8ce657 Disable invalid security tests for safari (#10221) 2020-01-22 22:43:24 +01:00
Shu Uesugi
dc0f2678f0 Remove unnecessary exportPathMap from examples (#10218)
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-22 22:06:07 +01:00
JJ Kasper
7fcd11c248 Enable security tests cross browser (#10217) 2020-01-22 15:55:45 -05:00
Joe Haddad
9b8ea96abc
v9.2.1-canary.9 2020-01-22 15:28:06 -05:00
Alexander Dreith
8449ebc221 [Experimental] Add built-in Sass support (#10133)
* Add built-in Sass support

* Add copy of CSS tests for SCSS

* Fix failing tests

* Fix url-loader tests

* Remove css file generated by tests

* Fix nprogress import for css file

* Fix SCSS modules (still 2 tests that need investigating)

* Update documentation for Sass support

* Fix plain CSS import test

* Fix formatting with prettier fix

* Update test output to reflect scss usage

* Revert "Fix plain CSS import test"

This reverts commit 380319d9d0c4bfb19e28c210262ccd82d19f3556.

# Conflicts:
#	test/integration/scss-modules/test/index.test.js

* Update loader structure

* Resolve loaders before passing to compile function

* Remove dead filter  code

* Arrange loaders in order and push to array

* Fix loader order bug

* Fix global Sass loader and make module prepocessor optional

* Adjust Sass Modules Implementation

* Fix typo

* Adjust regexps

* Use regexes

* Simplify global setup

* Adjust comments

* fix regex

* Simplify identifier file

* Update Sass Instructions

* Remove unneeded fixtures

* Adjust global tests

* Remove wrapper

* Update source maps

* Flag scss behavior

* Fix css property value

* Update fixtures with Sass vars

* Turn on Scss support

* fix HMR test

* Fix snapshots

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-22 15:26:51 -05:00
fauna-brecht
7d419f885e Let users define their own database as easily as possible. (#10209)
* Let users define their own client token.

* Make sure users know that GraphQL schema can also be done via the UI

* Update README.md

* Update setup.js

Co-authored-by: Matthew Sweeney <mail@msweeneydev.com>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-22 15:16:56 -05:00
Luis Alvarez D
f24aa41440
Updated docs (#10213) 2020-01-22 14:30:55 -05:00
Tim Neutkens
dd4d3f7c00 v9.2.1-canary.8 2020-01-22 17:25:18 +01:00
Joe Haddad
f67f99a295 Extract CSS Loaders into Separate Files (#10210) 2020-01-22 09:50:27 -06:00
Tim Neutkens
6988a2e0a5
Use builtins for React transform (#10207)
* Disable core-js on Next.js core files as it's not transforming anything important

* Move babel options to taskr plugin

* Disable transform-runtime for pages dir

* Disable correctly

* Disable corejs for core files

* Temporarily check if this fixes the error

* Use builtIns and exclude async-to-generator

* Update index.test.js
2020-01-22 16:24:02 +01:00
Joe Haddad
4a2236dac3
Dedupe CSS Regexes (#10206) 2020-01-22 09:50:30 -05:00
Joe Haddad
a3f1d65eba
Fix ESLint Ignores and Extract Fn (#10205) 2020-01-22 09:32:51 -05:00
Tim Neutkens
7b0118a991
Disable core-js on Next.js core files as it's not transforming… (#10193)
* Disable core-js on Next.js core files as it's not transforming anything important

* Move babel options to taskr plugin

* Disable transform-runtime for pages dir

* Disable correctly

* Disable corejs for core files

* Temporarily check if this fixes the error
2020-01-22 14:34:49 +01:00