Leo Lamprecht
b1663954fe
Removed useless `async` decleration
8 years ago
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
Igor Klopov
2a00eb632a
now-alpine + suppress a pkg warning ( #277 )
* explicitly list pkg targets (alpine is not in default list)
* suppress pkg warnings by adding 'may-exclude'
8 years ago
Nathan Rajlich
0b2b39222c
lint
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
Eli Perelman
6e62d874bc
Normalize package.json main file for extensionless or directory entries
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
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
Guillermo Rauch
8b7d1e60ec
Improve ignore semantics. ( #200 )
* improve ignore semantics
* add files accidentally ignored previously
8 years ago
Olli Vanhoja
89940c1362
Parse glob patterns and ignore special files ( #130 )
* Revert "Ignore special files on deploy (#115 )"
This reverts commit 1de3b40fc4
.
Fixes #127
* Parse glob patterns and ignore special files
Currently glob patterns are not parsed when selecting files to be
uploaded.
Fixes #127
Fixes #112
* Include dot files in matches
* Fix resolving of the glob promise array
8 years ago
Olli Vanhoja
1de3b40fc4
Ignore special files on deploy ( #115 )
Fixes #112
8 years ago
Leo Lamprecht
3979d8472a
Fixed even more XO issues
8 years ago
Guillermo Rauch
5bf0cfe897
Fix ignore ( #151 )
* switch to better ignore module, improve debugging
* add regression test for prefix bug (#142 )
* remove old lib
8 years ago
Guillermo Rauch
9c8211caaa
improve performance of file retrieval
9 years ago
Guillermo Rauch
39a4435e4b
wow
9 years ago
Guillermo Rauch
7d9be2458d
revamping and improving ignored files
9 years ago
Guillermo Rauch
a23f147b48
Add support for `Dockerfile` ( #98 )
* add support for `Dockerfile`
* add dockerfile `EXPOSE` validation
9 years ago
Guillermo Rauch
19a2e55a90
migrate to api.zeit.co and add warnings support
9 years ago
Tony Kovanen
44de0cc8d7
If file not found at all, don't attempt to list it
Like the automatically generated `index.js` main from `npm init` if it's
actually not there.
9 years ago
Guillermo Rauch
6d9e9609e1
lint
9 years ago
Guillermo Rauch
1da771970a
performance improvement
9 years ago
Guillermo Rauch
daaaa7161b
support for custom limits
9 years ago
Guillermo Rauch
5f4a05f183
get-files: fix ignored directories
9 years ago
Guillermo Rauch
0a2e88351b
get-files: skip file over 1mb
9 years ago
Guillermo Rauch
5c3fd34160
`fs-promise` already leverages `graceful-fs` (thanks @rase- for pointer)
9 years ago
Guillermo Rauch
30adee935c
use graceful-fs to avoid EMFILE for large projects
9 years ago
Guillermo Rauch
43734fe951
get-files: side-loading of `pkg` to avoid double fs lookups
9 years ago
Guillermo Rauch
f2693e19d7
initial commit
9 years ago