Commit graph

311 commits

Author SHA1 Message Date
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
Tim Neutkens
ee0081356d v9.3.2 2020-03-26 20:11:41 +01:00
Joe Haddad
dd4cee7245
v9.3.2-canary.9 2020-03-26 15:00:03 -04:00
Joe Haddad
ee249ee6cd
v9.3.2-canary.8 2020-03-26 13:18:16 -04:00
Tim Neutkens
e83cd4aa96 v9.3.2-canary.7 2020-03-26 14:13:54 +01:00
JJ Kasper
d8155b22ff
Add initial support for new env handling (#10525)
* Add initial support for new env config file

* Fix serverless processEnv call when no env is provided

* Add missing await for test method

* Update env config to .env.json and add dotenv loading

* ncc dotenv package

* Update type

* Update with new discussed behavior removing .env.json

* Update hot-reloader createEntrypoints

* Make sure .env is loaded before next.config.js

* Add tests for all separate .env files

* Remove comments

* Add override tests

* Add test for overriding env vars based on local environment

* Add support for .env.test

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Use chalk for env loaded message

* Remove constant as it’s not needed

* Update test

* Update errsh, taskr, and CNA template ignores

* Make sure to only consider undefined missing

* Remove old .env ignore

* Update to not populate process.env with loaded env

* Add experimental flag and add loading of global env values

Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-26 13:32:41 +01:00
Joe Haddad
aac2e3e2db
v9.3.2-canary.6 2020-03-25 15:02:15 -04:00
Joe Haddad
e7842aff23
v9.3.2-canary.5 2020-03-24 22:19:47 -04:00
Tim Neutkens
55186cabd6 v9.3.2-canary.4 2020-03-24 12:40:29 +01:00
Joe Haddad
130733129d
v9.3.2-canary.3 2020-03-23 18:46:48 -04:00
Joe Haddad
c68de947a4
v9.3.2-canary.2 2020-03-23 11:20:28 -04:00
Tim Neutkens
f25f9b8753 v9.3.2-canary.1 2020-03-20 13:07:04 +01:00
Joe Haddad
bf93ca4af6
v9.3.2-canary.0 2020-03-18 13:00:25 -04:00