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
Leo Lamprecht
dab9978ba6
No need to exit here
8 years ago
Leo Lamprecht
d1ce432c65
Normalize deployment URLs before removing
This closes #299
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
Tim Neutkens
2289a23054
Improve dns example ( #283 )
8 years ago
Leo Lamprecht
cc338d4039
Only show update notification if one is available
8 years ago
Jarmo Isotalo
e71cdb8440
Log erros and stacktraces ( #276 )
8 years ago
Leo Lamprecht
f3b2324039
Link changelog for new update
8 years ago
Leo Lamprecht
1304f9b916
Custom message for update
8 years ago
Olli Vanhoja
213d9080b9
Improved domain verification ( #270 )
New domains are no longer allowed as unverified, that allows us to
simplify `now alias` command a bit.
8 years ago
Leo Lamprecht
516ad204c0
Only show update message in production
8 years ago
Leo Lamprecht
add7bcfbea
Require `--alias` for all existing kinds of automatic aliasing
8 years ago
Leo Lamprecht
7ccb4de336
New name for `alias` property
8 years ago
Leo Lamprecht
fb03bd6c21
Allow the `alias` field to be an array
8 years ago
Leo Lamprecht
bde79dbab8
NPM => npm
8 years ago
Leo Lamprecht
6c5c8cb93d
Don't generate sourcemaps when transpiling
8 years ago
Matheus Fernandes
c31c926aac
Pass a Windows-aware Regex to `async-to-gen/register`
8 years ago
Matheus Fernandes
3269d4203b
Only transform our code with `async-to-gen/register` ( #254 )
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
Olli Vanhoja
311abf3d2f
now-rm: Don't show URL for incomplete deployments ( #221 )
Fixes this:
> The following deployment will be removed permanently:
XXXXXXXXXXXXXXXXXXXXXXXX https://null 21d ago
8 years ago
Leo Lamprecht
5c1b239ca6
Prevent pkg from throwing a warning
8 years ago
Leo Lamprecht
59734bf31b
MOAR comments
8 years ago
Leo Lamprecht
b997c71dd4
Contextual newlines added
8 years ago
Leo Lamprecht
2fa62da2d8
Don't ignore modules directory when transpiling
8 years ago
Leo Lamprecht
03708278df
Load sub commands using extensions
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
Leo Lamprecht
d01bf29690
Check for update using a package
8 years ago
Leo Lamprecht
06fad401bf
Removed unused code
8 years ago
Leo Lamprecht
6186c8b06b
Start JS syntax right on top
8 years ago
Leo Lamprecht
18d0963ad4
Added a missing newline before checking support of async/await
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
1652fd01a1
Add auto-renew column to `now certs ls` ( #195 )
8 years ago
Olli Vanhoja
1c7a13fe68
Add an option to copy symlinks ( #191 )
8 years ago
Olli Vanhoja
02b0a9e2d3
Add TXT record type to `now dns --help` ( #190 )
TXT record support was recently added to now.
8 years ago
Leo Lamprecht
8698bd694f
Removed unnecessary semicolon
8 years ago
Olli Vanhoja
14d861e6d1
Show an appropriate message for incomplete deployments ( #185 )
If syncing files fails or the user just happens to run `now ls`
before the deployment is ready `https://null ` is shown as an URL
to the deployment. Instead of showing `null` we could show
something nice.
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