Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic TypeScript setup #7125

Merged
merged 48 commits into from May 9, 2019

Conversation

Projects
5 participants
@ijjk
Copy link
Member

commented Apr 23, 2019

Also added automatic tsconfig.json generating for when .ts files exist in a project but a tsconfig.json does not.

Add ForkTsCheckerWebpackPlugin and
automatic tsconfig generating

@ijjk ijjk requested review from dav-is, lfades, Timer and timneutkens as code owners Apr 23, 2019

@github-actions

This comment has been minimized.

Copy link

commented Apr 23, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 12.5s 12.7s ⚠️ +204ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +344 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.5s 14.8s ⚠️ +228ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +344 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB -1 B
Build Dir Size 2.19 MB 2.19 MB
Force esModuleInterop true and add ignore to
recursive-readdir to simplify ignoring node_modules
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 11.8s 11.7s -93ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.5s 14.1s ⚠️ +532ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB ⚠️ +2 B
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB ⚠️ +1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB ⚠️ +1 B
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB ⚠️ +1 B
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB ⚠️ +1 B
Build Dir Size 2.19 MB 2.19 MB
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 12.3s 12.2s -96ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.1s 14.1s ⚠️ +14ms
node_modules Size 39.8 MB 40.2 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB ⚠️ +1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB
Build Dir Size 2.19 MB 2.19 MB
@timneutkens
Copy link
Member

left a comment

Can we have a test for this behavior?

ijjk added some commits Apr 24, 2019

Add test for ts checker and use resolve instead of
path.resolve for locating tsconfig
@ijjk

This comment has been minimized.

Copy link
Member Author

commented Apr 24, 2019

Yup, added some tests

@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 12s 12.1s ⚠️ +144ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.7s 14s ⚠️ +264ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB -1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB -1 B
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB -1 B
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB -1 B
Build Dir Size 2.19 MB 2.19 MB
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 12s 11.9s -92ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.9s 13.9s ⚠️ +32ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB -1 B
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB -2 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB -1 B
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB -1 B
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB -1 B
Build Dir Size 2.19 MB 2.19 MB
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 12s 12.2s ⚠️ +159ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 616 kB 616 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.7s 13.9s ⚠️ +197ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.1 kB 68.1 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 942 B 942 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.59 kB 3.59 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.3 kB 57.3 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.2 kB 87.2 kB
Serverless pages/index Size 320 kB 320 kB
Serverless pages/index gzip Size 85.3 kB 85.3 kB -1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85 kB 85 kB -1 B
Serverless pages/routerDirect Size 320 kB 320 kB
Serverless pages/routerDirect gzip Size 85.4 kB 85.4 kB -2 B
Serverless pages/withRouter Size 320 kB 320 kB
Serverless pages/withRouter gzip Size 85.4 kB 85.4 kB
Build Dir Size 2.19 MB 2.19 MB
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.8s 14.2s ⚠️ +339ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.2 kB 68.2 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 945 B 945 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.6 kB 3.6 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.4 kB 57.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 627 kB 627 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15.6s 15.6s ⚠️ +3ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.2 kB 68.2 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 945 B 945 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.6 kB 3.6 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.4 kB 57.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.3 kB 87.3 kB -1 B
Serverless pages/index Size 321 kB 321 kB
Serverless pages/index gzip Size 85.4 kB 85.4 kB ⚠️ +1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85.2 kB 85.2 kB
Serverless pages/routerDirect Size 321 kB 321 kB
Serverless pages/routerDirect gzip Size 85.5 kB 85.5 kB
Serverless pages/withRouter Size 321 kB 321 kB
Serverless pages/withRouter gzip Size 85.6 kB 85.6 kB -1 B
Build Dir Size 2.19 MB 2.19 MB

ijjk and others added some commits Apr 24, 2019

Use resolve instead of find-up to find
typescript location
@github-actions

This comment has been minimized.

Copy link

commented Apr 24, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.2s 13s -258ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.2 kB 68.2 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 945 B 945 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.6 kB 3.6 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.4 kB 57.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 626 kB 626 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15s 15s -60ms
node_modules Size 39.6 MB 39.9 MB ⚠️ +342 kB
Total Bundle (main, webpack, commons) Size 207 kB 207 kB
Total Bundle (main, webpack, commons) gzip Size 68.2 kB 68.2 kB
Client _app Size 2.2 kB 2.2 kB
Client _app gzip Size 945 B 945 B
Client _error Size 14.2 kB 14.2 kB
Client _error gzip Size 5.41 kB 5.41 kB
Client pages/index Size 298 B 298 B
Client pages/index gzip Size 235 B 235 B
Client pages/link Size 3.6 kB 3.6 kB
Client pages/link gzip Size 1.62 kB 1.62 kB
Client pages/routerDirect Size 426 B 426 B
Client pages/routerDirect gzip Size 304 B 304 B
Client pages/withRouter Size 408 B 408 B
Client pages/withRouter gzip Size 293 B 293 B
Client main Size 28 kB 28 kB
Client main gzip Size 9.65 kB 9.65 kB
Client commons Size 177 kB 177 kB
Client commons gzip Size 57.4 kB 57.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 774 B 774 B
Serverless pages/link Size 326 kB 326 kB
Serverless pages/link gzip Size 87.3 kB 87.3 kB ⚠️ +2 B
Serverless pages/index Size 321 kB 321 kB
Serverless pages/index gzip Size 85.4 kB 85.4 kB ⚠️ +1 B
Serverless pages/_error Size 321 kB 321 kB
Serverless pages/_error gzip Size 85.2 kB 85.2 kB ⚠️ +1 B
Serverless pages/routerDirect Size 321 kB 321 kB
Serverless pages/routerDirect gzip Size 85.5 kB 85.5 kB ⚠️ +1 B
Serverless pages/withRouter Size 321 kB 321 kB
Serverless pages/withRouter gzip Size 85.6 kB 85.6 kB ⚠️ +1 B
Build Dir Size 2.19 MB 2.19 MB

