mirror of
https://github.com/pnpm/action-setup.git
synced 2026-04-03 19:00:10 +08:00
- Extract ensureAliasLinks to its own module for testability - On Windows, create .cmd and .ps1 shims instead of symlinks - On Unix, create symlinks (as before) - Skip alias creation when targets don't exist (pnpm v10) - Add vitest and 8 tests covering unix/windows/skip/no-overwrite
26 lines
698 B
JSON
26 lines
698 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build:bundle": "esbuild src/index.ts --bundle --platform=node --target=node24 --format=cjs --minify --outfile=dist/index.js --loader:.json=json",
|
|
"build": "pnpm run build:bundle",
|
|
"test": "vitest run",
|
|
"start": "pnpm run build && sh ./run.sh"
|
|
},
|
|
"dependencies": {
|
|
"@actions/cache": "^4.1.0",
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/glob": "^0.5.0",
|
|
"@types/expand-tilde": "^2.0.2",
|
|
"@types/node": "^22.0.0",
|
|
"expand-tilde": "^2.0.2",
|
|
"yaml": "^2.3.4",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.27.4",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^4.1.2"
|
|
}
|
|
}
|