Skip to content

Commit

Permalink
Merge branch 'main' into pacman-support
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula authored Jan 23, 2024
2 parents 6bf91e4 + 4135a84 commit 9cca193
Show file tree
Hide file tree
Showing 62 changed files with 2,119 additions and 646 deletions.
39 changes: 36 additions & 3 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,20 @@
}
},
"packages": {
"cargo-packager-utils": {
"path": "./crates/utils",
"manager": "rust",
"assets": [
{
"path": "${ pkg.path }/target/package/cargo-packager-utils-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"cargo-packager": {
"path": "./crates/packager",
"manager": "rust",
"dependencies": ["cargo-packager-config"],
"dependencies": ["cargo-packager-utils"],
"assets": [
{
"path": "${ pkg.path }/target/package/cargo-packager-${ pkgFile.version }.crate",
Expand All @@ -114,13 +124,14 @@
"@crabnebula/packager": {
"path": "./bindings/packager/nodejs",
"manager": "javascript",
"dependencies": ["cargo-packager"],
"dependencies": ["cargo-packager", "cargo-packager-utils"],
"prepublish": [],
"publish": [],
"postpublish": []
},
"cargo-packager-updater": {
"path": "./crates/updater",
"dependencies": ["cargo-packager-utils"],
"manager": "rust",
"assets": [
{
Expand All @@ -132,7 +143,29 @@
"@crabnebula/updater": {
"path": "./bindings/updater/nodejs",
"manager": "javascript",
"dependencies": ["cargo-packager-updater"],
"dependencies": ["cargo-packager-updater", "cargo-packager-utils"],
"prepublish": [],
"publish": [],
"postpublish": []
},
"cargo-packager-resource-resolver": {
"path": "./crates/resource-resolver",
"dependencies": ["cargo-packager-utils"],
"manager": "rust",
"assets": [
{
"path": "${ pkg.path }/target/package/cargo-packager-resource-resolver-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"@crabnebula/packager-resource-resolver": {
"path": "./bindings/resource-resolver/nodejs",
"manager": "javascript",
"dependencies": [
"cargo-packager-resource-resolver",
"cargo-packager-utils"
],
"prepublish": [],
"publish": [],
"postpublish": []
Expand Down
7 changes: 7 additions & 0 deletions .changes/resource-resolver-initial-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"cargo-packager-utils": minor
"cargo-packager-resource-resolver": minor
"@crabnebula/packager-resource-resolver": minor
---

Initial Release.
2 changes: 2 additions & 0 deletions .github/workflows/check-nodejs-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- ".github/workflows/check-nodejs-bindings.yml"
- "crates/packager/**"
- "crates/updater/**"
- "crates/resource-resolver/**"
- "bindings/*/nodejs/**"
pull_request:
branches:
Expand All @@ -16,6 +17,7 @@ on:
- ".github/workflows/check-nodejs-bindings.yml"
- "crates/packager/**"
- "crates/updater/**"
- "crates/resource-resolver/**"
- "bindings/*/nodejs/**"

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
version: latest
- run: pnpm install
- run: pnpm format:check

rustfmt:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
runs-on: ubuntu-latest
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,13 @@ jobs:
event-type: publish-updater-nodejs
client-payload: >-
{"releaseId": "${{ steps.covector.outputs['-crabnebula-updater-releaseId'] }}" }
- name: Trigger `@crabnebula/packager-resource-resolver` publishing workflow
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, '@crabnebula/packager-resource-resolver')
uses: peter-evans/repository-dispatch@v2
with:
event-type: publish-packager-resource-resolver-nodejs
client-payload: >-
{"releaseId": "${{ steps.covector.outputs['-crabnebula-packager-resource-resolver-releaseId'] }}" }
Loading

0 comments on commit 9cca193

Please sign in to comment.