1
0
Fork 0
Commit Graph

3 Commits (d919136160f5e6d87eafb6891a0ac677d21e0c85)

Author SHA1 Message Date
Danny McCormick d8737aa49c
Normalize package versions (#20) 2019-06-24 14:36:36 -04:00
Danny McCormick 71a9b2d3ed
Add tool-cache (#12)
* Add tool-cache

* Format

* Fix linux bug

* Update readme

* Package zip/unzip

* Reorganize

* Format

* unzip somehow got corrupted, fixing

* Resolve remaining todos

* Don't log everything

* Pass error codes

* linting

* Branding and nits

* Fix for mac

* clean up windows/nix logic

* Clean up tests

* Export HTTPError

* Add option for custom 7z tool

* Lint/format

* Dont wipe temp/tool directories
2019-06-06 14:16:48 -04:00
Danny McCormick 08db5110c6
Add io (#5)
* Add io lib

* io cleanup

* Run format script

* Fix lint errors with autofix

* Fix equality lint errors

* Rename ioUtil to io-util

* Add no-import-requires

* Run auto-fix lint

* Remove lint errors

* Use Boolean() to convert options

- `CopyOptions` on `cp` now defaults to empty
- Setting option values is easier now

* Rewrite packages/io to be fully async

* Move IS_WINDOWS into ioUtil

* DRY up cp/mv by moving shared code into move function

* Remove unc support, change isDirectory call to stat

* Tighter try catches

* more concise extensions search

* Allow isDirectory to be stat or lstat

* format

* Shell out to rm -rf

* Remove unc comment

* Export fs.promises from io-util

* Remove unknown error message

* Create an optimistic mkdirp

* Update io-util.ts

* Update io-util.ts

* Update io.test.ts

* Fix tests for mkdirP
2019-05-22 16:05:34 -04:00