Skip to content

Commit

Permalink
chore: add proper workspace subpackage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Jan 31, 2025
1 parent a4f69cc commit 24a003a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
target-branch: main
skip-github-release: true
manifest-file: .release/manifest.json
Expand Down
32 changes: 29 additions & 3 deletions .release/config-main.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
{
"$schema": "https://github.com/googleapis/release-please/blob/main/schemas/config.json",
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "5015e1a3fd8040bc25d8332ab0aeb6659459b3dd",
"last-release-sha": "5015e1a3fd8040bc25d8332ab0aeb6659459b3dd",
"always-update": true,
"plugins": ["node-workspace"]
"plugins": [
{
"type": "node-workspace"
},
{
"type": "linked-versions",
"components": ["eslint-config", "eslint-plugin"],
"merge": true
}
],
"prerelease": false,
"include-v-in-tag": true,
"packages": {
".": {
"component": "esl",
"update-type": "node",
"changelog-path": "CHANGELOG.md",
"updateAllPackages": true
},
"eslint-config": {
"component": "eslint-config",
"update-type": "node"
},
"eslint-plugin": {
"component": "eslint-plugin",
"update-type": "node"
}
}
}
9 changes: 4 additions & 5 deletions .release/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"packages": {
"@exadel/esl": "5.0.0",
"@exadel/eslint-config-esl": "5.0.0",
"@exadel/eslint-plugin-esl": "5.0.0"
}
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/manifest.json",
"@exadel/esl": "5.0.0",
"@exadel/eslint-config-esl": "5.0.0",
"@exadel/eslint-plugin-esl": "5.0.0"
}

0 comments on commit 24a003a

Please # to comment.