JJ Kasper
18494fe3fb
Break-up unit tests to separate step ( #18992 )
2020-11-10 12:25:50 -05:00
Joe Haddad
b7e17e09e5
Update references to zeit/next.js ( #13463 )
2020-05-27 17:51:11 -04:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
Tim Neutkens
2ba352da39
Move next-server back into next
package ( #8613 )
...
* Initial move
* Make emitting work
* Update paths
* Remove leftover files
* Add correct externals configuration
* Import correct path
* Update path to work with ts-server test
* Update lib directory
* Compile next-server/lib
2019-09-04 10:00:54 -04:00
JJ Kasper
80b46c1d28
Update to have default pageProps of {} instead of null ( #7734 )
...
* Update to have default pageProps of {} instead of null
* Update test
* Test for empty object
2019-07-05 11:00:23 -04:00
Joe Haddad
b3170d2648
Format missed files ( #7464 )
...
* Format missed files
* Remove unnecessary rule
* Fix type error
2019-05-29 18:19:32 -07:00
Luis Fernando Alvarez D
29f71bfcba
Add more TypeScript types ( #7054 )
...
* Moved server/lib/utils.js to Typescript
* moved _app.js to Typescript
* Moved _error.js to Typescript
* Added argument for custom props in _app and _error
* Moved _document.js to Typescript
* updated one test
* Updated types and added a validation for _document props
* Improved types
* Fixed some types
* Updated AppType
* Fixed some tests
* Added missing import
* Removed a not very useful type
* Fix missing type
* Move @types/styled-jsx
* Fix typescript errors
2019-04-22 19:55:03 +02:00
Henrik Wenz
18488f47b0
Fix linter ( #5350 )
...
* Fix linter
* Add test env
* Fix lint errors
2018-10-20 17:00:01 +02:00
Tim Neutkens
82d56e063a
next-server ( #5357 )
2018-10-02 00:55:31 +02:00
Tim Neutkens
b1c4f3aec4
Monorepo ( #5341 )
...
- Implements Lerna
- Moves all source code into `packages/next`
- Keeps integration tests in the root directory
2018-10-01 01:02:10 +02:00
HaNdTriX
11816537c3
Open editor from error-overlay (minor) ( #4979 )
...
This PR adds links to the [react-error-overlay](https://www.npmjs.com/package/react-error-overlay ).
This allows a developer to open a stack trace in its own editor.
![codelinking](https://user-images.githubusercontent.com/1265681/44278860-a63e0a80-a24f-11e8-9c69-c5365c026c58.gif )
Closes #4813
2018-08-24 16:30:41 +02:00
Tim Neutkens
0dd2b2aa74
Add warning for broken popstate ( #5000 )
...
* Add warning for undefined url and as coming from popstate
* Use consistent url
* Fix err.sh link in test
* Rename `inital` => `initial`
2018-08-24 12:30:27 +02:00
HaNdTriX
d1b67623f6
Throw error if getInitialProps is defined as as instance method ( #4922 )
...
* Throw error if getInitialProps is defined as as instance method
Omitting the static keyword happens pretty often. Therefore we should trigger a warning in devmode.
Closes : #4782
* Document getInitialProps error
* Add unit tests for loadGetInitialProps
2018-08-09 10:13:44 -07:00