Commit Graph
50 Commits
Author SHA1 Message Date
Salman Muin Kayser Chishti 2e2139d8fb LInt 2025-10-16 14:34:09 +01:00
Salman Muin Kayser Chishti 57b4765238 spacing 2025-10-16 14:27:39 +01:00
Salman Muin Kayser Chishti c94b26a5a1 Update based on testing to add trailing back slash to all results 2025-10-16 13:52:43 +01:00
Salman Muin Kayser Chishti 4337841427 change back to lstat 2025-10-15 17:25:34 +01:00
Salman Muin Kayser Chishti 2eaa9c1bb6 update io utils 2025-10-15 16:28:21 +01:00
Salman Muin Kayser Chishti 81a88c4caa Update package versions 2025-10-15 16:27:29 +01:00
Salman Muin Kayser Chishti 1c6a8c1219 update some version numbers, will revise in a bit 2025-10-15 16:27:29 +01:00
Salman Muin Kayser Chishti 43b289ce1b update with dist updates 2025-10-15 16:22:51 +01:00
Salman Muin Kayser Chishti 3800294253 linting 2025-09-04 15:24:57 +01:00
Salman Muin Kayser Chishti 3b96811006 package updates 2025-09-04 15:15:02 +01:00
Salman Muin Kayser Chishti c0f1f88ea7 Bump package versions, and fix issues 2025-09-04 14:16:27 +01:00
Salman Muin Kayser Chishti b1d6844613 remove engines 24 reuqirement from toolkit and fix test 2025-09-04 12:41:43 +01:00
Salman Muin Kayser Chishti a75fb858fc fix lint errors 2025-08-08 04:02:29 +01:00
Salman Muin Kayser Chishti f9ced79703 custom readlink implementation for Windows compatibility with trailing backslashes 2025-08-08 03:46:42 +01:00
Tatyana Kostromskaya a08ca86d5f Update dependencies 2023-09-08 14:29:27 +00:00
Vallie JosephandCory Miller a215a1052a toolkit/io 1.1.3 release (#1374)
* updating version

* adding new minor version to package-lock

* updating release doc

* Update packages/io/RELEASES.md

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>

---------

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>
2023-03-15 15:10:56 -04:00
Vallie JosephandCory Miller 78360b6058 Removing childprocess for rmRF (#1373)
* try awaiting spawn on windows

* formatting

* updating package-lock

* .

* .

* updating packages

* adding sync rm

* test with sync

* pointing to rmsync

* adding error handling

* testing rmsync

* adding try/catch

* adding windows conditional for locked file

* switch to contians

* fixing formatting

* fixing formatting

* fixing formatting

* adding enonet catch for windows files

* adding enonet catch for windows files

* adding catch for file not found

* updating stat call

* updating stat call

* adding conditonal for symlink

* removing symlink test

* adding ebusy check

* changing error check

* changing error check

* changing error check

* changing error check

* cleanup and comments

* Update packages/io/__tests__/io.test.ts

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>

* Update packages/io/src/io-util.ts

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>

* moving comment placement

* updating eperm

* change back to ebusy

* Update packages/io/__tests__/io.test.ts

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>

* Formatting

* converting to async

---------

Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>
2023-03-15 14:51:02 -04:00
Luke Tomlinson ad543e2b5c Fix test for windows 2022 (#1039) 2022-03-31 14:39:39 -04:00
Jonathan Tamsut ad0a0c0b1f Update lockfileVersion in package-lock.json in io package (#1020)
* update lockfileVersion

* Update package
2022-03-16 11:23:44 -07:00
Thomas Boop 57271850ce New versions of toolkit packages (#835) 2021-06-07 15:09:34 -04:00
Thomas Boop fd92c6059a Update escaping rules in io's rmRF (#828)
* Better Handling of escaping in rmrf
2021-06-07 14:16:16 -04:00
Thomas Boop cd4edfd71c Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
Luke Tomlinson 87cbde80d1 Add option to cp to only copy contents of directory (#788)
* Add option to not copy source directory

* Cleanup

* Update condition to be consistent
2021-05-05 09:40:12 -04:00
Thomas BoopandLinus Unnebäck 9d8df321e0 Simplify mkdirP implementation (#781)
Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
2021-04-28 14:38:41 -04:00
Sora Morimoto 491b3ba63a Add findInPath method to locate all matching executables in the system path (#609)
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-04-02 12:22:30 -04:00
Thomas Boop 52b8547968 Add License.md to all npm packages (#548)
* Add License.md to all npm packages
2020-08-25 16:26:50 -04:00
Thomas Boop 035bdde844 Set main as the default branch (#527)
* set main as the default branch

* revert change to tool-cache default branch

* use versions where applicable
2020-07-21 11:33:05 -04:00
Thomas Boop 4904f33255 Pipe audit results to a json file so lerna does not overflow (#515)
* Pipe audit results to a json file so lerna does not overflow

* reorder flags and args
2020-07-14 16:05:53 -04:00
Josh Soref 9089e576e0 Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00
eric sciple b59e8474ce release notes (#308) 2020-01-14 11:58:44 -05:00
Bryan MacFarlane 9d6a4b8eef audit fix and update http-client (#298) 2020-01-10 16:37:48 -05:00
eric sciple c19e33e84d bump versions (#295) 2020-01-09 17:31:27 -05:00
Bryan MacFarlane 3f4e404e61 audit security vulnerabilities as part of ci (#280) 2020-01-03 17:54:10 -05:00
Josh Gross d2f94edb00 Update to latest typescript version (#274) 2019-12-27 19:42:30 -05:00
Yusuke Sakurai 3102a5464f add: "types" to each package.json (#221)
fix es #148
2019-12-17 11:03:58 -05:00
Harry Marr 680f8593f4 Add 'repository.directory' to package manifests (#143) 2019-09-24 22:30:51 -04:00
Jonathan Clem 393839e5b4 Publish
- @actions/core@1.1.0
 - @actions/exec@1.0.1
 - @actions/github@1.1.0
 - @actions/io@1.0.1
 - @actions/tool-cache@1.1.1
2019-09-05 11:03:19 -04:00
Bryan MacFarlane 6fd6df0264 updating keywords 2019-08-23 17:39:40 -04:00
Danny McCormick 2e0efbcb97 Add RELEASES.md for each package, bump tool-cache to publish (#67) 2019-08-22 13:14:49 -04:00
Josh Soref 5088be8ce3 Spelling (#72)
* spelling: check in

* spelling: compatibility

* spelling: definitely

* spelling: does not

* spelling: maintaining

* spelling: nonexistent

* spelling: precede

* spelling: response

* spelling: was not
2019-08-21 15:31:44 -04:00
Danny McCormick 383349ad37 Comment nit 2019-08-21 12:54:24 -04:00
Jason Etcovitch 8fe59e8d9e Merge pull request #70 from actions/highlight-codeblocks
Highlight codeblocks in markdown files
2019-08-21 07:52:24 -07:00
Jason Etcovitch 5de7d9fc56 io/README.md 2019-08-21 01:18:21 -04:00
Danny McCormick 1cf289119c Update package versions to 1.0.0 (#42)
* Update package versions to 1.0.0

* Fix package-lock
2019-08-07 12:56:34 -04:00
Danny McCormick c2e3e1864f Update package docs (#38)
* Update README.md

* Add exec guidance

* Add io guidance

* Add tool-cache guidance

* Readability

* Readability

* Readability

* Nit

* Nit

* Nit
2019-08-04 09:00:04 -04:00
Danny McCormick 607332c77e Fix cp and mv (#26) 2019-07-09 09:56:01 -04:00
Danny McCormick 09f74a250a Normalize package versions (#20) 2019-06-24 14:36:36 -04:00
Danny McCormick e68df064ee 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 303f783f9a Copy file into directory (#11)
* Copy file into directory

* Add test and check if file exists before stating

* Format
2019-05-28 13:57:16 -04:00
Danny McCormick 92e896a599 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