1
0
Fork 0
Commit Graph

6 Commits (1d199224a7ce5678f3c3f1636661a4a1b7d57db9)

Author SHA1 Message Date
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
Jonathan Clem 4f5f4f2fb8
Add lots of linting 2019-05-21 17:08:25 -04:00
Jonathan Clem 8cdf51d182
Remove "public" explicit accessibility 2019-05-21 15:23:21 -04:00
Jonathan Clem 20f0d3983a
Add ESLint 2019-05-21 10:34:23 -04:00
Jonathan Clem d90e9d7582
Remove ESLint (still not compatible enough with TypeScript tooling) 2019-04-19 17:00:31 -04:00
Jonathan Clem 3e32975625
Add ESLint and Prettier tooling 2019-04-19 15:35:44 -04:00