Remove yarn, switch to npm

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-13 09:15:12 +00:00
parent d8d1962333
commit 0ff85181fc
5 changed files with 2560 additions and 1138 deletions

View file

@ -12,14 +12,14 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- run: yarn install - run: npm ci
- run: | - run: |
set -o pipefail set -o pipefail
mkdir -p ./pr mkdir -p ./pr
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV" echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails npm run all >> "$GITHUB_ENV" 2>&1 || true # proceed even if npm run all fails
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline echo >> "$GITHUB_ENV" # npm run all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV" echo "$EOF" >> "$GITHUB_ENV"
id: all id: all
- uses: ./ - uses: ./
@ -28,7 +28,7 @@ jobs:
header: All header: All
message: | message: |
<details open> <details open>
<summary>Output of yarn all</summary> <summary>Output of npm run all</summary>
```shell ```shell
${{ env.all_result }} ${{ env.all_result }}

9
.gitignore vendored
View file

@ -2,11 +2,10 @@ __tests__/runner/*
lib/* lib/*
rollup.config.js rollup.config.js
# ^^^ compiled output of rollup.config.ts (generated by --configPlugin at build time)
# comment out in distribution branches # comment out in distribution branches
node_modules/ node_modules/
package-lock.json
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore # Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs # Logs
logs logs
@ -68,8 +67,8 @@ typings/
# Output of 'npm pack' # Output of 'npm pack'
*.tgz *.tgz
# Yarn Integrity file # Yarn lock file
.yarn-integrity yarn.lock
# dotenv environment variables file # dotenv environment variables file
.env .env
@ -97,5 +96,3 @@ typings/
.dynamodb/ .dynamodb/
.vscode/ .vscode/
.yarn.lock

2552
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@
"test:watch": "vitest", "test:watch": "vitest",
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"build_test": "tsc && vitest run", "build_test": "tsc && vitest run",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test" "all": "npm run build && npm run format && npm run lint && npm run package && npm run test"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

1127
yarn.lock

File diff suppressed because it is too large Load diff