Skip to content

Commit

Permalink
fix: rebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
gamezinfantes committed Apr 24, 2024
1 parent b4bbf29 commit 1bbb025
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 153 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-and-release:
runs-on: ubuntu-latest
environment: release
environment: Release

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"start": "cross-env node dist/index.js",
"serve": "ts-node ./src/index.ts",
"build": "yarn run clean && yarn run rebuild && yarn run makeExecutable",
"rebuild": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node14 --banner:js='#!/usr/bin/env node'",
"rebuild": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node14 --banner:js='#!/usr/bin/env node' --external:dtrace-provider",
"makeExecutable": "chmod +x dist/index.js",
"lint": "eslint src --ext .ts",
"format:fix": "prettier --write 'src/**/*.ts'",
Expand Down
Loading

0 comments on commit 1bbb025

Please sign in to comment.