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.
- package/cli/stabilize-cli.ts +2 -2
- package/package.json +1 -1
- package/tests/migrations.test.ts +4 -4
- /package/{lib/LICENSE → LICENSE} +0 -0
- /package/{lib/cache.ts → cache.ts} +0 -0
- /package/{lib/client.ts → client.ts} +0 -0
- /package/{lib/decorators.ts → decorators.ts} +0 -0
- /package/{lib/index.ts → index.ts} +0 -0
- /package/{lib/logger.ts → logger.ts} +0 -0
- /package/{lib/migrations.ts → migrations.ts} +0 -0
- /package/{lib/query-builder.ts → query-builder.ts} +0 -0
- /package/{lib/repository.ts → repository.ts} +0 -0
- /package/{lib/types.ts → types.ts} +0 -0
package/cli/stabilize-cli.ts
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
type DBConfig,
|
|
8
8
|
LogLevel,
|
|
9
9
|
type LoggerConfig,
|
|
10
|
-
runMigrations,
|
|
11
|
-
} from
|
|
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
package/tests/migrations.test.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { describe, it, expect, vi } from 'vitest';
|
|
2
|
-
import { generateMigration, runMigrations } from '../
|
|
3
|
-
import { DBType } from '../
|
|
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 '../
|
|
6
|
-
import { DBClient } from '../
|
|
5
|
+
import { ModelKey, ColumnKey, ValidatorKey, SoftDeleteKey } from '../decorators';
|
|
6
|
+
import { DBClient } from '../client';
|
|
7
7
|
|
|
8
8
|
// --- MOCKING SETUP ---
|
|
9
9
|
|
/package/{lib/LICENSE → LICENSE}
RENAMED
|
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
|