Skip to content

Commit

Permalink
Merge pull request #21 from FilipTLW/fix/publish-build
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipTLW authored Dec 27, 2024
2 parents cab054c + 8e39d63 commit 73e4afa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ jobs:
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpx nx release publish core --access=public
run: pnpx nx run core:publish
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garudalinux/core",
"version": "0.0.1",
"version": "0.0.2",
"description": "Component library for webpages of Garuda Linux for Angular based on PrimeNG",
"keywords": [
"garuda",
Expand Down
8 changes: 8 additions & 0 deletions core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
},
"lint": {
"executor": "@nx/eslint:lint"
},
"publish": {
"executor": "@nx/js:release-publish",
"dependsOn": ["build"],
"options": {
"access": "public",
"packageRoot": "{workspaceRoot}/dist/core"
}
}
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "garuda-ng",
"version": "0.0.1",
"description": "Component library for webpages of Garuda Linux for Angular based on PrimeNG",
"keywords": [
"garuda",
Expand Down

0 comments on commit 73e4afa

Please sign in to comment.