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 ef7fbd3c_1736_f4b7_b0a8_63b5ed39c418["build.ts"] c10a8be4_82f5_0980_d482_1683db51662a["globals"] ef7fbd3c_1736_f4b7_b0a8_63b5ed39c418 --> c10a8be4_82f5_0980_d482_1683db51662a 7a50f276_e4b6_7905_ee35_58545d0171ef["cpy"] ef7fbd3c_1736_f4b7_b0a8_63b5ed39c418 --> 7a50f276_e4b6_7905_ee35_58545d0171ef style ef7fbd3c_1736_f4b7_b0a8_63b5ed39c418 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');
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-seed/scripts/build.ts (directory: drizzle-seed/scripts).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free