Skip to content

Commit

Permalink
use safe installation from lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurrr committed Nov 15, 2024
1 parent 97459ea commit 841d05a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ jobs:
check-latest: true
registry-url: "https://registry.npmjs.org"

- name: Update NPM
run: npm install -g npm@latest

- name: Install dependencies
run: npm install
run: bun install --frozen-lockfile

- name: Build
run: bun run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Lint
run: bun lint
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,5 @@ package-lock.json
# yarn
yarn.lock

# bun
bun.lockb

# npm
!.npmignore
Binary file added bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "better-status-codes",
"description": "A much better way to handle HTTP status codes in your applications. Zero dependencies, batteries included.",
"version": "2.0.5",
"version": "2.0.6",
"license": "BSD-3-Clause",
"author": "Md. Touhidur Rahman",
"main": "dist/index.js",
Expand All @@ -25,11 +25,11 @@
"build": "bun scripts/build.ts"
},
"devDependencies": {
"@types/bun": "^1.1.10",
"@types/bun": "^1.1.13",
"@types/statuses": "^2.0.5",
"http-status-codes": "^2.3.0",
"prettier": "^3.3.3",
"statuses": "^2.0.1",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
}
}

0 comments on commit 841d05a

Please sign in to comment.