Skip to content

Commit

Permalink
feat: parser options. (#5)
Browse files Browse the repository at this point in the history
* chore: upgrade dev deps.
  • Loading branch information
knightedcodemonkey authored Jun 18, 2024
1 parent fc5c3a5 commit 66d4da1
Show file tree
Hide file tree
Showing 13 changed files with 422 additions and 345 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
path: npm-debug.log
- name: Pack
run: npm pack
- name: Lint
run: npm run lint
- name: Test
Expand All @@ -35,5 +37,3 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Pack
run: npm pack
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
path: npm-debug.log
- name: Pack
run: npm pack
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Pack
run: npm pack
- name: Push to NPM registry
uses: JS-DevTools/[email protected]
with:
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ const ast1 = reparseFileSync('./file.ts')

console.log(ast0.span.start === ast1.span.start) // true
```

## Notes

- To use `reparse` with `@swc/core` as a dependency use the 1.x versions.
- To use `reparse` with `@swc/core` as a peer dependency use the 2.x versions.
Loading

0 comments on commit 66d4da1

Please sign in to comment.