@raypx-kit/drizzle-kit 0.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # @raypx-kit/drizzle-kit
2
+
3
+ ## 0.0.0-alpha.0
4
+
5
+ Initial Raypx Kit prerelease.
6
+
7
+ - Provide a slim distribution of drizzle-kit `1.0.0-rc.5-5935859`.
8
+ - Redistribute the upstream CLI, agent skills, `defineConfig` and declarations unchanged,
9
+ omitting the unused programmatic API and payload bundles.
10
+ - Keep upstream dependency ranges and the `drizzle-kit` binary name.
11
+ - Preserve CommonJS and ESM entry points with a generated module-type boundary
12
+ without changing upstream files or public export paths.
13
+ - Retain the synchronized exact Drizzle prerelease and upstream dependency
14
+ declarations; align the coverage provider with Vitest `5.0.5`.
package/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ MIT License
2
+
3
+ Copyright 2026 Zack <heyloyep@gmail.com>
4
+
5
+ The copyright above applies to this package's packaging scripts and documentation.
6
+ This package also redistributes unchanged files from drizzle-kit by Drizzle Team
7
+ (https://github.com/drizzle-team/drizzle-orm), whose package declares the MIT
8
+ license in its published package metadata. Upstream ownership is unchanged.
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # @raypx-kit/drizzle-kit
2
+
3
+ [drizzle-kit](https://orm.drizzle.team/docs/kit-overview)'s command line and
4
+ `defineConfig`, without the prebuilt programmatic API and payload bundles that
5
+ make up most of the upstream package. Installed size drops from about 101 MB to
6
+ about 7 MB; the runtime dependency names are preserved.
7
+ The distribution supports Node 22.14+ and Bun.
8
+
9
+ ```sh
10
+ bun add -d @raypx-kit/drizzle-kit 'drizzle-orm@>=1.0.0-rc.5-5935859 <1.0.0-rc.5-z'
11
+ ```
12
+
13
+ The copied files are upstream's, byte for byte. A generated `dist/package.json`
14
+ preserves their CommonJS module type; `.mjs` exports remain ESM. Each artifact is
15
+ built from the lockfile's resolved drizzle-kit version. Install `drizzle-orm`
16
+ from the supported RC5 range, which the CLI loads from the consumer project.
17
+
18
+ Drizzle ORM/CLI declarations use `>=1.0.0-rc.5-5935859 <1.0.0-rc.5-z`;
19
+ validation tests the builds selected by `bun.lock`. Runtime dependencies preserve
20
+ upstream's existing ranges and widen exact upstream declarations to caret ranges
21
+ that include the upstream versions. Tests check the dependency names and range
22
+ coverage when updating the CLI.
23
+
24
+ | @raypx-kit/drizzle-kit | drizzle-kit |
25
+ | ---------------------- | -------------------- |
26
+ | `0.0.0-alpha.0` | `1.0.0-rc.5-5935859` |
27
+
28
+ ## Usage
29
+
30
+ The binary keeps its name, so scripts do not change:
31
+
32
+ ```sh
33
+ drizzle-kit generate --config drizzle.config.ts
34
+ ```
35
+
36
+ Import `defineConfig` from this package:
37
+
38
+ ```ts
39
+ import { defineConfig } from "@raypx-kit/drizzle-kit";
40
+
41
+ export default defineConfig({
42
+ dialect: "postgresql",
43
+ schema: "./src/schema.ts",
44
+ out: "./drizzle",
45
+ });
46
+ ```
47
+
48
+ To keep `import "drizzle-kit"` unchanged, install under that name with an alias
49
+ instead: `"drizzle-kit": "npm:@raypx-kit/drizzle-kit@0.0.0-alpha.0"`.
50
+
51
+ ## What is omitted
52
+
53
+ Every CLI command (`generate`, `migrate`, `push`, `pull`, `check`, `up`,
54
+ `export`, `studio`, `skills`, `mcp`) ships in the CLI bundle, with the agent
55
+ skills it serves. The `drizzle-kit/api-*` and `drizzle-kit/payload/*` entries are
56
+ not included; use upstream drizzle-kit for programmatic migrations.
57
+
58
+ ## Development
59
+
60
+ Tests live under `tests/`. Schema-generation fixtures are in
61
+ `tests/fixtures/schema/`, and isolated archive consumer fixtures are in
62
+ `tests/fixtures/consumer/`. The build runs the production extractor under `src/`.
63
+
64
+ ## License
65
+
66
+ MIT, as declared by upstream drizzle-kit. See [LICENSE](LICENSE).