Matheus Fernandes
51e2951dee
`userId` => `uid`
8 years ago
Matheus Fernandes
14a3a0205d
Tweak docs
8 years ago
Nathan Rajlich
7e0f5f1a56
dynamically update the "serve" version for static deployments ( #513 )
Since we use Greenkeeper to update dependencies for `now-cli`,
we can depend on it to keep the version of `serve` that we use
for static deployments up-to-date at all times.
8 years ago
Nathan Rajlich
68a3f51dff
implement `public` property for now.json and pkg.now
Closes #463 .
8 years ago
Nathan Rajlich
3902a7da62
update "serve" for static deployments to v5.1.4
8 years ago
Matheus Fernandes
08049e2e05
5.2.1
8 years ago
Matheus Fernandes
26b9d64b61
Add missing `break`
8 years ago
greenkeeper[bot]
cd470813da
chore(package): update pkg to version 3.0.3 ( #512 )
8 years ago
Nathan Rajlich
49a2a645c8
refactor the `readMetaData()` function ( #508 )
* refactor the `readMetaData()` function
* add a couple new test cases
* test: restore "build" prefix
Fixes Node.js <= v6
* add default values for `npm`/`docker` get files functions
Makes the logic simpler, since we don't have to check for existence.
* throw an error when missing start/now-start or server.js
* pass in entire `readMetaData()` result to Now.create()
This avoids us reading these files from the filesystem again
8 years ago
Matheus Fernandes
b35e7e7411
5.2.0
8 years ago
Matheus Fernandes
8ebd5b91ec
Prettier stuff
8 years ago
Matheus Fernandes
1478009c22
Remove lockfile
8 years ago
Matheus Fernandes
b6dadac9f5
Add `now login` and document `now logout`
8 years ago
Jarmo Isotalo
a1e5ba0b26
Remove id's from now-alias ( #500 )
* Remove id's from now-alias
* Colors
* Less hacky formatting
8 years ago
Matheus Fernandes
8b306e657b
Fix `--token` support
Closes #499
Closes #474
Closes #484
8 years ago
Matheus Fernandes
b0593c1f33
Remove useless HTTP header
8 years ago
Jarmo Isotalo
9e22ad34d2
Fix path alias updates ( #493 )
* Catch path alias changes correctly
Fixes #492
* And the automatic petteier changes for alias
8 years ago
Jarmo Isotalo
bc0b06721a
Sort `now scale ls` output similarly to `now ls` ( #494 )
* Sort `now scale ls` similarly how `now ls` is sorted
* Remove unused dependency
8 years ago
greenkeeper[bot]
bde309850e
fix(package): update docker-file-parser to version 1.0.2 ( #496 )
8 years ago
Jarmo Isotalo
b67e683f38
Fixes an error of missing context after logging in while deploying. ( #498 )
```
> Error! Unknown error: TypeError: Cannot read property 'username' of undefined
TypeError: Cannot read property 'username' of undefined
at /usr/local/lib/node_modules/now/build/bin/now-deploy.js:316:115
at Generator.next (<anonymous>)
at c (/usr/local/lib/node_modules/now/build/bin/now-deploy.js:760:99)
```
8 years ago
Jarmo Isotalo
a09abbcad4
Always scale up but never down when matching scale on alias ( #504 )
8 years ago
Jarmo Isotalo
c05405e193
Read docker label correctly, fixes #368 ( #501 )
8 years ago
Igor Klopov
c97edc61b5
Move list of `pkg` targets to `package.json.pkg.targets` ( #503 )
8 years ago
Matheus Fernandes
04f457550e
Log the body of the request when the first step of a login fails
8 years ago
greenkeeper[bot]
0cf8c73602
chore(package): update prettier to version 1.3.0 ( #487 )
8 years ago
Matheus Fernandes
013061a6a3
5.1.2
8 years ago
Matheus Fernandes
c51743153d
Pass missing variable
8 years ago
Matheus Fernandes
0f10a7bcda
Fix undefined var usages + prettify
8 years ago
Matheus Fernandes
f421eee664
5.1.1
8 years ago
Matheus Fernandes
1773cfc817
Log more info when `--login` fails
8 years ago
Matheus Fernandes
0d92683420
Merge branch 'master' of github.com:zeit/now-cli
8 years ago
Tim Neutkens
9964d0e4fd
now scale <id> auto ( #485 )
8 years ago
Matheus Fernandes
5f48a289d5
Fix calls to `undefined.price` while aliasing
8 years ago
Nathan Rajlich
554170e3b4
check for Dockerfile when now.json is present ( #486 )
Consider a tree like:
```
.
├── Dockerfile
└── now.json
0 directories, 2 files
```
Before this patch, this deployment would be considered a "static"
deployment, which is incorrect. Now it is properly detected
as a "docker" deployment type.
8 years ago
Leo Lamprecht
66557d79bb
5.1.0
8 years ago
Leo Lamprecht
f165778e55
Removed useless file
8 years ago
Leo Lamprecht
b0a88b377c
Prettified everything
8 years ago
Leo Lamprecht
c90ca1b859
Tell `prettier` not to use semicolons
8 years ago
Steve Faulkner
0c4f9dcd62
Add support for `now alias domain.tld` ( #467 )
8 years ago
Leo Lamprecht
09c3de40cc
Added `now logout`
8 years ago
greenkeeper[bot]
03def6c052
fix(package): update ignore to version 3.3.0 ( #482 )
https://greenkeeper.io/
8 years ago
Nathan Rajlich
cc8e0b8e4a
Use implicit "start" script when `server.js` exists
Moves the verification step to the `create()` function,
instead of in `readMetaData()`.
Closes https://github.com/zeit/now-cli/issues/181 .
8 years ago
Nathan Rajlich
e0e5d03949
Do not truncate lines from build logs
Is is disrupting to remove logs that are potentially
useful for diagnosing when something is going wrong
when starting up / building a deployment.
Just log stdout in its entirety to the `now` build output
with no lines being removed in the process.
As discussed with @rauchg .
8 years ago
nkzawa
9889a3b3d0
always strip trailing /
8 years ago
nkzawa
eb48779827
logs: check if deployment url includes path
8 years ago
Leo Lamprecht
2a25bfcee4
Indicate how to buy a new domain
This closes #473
8 years ago
Jarmo Isotalo
1248c46295
Improve command line args validation. Fixes #478 .
8 years ago
Leo Lamprecht
c1ba650ec4
Replace `copy-paste` with `clipboardy`
This closes #457
8 years ago
Leo Lamprecht
b2fe453993
Bumped dependencies to latest version
8 years ago
greenkeeper[bot]
594534250d
chore(package): update pkg to version 3.0.1 ( #476 )
https://greenkeeper.io/
8 years ago