Paul-Emile
b6bdab57c9
Add babel-plugin-graphql-tag to the with-apollo example ( #9635 )
2019-12-05 10:50:20 -05:00
Natalie Marleny
cbacc8a43c
Enhancement: Remove caret range for node-sass ( #9630 )
...
- In with-next-sass example package
- Do not want example to use version 4.13.0 of node-sass
2019-12-04 18:34:41 -05:00
Natalie Marleny
3094b15c54
Enhancement: Upgrade css-loader version to 1.0.0 ( #9629 )
...
- For with-algolia-react-instantsearch example
2019-12-04 18:33:29 -05:00
Prabusah
743248f177
with-material-ui example linked to mui-org/material-ui ( #9605 ) ( #9616 )
2019-12-04 11:47:51 +01:00
Natalie Marleny
14c553c932
Enhancement: Upgrade devalue version to 2.0.1 ( #9611 )
2019-12-03 16:25:51 -06:00
Joe Haddad
21e1db7bc1
Aggressively Replace Constants ( #9610 )
...
* Aggressively Replace Constants
* Test both windows
* add other switch
2019-12-03 16:08:49 -05:00
Joe Haddad
fcea1cd86e
Update yarn.lock
2019-12-03 14:14:34 -05:00
Luis Alvarez D
56c1392bd6
Use NextComponentType in NextPage ( #9575 )
2019-12-03 13:35:20 -05:00
Joe Haddad
0c03066983
v9.1.5-canary.9
2019-12-03 11:39:49 -05:00
Joe Haddad
2477bd30b7
Upgrade Webpack and Terser ( #9608 )
...
Closes #9602
2019-12-03 10:35:31 -06:00
Joe Haddad
063e174076
Add Support for Event Flushing ( #9606 )
...
* Add Support for Event Flushing
* Update packages/next/export/index.ts
Co-Authored-By: JJ Kasper <jj@jjsweb.site>
2019-12-03 11:18:58 -05:00
JJ Kasper
bf1d872f89
Fix extra prerender error for invalid getStaticProps usage ( #9593 )
...
* Fix extra prerender error for invalid getStaticProps usage
* Add error for getStaticProps usage in _error
* Revert erroring for SSG in _error
2019-12-02 17:12:10 -05:00
Joe Haddad
bd8b1221e5
Support repeat
ing Dynamic Route Params ( #9599 )
...
* Test for desired catch all behavior
* Support `repeat`ing Dynamic Route Params
x-ref: #9598
2019-12-02 16:55:49 -05:00
Joe Haddad
69b7538dce
Simplify getRouteRegex Callsites ( #9597 )
2019-12-02 16:43:30 -05:00
Joe Haddad
dd1f610f8d
Add SSG Tests with Catch All Routing ( #9594 )
...
* Add SSG Tests with Catch All Routing
* fix node version compat
* Remove unneeded query
2019-12-02 16:04:25 -05:00
C. T. Lin
0e1f2f36a3
Move cross-env from devDependencies to dependencies ( #9580 )
2019-12-01 10:36:27 +01:00
Lachlan Campbell
590e8d5c26
Fix docs typo: “your sites SEO” ( #9579 )
2019-11-30 22:16:46 -05:00
Joe Haddad
11c7ca33d1
v9.1.5-canary.8
2019-11-27 23:24:12 -05:00
JJ Kasper
89b22d2994
Fix missing getStaticProps error in serverless mode ( #9532 )
...
* Make sure to show missing getStaticProps error in serverless mode
* Update test
2019-11-27 23:23:32 -05:00
JJ Kasper
45832e4421
Make sure to parse query values for SSG page after hydration ( #9545 )
...
* Make sure to parse query values for SSG page after hydration
* Update to re-use __NEXT_SPR
2019-11-27 23:16:19 -05:00
Joe Haddad
ca3f881a42
s/getStaticParams/getStaticPaths/ ( #9565 )
...
* WIP: rename get static paths
* Adjust logic
* Add warning
* rename constant
* Check for error when using old method
* Add friendly error message
* Test for message of invalid keys
* replace index with dots
2019-11-27 21:46:16 -06:00
Joe Haddad
a6656a0b84
Upgrade path-to-regexp
( #9553 )
...
* Upgrade `path-to-regexp`
* Correct import
* Update delimiter
* Fix path match
* Fix hot loader
* Fix params.path usage and pathToRegexp import
* Revert changes for params.path
* Fix lint
* Simplify path match function
* Delimiter should always be `/`
* Fix passed in params
* Add new regex wrapping
* Wrap another route
* Fix error message match
2019-11-27 16:48:28 -05:00
JJ Kasper
375b86cd8a
v9.1.5-canary.7
2019-11-27 15:31:59 -06:00
Joe Haddad
eb85f4102d
Run Lint Separate ( #9563 )
2019-11-27 13:57:18 -06:00
JJ Kasper
c6393b4988
Tweak concurrency for CircleCi ( #9558 )
2019-11-27 14:49:17 -05:00
Joe Haddad
cc4e57e7fc
Stabilize TypeScript HMR Test ( #9562 )
2019-11-27 14:38:01 -05:00
JJ Kasper
f476960ccd
Lint in parallel ( #9560 )
2019-11-27 14:26:40 -05:00
Janicklas Ralph
6517246b22
Native url ( #9561 )
...
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting with regex
* Testing regex changes
* Fixing defer-script test case to not include polyfill.js
* Meging changes with existing polyfill work
* Bumping version
* adjust webpack config
* Reduce size in size test
* Remove 1kb from legacy
* Bumping native-url version, includes fix for IE11
* Update lock file
* Updating native-url, fixes issue on IE11
2019-11-27 13:17:05 -06:00
JJ Kasper
ce42c2c8fb
Update next package script ( #9543 )
...
* Add next-win package script
* add node to next script
2019-11-27 11:50:14 -05:00
Luis Alvarez D
7edf0da0c4
Add the deploy button to compatible examples ( #9547 )
2019-11-27 11:40:58 -05:00
Joe Haddad
75e6e21029
Add Next.js Version as Metadata ( #9551 )
2019-11-27 11:28:40 -05:00
JJ Kasper
6ec56d3750
Update to latest fork-ts-checker version ( #9555 )
2019-11-27 11:16:55 -05:00
Joe Haddad
b8acc347c0
Increase CI Parallelism ( #9552 )
2019-11-27 09:36:44 -05:00
JJ Kasper
5cf9ef6582
[WIP] Add err.sh for prerender error ( #9548 )
2019-11-27 10:54:57 +01:00
Jayden Seric
547b4acbd8
Update the graphql-react example. ( #9550 )
...
- Updated dependencies.
- For compatibility with the current next-graphql-react API, added next.config.js using the `withGraphQLConfig` decorator.
- For compatibility with the current graphql-react API, updated the options used with `useGraphQL`.
- Updated the readme to align with the current graphql-react and next-graphql-react APIs.
- Minor destructuring refactor for clarity.
- Converted the custom App to a functional component.
2019-11-27 10:50:20 +01:00
Alejandro Garcia Anglada
8e4e07bfe2
Fixed next-offline example to serve service worker ( #9531 )
...
* Fixed next-offline example to serve service worker
* replaced custom server with rewrites
2019-11-26 21:03:09 -05:00
Kristoffer K
63886b36a2
fix: resolve preset-modules ( #9538 )
...
* fix: require preset-modules
* Update packages/next/build/webpack/plugins/next-esm-plugin.ts
Co-Authored-By: Joe Haddad <timer150@gmail.com>
* fix formatting
2019-11-26 14:56:08 -05:00
JJ Kasper
d9e8b8678f
Simplify src-dir test suite ( #9533 )
2019-11-26 14:29:39 -05:00
Janicklas Ralph
be496a260c
Update native-url
package for IE compat ( #9539 )
...
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting with regex
* Testing regex changes
* Fixing defer-script test case to not include polyfill.js
* Meging changes with existing polyfill work
* Bumping version
* adjust webpack config
* Reduce size in size test
* Remove 1kb from legacy
* Bumping native-url version, includes fix for IE11
* Update lock file
2019-11-26 14:14:24 -05:00
Adam Stankiewicz
9c9f0609a0
Fix deduplicating dynamic (array) meta tags ( #9315 )
2019-11-26 12:27:33 -05:00
JJ Kasper
80533f5d62
Add file attribute to timings data ( #9535 )
...
* Add file attribute to timings data
* bump
* bump
2019-11-26 12:11:56 -05:00
Joe Haddad
5030bda9c2
Update Yarn Lockfile
2019-11-26 07:43:27 -05:00
Jason Miller
1f15746176
[modern] preset-modules & fix custom babelrc ( #9489 )
...
* Modernize additional common Babel configurations.
* Add @babel/preset-modules dependency
* code quality
* Use modern terser ecma mode for .module.js bundles.
2019-11-26 11:27:26 +01:00
Prateek Bhatnagar
698f522d71
Wait till load for paint metrics ( #9406 )
...
* wait till load to fire paint metrics as they might not be available upfront
* adding performance observer
* adding check for performance user timing
2019-11-26 10:52:38 +01:00
Yosuke Furukawa
93f7da2845
Allow custom amp validation ( #9191 )
...
* Allow custom amp validation
* Update packages/next/export/index.ts
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/server/next-dev-server.ts
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* chore: fix prettier error
* fix: set amp.valiator undefined by default
2019-11-26 10:47:55 +01:00
JJ Kasper
cd8e72d5e3
Add custom routes to build output ( #9517 )
...
* Add custom routes to build output
* De-dupe code a bit
2019-11-26 10:33:47 +01:00
Janicklas Ralph
04a7f1e85d
Replace url
polyfill with self.URL
( #9200 )
...
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting with regex
* Testing regex changes
* Fixing defer-script test case to not include polyfill.js
* Meging changes with existing polyfill work
* Bumping version
* adjust webpack config
* Reduce size in size test
* Remove 1kb from legacy
2019-11-25 23:10:02 -05:00
JJ Kasper
b6aebf92b7
Bump CircleCi concurrency ( #9526 )
2019-11-25 18:30:47 -05:00
JJ Kasper
12cbb2e95a
Add custom timings for CircleCi ( #9523 )
...
* Add custom timings for CircleCi
* Re-add split-by flag
* Add testcase item to junit.xml
* Log tests being run
* Update junit.xml path
* bump
2019-11-25 16:50:46 -06:00
Joe Haddad
3ebc61045a
v9.1.5-canary.6
2019-11-25 17:18:00 -05:00