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
Cody Zuschlag
50db54fd83
pass flags to subcommands ( #98 )
* rework args parsing
* test args parsing
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
Leo Lamprecht
e16a6eaa30
Tell user that we're looking on GitHub
8 years ago
Leo Lamprecht
6a1837c4af
Make users able to deploy GitHub repos
8 years ago
Leo Lamprecht
04e50b24e4
Basic implementation for GitHub deployments
8 years ago
Leo Lamprecht
2109f12954
More accurate help for DNS cmd
8 years ago
Olli Vanhoja
ca09ec1baa
DNS Management added
8 years ago
Jarmo Isotalo
1fb629da63
Fix regression where setting a single env variable with `-e` failed ( #141 )
8 years ago
Leo Lamprecht
026e2cdf7b
Bumped dependencies
8 years ago
Eric Ferraiuolo
ec76f6b706
Add `now.env` in package.json as env source ( #119 )
This adds package.json as new source for environment variables, which
are merged with `-e` CLI arguments (CLI args take precedence).
With the ability to specify environment variables in package.json,
developers don't need to remember which `-e` arguments to add, and
can simply run `now`.
```json
"now": {
"env": {
"foo": "bar"
}
}
```
The above is the same as running:
```
now -e foo=bar
```
Fixes #116
8 years ago
Olli Vanhoja
129372d161
Certs improvements ( #114 )
* Exit cleanly if a cert entry is not found with getCertIdCn()
* Support creating a new cert entry with user-provide certificate files
8 years ago
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
Remy Sharp
ce32dce2aa
Support `now alias` reading `config.alias` ( #93 )
* feat: support `now alias` reading config.alias
Reads the last deployment and will automatically alias to the package.json's config.alias property
* chore: corrected typo on `console.time`
* fix: use `root/now.alias` over `root/config.alias`
8 years ago
Olli Vanhoja
530a9fb357
Add a flag for skipping DNS verification ( #94 )
Some registrars requires that the DNS records are already setup
before delegating the domain to a nameserver.
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
3979d8472a
Fixed even more XO issues
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
eba64c615e
It's now called 'static', not 'serve'
8 years ago
Leo Lamprecht
cf39f7f032
Added core of static sub-command
8 years ago
Leo Lamprecht
79389c1a60
Put each command into its own line
8 years ago
Leo Lamprecht
66711afaeb
Capitalize command descriptions
8 years ago
Nathan Rajlich
76e3afe88e
remove: delete deployment by URL ( #172 )
So this now works:
```
now rm https://ffitest-hcznbannyc.now.sh
```
Fixes #87 .
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
3f78172428
only consider 1 result for the "single" verbage ( #170 )
English is hard… 0 uses the "multiple" verbage. We want:
0 domains
1 domain
2 domains
3 domains
…etc.
8 years ago