Skip to content

Commit

Permalink
feat: output typescript to a separate package
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated authored and overlookmotel committed Oct 22, 2024
1 parent 5375e21 commit fda6df0
Show file tree
Hide file tree
Showing 7 changed files with 1,478 additions and 29 deletions.
1 change: 1 addition & 0 deletions .github/.generated_ast_watch_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ src:
- 'crates/oxc_ast/src/generated/ast_builder.rs'
- 'crates/oxc_ast/src/generated/visit.rs'
- 'crates/oxc_ast/src/generated/visit_mut.rs'
- 'npm/oxc-types/src/generated/types.d.ts'
- 'tasks/ast_tools/src/**'
- '.github/.generated_ast_watch_list.yml'
3 changes: 3 additions & 0 deletions npm/oxc-types/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Oxc Types

Typescript definitions for Oxc AST nodes.
27 changes: 27 additions & 0 deletions npm/oxc-types/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "@types/oxc",
"version": "0.32.0",
"description": "Types for Oxc AST nodes",
"keywords": [
"AST",
"Parser"
],
"author": "Boshen and oxc contributors",
"license": "MIT",
"homepage": "https://oxc.rs",
"bugs": "https://github.com/oxc-project/oxc/issues",
"repository": {
"type": "git",
"url": "https://github.com/oxc-project/oxc.git",
"directory": "npm/oxc-types"
},
"funding": {
"url": "https://github.com/sponsors/Boshen"
},
"main": "",
"types": "src/index.d.ts",
"files": [
"src/index.d.ts",
"src/generated/types.d.ts"
]
}
Loading

0 comments on commit fda6df0

Please sign in to comment.