Skip to content

Commit

Permalink
Add entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed Feb 12, 2024
1 parent 8eb03c4 commit 21dcbc7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ Chinook_Sqlite.sql
/run_trees.cjs
/run_trees.js
/run_trees.d.ts
/run_helpers.cjs
/run_helpers.js
/run_helpers.d.ts
/evaluation.cjs
/evaluation.js
/evaluation.d.ts
Expand Down
8 changes: 8 additions & 0 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"run_trees.cjs",
"run_trees.js",
"run_trees.d.ts",
"run_helpers.cjs",
"run_helpers.js",
"run_helpers.d.ts",
"evaluation.cjs",
"evaluation.js",
"evaluation.d.ts",
Expand Down Expand Up @@ -110,6 +113,11 @@
"import": "./run_trees.js",
"require": "./run_trees.cjs"
},
"./run_helpers": {
"types": "./run_helpers.d.ts",
"import": "./run_helpers.js",
"require": "./run_helpers.cjs"
},
"./evaluation": {
"types": "./evaluation.d.ts",
"import": "./evaluation.js",
Expand Down
1 change: 1 addition & 0 deletions js/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as path from "path";
const entrypoints = {
client: "client",
run_trees: "run_trees",
run_helpers: "run_helpers",
evaluation: "evaluation/index",
schemas: "schemas",
};
Expand Down
1 change: 1 addition & 0 deletions js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"entryPoints": [
"src/client.ts",
"src/run_trees.ts",
"src/run_helpers.ts",
"src/evaluation/index.ts",
"src/schemas.ts"
]
Expand Down

0 comments on commit 21dcbc7

Please sign in to comment.