Skip to content

Commit

Permalink
Merge branch 'main' into feat/updater
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Nov 20, 2023
2 parents b8da73c + ba92713 commit c315ffd
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-packager-binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
version: 8.6.4

- name: setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
body: ${{ steps.covector.outputs.change }}

- name: Get `@crabnebula/packager` release id
uses: actions/github-script@v6
uses: actions/github-script@v7
id: cliReleaseId
if: |
steps.covector.outputs.successfulPublish == 'true' &&
Expand All @@ -66,7 +66,7 @@ jobs:
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, '@crabnebula/packager')
uses: peter-evans/repository-dispatch@v1
uses: peter-evans/repository-dispatch@v2
with:
event-type: publish-packager-nodejs
client-payload: '{"releaseId": "${{ steps.cliReleaseId.outputs.result }}" }'
28 changes: 19 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindings/packager/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ crate-type = ["cdylib"]

[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.14.0", default-features = false, features = ["napi4"] }
napi-derive = "2.14.1"
napi = { version = "2.14.1", default-features = false, features = ["napi4"] }
napi-derive = "2.14.2"
cargo-packager = { path = "../../../crates/packager/", version = "0.3.0", default-features = false, features = ["cli"] }
tracing = { workspace = true }
serde_json = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/packager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tracing = { workspace = true }
tracing-subscriber = { version = "0.3", optional = true, features = [ "env-filter" ] }
toml = "0.8"
cargo_metadata = "0.18"
ureq = { version = "2.8", default-features = false }
ureq = { version = "2.9", default-features = false }
hex = "0.4"
sha1 = "0.10"
sha2 = "0.10"
Expand All @@ -67,7 +67,7 @@ schemars = { workspace = true, optional = true }
native-tls = { version = "0.2", optional = true }

[target."cfg(target_os = \"windows\")".dependencies]
winreg = "0.51"
winreg = "0.52"
once_cell = "1.18"
uuid = { version = "1", features = [ "v4", "v5" ] }
regex = "1.10"
Expand Down

0 comments on commit c315ffd

Please sign in to comment.