Leo Lamprecht
d01bf29690
Check for update using a package
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
Olli Vanhoja
29066338d8
Fix now alias on new domains ( #207 )
Bail if no records are found for a domain to allow adding the records.
now alias derp domain.com -d
> [debug] Checking for updates.
> [debug] Up to date (1.0.0).
> [debug] /list: 583.880ms
> [debug] matched deployment derp by url derp.now.sh
> domain.com is a custom domain.
> Verifying the DNS settings for domain.com (see https://zeit.world for help)
> [debug] #1 GET /domains/domain.com: 271.741ms
> [debug] Found domain domain.com with verified:true
> [debug] No records found for "domain.com"
> Verification OK!
8 years ago
Luke Edwards
9a37e9deb2
insert newline into alias-success msg ( #203 )
8 years ago
Luke Edwards
c584f42791
copy alias to clipboard & show message ( #201 )
* copy alias to clipboard & show message
* ensure status output if not ttys or cant copy
8 years ago
Guillermo Rauch
8b7d1e60ec
Improve ignore semantics. ( #200 )
* improve ignore semantics
* add files accidentally ignored previously
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
Leo Lamprecht
bbf1b30c4d
Set a default file mode for package.json
8 years ago
Olli Vanhoja
1c7a13fe68
Add an option to copy symlinks ( #191 )
8 years ago
Olli Vanhoja
c509dfd5d7
Support basic file modes ( #187 )
now-cli should pass file mode bits when creating a deployment.
8 years ago
Igor Klopov
1ce72df4fd
show `Using Node.js` only for npm deployment type ( #183 )
8 years ago
Leo Lamprecht
af76505c9e
Improved flow for confirming address
8 years ago
Leo Lamprecht
cf5b9ad125
Replace publicsuffixlist with psl
8 years ago
Leo Lamprecht
f997a8fa61
List got renamed
8 years ago
Olli Vanhoja
3a8f11b1ba
alias set --debug: Only print nameservers if we fetched them ( #166 )
8 years ago
Olli Vanhoja
2fdfbbdc22
Improve client side domain verification ( #161 )
No need to check nameservers if the domain is already known and
verified by now.
8 years ago
Jarmo Isotalo
0e486282a0
Fix unhandled promise rejection ( #162 )
8 years ago
Leo Lamprecht
e12c4212c9
Sprinkled a few newlines on there
8 years ago
Olli Vanhoja
1fee62c596
Support domain name verification
8 years ago
Jarmo Isotalo
802e59f680
Improve error handling for alias creation, fixes #156
8 years ago
Leo Lamprecht
c9808b7a6e
Missing import types added
8 years ago
Leo Lamprecht
79d07274ce
Regular dirs can be deployed as usual
8 years ago
Leo Lamprecht
673b0dcd96
Don't deploy homedir, downloads or desktop
This closes #99
8 years ago
Leo Lamprecht
25fef39f1a
Ability to set name
This closes #150
8 years ago
Jarmo Isotalo
4de1c69b6a
Improve error handling when issuing cert fails ( #154 )
Fix `now certs ls` error when showing expiration date
Improve logging for when alias creation fails
8 years ago
Leo Lamprecht
6e94359052
Support for private Git repos
8 years ago
Leo Lamprecht
7ae4532ea7
Bitbucket's master branches are default
8 years ago
Leo Lamprecht
de0635e8b1
Use a clean prefix when deploying
8 years ago
Leo Lamprecht
9bfa06f163
Support for Bitbucket
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
77412000ca
Accept GitLab URLs
8 years ago
Leo Lamprecht
4a5de7321a
Much stricter repo URL checking
8 years ago
Leo Lamprecht
c9c32664bb
Don't indicate git ref if master branch
8 years ago
Leo Lamprecht
0ea689c27a
Shorten git reference if commit
8 years ago
Leo Lamprecht
04d58f2558
Throw error if URL is not valid
8 years ago
Leo Lamprecht
be9e61dfeb
Support GitLab as well
8 years ago
Leo Lamprecht
9d7746f9ed
Support for deploying GitHub URLs
8 years ago
Leo Lamprecht
09670c986e
Support for git references
8 years ago
Leo Lamprecht
fd0e39da0e
Only do one network roundtrip to GitHub
8 years ago
Leo Lamprecht
bb74c71896
Check if path is a repo path via regex
8 years ago
Leo Lamprecht
c92d4dfb37
Clean up tmp dir for repo in a better way
8 years ago
Leo Lamprecht
5e5545789f
Handle potential error when converting res to JSON
8 years ago
Leo Lamprecht
fd24ea0c6a
Fixed tests
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
5a6d8481d6
Domain should not be part of sentence
8 years ago
Olli Vanhoja
ca09ec1baa
DNS Management added
8 years ago
Olli Vanhoja
89940c1362
Parse glob patterns and ignore special files ( #130 )
* Revert "Ignore special files on deploy (#115 )"
This reverts commit 1de3b40fc4
.
Fixes #127
* Parse glob patterns and ignore special files
Currently glob patterns are not parsed when selecting files to be
uploaded.
Fixes #127
Fixes #112
* Include dot files in matches
* Fix resolving of the glob promise array
8 years ago
Olli Vanhoja
5ce0fa9d99
Fix linter errors ( #131 )
8 years ago