mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 14:41:07 +08:00
* 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
35 lines
716 B
JSON
35 lines
716 B
JSON
{
|
|
"name": "@actions/io",
|
|
"version": "1.0.0",
|
|
"description": "Actions io lib",
|
|
"keywords": [
|
|
"io",
|
|
"actions"
|
|
],
|
|
"author": "Danny McCormick <damccorm@microsoft.com>",
|
|
"homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
|
|
"license": "MIT",
|
|
"main": "lib/io.js",
|
|
"directories": {
|
|
"lib": "lib",
|
|
"test": "__tests__"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/toolkit.git"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
"tsc": "tsc"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/actions/toolkit/issues"
|
|
}
|
|
}
|