build.ts — drizzle-orm Source File
Architecture documentation for build.ts, a typescript file in the drizzle-orm codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 46df6e14_d18a_d0ac_c5a4_cd08859bfd86["build.ts"] c10a8be4_82f5_0980_d482_1683db51662a["globals"] 46df6e14_d18a_d0ac_c5a4_cd08859bfd86 --> c10a8be4_82f5_0980_d482_1683db51662a 7a50f276_e4b6_7905_ee35_58545d0171ef["cpy"] 46df6e14_d18a_d0ac_c5a4_cd08859bfd86 --> 7a50f276_e4b6_7905_ee35_58545d0171ef style 46df6e14_d18a_d0ac_c5a4_cd08859bfd86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
#!/usr/bin/env -S pnpm tsx
import 'zx/globals';
import cpy from 'cpy';
await fs.remove('dist');
await $`rollup --config rollup.config.ts --configPlugin typescript`;
await $`resolve-tspaths`;
await fs.copy('README.md', 'dist/README.md');
await cpy('dist/**/*.d.ts', 'dist', {
rename: (basename) => basename.replace(/\.d\.ts$/, '.d.mts'),
});
await cpy('dist/**/*.d.ts', 'dist', {
rename: (basename) => basename.replace(/\.d\.ts$/, '.d.cts'),
});
await fs.copy('package.json', 'dist/package.json');
await $`scripts/fix-imports.ts`;
Dependencies
- cpy
- globals
Source
Frequently Asked Questions
What does build.ts do?
build.ts is a source file in the drizzle-orm codebase, written in typescript.
What does build.ts depend on?
build.ts imports 2 module(s): cpy, globals.
Where is build.ts in the architecture?
build.ts is located at drizzle-zod/scripts/build.ts (directory: drizzle-zod/scripts).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free