Commit graph

550 commits

Author SHA1 Message Date
Tim Neutkens
668cc6a6f1 v9.5.2-canary.4 2020-08-04 12:35:24 +02:00
Joe Haddad
8285df5ed2
v9.5.2-canary.3 2020-08-04 00:08:28 -04:00
Joe Haddad
ed0a47b110
v9.5.2-canary.2 2020-08-03 01:47:42 -04:00
Joe Haddad
6366727550
v9.5.2-canary.1 2020-07-31 13:31:49 -04:00
Joe Haddad
6a48e3de60
v9.5.2-canary.0 2020-07-29 23:53:24 -04:00
Joe Haddad
6b0c4948f0
v9.5.1 2020-07-29 23:11:48 -04:00
Joe Haddad
662d84b95b
v9.5.1-canary.3 2020-07-29 22:36:18 -04:00
Joe Haddad
b748b5a443
v9.5.1-canary.2 2020-07-29 13:18:18 -04:00
JJ Kasper
1a0cdbeacb
v9.5.1-canary.1 2020-07-29 09:58:32 -05:00
Tim Neutkens
4730a1061d v9.5.1-canary.0 2020-07-28 14:08:23 +02:00
Tim Neutkens
d33dbea8dc v9.5.0 2020-07-27 16:55:16 +02:00
Joe Haddad
1ee151640e
v9.4.5-canary.45 2020-07-27 01:59:19 -04:00
Joe Haddad
3accce37a7
v9.4.5-canary.44 2020-07-27 00:23:23 -04:00
Luis Alvarez D
681ebfa5cb
Fix lint (#15449) 2020-07-23 21:10:41 -05:00
Mehedi Hassan
00ebce5553
More helpful README (#14830)
* More helpful README

Updated to include more details about Next.js, link to the interactive tutorial, showcase, etc. Content mostly based on the official Next.js site.

* create-next-app readme

An updated readme with more details on options, benefits, etc.

* Apply edits from code review

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

* Remove redundant intro

* Update packages/create-next-app/README.md

* Remove introduction and list in showcase

* Apply suggestions from code review

* Update packages/next/README.md

Co-authored-by: Luis Alvarez D. <luis@vercel.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-07-23 20:56:32 -05:00
Joe Haddad
53a3ffea25
v9.4.5-canary.43 2020-07-22 02:20:02 -04:00
Joe Haddad
0866ce3f5c
v9.4.5-canary.42 2020-07-20 16:19:48 -04:00
Joe Haddad
a45def87a2
v9.4.5-canary.41 2020-07-20 13:00:54 -04:00
Tim Neutkens
047b73b824 v9.4.5-canary.40 2020-07-20 17:39:41 +02:00
Joe Haddad
42014a49af
v9.4.5-canary.39 2020-07-19 22:20:41 -04:00
Joe Haddad
b1cfa51b47
v9.4.5-canary.38 2020-07-19 01:53:53 -04:00
Steven
ebdfa2e7a3
[create-next-app] Add engines to package.json (#15282)
This matches Next.js engines https://github.com/vercel/next.js/blob/canary/packages/next/package.json#L212-L214
2020-07-18 04:22:34 +00:00
Tim Neutkens
569a289c84 v9.4.5-canary.37 2020-07-17 11:08:33 +02:00
Tanmay Laud
f00ad581a1
Added .gitignore to examples that are deployed to vercel (#15127)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-07-16 10:52:23 -04:00
Joe Haddad
2ffe46605d
v9.4.5-canary.36 2020-07-16 10:50:28 -04:00
Joe Haddad
b9f4bdfde3
v9.4.5-canary.35 2020-07-15 21:41:55 -04:00
Joe Haddad
ac7bee1589
v9.4.5-canary.34 2020-07-15 01:29:42 -04:00
Joe Haddad
29dfaf9c7b
v9.4.5-canary.33 2020-07-14 14:59:19 -04:00
Joe Haddad
a8b2a8e617
v9.4.5-canary.32 2020-07-13 15:40:57 -04:00
Cristian Dominguez
f4f6fea71f
CNA: replace make-dir with core recursive mkdir (#15006)
Fix #14902 

I created a separated helper that wraps `fs.promises.mkdir` and sets `recursive` option to `true` by default.

I'm not sure if this is the right approach (maybe it should just call `fs.promises.mkdir` from `create-app.ts`?), any thoughts?
2020-07-10 01:29:03 +00:00
Cristian Dominguez
887d436043
Use HEAD req for isUrlOk check (#14994)
Co-authored-by: Cristian Dominguez <cristiand391@users.noreply.github.com>
2020-07-09 11:52:49 -04:00
Tim Neutkens
096c9a33d2 v9.4.5-canary.31 2020-07-09 16:32:24 +02:00
JJ Kasper
62902545df
v9.4.5-canary.30 2020-07-08 14:51:37 -05:00
Joe Haddad
85057e5417
v9.4.5-canary.29 2020-07-07 02:11:43 -04:00
Tim Neutkens
eecc73702b v9.4.5-canary.28 2020-07-03 13:31:38 +02:00
Tim Neutkens
9e83ba8cf6 v9.4.5-canary.27 2020-07-01 20:49:52 +02:00
JJ Kasper
4a107b6994
v9.4.5-canary.26 2020-06-30 17:21:24 -05:00
Joe Haddad
cbb1c5c755
v9.4.5-canary.25 2020-06-30 11:54:20 -04:00
Joe Haddad
af901f4366
v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
JJ Kasper
f12a9f92f8
v9.4.5-canary.23 2020-06-29 10:45:40 -05:00
Tim Neutkens
479c38d3b7 v9.4.5-canary.22 2020-06-27 20:39:52 +02:00
Tim Neutkens
3909c76cef v9.4.5-canary.21 2020-06-27 13:11:08 +02:00
Tim Neutkens
8393869912 v9.4.5-canary.20 2020-06-26 12:05:38 +02:00
JJ Kasper
3b12dbf488
v9.4.5-canary.19 2020-06-25 15:13:12 -05:00
JJ Kasper
15367829de
v9.4.5-canary.18 2020-06-23 16:04:34 -05:00
Tim Neutkens
23db226ea5 v9.4.5-canary.17 2020-06-23 13:39:18 +02:00
Tim Neutkens
1f125f8a7e v9.4.5-canary.16 2020-06-22 23:20:11 +02:00
Joe Haddad
6ab0724916
v9.4.5-canary.15 2020-06-22 10:14:07 -04:00
Tim Neutkens
ee1cf6f8c4 v9.4.5-canary.14 2020-06-21 11:20:23 +02:00
stefanprobst
279ae19c7e
docs: update links to docs site (#14305)
this updates some links to the docs site to their new location
2020-06-18 09:54:07 +00:00
Joe Haddad
11753dd27f
v9.4.5-canary.13 2020-06-17 09:37:56 -04:00
Tim Neutkens
60d1ed2ee5 v9.4.5-canary.12 2020-06-12 11:11:17 +02:00
Joe Haddad
c2c0e6d677
v9.4.5-canary.11 2020-06-11 10:41:38 -04:00
Tim Neutkens
90638c7001 v9.4.5-canary.10 2020-06-11 10:57:59 +02:00
Mohamed SADAT
aacfa79ddf
feat(create-next-app): Use CSS and CSS modules in default application template (#13983)
Hello 👋

This PR is to replace styled-jsx by Global CSS and CSS modules in the default Next.js template according to the issue [#13965](https://github.com/vercel/next.js/issues/13965) opened by @Timer
2020-06-10 21:25:27 +00:00
Joe Haddad
54ac432390
v9.4.5-canary.9 2020-06-10 00:51:04 -04:00
James Mosier
d51fef5fc9
chore(create-next-app): remove example picker (#13977)
If a user does not specify `--example` when using create-next-app then just spin up the default template and only prompt them for the name of their project.

if a user does specify `--example` (with no string after it) then show them the example picker. 

Closes #13960
2020-06-10 03:14:24 +00:00
Joe Haddad
72ddfeb6a1
v9.4.5-canary.8 2020-06-08 14:12:17 -04:00
Joe Haddad
4a12fb0a5f
Normalize example gitignores (#13768)
This removes a bunch of unnecessary `.gitignore`s and fixes some CMS examples that don't ignore `node_modules` etc.
2020-06-04 20:39:52 +00:00
Joe Haddad
ca4de3e7e8
v9.4.5-canary.7 2020-06-02 22:06:20 -04:00
Joe Haddad
4dd5616af2
v9.4.5-canary.6 2020-06-02 13:36:40 -04:00
Joe Haddad
9ce4655fee
v9.4.5-canary.5 2020-06-01 19:20:19 -04:00
Tim Neutkens
b124ed2e14
Added no-shadow rule to eslint (#13645)
Was going through _document and noticed some variable shadowing going on. Added a rule for it to our eslint configuration and went through all warnings with @Timer.
2020-06-01 21:00:22 +00:00
Shu Uesugi
1f49400a32
Remove unnecessary catch (#13639)
This undoes https://github.com/vercel/next.js/pull/13138 as the rename is done.
2020-06-01 19:27:05 +00:00
Joe Haddad
9dede1011a
v9.4.5-canary.4 2020-06-01 10:08:35 -04:00
Tim Neutkens
6a993d5972 v9.4.5-canary.3 2020-05-29 17:58:45 +02:00
Tim Neutkens
619493a9be v9.4.5-canary.2 2020-05-29 10:20:37 +02:00
Joe Haddad
a62aadddab
v9.4.5-canary.1 2020-05-29 00:47:33 -04:00
Tim Neutkens
ad145d347f v9.4.5-canary.0 2020-05-28 13:56:34 +02:00
Joe Haddad
bee8c31b87
Lint for invalid imports (#13482)
This adds a lint rule to ensure we don't import dev dependencies by accident.
2020-05-28 08:23:10 +00:00
Joe Haddad
e6eb32f676
v9.4.4 2020-05-28 00:07:27 -04:00
Joe Haddad
b37d2f1267
v9.4.4-canary.0 2020-05-27 23:44:36 -04:00
Joe Haddad
96c3b08701
v9.4.3 2020-05-27 22:17:56 -04:00
Joe Haddad
e7922873ba
v9.4.3-canary.3 2020-05-27 21:25:18 -04:00
Joe Haddad
b7e17e09e5
Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
JJ Kasper
61ace6ca03
v9.4.3-canary.2 2020-05-27 12:05:08 -05:00
Joe Haddad
202be4ceb8
v9.4.3-canary.1 2020-05-26 23:25:53 -04:00
Marco Moretti
b3e45fab5e
feat(cli): use default template when GH is offline (#12194)
fix #12136 

I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯
2020-05-26 16:39:18 +00:00
Joe Haddad
89bc74909b
v9.4.3-canary.0 2020-05-23 21:52:57 -04:00
James Mosier
846ec74013
Special case default template in CNA (#12109)
This addresses #11910 in which `-e default` was not working because there was no example with the name `default`. This PR checks if a user inputted `default` as the example argument for `create-next-app` and if so it will use the local `default` template in the create-next-app directory.

Closes #11910
2020-05-23 22:50:31 +00:00
Joe Haddad
91b1548d32
v9.4.2 2020-05-20 15:32:29 -04:00
Joe Haddad
05a12cb742
v9.4.2-canary.5 2020-05-20 14:48:52 -04:00
JJ Kasper
b325f15e61
Update Create Next App to handle rename of org (#13138)
* Update Create Next App to handle rename

* Rethrow if we dont handle the error
2020-05-20 11:52:32 -05:00
Joe Haddad
5703362d77
v9.4.2-canary.4 2020-05-20 12:00:01 -04:00
Joe Haddad
d0d59782f5
v9.4.2-canary.3 2020-05-19 08:47:23 -04:00
Joe Haddad
53a2cebdf6
v9.4.2-canary.2 2020-05-18 23:23:08 -04:00
Joe Haddad
86160a5190
Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
Joe Haddad
2b58755027
v9.4.2-canary.1 2020-05-18 09:48:48 -04:00
Joe Haddad
da1e2b32fb
v9.4.2-canary.0 2020-05-18 08:56:28 -04:00
Joe Haddad
ca372a9500
v9.4.1 2020-05-16 18:14:00 -04:00
Joe Haddad
d5d9013795
v9.4.1-canary.9 2020-05-16 17:53:08 -04:00
Joe Haddad
01211ba21d
v9.4.1-canary.8 2020-05-16 17:15:27 -04:00
Joe Haddad
fc927a2a7f
v9.4.1-canary.7 2020-05-15 17:17:10 -04:00
JJ Kasper
1872219959
v9.4.1-canary.6 2020-05-15 14:04:04 -05:00
Joe Haddad
99766ca9e2
v9.4.1-canary.5 2020-05-15 08:50:03 -04:00
Joe Haddad
fddf00c56f
v9.4.1-canary.4 2020-05-14 12:16:04 -04:00
Joe Haddad
b48eb89d08
v9.4.1-canary.3 2020-05-13 17:25:01 -04:00
Tim Neutkens
efa763e924 v9.4.1-canary.2 2020-05-13 13:34:53 +02:00
Joe Haddad
bfed6d8dd1
v9.4.1-canary.1 2020-05-12 19:39:52 -04:00
Joe Haddad
87e096eb5b
v9.4.1-canary.0 2020-05-11 19:40:55 -04:00
Joe Haddad
6d1167eed6
v9.4.0 2020-05-11 10:47:34 -04:00
Joe Haddad
f9e24ab54c
v9.3.7-canary.21 2020-05-11 10:24:14 -04:00
Joe Haddad
0900d57359
v9.3.7-canary.20 2020-05-11 02:03:32 -04:00
Joe Haddad
565e111cb0
v9.3.7-canary.19 2020-05-10 20:49:17 -04:00
Maxi Gimenez
ce830af202
chore(create-next-app): add missing types (#12691) 2020-05-10 17:51:47 -04:00
Maxi Gimenez
cf0b1d9472
chore(create-next-app): add missing return types on helpers (#12616)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-10 12:55:46 +02:00
Tim Neutkens
61599b8598 v9.3.7-canary.18 2020-05-10 12:06:09 +02:00
Joe Haddad
80f1194421
v9.3.7-canary.17 2020-05-09 18:43:31 -04:00
Simon Knott
be02fe183f
Allow @babel/preset-typescript to be configured (#11840)
* Allow `@babel/preset-typescript` to be configured

Some usages, e.g. [getting parameter decorators to work properly](https://github.com/WarnerHooh/babel-plugin-parameter-decorator/pull/19), require configuring `@babel/preset-typescript`.

This commit adds that functionality to `next/babel`.

* Add unit test for babel/preset allowing to pass options to @babel/preset-typescript

* Add integration test for onlyRemoveTypeImports

* Update babel dependencies

* Update to compatible typescript version and fix types

* Fix linting and run pre-nccing

* Update size-limit test

* Add additional tests

* Re-Apply delta to be calculated using -262

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-09 17:12:02 +02:00
Joe Haddad
7a02581159
v9.3.7-canary.16 2020-05-08 10:29:37 -04:00
Joe Haddad
8d024554a7
v9.3.7-canary.15 2020-05-08 01:00:00 -04:00
Joe Haddad
9c1c551eeb
v9.3.7-canary.14 2020-05-07 01:36:27 -04:00
Joe Haddad
a795e48be1
v9.3.7-canary.13 2020-05-07 00:51:18 -04:00
Joe Haddad
177b016e76
v9.3.7-canary.12 2020-05-06 01:05:24 -04:00
Joe Haddad
8fd7338f77
v9.3.7-canary.11 2020-05-05 12:01:06 -04:00
Joe Haddad
ed86e2d10b
v9.3.7-canary.10 2020-05-04 17:27:30 -04:00
Joe Haddad
11404551f3
v9.3.7-canary.9 2020-05-03 21:56:50 -04:00
Joe Haddad
2906c8e9e5
v9.3.7-canary.8 2020-05-03 21:44:53 -04:00
Joe Haddad
d00445090e
v9.3.7-canary.7 2020-05-03 20:22:43 -04:00
Joe Haddad
8cf61bf23e
v9.3.7-canary.6 2020-05-02 01:59:59 -04:00
Joe Haddad
922b0ecc9b
v9.3.7-canary.5 2020-05-01 23:44:52 -04:00
Joe Haddad
84cf6aad2a
v9.3.7-canary.4 2020-04-30 13:27:28 -04:00
Joe Haddad
0ffeca26f6
v9.3.7-canary.3 2020-04-30 11:40:14 -04:00
Tim Neutkens
20b62de8d7 v9.3.7-canary.2 2020-04-30 16:51:26 +02:00
Tim Neutkens
0710b6b84a v9.3.7-canary.1 2020-04-30 11:30:29 +02:00
Tim Neutkens
61acc194ac v9.3.7-canary.0 2020-04-29 11:25:31 +02:00
Tim Neutkens
e6424fefaf v9.3.6 2020-04-28 11:57:59 +02:00
Tim Neutkens
bcd9b77768 v9.3.6-canary.16 2020-04-28 11:52:39 +02:00
Tim Neutkens
e40f8ff5d3 v9.3.6-canary.15 2020-04-28 10:16:33 +02:00
Joe Haddad
f0809316ee
v9.3.6-canary.14 2020-04-27 10:35:30 -04:00
Tim Neutkens
04f3d94b30 v9.3.6-canary.13 2020-04-27 12:03:17 +02:00
Joe Haddad
718d6a4274
v9.3.6-canary.12 2020-04-26 15:17:39 -04:00
Joe Haddad
2a3e0772fb
v9.3.6-canary.11 2020-04-24 18:01:23 -04:00
Tim Neutkens
970dadc862 v9.3.6-canary.10 2020-04-24 15:51:45 +02:00
Joe Haddad
ad16b8c823
v9.3.6-canary.9 2020-04-22 00:11:37 -04:00
Joe Haddad
c14ec9cf51
v9.3.6-canary.8 2020-04-21 17:37:03 -04:00
Tim Neutkens
c60511c76d v9.3.6-canary.7 2020-04-21 11:47:45 +02:00
Tim Neutkens
483bd3ddda
Rename ZEIT to Vercel (#12075)
* Find/replace

* Update more URLs

* More rename

* Fix remaining examples

* More updates

* Update create-next-app

* Update remaining text

* Update

Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-04-21 11:47:12 +02:00
JJ Kasper
16e7871066
v9.3.6-canary.6 2020-04-20 20:02:00 -05:00
Joe Haddad
544654989f
v9.3.6-canary.5 2020-04-20 01:31:23 -04:00
Joe Haddad
86236bc76b
v9.3.6-canary.4 2020-04-19 03:05:13 -04:00
JJ Kasper
28ca0a7086
Add API route to default CNA template (#11981) 2020-04-17 16:28:58 -05:00
Joe Haddad
2ef814a274
v9.3.6-canary.3 2020-04-17 15:26:31 -04:00
Tim Neutkens
e0d4ae0447 v9.3.6-canary.2 2020-04-17 11:24:55 +02:00
Tim Neutkens
5d0932ce25 v9.3.6-canary.1 2020-04-16 13:44:51 +02:00
Joe Haddad
92dac59630
v9.3.6-canary.0 2020-04-15 02:48:57 -04:00
Joe Haddad
c0724cac82
v9.3.5 2020-04-14 23:24:53 -04:00
Joe Haddad
df1e54877c
v9.3.5-canary.13 2020-04-14 19:39:12 -04:00
Joe Haddad
682120b732
v9.3.5-canary.12 2020-04-14 19:16:15 -04:00
Joe Haddad
d1b987f524
v9.3.5-canary.11 2020-04-14 10:49:42 -04:00