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
Tony Kovanen
cb86654e21
Send registry auth token from .npmrc if accessible
9 years ago
Guillermo Rauch
0af1f69ed2
index: add quiet mode
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
c19cafd3ea
index: generalize retrying and alias listing
9 years ago
Guillermo Rauch
902cfdf979
index: engines can be `null`
9 years ago
Guillermo Rauch
1642469761
index: add version reporting, support for `engines`
9 years ago
Tony Kovanen
9d49f5f955
Use `"now"` nampespace for `"engines"`
9 years ago
Guillermo Rauch
d738f8d84a
add user-agent to all outgoing requests
9 years ago