Leo Lamprecht
5e5ac5dab9
Corrected position of exit import
8 years ago
tim neutkens
8c8db8ecf8
Allow dotenv option in now.json
8 years ago
tim neutkens
de8470fe02
Move duplicated code into utils module
8 years ago
Leo Lamprecht
036205fa44
Removed `--alias` from option list (deprecated)
8 years ago
Leo Lamprecht
8cde1663c5
Re-alias when running `now alias`
8 years ago
Leo Lamprecht
b90aaf4375
Split out mechanism for aliasing into separate file
8 years ago
Leo Lamprecht
8b86db4777
Deprecated `--alias`
8 years ago
Tim Neutkens
4badb34a71
Add --dotenv flag to load .env file ( #284 )
* Add --dotenv flag to load .env file
* Alias -E to --dotenv
* Allow custom .env config file name
* Change 'Will default' to 'Defaults'
8 years ago
Jarmo Isotalo
a6cad020f9
Show build errors ( #286 )
8 years ago
Jarmo Isotalo
e71cdb8440
Log erros and stacktraces ( #276 )
8 years ago
Leo Lamprecht
add7bcfbea
Require `--alias` for all existing kinds of automatic aliasing
8 years ago
Leo Lamprecht
bde79dbab8
NPM => npm
8 years ago
Nathan Rajlich
540caa4db7
fixes for when `nowConfig` is null
8 years ago
Nathan Rajlich
4c9caa420b
initial `now.json` support
8 years ago
Matheus Fernandes
cb8403174b
Make clear that the alias must exist when using `--alias` ( #222 )
8 years ago
Leo Lamprecht
513ecfb7de
Added extensions to binaries
8 years ago
Leo Lamprecht
158bf64ea2
No need to set language type anymore
8 years ago
Leo Lamprecht
9f073ad25c
Use async-to-gen for all Node versions
8 years ago
Jarmo Isotalo
059918e7ee
Remove babel as dependecy ( #209 )
* Remove babel as a dependency
* Migrate from import foo from foo to const foo = require('foo')
* Update module.exports
* Update commander syntax
* Update pkg config and fix stuff
* Make XO happy
* Fix path in tests
* Fix typo
* Fix cleanup
* Debug pkg
* Fix pkg
* Fix process.argv for subcommands
* Run with --harmony-async-await when supported thx igor for help with this trick :D
* Use bash
* Set engines.node in package.json
8 years ago
Luke Childs
efb8da72e7
Allow shorthand aliases with `now --alias` ( #206 )
8 years ago
Luke Morton
afc329a61c
Multiple aliases during deploy ( #202 )
A small superficial change to bin/now-deploy.js so that we can specify one or more aliases whilst deploying.
**Examples**
```
now --alias a.com
now --alias a.com --alias b.com
```
We handle the alias assignment serially so that the CLI output makes sense.
**Some thoughts**
- I’m hoping this PR can close out #172
- Aware this PR likely affects #68
- This is a superficial change, really we should update the lib/alias.js to handle multiple domains
8 years ago
Luke Edwards
f2a4ee0adc
XO Happiness ( #197 )
* Comply to rule 'no-useless-escape'
* Comply to rule 'no-case-declarations'
* Comply to rule 'ava/no-ignored-test-files'
8 years ago
Olli Vanhoja
1c7a13fe68
Add an option to copy symlinks ( #191 )
8 years ago
Leo Lamprecht
84342092cd
Better error message if alias is missing
8 years ago
Leo Lamprecht
09b91e8fbb
Support IDs for auto aliasing
8 years ago
Leo Lamprecht
68a53c67f2
Ability to automatically assign an alias
8 years ago
Leo Lamprecht
2276dfb5d5
Basics for automatically assigning alias
8 years ago
Matheus Fernandes
692bd34ced
Add `dns` entry to the global help ( #164 )
8 years ago
Leo Lamprecht
673b0dcd96
Don't deploy homedir, downloads or desktop
This closes #99
8 years ago
Leo Lamprecht
3f4d419f78
Force new deployment if -n or -p defined
This closes #136
8 years ago
Leo Lamprecht
0db509d0b5
Missing greather-than-sign added
8 years ago
Leo Lamprecht
25fef39f1a
Ability to set name
This closes #150
8 years ago
Leo Lamprecht
1154873822
Show proper deploying message
8 years ago
Leo Lamprecht
8028b87531
Tell users that Bitbucket is available
8 years ago
Leo Lamprecht
fd0ff2fbf6
Make code naming for multiple platforms
8 years ago
Leo Lamprecht
b04ab0470b
Show cooler messages when deploying from other platforms
8 years ago
Leo Lamprecht
4a5de7321a
Much stricter repo URL checking
8 years ago
Leo Lamprecht
27b860d6fe
Only show examples related to `now deploy`
8 years ago
Leo Lamprecht
5d5a59d1b1
Make important info bold when error occurs
8 years ago
Leo Lamprecht
5fb53762eb
Show the git reference when deploying
8 years ago
Leo Lamprecht
04d58f2558
Throw error if URL is not valid
8 years ago
Leo Lamprecht
8075ffae4e
Show good looking messages when deploying Git URL
8 years ago
Leo Lamprecht
5d1cce8c1c
Respect git ref in error message
8 years ago
Leo Lamprecht
3e7634159e
Only show message if GH search takes long
8 years ago
Leo Lamprecht
d51a6024c7
Swallow errors, just check if falsy
8 years ago
Leo Lamprecht
c92d4dfb37
Clean up tmp dir for repo in a better way
8 years ago
Leo Lamprecht
fd24ea0c6a
Fixed tests
8 years ago
Leo Lamprecht
b9f9e71b9f
Neat loading animation for looking on GitHub
8 years ago
Leo Lamprecht
fe6bd9b1f2
Forgot to load fs-promise
8 years ago
Leo Lamprecht
43d0b5693a
Remove tmp dir for repo after deployment went ok
8 years ago