stabilize-orm 1.0.9 → 1.1.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.
@@ -7,8 +7,8 @@ import {
7
7
  type DBConfig,
8
8
  LogLevel,
9
9
  type LoggerConfig,
10
- runMigrations,
11
- } from '../lib';
10
+ runMigrations, // Added runMigrations import
11
+ } from "../src";
12
12
  import * as fs from "fs/promises";
13
13
  import * as path from "path";
14
14
  import { glob } from "glob";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stabilize-orm",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "A lightweight, type-safe ORM for Bun.js with support for SQLite, MySQL, PostgreSQL, and Redis caching",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,9 +1,9 @@
1
1
  import { describe, it, expect, vi } from 'vitest';
2
- import { generateMigration, runMigrations } from '../lib/migrations';
3
- import { DBType } from '../lib/types';
2
+ import { generateMigration, runMigrations } from '../migrations';
3
+ import { DBType } from '../types';
4
4
  // We must mock the imports that provide the metadata keys and the client implementation
5
- import { ModelKey, ColumnKey, ValidatorKey, SoftDeleteKey } from '../lib/decorators';
6
- import { DBClient } from '../lib/client';
5
+ import { ModelKey, ColumnKey, ValidatorKey, SoftDeleteKey } from '../decorators';
6
+ import { DBClient } from '../client';
7
7
 
8
8
  // --- MOCKING SETUP ---
9
9
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes