Olli Vanhoja
6d83be5f25
Now deploy env fixes ( #105 )
* Fix key and value checks
- key can't be empty string nor undefined or null
- value is always undefined if it's not set
* Fix crash if env key and value are missing when using -e
8 years ago
Jarmo Isotalo
d091240115
If `package.json` or `Dockerfile` is present, assume it's static ( #100 )
deployment
8 years ago
Leo Lamprecht
c5626178ed
Move files into content dir if static
8 years ago
Leo Lamprecht
243d068491
Detect static projects
8 years ago
Leo Lamprecht
fb89e1e2bb
Added enforcable deployment types
8 years ago
Leo Lamprecht
589d2fc72c
Removed static command
8 years ago
Leo Lamprecht
881f382a43
Remove unnecessary statement
8 years ago
Leo Lamprecht
8b56a13221
Deploy cwd if no path defined
8 years ago
Leo Lamprecht
e32bd818e4
Make binaries comply to linting rules
8 years ago
Leo Lamprecht
c67c051699
The binaries are made of JavaScript
8 years ago
Leo Lamprecht
076817309c
Group imports by kind
8 years ago
Leo Lamprecht
fb28ec4ba5
Empty line after binary indicator
8 years ago
Leo Lamprecht
3c7898b760
New line for each flag
8 years ago
Leo Lamprecht
f677786035
Added static sub-command to usage information
8 years ago
Leo Lamprecht
66711afaeb
Capitalize command descriptions
8 years ago
Nathan Rajlich
c2fa7e8565
document `secrets` and `certs` commands ( #168 )
* document `secrets` command in --help
* document `certs` command in --help
8 years ago
Nathan Rajlich
aa66f07cd5
deploy: document --npm and --docker
8 years ago
Jarmo Isotalo
65a7ee7158
Allow env value to contain '='
8 years ago
Guillermo Rauch
dc5a796677
improve error message for not finding a manifest file
8 years ago
Guillermo Rauch
69e23163f4
fix help
8 years ago
Naoyuki Kanezawa
85fc7fc336
fix the initial value of the env option ( #131 )
8 years ago
Guillermo Rauch
bf685a0dde
now-deploy: do not attempt to unescape non-string env values
8 years ago
Guillermo Rauch
a3fe6eda84
Add -e ( #126 )
* implement `-e`
* index: pass along `env` to `/create`
* index: add `listSecrets` method
* secrets: fix api calls
* support for escaping
8 years ago
Guillermo Rauch
cedf4a40bf
support for escaping
8 years ago
Guillermo Rauch
72d2aba201
implement `-e`
8 years ago
Guillermo Rauch
c93d93c9a6
hide secrets for now
8 years ago
Olli Vanhoja
c6f42c36e3
Add --token and --config options
--token=MYTOKEN
--config=/path/to/.now.json
8 years ago
Guillermo Rauch
ba79563416
now-deploy: remove build logger erorr handler
9 years ago
Guillermo Rauch
0523226252
now-deploy: fix `if`
9 years ago
Guillermo Rauch
092d994ec5
initial sketch
9 years ago
Nathan Rajlich
89f50abf4f
add "public" logic to the Now lib client
9 years ago
Nathan Rajlich
98c7b3f84a
deploy: add `--public` option
To create a deployment as "public" (`/_src` route works)
when the user has a "premium" plan.
9 years ago
Guillermo Rauch
39a4435e4b
wow
9 years ago
Guillermo Rauch
a23f147b48
Add support for `Dockerfile` ( #98 )
* add support for `Dockerfile`
* add dockerfile `EXPOSE` validation
9 years ago
Guillermo Rauch
eafc25eefa
shorten path for better UX
9 years ago
Tony Kovanen
264a18732b
Rename to `forwardNpm` and check .now.json for it ( #90 )
9 years ago
Guillermo Rauch
396bd8713f
activate quiet mode when piping
9 years ago
Tony Kovanen
7ab8e0d344
Add cmd line flag to forward NPM auth token
9 years ago
Guillermo Rauch
de932b8643
now-deploy: stay quiet on non-tty
9 years ago
Guillermo Rauch
eb04657b2f
Add zeit world (wip) ( #67 )
* alias: clean up the alias (trailing and leading dots)
* alias: improve domain validation and implement zeit.world
* is-zeit-world: detect valid zeit.world nameservers
* package: add domain-regex dep
* now-alias: fix edge case with older aliases or removed deployments
* alias: move listing aliases and retrying to `index`
* index: generalize retrying and alias listing
* alias: remove `retry` dep
* now-remove: print out alias warning
* typo
* now-alias: prevent double lookup
* now: add domain / domains command
* now-deploy: document `domain`
* agent: allow for tls-less, agent-less requests while testing
* is-zeit-world: fix nameserver typo
* dns: as-promised
* now-alias: fix `rm` table
* now-alias: no longer admit argument after `alias ls`
@rase- please verify this, but I think it was overkill?
* admit "aliases" as an alternative to alias
* make domain name resolution, creation and verification reusable
* index: add nameserver discover, domain setup functions (reused between alias and domains)
* now-domains: add command
* domains: commands
* package: bump eslint
* now-alias: simplify sort
* now-domains: sort list
* now-domains: improve deletion and output of empty elements
* errors: improve output
* domains: add more debug output
* domains: extra logging
* errors: improve logging
* now-remove: improve `now rm` error handling
* index: more reasonable retrying
* alias: support empty dns configurations
* dns: remove ns fn
* alias: improve post-dns-editing verification
* index: remove unneeded dns lookup
* index: implement new `getNameservers`
* index: customizable retries
* alias: improve error
* improve error handling and cert retrying
* customizable retries
* alias: better error handling
* alias: display both error messages
* better error handling
* improve error handling for certificate verification errors
* alias: set up a `*` CNAME to simplify further aliases
* alias: fewer retries for certs, more spaced out (prevent rate limiting issues)
* alias: ultimate error handling
* add whois fallback
* adjust timer labels for whois fallback
* index: whois fallback also upon 500 errors
* alias: fix error message
* fix duplicate aliases declaration
9 years ago
Guillermo Rauch
5a17da1e04
now-deploy: add "initializing" message
9 years ago
Guillermo Rauch
c65a8ad7ce
properly specify minimist options
9 years ago
Guillermo Rauch
83b948f8d6
prevent minimist from parsing an argument as an option value
otherwise:
`now -d /path`
would fail
protip cc @rase- @nkzawa
9 years ago
Guillermo Rauch
7ab2360393
now-deploy: consistency in help
9 years ago
Guillermo Rauch
4e4671d6f3
now-deploy: improve help
9 years ago
Guillermo Rauch
6d1cc81e3c
help columns consistently
9 years ago
Guillermo Rauch
a01ce1076b
fix debug
9 years ago
Guillermo Rauch
19a2e55a90
migrate to api.zeit.co and add warnings support
9 years ago
Guillermo Rauch
9522653e34
now-deploy: simplify help
9 years ago
Tony Kovanen
d7ed912502
Add back help for `now-rm`
9 years ago