Skip to content

Commit

Permalink
Update version, sign release
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Best-Codes committed Dec 9, 2024
1 parent 8b015df commit dc509a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types: [created]
workflow_dispatch:

permissions:
contents: write
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -19,6 +23,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: bun install
- run: bun run build
- run: npm publish
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "best-bible",
"version": "1.6.9",
"version": "1.7.0",
"description": "Fetch, parse, and analyze the Bible easily with JavaScript",
"scripts": {
"prebuild": "rm -rf dist",
Expand All @@ -9,10 +9,10 @@
"build:types": "tsc --project tsconfig.types.json",
"build:browser": "bun build src/browser.ts --outfile dist/browser/best-bible.min.js --target browser --minify",
"build": "bun run prebuild && bun run build:cjs && bun run build:esm && bun run build:browser && bun run build:types",
"prepublishOnly": "npm run build",
"prepublishOnly": "bun run build",
"test": "bun test"
},
"packageManager": "[email protected].37",
"packageManager": "[email protected].38",
"files": [
"dist",
"README.md",
Expand Down Expand Up @@ -52,7 +52,7 @@
"devDependencies": {
"@types/bun": "^1.1.14",
"@types/node": "^22.10.1",
"bun-types": "^1.1.37",
"bun-types": "^1.1.38",
"typescript": "^5.7.2"
}
}
}

0 comments on commit dc509a7

Please sign in to comment.