Leo Lamprecht
9c280f896f
Made code faster by removing moot `await`
8 years ago
Leo Lamprecht
1f85f6d5db
Moved back to XO for linting
cc @sindresorhus
8 years ago
Leo Lamprecht
7d19ad2e83
Prettified everything
8 years ago
Leo Lamprecht
4119c17abe
Prettified everything
8 years ago
Leo Lamprecht
52c63854d5
Correctly load `async-retry`
8 years ago
Matheus Fernandes
fb7bfdbc4e
Mention `now upgrade` instead of ` https://zeit.co/account `
8 years ago
Jarmo Isotalo
e71cdb8440
Log erros and stacktraces ( #276 )
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
Nathan Rajlich
1151830af6
a couple more test cases and fixes for them
8 years ago
Nathan Rajlich
76e4ab5037
support `now.files` in now.json
Needs a test case still...
8 years ago
Nathan Rajlich
4c9caa420b
initial `now.json` support
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
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
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
Jarmo Isotalo
0e486282a0
Fix unhandled promise rejection ( #162 )
8 years ago
Olli Vanhoja
1fee62c596
Support domain name verification
8 years ago
Leo Lamprecht
25fef39f1a
Ability to set name
This closes #150
8 years ago
Olli Vanhoja
ca09ec1baa
DNS Management added
8 years ago
Leo Lamprecht
b563900702
Adapt deployment name from package
8 years ago
Leo Lamprecht
6159263d8f
Set package.json on the fly
8 years ago
Leo Lamprecht
c5626178ed
Move files into content dir if static
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
Leo Lamprecht
3979d8472a
Fixed even more XO issues
8 years ago
Olli Vanhoja
4db4353d5d
now certs management
* Move cert handling to index.js
* Add 'now certs' commands for certificate management
8 years ago
Matheus Fernandes
a709864864
Fix: encode accented chars in filenames ( #61 )
8 years ago
Guillermo Rauch
603841f0b6
index: filter empty entries
8 years ago
Olli Vanhoja
2bc5d26fa7
Fix whois-ns-fallback request once again ( #143 )
try-catch in getNameservers() doesn't work as expected because
a promise is returned succesfully before it's evaluation and
try-catch in the function won't catch if it fails later on.
8 years ago
Guillermo Rauch
d450d45842
merge with master
8 years ago
Guillermo Rauch
b83dbfb6ae
index: drastically improve error handling / messages for `create`
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
08801432c6
index: add `listSecrets` method
8 years ago
Guillermo Rauch
efdd6b8d29
index: pass along `env` to `/create`
8 years ago
Nathan Rajlich
b55c3138b0
fix Docker CMD docs link ( #124 )
8 years ago
Olli Vanhoja
75f1cef880
Always register the domain for the user before trying to use it
8 years ago
Olli Vanhoja
749cd8ac1f
domain add: Try fallback if the list of name servers is empty ( #111 )
9 years ago
Tony Kovanen
597d515633
Include comment parsing from the Dockerfile
9 years ago
Nathan Rajlich
89f50abf4f
add "public" logic to the Now lib client
9 years ago
Guillermo Rauch
39a4435e4b
wow
9 years ago
Guillermo Rauch
7d9be2458d
revamping and improving ignored files
9 years ago
Guillermo Rauch
eb0aeda7bf
improve docker validation
9 years ago
Guillermo Rauch
a23f147b48
Add support for `Dockerfile` ( #98 )
* add support for `Dockerfile`
* add dockerfile `EXPOSE` validation
9 years ago
Tony Kovanen
264a18732b
Rename to `forwardNpm` and check .now.json for it ( #90 )
9 years ago
Tony Kovanen
7ab8e0d344
Add cmd line flag to forward NPM auth token
9 years ago
Tony Kovanen
7539686483
Keep reading lower .npmrc if no auth in project
9 years ago
Tony Kovanen
9feed0c767
Look up `forward-npm` from now nowProperties
9 years ago
Tony Kovanen
f4c55e2864
Forward registry auth token only if asked
9 years ago