Skip to content

Commit

Permalink
chore: package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
maxprilutskiy committed Feb 5, 2025
1 parent 3afaf44 commit 74bd1c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thin-dots-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"lingo.dev": patch
---

package exports
2 changes: 2 additions & 0 deletions packages/cli/src/sdk/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// Re-export everything but with type checking
export type * from "@lingo.dev/_sdk";
export * from "@lingo.dev/_sdk";
2 changes: 2 additions & 0 deletions packages/cli/src/spec/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// Re-export everything but with type checking
export type * from "@lingo.dev/_spec";
export * from "@lingo.dev/_spec";
2 changes: 0 additions & 2 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { defineConfig } from "tsup";

export default defineConfig({
clean: true,
target: "esnext",
entry: {
cli: "src/cli/index.ts",
sdk: "src/sdk/index.ts",
Expand All @@ -16,7 +15,6 @@ export default defineConfig({
bundle: true,
sourcemap: true,
external: ["readline/promises"],
noExternal: ["@lingo.dev/_sdk", "@lingo.dev/_spec"],
outExtension: (ctx) => ({
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
}),
Expand Down

0 comments on commit 74bd1c9

Please sign in to comment.