Leo Lamprecht
e5babe0c7c
Run `serve` in production mode and update it
8 years ago
Leo Lamprecht
797cdd8308
Bumped `serve` to latest version
8 years ago
Hugo
7c14fd7cb1
Fix now alias failing when now.json doesn’t define deployment type ( #321 )
8 years ago
Leo Lamprecht
ae9dd8f441
Make static deployments definable
This closes #318
8 years ago
Leo Lamprecht
0f52271757
Use static deployment type if defined in config
8 years ago
Leo Lamprecht
2f85a6a966
Split error into multiple lines
8 years ago
Leo Lamprecht
3464f34579
Make static deployments work again
8 years ago
Leo Lamprecht
f0b85bc2bf
Install latest version of `serve` (make static deployments work)
8 years ago
Leo Lamprecht
a5a3b01af9
Upgraded `serve` yet again
8 years ago
Leo Lamprecht
373e17a51d
Bumped `serve`
8 years ago
Leo Lamprecht
be1a799f18
Bumped `serve`
8 years ago
Leo Lamprecht
8027751e4b
Bumped `serve` yet again
8 years ago
Leo Lamprecht
1770486ff6
Bumped `serve` to latest version
8 years ago
Nathan Rajlich
9540863c0e
fix typo
8 years ago
Nathan Rajlich
957744e3a5
add `now.json:name` field support
8 years ago
Nathan Rajlich
73f22bb68e
use G's wording for error message
8 years ago
Nathan Rajlich
1151830af6
a couple more test cases and fixes for them
8 years ago
Nathan Rajlich
7daf1e4c49
Only throw when both `pkg.now` and `now.json` are present
Fixes failing test case.
8 years ago
Nathan Rajlich
38fe08ad97
rename getMetadata() to readMetaData()
Matches what it's called elsewhere in the codebase
8 years ago
Nathan Rajlich
d9b5c4d4fa
fix lint
8 years ago
Nathan Rajlich
f6c0e65b7f
fail hard when both a `now.json` and `package.json` file with "now" are present
As discussed in the GH issue.
8 years ago
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
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
Leo Lamprecht
c45eeed38f
No `version` property required
8 years ago
Leo Lamprecht
d8e4e41b8d
Pinned `serve` but allowing patches
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
f997a8fa61
List got renamed
8 years ago
Leo Lamprecht
25fef39f1a
Ability to set name
This closes #150
8 years ago
Matheus Fernandes
53f1ffab40
Fix code style 💅 ( #107 )
8 years ago
Olli Vanhoja
f31d1f0804
Fixes to Dockerfile metadata parsing ( #103 )
- No need to check if pkg.name is null
- Properly default to basename if labels.name isn't set
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