Timer added some commits May 8, 2019

@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.2s 16.4s ⚠️ +260ms
node_modules Size 39.9 MB 40 MB ⚠️ +13.8 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 17.3s 17.3s ⚠️ +3ms
node_modules Size 39.9 MB 40 MB ⚠️ +13.8 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB -3 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB -1 B
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB -1 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.4 kB 86.3 kB -1 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB -1 B
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15.5s 14.7s -760ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.2 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.1s 16.2s ⚠️ +61ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.2 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB ⚠️ +1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.11 kB 3.12 kB ⚠️ +1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB ⚠️ +1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB ⚠️ +2 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB ⚠️ +4 B
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.5s 13.5s -981ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15.1s 15.5s ⚠️ +452ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB ⚠️ +1 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB
Build Dir Size 2.37 MB 2.37 MB

Timer added some commits May 8, 2019

@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.7s 14.8s ⚠️ +103ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.4s 15.7s -719ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB ⚠️ +2 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB -2 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15s 15s -50ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.1s 16.3s ⚠️ +253ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB -1 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB ⚠️ +2 B
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB ⚠️ +3 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.3s 14.3s -8ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15.7s 15.2s -453ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 9, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.4s 14.4s -32ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15.6s 15.7s ⚠️ +62ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB -2 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB -1 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB -3 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB -2 B
Build Dir Size 2.37 MB 2.37 MB

@ijjk ijjk force-pushed the ijjk:add/fork-ts-checker branch from d11fe33 to 5a2aa2a May 9, 2019

@github-actions

This comment has been minimized.

Copy link

commented May 9, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 13.8s 13.9s ⚠️ +32ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 14.7s 15.3s ⚠️ +557ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB ⚠️ +1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.11 kB 3.12 kB ⚠️ +1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB ⚠️ +1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB ⚠️ +2 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB -1 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB ⚠️ +3 B
Build Dir Size 2.37 MB 2.37 MB

@ijjk ijjk force-pushed the ijjk:add/fork-ts-checker branch from 5a2aa2a to 9980f83 May 9, 2019

@github-actions

This comment has been minimized.

Copy link

commented May 9, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 15s 14.5s -473ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.3s 16.2s -116ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB -1 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB -1 B
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB -2 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB -2 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB -2 B
Build Dir Size 2.37 MB 2.37 MB
@github-actions

This comment has been minimized.

Copy link

commented May 9, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 16.2s 16.8s ⚠️ +589ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/fork-ts-checker Change
Build Duration 17.4s 16.7s -714ms
node_modules Size 39.9 MB 40 MB ⚠️ +14.3 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB 342 kB
Serverless pages/link gzip Size 88.7 kB 88.7 kB -3 B
Serverless pages/index Size 333 kB 333 kB
Serverless pages/index gzip Size 86.3 kB 86.3 kB -1 B
Serverless pages/_error Size 334 kB 334 kB
Serverless pages/_error gzip Size 86.1 kB 86.1 kB -1 B
Serverless pages/routerDirect Size 333 kB 333 kB
Serverless pages/routerDirect gzip Size 86.3 kB 86.3 kB ⚠️ +1 B
Serverless pages/withRouter Size 333 kB 333 kB
Serverless pages/withRouter gzip Size 86.4 kB 86.4 kB -3 B
Build Dir Size 2.37 MB 2.37 MB
@Timer

Timer approved these changes May 9, 2019

@ijjk ijjk merged commit 0eab07b into zeit:canary May 9, 2019

5 checks passed

ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.1%) to 48.997%
Details
zeit.next.js #20190509.4 succeeded
Details

TypeScript automation moved this from In progress to Done May 9, 2019

@ijjk ijjk deleted the ijjk:add/fork-ts-checker branch May 9, 2019

@azizhk

This comment has been minimized.

Copy link
Contributor

commented Jul 9, 2019

Hi @ijjk, Just upgraded to next v9 and am unable to use next with ts-node now. I'm not sure if I should create an issue (as ts-node not officially supported) but was wondering if there is a way to disable modifying isolatedModules. Babel needs it but ignores its value is not true.

I have a custom server setup also written in typescript run using ts-node
So I would do something like

node -r esm -r ts-node/register -r tsconfig-paths/register --inspect server.ts

But now when I run my server, on first run it starts, then next modifies my tsconfig to set isolatedModules to true. Then on second run ts-node says that it requires isolatedModules to be set to true.

@Timer

This comment has been minimized.

Copy link
Member

commented Jul 9, 2019

@azizhk are you sure you still need a custom server in v9?

Regardless, you need to create a separate tsconfig.server.json and specify ts-node to use that version: ts-node --project tsconfig.server.json. See ts-node's documentation.

@azizhk

This comment has been minimized.

Copy link
Contributor

commented Jul 9, 2019

Thanks @Timer, that worked.

are you sure you still need a custom server in v9?

Yeah I am serving a few APIs as well from the same server, hence need it. Will split it up soon and try to get out of it.

Regardless, you need to create a separate tsconfig.server.json and specify ts-node to use that version: ts-node --project tsconfig.server.json. See ts-node's documentation.

Should we be documenting this under the custom server or Typescript section?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.