Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: allow use by TypeScript projects with bundler/node16 config #2084

Merged
merged 4 commits into from
Jan 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: enable .d.ts files generation
tash-2s committed Jan 1, 2024
commit dcffc8fd79bb02aa90178918f2bd97b8236fb481
2 changes: 1 addition & 1 deletion packages/abi-ts/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts", "src/abi-ts.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/block-logs-stream/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/common/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ export default defineConfig({
},
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/config/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/library/index.ts", "src/register/index.ts", "src/node/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/dev-tools/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/faucet/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts", "bin/faucet-server.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/gas-report/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["ts/index.ts", "ts/gas-report.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/noise/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["ts/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/phaserx/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/protocol-parser/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/react/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/recs/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts", "src/deprecated/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/schema-type/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ export default defineConfig({
outDir: "dist/typescript",
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/services/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ export default defineConfig({
},
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
});
2 changes: 1 addition & 1 deletion packages/store-sync/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ export default defineConfig({
],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/store/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["mud.config.ts", "ts/index.ts", "ts/codegen/index.ts", "ts/config/index.ts", "ts/register/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/utils/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["src/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/world-modules/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["mud.config.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,
2 changes: 1 addition & 1 deletion packages/world/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineConfig({
entry: ["mud.config.ts", "ts/index.ts", "ts/register/index.ts", "ts/node/index.ts"],
target: "esnext",
format: ["esm"],
dts: false,
dts: true,
sourcemap: true,
clean: true,
minify: true,