Skip to content

Commit c618b1d

Browse files
feat: upgrade Oxc and NAPI-RS (#225)
* feat: upgrade Oxc and NAPI-RS * clippy fix * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent f581e5f commit c618b1d

File tree

7 files changed

+287
-319
lines changed

7 files changed

+287
-319
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,8 @@ jobs:
468468
- name: Publish
469469
env:
470470
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
471-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
472471
run: |
473-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
474-
npm config set provenance true
472+
npm install -g npm
475473
if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+$";
476474
then
477475
pnpm napi pre-publish -t npm --package-json-path packages/core/package.json

Cargo.lock

Lines changed: 63 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ edition = "2024"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
napi = { version = "3.0.0", default-features = false, features = ["serde-json", "napi3"] }
12-
napi-derive = { version = "3.0.0", default-features = false, features = ["type-def"] }
11+
napi = { version = "3.2.0", default-features = false, features = ["serde-json", "napi3"] }
12+
napi-derive = { version = "3.2.0", default-features = false, features = ["type-def"] }
1313
oxc = { version = "0.81.0", features = ["codegen", "transformer", "semantic", "regular_expression"] }
1414
oxc_resolver = { version = "11.5.0" }
1515
phf = "0.12"

0 commit comments

Comments
 (0)