@zintrust/core 0.1.54 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/core",
3
- "version": "0.1.54",
3
+ "version": "0.4.1",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -45,16 +45,16 @@
45
45
  "./package.json": "./package.json"
46
46
  },
47
47
  "dependencies": {
48
- "@cloudflare/containers": "^0.1.0",
49
- "@zintrust/workers": "^0.1.31",
48
+ "@cloudflare/containers": "^0.1.1",
49
+ "@zintrust/workers": "^0.1.54",
50
50
  "bcryptjs": "^3.0.3",
51
- "bullmq": "^5.69.3",
51
+ "bullmq": "^5.70.4",
52
52
  "chalk": "^5.6.2",
53
53
  "commander": "^14.0.3",
54
- "inquirer": "^13.2.5",
54
+ "inquirer": "^13.3.0",
55
55
  "jsonwebtoken": "^9.0.3",
56
- "mysql2": "^3.17.2",
57
- "pg": "^8.18.0"
56
+ "mysql2": "^3.19.0",
57
+ "pg": "^8.20.0"
58
58
  },
59
59
  "overrides": {
60
60
  "ajv": "^8.18.0",
@@ -1 +1 @@
1
- {"version":3,"file":"CLI.d.ts","sourceRoot":"","sources":["../../../src/cli/CLI.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,MAAM,WAAW,IAAI;IACnB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,UAAU,IAAI,OAAO,CAAC;CACvB;AA4PD;;;;;;;GAOG;AACH,eAAO,MAAM,GAAG;cACJ,IAAI;EAed,CAAC"}
1
+ {"version":3,"file":"CLI.d.ts","sourceRoot":"","sources":["../../../src/cli/CLI.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,MAAM,WAAW,IAAI;IACnB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,UAAU,IAAI,OAAO,CAAC;CACvB;AA6PD;;;;;;;GAOG;AACH,eAAO,MAAM,GAAG;cACJ,IAAI;EAed,CAAC"}
package/src/cli/CLI.js CHANGED
@@ -66,6 +66,7 @@ import { Logger } from '../config/logger.js';
66
66
  import { ErrorFactory } from '../exceptions/ZintrustError.js';
67
67
  import { readFileSync } from '../node-singletons/fs.js';
68
68
  import { join } from '../node-singletons/path.js';
69
+ import { D1Migrator } from '../../packages/d1-migrator/src/index.js';
69
70
  import { Command } from 'commander';
70
71
  const __dirname = esmDirname(import.meta.url);
71
72
  const isCommandProvider = (command) => {
@@ -105,6 +106,7 @@ const buildCommandRegistry = () => {
105
106
  DbSeedCommand.create(),
106
107
  D1LearnCommand.create(),
107
108
  D1MigrateCommand.create(),
109
+ D1Migrator.MigrateToD1Command,
108
110
  DebugCommand.create(),
109
111
  SecretsCommand.create(),
110
112
  ConfigCommand.create(),
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export { BaseCommand, type CommandOptions } from './BaseCommand';
6
6
  export { CLI } from './CLI';
7
- export { ErrorHandler, EXIT_CODES } from './ErrorHandler';
7
+ export { EXIT_CODES, ErrorHandler } from './ErrorHandler';
8
8
  export { PromptHelper, type PromptOptions } from './PromptHelper';
9
9
  export { AddCommand } from './commands/AddCommand';
10
10
  export { ConfigCommand } from './commands/ConfigCommand';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,YAA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E,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
package/src/cli/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export { BaseCommand } from './BaseCommand.js';
6
6
  export { CLI } from './CLI.js';
7
- export { ErrorHandler, EXIT_CODES } from './ErrorHandler.js';
7
+ export { EXIT_CODES, ErrorHandler } from './ErrorHandler.js';
8
8
  export { PromptHelper } from './PromptHelper.js';
9
9
  // Export commands
10
10
  export { AddCommand } from './commands/AddCommand.js';
package/src/cli.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { BaseCommand } from './cli/BaseCommand';
2
2
  export type { CommandOptions } from './cli/BaseCommand';
3
3
  export { CLI } from './cli/CLI';
4
- export { ErrorHandler, EXIT_CODES } from './cli/ErrorHandler';
4
+ export { EXIT_CODES, ErrorHandler } from './cli/ErrorHandler';
5
5
  //# sourceMappingURL=cli.d.ts.map
package/src/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
package/src/cli.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // CLI utilities (for build tools and scripting)
2
2
  export { BaseCommand } from './cli/BaseCommand.js';
3
3
  export { CLI } from './cli/CLI.js';
4
- export { ErrorHandler, EXIT_CODES } from './cli/ErrorHandler.js';
4
+ export { EXIT_CODES, ErrorHandler } from './cli/ErrorHandler.js';
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v0.1.54
2
+ * @zintrust/core v0.4.1
3
3
  *
4
4
  * ZinTrust Framework - Production-Grade TypeScript Backend
5
5
  * Built for performance, type safety, and exceptional developer experience
6
6
  *
7
7
  * Build Information:
8
- * Built: 2026-03-02T09:00:32.128Z
8
+ * Built: 2026-03-10T13:33:51.043Z
9
9
  * Node: >=20.0.0
10
10
  * License: MIT
11
11
  *
@@ -21,7 +21,7 @@
21
21
  * Available at runtime for debugging and health checks
22
22
  */
23
23
  export const ZINTRUST_VERSION = '0.1.41';
24
- export const ZINTRUST_BUILD_DATE = '2026-03-02T09:00:32.097Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-03-10T13:33:51.010Z'; // Replaced during build
25
25
  export { Application } from './boot/Application.js';
26
26
  export { AwsSigV4 } from './common/index.js';
27
27
  export { SignedRequest } from './security/SignedRequest.js';