Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
add index.ts re-exports for submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy committed Nov 10, 2023
1 parent e358cf2 commit 66b68c1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"include": [
"**/*.ts"
]
},
"generateIndex": {
"include": [
"**/*.ts"
]
}
},
"scripts": {
Expand Down Expand Up @@ -65,7 +70,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@effect/build-utils": "^0.4.0",
"@effect/build-utils": "^0.4.1",
"@effect/docgen": "^0.3.2",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "^0.0.21",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export * as Completion from "./Completion.js"
*/
export * as HelpDoc from "./HelpDoc.js"

/**
* @since 1.0.0
*/
export * as Span from "./HelpDoc/Span.js"

/**
* @since 1.0.0
*/
Expand All @@ -68,6 +73,11 @@ export * as Primitive from "./Primitive.js"
*/
export * as Prompt from "./Prompt.js"

/**
* @since 1.0.0
*/
export * as Action from "./Prompt/Action.js"

/**
* @since 1.0.0
*/
Expand Down

0 comments on commit 66b68c1

Please sign in to comment.