casker-cli 1.0.1 → 1.0.3
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/dist/shared/infrastructure/config/data-source.d.ts.map +1 -1
- package/dist/shared/infrastructure/config/data-source.js +5 -1
- package/dist/shared/infrastructure/config/data-source.js.map +1 -1
- package/dist/shared/presentation/bin/dev.d.ts +3 -0
- package/dist/shared/presentation/bin/dev.d.ts.map +1 -0
- package/dist/shared/presentation/bin/dev.js +4 -0
- package/dist/shared/presentation/bin/dev.js.map +1 -0
- package/dist/shared/presentation/bin/run.d.ts +3 -0
- package/dist/shared/presentation/bin/run.d.ts.map +1 -0
- package/dist/shared/presentation/bin/run.js +4 -0
- package/dist/shared/presentation/bin/run.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-source.d.ts","sourceRoot":"","sources":["../../../../src/shared/infrastructure/config/data-source.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"data-source.d.ts","sourceRoot":"","sources":["../../../../src/shared/infrastructure/config/data-source.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,eAAO,MAAM,aAAa,YAWxB,CAAC"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
2
|
import { DataSource } from 'typeorm';
|
|
3
3
|
import { BackupResultModel } from '../../../backup/infrastructure/persistance/entities/BackupResultModel.js';
|
|
4
|
+
import path from 'node:path';
|
|
4
5
|
export const AppDataSource = new DataSource({
|
|
5
6
|
type: 'better-sqlite3',
|
|
6
7
|
database: 'casker',
|
|
7
8
|
synchronize: false,
|
|
8
9
|
logging: false,
|
|
9
10
|
entities: [BackupResultModel],
|
|
10
|
-
migrations: [
|
|
11
|
+
migrations: [
|
|
12
|
+
path.join(import.meta.dirname, '../../../backup/infrastructure/persistance/migrations/*.js'),
|
|
13
|
+
],
|
|
14
|
+
migrationsRun: true,
|
|
11
15
|
subscribers: [],
|
|
12
16
|
});
|
|
13
17
|
//# sourceMappingURL=data-source.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-source.js","sourceRoot":"","sources":["../../../../src/shared/infrastructure/config/data-source.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0EAA0E,CAAC;
|
|
1
|
+
{"version":3,"file":"data-source.js","sourceRoot":"","sources":["../../../../src/shared/infrastructure/config/data-source.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0EAA0E,CAAC;AAC7G,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,UAAU,CAAC;IAC1C,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,CAAC,iBAAiB,CAAC;IAC7B,UAAU,EAAE;QACV,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,4DAA4D,CAAC;KAC7F;IACD,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,EAAE;CAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../../../src/shared/presentation/bin/dev.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev.js","sourceRoot":"","sources":["../../../../src/shared/presentation/bin/dev.js"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../src/shared/presentation/bin/run.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.js","sourceRoot":"","sources":["../../../../src/shared/presentation/bin/run.js"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC"}
|