Skip to content

Commit

Permalink
feat: add --node:opt
Browse files Browse the repository at this point in the history
resolves #11
  • Loading branch information
hyrious committed Dec 8, 2023
1 parent 5b44932 commit 19c7552
Show file tree
Hide file tree
Showing 12 changed files with 1,094 additions and 711 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install vitepress
- run: npm install
- run: npm run docs
- uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## Unreleased
## 0.10.5

- **feat**: Add `temp` command to print the output directory.
- **feat**: Add `--node` to append node options instead of relying on `NODE_OPTIONS` env.

## 0.10.4

Expand Down
5 changes: 5 additions & 0 deletions docs/guide/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,8 @@ See the API [external](./api.md#external) for more details.

Anyway, when you get a syntax/runtime error, you can look at the
`node_modules/.esbuild-dev` folder to see bundled scripts.

```bash
$ esbuild-dev temp
# print full path to the '.esbuild-dev' folder from current place
```
Loading

0 comments on commit 19c7552

Please sign in to comment.