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
Tim Neutkens
5713bcbb6c
v9.3.5-canary.10
2020-04-14 11:35:38 +02:00
matamatanot
7dbdf1d89e
Remove update-check.d.ts ( #11858 )
...
Co-authored-by: matamatanot <matamatanot@gmail.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-13 14:47:01 -04:00
matamatanot
e686545c0d
Update @types in create-next-app ( #11815 )
...
* remove self made types
* add types
Co-authored-by: matamatanot <matamatanot@gmail.com>
2020-04-13 13:06:19 -04:00
JJ Kasper
2594bb93ab
v9.3.5-canary.9
2020-04-13 11:26:11 -05:00
Tim Neutkens
099ea8b932
v9.3.5-canary.8
2020-04-11 12:45:39 +02:00
JJ Kasper
46ecb00112
v9.3.5-canary.7
2020-04-10 18:12:02 -05:00
Joe Haddad
13cf97055f
v9.3.5-canary.6
2020-04-09 10:24:02 -04:00
Joe Haddad
43a8e57b3e
v9.3.5-canary.5
2020-04-07 13:38:48 -04:00
Dylan Brookes
bc7d18367b
Confirm if user wants example when creating app ( #10543 )
...
* Confirm if user wants example when creating app
* Only ask user to choose example if they provide --example flag
* Simplify the search
* Added test
* Use a select to pick the template
* Updated test
* check for lowercase and updated no example message
* Add message if no template is selected
* Updated tests
* Handle error if fetching the examples fails
* Fixed tests
* Updated test timeout
* Update examples.ts
Co-authored-by: merelinguist <merelinguist@users.noreply.github.com>
Co-authored-by: Luis Alvarez <luis@zeit.co>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 13:11:29 -04:00
matamatanot
1f15072e99
Update got in create-next-app ( #11725 )
...
Co-authored-by: “kosuke_matano” <kosuke_matano@cyberagent.co.jp>
2020-04-07 09:24:57 -04:00
JJ Kasper
43b9f8fbfe
v9.3.5-canary.4
2020-04-06 14:24:16 -05:00
matamatanot
c89ddc97e2
Remove node-promisepipe
library ( #11700 )
...
* remove promisepipe
* commit yarn.lock
Co-authored-by: “kosuke_matano” <kosuke_matano@cyberagent.co.jp>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-06 10:46:04 -04:00
Brandon Duffany
1fbd20dc37
Allow top-level GitHub repo URLs as examples ( #11691 )
...
* Support top-level GitHub repo URLs
Adds support for top-level GitHub repo URLs, e.g.
https://github.com/username/my-cool-next-example .
This is already possible, but you have to enter "/tree/master" (or the
desired branch name) after the repo URL.
The change itself simply expands that URL to
https://github.com/username/cool-next-example/tree/$DEFAULT_BRANCH_NAME
where DEFAULT_BRANCH_NAME is the default branch configured for the repo
in GitHub.
* Fix formatting issues
2020-04-06 15:57:19 +02:00
Tim Neutkens
69984de796
v9.3.5-canary.3
2020-04-06 11:51:39 +02:00
Shu Uesugi
7b0802eb40
Use function for function components ( #11695 )
2020-04-06 10:44:40 +02:00
Sriram Thiagarajan
eec18ecafe
[create-next-app] update logic for shouldUseYarn function ( #11683 )
...
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-06 09:32:20 +02:00
JJ Kasper
9baa103bb8
v9.3.5-canary.2
2020-04-04 12:39:57 -05:00
Joe Haddad
ed1aba0dbb
v9.3.5-canary.1
2020-04-03 13:18:26 -04:00
JJ Kasper
ef1bfc962b
v9.3.5-canary.0
2020-04-02 10:12:50 -05:00
Tim Neutkens
8c899ee5e4
v9.3.4
2020-04-01 16:05:04 +02:00
Tim Neutkens
e000d843b2
v9.3.4-canary.4
2020-04-01 16:04:03 +02:00
Tim Neutkens
a99244402e
v9.3.4-canary.3
2020-04-01 12:14:38 +02:00
JJ Kasper
f9cd7c581f
v9.3.4-canary.2
2020-03-31 14:30:10 -05:00
Joe Haddad
0bfc0b3f18
v9.3.4-canary.1
2020-03-30 16:29:38 -04:00
Joe Haddad
7038d275d0
v9.3.4-canary.0
2020-03-30 13:04:48 -04:00
Joe Haddad
b5d8660ef3
v9.3.3
2020-03-30 10:00:26 -04:00
Tim Neutkens
ac223e2761
v9.3.3-canary.0
2020-03-30 14:21:05 +02:00