Skip to content

Commit 7472d9e

Browse files
ematipicosiketyan
andauthored
fix: binary mapping (#6450)
Co-authored-by: Naoki Ikeguchi <[email protected]>
1 parent 65c73ff commit 7472d9e

11 files changed

Lines changed: 17 additions & 114 deletions

File tree

.changeset/twenty-sheep-mix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed an issue where the binary wasn't correctly mapped.

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,11 @@ jobs:
342342
git restore packages/@biomejs/wasm-nodejs/package.json
343343
git restore packages/@biomejs/wasm-web/package.json
344344
345-
- name: Copy binaries
346-
run: node packages/@biomejs/biome/scripts/copy-binaries.mjs
345+
- name: Generate npm packages
346+
run: node packages/@biomejs/biome/scripts/generate-packages.mjs
347347

348348
- name: Publish npm packages as latest
349-
run: for package in packages/@biomejs/*; do if [ $package != "packages/@biomejs/js-api" ]; then npm publish $package --tag latest --access public --provenance; fi; done
349+
run: for package in packages/@biomejs/*; do if [ $package != "packages/@biomejs/js-api" ]; then npm publish $package --tag latest --access public --provenance; fi; done
350350
env:
351351
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
352352

@@ -398,7 +398,7 @@ jobs:
398398
run: pnpm install --frozen-lockfile
399399

400400
- name: Publish npm package as latest
401-
run: npm publish packages/@biomejs/js-api --tag latest --access public --provenance
401+
run: pnpm publish packages/@biomejs/js-api --no-git-checks --tag latest --access public
402402
env:
403403
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
404404

packages/@biomejs/biome/scripts/copy-binaries.mjs

Lines changed: 0 additions & 78 deletions
This file was deleted.

packages/@biomejs/cli-darwin-arm64/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
],
2020
"publishConfig": {
2121
"provenance": true
22-
},
23-
"files": [
24-
"bin/biome"
25-
]
22+
}
2623
}

packages/@biomejs/cli-darwin-x64/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
],
2020
"publishConfig": {
2121
"provenance": true
22-
},
23-
"files": [
24-
"bin/biome"
25-
]
22+
}
2623
}

packages/@biomejs/cli-linux-arm64-musl/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
],
2323
"publishConfig": {
2424
"provenance": true
25-
},
26-
"files": [
27-
"bin/biome"
28-
]
25+
}
2926
}

packages/@biomejs/cli-linux-arm64/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
],
2323
"publishConfig": {
2424
"provenance": true
25-
},
26-
"files": [
27-
"bin/biome"
28-
]
25+
}
2926
}

packages/@biomejs/cli-linux-x64-musl/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
],
2323
"publishConfig": {
2424
"provenance": true
25-
},
26-
"files": [
27-
"bin/biome"
28-
]
25+
}
2926
}

packages/@biomejs/cli-linux-x64/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
],
2323
"publishConfig": {
2424
"provenance": true
25-
},
26-
"files": [
27-
"bin/biome"
28-
]
25+
}
2926
}

packages/@biomejs/cli-win32-arm64/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
],
2020
"publishConfig": {
2121
"provenance": true
22-
},
23-
"files": [
24-
"bin/biome"
25-
]
22+
}
2623
}

0 commit comments

Comments
 (0)