Skip to content

Commit

Permalink
Merge pull request #3 from patrickkabwe/feat/add-keywords
Browse files Browse the repository at this point in the history
chore: add keywords and modify release gha
  • Loading branch information
patrickkabwe authored Dec 1, 2024
2 parents 07138f8 + 4d882b0 commit 72e5876
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-balloons-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-nitro-module': patch
---

add npm keywords and adds read and write permission to the release gha
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: read
pages: write

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand Down Expand Up @@ -36,7 +40,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: bun release
publish: bun release
commit: 'chore(release): version packages v${{ steps.get-version.outputs.version }}'
title: 'chore(release): version packages v${{ steps.get-version.outputs.version }}'
env:
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"lib",
"README.md"
],
"keywords": [
"react native",
"react-native",
"nitro-create",
"nitro-cli",
"nitro-modules",
"nitro-modules-cli"
],
"bin": {
"create-nitro-module": "./lib/cli.js",
"nitro-module": "./lib/cli.js"
Expand All @@ -19,7 +27,7 @@
"changeset": "changeset",
"version": "changeset version",
"prerelease": "rm -rf ./lib/assets",
"release": "bun run build && changeset publish",
"release": "bun run build && bun version && changeset publish",
"lint": "eslint . --ignore-pattern 'eslint.config.js' --no-warn-ignored",
"format": "prettier --write src/*.ts"
},
Expand Down

0 comments on commit 72e5876

Please sign in to comment.