Home / File/ build.ts — drizzle-orm Source File

build.ts — drizzle-orm Source File

Architecture documentation for build.ts, a typescript file in the drizzle-orm codebase. 2 imports, 0 dependents.

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  c10d0be3_1c02_6910_d4b2_678bb9494ecb["build.ts"]
  c10a8be4_82f5_0980_d482_1683db51662a["globals"]
  c10d0be3_1c02_6910_d4b2_678bb9494ecb --> c10a8be4_82f5_0980_d482_1683db51662a
  7a50f276_e4b6_7905_ee35_58545d0171ef["cpy"]
  c10d0be3_1c02_6910_d4b2_678bb9494ecb --> 7a50f276_e4b6_7905_ee35_58545d0171ef
  style c10d0be3_1c02_6910_d4b2_678bb9494ecb 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

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-typebox/scripts/build.ts (directory: drizzle-typebox/scripts).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free