feat: add function for parsing arguments with quotes (#532)

* feat: add `parse` function

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

* chore: remoev unused shell-quote from dependencies

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

* test: update `context.test.ts` test

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

---------

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana
2024-11-26 17:43:30 +07:00
committed by GitHub
parent 73aae93ffb
commit 8f79315420
7 changed files with 43 additions and 372 deletions

View File

@@ -9,18 +9,15 @@
"test": "jest"
},
"dependencies": {
"gha-utils": "^0.4.1",
"shell-quote": "^1.8.1"
"gha-utils": "^0.4.1"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.1",
"@types/shell-quote": "^1",
"eslint": "^9.15.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",