Commit graph

4625 commits

Author SHA1 Message Date
Joe Haddad
b4db0421ff
Rewrite SSG Transform for Recursive Cleanup (#9652) 2019-12-06 22:03:55 -05:00
Joe Haddad
2a18f03611
v9.1.5-canary.13 2019-12-06 11:51:18 -05:00
Joe Haddad
cb4c08c02b
Fix SSG Named Export Transform (#9649) 2019-12-06 11:50:50 -05:00
Joe Haddad
10b2eb5b31
Fix Import Shaking for Namespaces (#9650) 2019-12-06 11:46:00 -05:00
Joe Haddad
4894567fa9
v9.1.5-canary.12 2019-12-05 20:22:13 -05:00
Joe Haddad
05ba91d3ba
Add Additional SSG Transform Test 2019-12-05 18:08:44 -05:00
Joe Haddad
e76fc18675
Remove Scope Bindings for SSG (#9642) 2019-12-05 18:05:50 -05:00
Joe Haddad
7a51b888c5 Add SSG Support for VariableDeclarations (#9641) 2019-12-05 16:43:18 -06:00
Joe Haddad
a718df5f56
Rewrite SSG Transform (#9640)
* Rewrite SSG Transform

* Add Named Declaration Support

* more adjustments

* Re-crawl scope
2019-12-05 17:22:41 -05:00
Joe Haddad
b4d0740c62
Separate SSG Transform from Config (#9639)
* Separate SSG Transform from Config

* update fn name

* fix
2019-12-05 16:43:11 -05:00
Joe Haddad
96338a7631
v9.1.5-canary.11 2019-12-05 13:38:57 -05:00
Prateek Bhatnagar
5b10ea003c adding duration for custom performance marks (#9592) 2019-12-05 13:36:51 -05:00
Joe Haddad
57947ed2f3
v9.1.5-canary.10 2019-12-05 13:11:41 -05:00
Joe Haddad
bf5e295c0c Correct URI Encoding Order (#9638)
* Correct URI Encoding Order

* Add prefetch test

* verify encoding
2019-12-05 12:10:37 -06:00
Lar Van Der Jagt
926a4e5abc Fix instructions for with-netlify-cms example (#9637)
Looks like the directory name was missed after a copy/paste from another example.
2019-12-05 11:23:20 -06:00
Joe Haddad
30ff9a339f Remove Extraneous Imports in Pages (#9627)
* Remove Extraneous Imports in Pages

* Add test

* bump cache key
2019-12-05 11:04:00 -06:00
JJ Kasper
c5dbc1fe95 Fix react@next tests missing chromedriver env (#9632)
* Update to react@next to debug failure

* Use CI command to bump react

* Make sure to set chromedriver env

* Remove react bump for debugging
2019-12-05 11:17:26 -05:00
Dave Brudner
442fbfaa4d Update with-socket.io example (#9583)
* Using custom hook instead of `_app.js` to interface with
`socket.io-client`
2019-12-05 11:08:09 -05:00
Janicklas Ralph
9bf48687a7 Only Load JS Files for Polyfills (#9628)
* 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

* Fix sourcemap being added in document
2019-12-05 10:59:49 -05:00
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 repeating 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