Nathan Rajlich
c11131310c
fix lint
8 years ago
Nathan Rajlich
76e4ab5037
support `now.files` in now.json
Needs a test case still...
8 years ago
Nathan Rajlich
cee788d3e1
add a `strict` mode to readMetadata()
Test cases will set this to `false`, because they're
missing `scripts.start` and other required properties in this function
8 years ago
Nathan Rajlich
4c9caa420b
initial `now.json` support
8 years ago
Jesús Lobos
73a1f84080
Fix `Native` and `Packages` comment structure ( #244 )
8 years ago
Eli Perelman
6e62d874bc
Normalize package.json main file for extensionless or directory entries
8 years ago
Guillermo Rauch
5fd5802880
Improved agent ( #240 )
* improves agent
- reverts spdy for now (causing issues with alias)
- sets up an agent pool of 4 max sockets with a 10s keep alive timeout
- better error handling and re-initialization
* improves agent
- reverts spdy for now (causing issues with alias)
- sets up an agent pool of 4 max sockets with a 10s keep alive timeout
- better error handling and re-initialization
8 years ago
Jarmo Isotalo
3732bfb16c
Don't require for CMD and EXPOSE to be defined in Dockerfile used for ( #237 )
deploying but allow those to be defined in upstream Dockerfiles
8 years ago
Guillermo Rauch
2c245a5cab
fix merge
8 years ago
Guillermo Rauch
244137ae90
Ignore improvements ( #234 )
* fix non-determinism in tests
* if `.dockerignore` doesn't exist, use `.gitignore`
* add back duplicate dei
* Move comment to appropriate line
* also check for exactly two duplicates
8 years ago
Guillermo Rauch
485915b300
if `.dockerignore` doesn't exist, use `.gitignore`
8 years ago
Matheus Fernandes
49de0d3331
Print the error message for a aborted login in a new line ( #229 )
8 years ago
Leo Lamprecht
c45eeed38f
No `version` property required
8 years ago
Leo Lamprecht
d8e4e41b8d
Pinned `serve` but allowing patches
8 years ago
Leo Lamprecht
b997c71dd4
Contextual newlines added
8 years ago
Olli Vanhoja
0b4660158a
Fix file mode passing for regular deployments ( #214 )
Commit bbf1b30c4d
broke file modes
for regular deployments as file mode isn't retrieved anymore.
8 years ago
Leo Lamprecht
df111b9eba
Only allow process.exit in certain places
8 years ago
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