diff --git a/.changeset/cold-cups-prove.md b/.changeset/cold-cups-prove.md new file mode 100644 index 0000000..62639b6 --- /dev/null +++ b/.changeset/cold-cups-prove.md @@ -0,0 +1,5 @@ +--- +"@effect/cli": minor +--- + +Fixed exports of public module at subpaths diff --git a/package.json b/package.json index a112cfb..3ba9bcf 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7ef652..db118aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ devDependencies: specifier: ^2.26.2 version: 2.26.2 '@effect/build-utils': - specifier: ^0.4.0 - version: 0.4.0 + specifier: ^0.4.1 + version: 0.4.1 '@effect/docgen': specifier: ^0.3.2 version: 0.3.2(fast-check@3.13.2)(tsx@4.1.0)(typescript@5.2.2) @@ -663,8 +663,8 @@ packages: resolution: {integrity: sha512-rPwwm/RrFIolz6xHa8Kzpshuwpe+xu/XcEw9iUmRF2tnyIwxxaW7XoFKaQ+GfPju81cKpH4vJeq7/2IizKvyjg==} dev: true - /@effect/build-utils@0.4.0: - resolution: {integrity: sha512-1dL2qgzfGECCvMZ2BXhNjAdSDsKS9zpNJne8caxXRI8FtjFNPuj3HYOhYZVmaYfSvzwlC+p9nPBTRaiczoLe8w==} + /@effect/build-utils@0.4.1: + resolution: {integrity: sha512-p4Fm6jAnXEi1HaG6lRQN6uBWfFmMpoXetedMshuKO19EFk9OSAkcTl4Hb2wiE/Ex34xsmxg9gKlFpAZR6gc0ww==} engines: {node: '>=16.17.1'} hasBin: true dev: true diff --git a/src/index.ts b/src/index.ts index b9f3543..8e644a8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 */ @@ -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 */