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

Commit

Permalink
fix public module exports (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy authored Nov 11, 2023
1 parent 3602cfd commit cb01813
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-cups-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/cli": minor
---

Fixed exports of public module at subpaths
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
"functional-programming"
],
"sideEffects": false,
"effect": {
"generateExports": {
"include": [
"**/*.ts"
]
},
"generateIndex": {
"include": [
"**/*.ts"
]
}
},
"scripts": {
"build": "pnpm build-prepare && pnpm build-esm && pnpm build-cjs && pnpm build-annotate && build-utils pack-v2",
"build-prepare": "build-utils prepare-v2",
Expand Down Expand Up @@ -58,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 cb01813

Please sign in to comment.