@zintrust/core 0.4.50 → 0.4.52

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/README.md CHANGED
@@ -43,6 +43,8 @@ import '@zintrust/core/boot';
43
43
  export {};
44
44
  ```
45
45
 
46
+ In Node mode, `@zintrust/core/boot` now loads the project env files before it hands off to the stock bootstrap lifecycle, using the same env-file parsing semantics as the CLI startup path.
47
+
46
48
  Use a full custom bootstrap only when you intentionally need behavior different from the stock ZinTrust bootstrap. If you replace it completely, you are also responsible for running any worker startup lifecycle that your app depends on.
47
49
 
48
50
  ## Install adapters (database/cache/etc.)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/core",
3
- "version": "0.4.50",
3
+ "version": "0.4.52",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -57,8 +57,6 @@
57
57
  "./package.json": "./package.json"
58
58
  },
59
59
  "dependencies": {
60
- "@cloudflare/containers": "^0.2.0",
61
- "@zintrust/workers": "0.4.50",
62
60
  "bcryptjs": "^3.0.3",
63
61
  "bullmq": "^5.71.1",
64
62
  "chalk": "^5.6.2",
package/src/boot.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import './boot/bootstrap';
2
1
  export {};
3
2
  //# sourceMappingURL=boot.d.ts.map
package/src/boot.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../src/boot.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAEzB,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../src/boot.ts"],"names":[],"mappings":"AA4CA,OAAO,EAAE,CAAC"}
package/src/boot.js CHANGED
@@ -1 +1,35 @@
1
- import './boot/bootstrap.js';
1
+ import { resolveNodeProjectRoot } from './runtime/resolveNodeProjectRoot.js';
2
+ const isNodeProcessRuntime = () => {
3
+ return (typeof process !== 'undefined' &&
4
+ typeof process === 'object' &&
5
+ process !== null &&
6
+ typeof process.versions === 'object');
7
+ };
8
+ const ensureNodeBootstrapEnv = async () => {
9
+ if (!isNodeProcessRuntime())
10
+ return;
11
+ const projectRoot = await resolveNodeProjectRoot();
12
+ if ((process.env?.['ZINTRUST_PROJECT_ROOT'] ?? '').trim() === '') {
13
+ process.env['ZINTRUST_PROJECT_ROOT'] = projectRoot;
14
+ }
15
+ const [{ EnvFileLoader }, { Logger }, { existsSync }, path] = await Promise.all([
16
+ import('./cli/utils/EnvFileLoader.js'),
17
+ import('./config/logger.js'),
18
+ import('./node-singletons/fs.js'),
19
+ import('./node-singletons/path.js'),
20
+ ]);
21
+ const state = EnvFileLoader.ensureLoaded({
22
+ cwd: projectRoot,
23
+ includeCwd: true,
24
+ });
25
+ if (state.loadedFiles.length > 0)
26
+ return;
27
+ const resolvedDotEnv = path.join(projectRoot, '.env');
28
+ Logger.warn('Node bootstrap started without loaded env files.', {
29
+ projectRoot,
30
+ resolvedDotEnv: existsSync(resolvedDotEnv) ? resolvedDotEnv : 'missing',
31
+ entry: '@zintrust/core/boot',
32
+ });
33
+ };
34
+ await ensureNodeBootstrapEnv();
35
+ await import('./boot/bootstrap.js');
@@ -1 +1 @@
1
- {"version":3,"file":"OptionalCliExtensions.d.ts","sourceRoot":"","sources":["../../../src/cli/OptionalCliExtensions.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,KAAK,8BAA8B,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAC;AAE3F,MAAM,MAAM,0BAA0B,GAAG,QAAQ,C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IAAI;8CAoHE,oBAAoB,YACjB,+BAA+B,KACxC,OAAO,CAAC,OAAO,CAAC;qCA0BV,oBAAoB,YACjB,+BAA+B,KACxC,OAAO,CAAC,OAAO,CAAC;uCAgCV,oBAAoB,YACjB,+BAA+B,KACxC,OAAO,CAAC,OAAO,CAAC;gCAuBV,oBAAoB,YACjB,+BAA+B,KACxC,OAAO,CAAC,0BAA0B,CAAC;gCAwCH,MAAM,EAAE,KAAG,MAAM,GAAG,SAAS;mCAU1B,MAAM,EAAE,KAAG,oBAAoB,GAAG,SAAS;8BAOhD,MAAM,EAAE,KAAG,OAAO;uCAvMT,oBAAoB,KAAG,MAAM,EAAE;gCAwBtC,oBAAoB,KAAG,MAAM,EAAE;EAuPhE,CAAC"}
@@ -75,6 +75,16 @@ const OPTIONAL_CLI_EXTENSIONS = Object.freeze([
75
75
  path.join(packageRoot, 'dist', 'packages', 'system-debugger', 'src', 'cli-register.js'),
76
76
  ],
77
77
  },
78
+ {
79
+ packageName: '@zintrust/expose',
80
+ specifier: '@zintrust/expose/register',
81
+ commands: ['expose', 'exp'],
82
+ installCommand: 'npm install @zintrust/expose',
83
+ localCandidates: [
84
+ path.join(packageRoot, 'packages', 'expose', 'src', 'register.ts'),
85
+ path.join(packageRoot, 'packages', 'expose', 'src', 'register.js'),
86
+ ],
87
+ },
78
88
  ]);
79
89
  const getProjectLocalCandidates = (entry) => {
80
90
  const projectRoot = resolveProjectRoot();
@@ -215,7 +215,7 @@ const warnIfAdapterMissing = (cmd, conn) => {
215
215
  if (conn.driver === 'mysql' && DatabaseAdapterRegistry.get('mysql') === undefined) {
216
216
  cmd.warn('MySQL adapter is not installed/registered; migrations may not hit a real MySQL DB.');
217
217
  cmd.warn('Install via `zin plugin install adapter:mysql` (or `zin add db:mysql`).');
218
- cmd.debug('[debug] Expected a side-effect import in src/zintrust.plugins.ts like: import "@zintrust/db-mysql/register";');
218
+ cmd.debug('[debug] Expected a side-effect import in src/zintrust.plugins.ts like: import "../../../packages/db-mysql/src/register";');
219
219
  }
220
220
  if (conn.driver === 'postgresql' && DatabaseAdapterRegistry.get('postgresql') === undefined) {
221
221
  cmd.warn('PostgreSQL adapter is not installed/registered; migrations may not hit a real PostgreSQL DB.');
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v0.4.50
2
+ * @zintrust/core v0.4.52
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-04-04T09:55:52.876Z
8
+ * Built: 2026-04-04T14:55:22.232Z
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-04-04T09:55:52.845Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-04-04T14:55:22.199Z'; // 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';
@@ -0,0 +1,3 @@
1
+ export declare const resolveNodeProjectRoot: () => Promise<string>;
2
+ export default resolveNodeProjectRoot;
3
+ //# sourceMappingURL=resolveNodeProjectRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveNodeProjectRoot.d.ts","sourceRoot":"","sources":["../../../src/runtime/resolveNodeProjectRoot.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,QAAa,OAAO,CAAC,MAAM,CAe7D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { isNonEmptyString } from '../helper/index.js';
2
+ export const resolveNodeProjectRoot = async () => {
3
+ const configuredRoot = process.env?.['ZINTRUST_PROJECT_ROOT'] ?? '';
4
+ if (isNonEmptyString(configuredRoot))
5
+ return configuredRoot.trim();
6
+ const { existsSync } = await import('../node-singletons/fs.js');
7
+ const path = await import('../node-singletons/path.js');
8
+ let current = process.cwd();
9
+ while (true) {
10
+ if (existsSync(path.join(current, 'package.json')))
11
+ return current;
12
+ const parent = path.dirname(current);
13
+ if (parent === current)
14
+ return process.cwd();
15
+ current = parent;
16
+ }
17
+ };
18
+ export default resolveNodeProjectRoot;
@@ -1 +1 @@
1
- {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AAuBxC,eAAO,MAAM,UAAU,GAAI,eAAe,MAAM,KAAG,OAYlD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,eAAe,OAAO,KAAG,oBASnE,CAAC;AAqFF,eAAO,MAAM,qBAAqB,GAChC,eAAe,MAAM,EACrB,eAAe,OAAO,KACrB,OAAO,CAAC,oBAAoB,CAS9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK,QAAa,OAAO,CAAC,IAAI,CAO1C,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEpE;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AAwBxC,eAAO,MAAM,UAAU,GAAI,eAAe,MAAM,KAAG,OAYlD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,eAAe,OAAO,KAAG,oBASnE,CAAC;AAoEF,eAAO,MAAM,qBAAqB,GAChC,eAAe,MAAM,EACrB,eAAe,OAAO,KACrB,OAAO,CAAC,oBAAoB,CAS9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK,QAAa,OAAO,CAAC,IAAI,CAO1C,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEpE;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
package/src/start.js CHANGED
@@ -3,6 +3,7 @@ import { isArray, isNonEmptyString, isObject } from './helper/index.js';
3
3
  import { ZintrustLang } from './lang/lang.js';
4
4
  import { normalizeActiveServiceRuntime, } from './microservices/ServiceManifest.js';
5
5
  import { ProjectRuntime } from './runtime/ProjectRuntime.js';
6
+ import { resolveNodeProjectRoot } from './runtime/resolveNodeProjectRoot.js';
6
7
  import { isNodeRuntime } from './runtime/detectRuntime.js';
7
8
  const isAbsolutePath = (value) => value.startsWith('/') || /^[A-Za-z]:[\\/]/.test(value);
8
9
  const fileUrlToPathLike = (value) => {
@@ -48,22 +49,6 @@ const normalizeStandaloneEnvPaths = (value) => {
48
49
  .map((item) => item.trim())
49
50
  .filter((item) => item !== '');
50
51
  };
51
- const resolveStandaloneProjectRoot = async () => {
52
- const configuredRoot = process.env?.['ZINTRUST_PROJECT_ROOT'] ?? '';
53
- if (isNonEmptyString(configuredRoot))
54
- return configuredRoot;
55
- const { existsSync } = await import('./node-singletons/fs.js');
56
- const path = await import('./node-singletons/path.js');
57
- let current = process.cwd();
58
- while (true) {
59
- if (existsSync(path.join(current, 'package.json')))
60
- return current;
61
- const parent = path.dirname(current);
62
- if (parent === current)
63
- return process.cwd();
64
- current = parent;
65
- }
66
- };
67
52
  const resolveServiceEnvPath = async (importMetaUrl, activeService, projectRoot) => {
68
53
  const path = await import('./node-singletons/path.js');
69
54
  if (isObject(activeService) && isNonEmptyString(activeService['configRoot'])) {
@@ -87,7 +72,7 @@ const ensureStandaloneServiceEnv = async (importMetaUrl, activeService) => {
87
72
  if (!isNodeRuntime())
88
73
  return;
89
74
  const { EnvFileLoader } = await import('./cli/utils/EnvFileLoader.js');
90
- const projectRoot = await resolveStandaloneProjectRoot();
75
+ const projectRoot = await resolveNodeProjectRoot();
91
76
  const envPaths = await resolveConfiguredEnvPaths(projectRoot, activeService, importMetaUrl);
92
77
  const rootEnv = !isObject(activeService) || activeService['rootEnv'] !== false;
93
78
  EnvFileLoader.ensureLoaded({
@@ -0,0 +1,11 @@
1
+ import '../packages/db-d1/src/register.js';
2
+ import '../packages/db-mysql/src/register.js';
3
+ import '../packages/db-postgres/src/register.js';
4
+ import '../packages/db-sqlite/src/register.js';
5
+ import '../packages/db-sqlserver/src/register.js';
6
+ import '../packages/mail-sendgrid/src/register.js';
7
+ import '../packages/mail-smtp/src/register.js';
8
+ import '../packages/queue-monitor/src/index.js';
9
+ import '../packages/queue-redis/src/register.js';
10
+ import '../packages/workers/src/register.js';
11
+ //# sourceMappingURL=zintrust.comon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zintrust.comon.d.ts","sourceRoot":"","sources":["../../src/zintrust.comon.ts"],"names":[],"mappings":"AAQA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yCAAyC,CAAC;AACjD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,0CAA0C,CAAC;AAClD,OAAO,2CAA2C,CAAC;AACnD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,wCAAwC,CAAC;AAChD,OAAO,yCAAyC,CAAC;AACjD,OAAO,qCAAqC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /* eslint-disable no-restricted-imports */
2
+ // /**
3
+ // * ZinTrust comon plugin auto-imports
4
+ // *
5
+ // * This file is managed by `zin plugin install` and contains side-effect
6
+ // * imports that register optional adapters/drivers into core registries.
7
+ // */
8
+ import '../packages/db-d1/src/register.js';
9
+ import '../packages/db-mysql/src/register.js';
10
+ import '../packages/db-postgres/src/register.js';
11
+ import '../packages/db-sqlite/src/register.js';
12
+ import '../packages/db-sqlserver/src/register.js';
13
+ import '../packages/mail-sendgrid/src/register.js';
14
+ import '../packages/mail-smtp/src/register.js';
15
+ import '@zintrust/queue-monitor';
16
+ import '../packages/queue-redis/src/register.js';
17
+ import '../packages/workers/src/register.js';
@@ -1,8 +1,12 @@
1
1
  /**
2
- * Auto-generated fallback module.
3
- * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
- * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
2
+ * ZinTrust plugin auto-imports
3
+ *
4
+ * In real projects, this file is managed by `zin plugin install` and contains
5
+ * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
+ * optional adapters/drivers into core registries.
7
+ *
5
8
  */
9
+ export type {};
6
10
  export declare const __zintrustGeneratedPluginStub = "zintrust.plugins.ts";
7
11
  declare const _default: {};
8
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
1
+ {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
@@ -1,7 +1,13 @@
1
1
  /**
2
- * Auto-generated fallback module.
3
- * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
- * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
2
+ * ZinTrust plugin auto-imports
3
+ *
4
+ * In real projects, this file is managed by `zin plugin install` and contains
5
+ * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
+ * optional adapters/drivers into core registries.
7
+ *
5
8
  */
9
+ import * as SystemDebuggerRuntime from './runtime/plugins/system-debugger-runtime.js';
10
+ globalThis.__zintrust_system_debugger_plugin_requested__ = true;
11
+ globalThis.__zintrust_system_debugger_runtime__ = SystemDebuggerRuntime;
6
12
  export const __zintrustGeneratedPluginStub = 'zintrust.plugins.ts';
7
13
  export default {};
@@ -3,6 +3,7 @@
3
3
  * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
4
  * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
5
5
  */
6
+ export type {};
6
7
  export declare const __zintrustGeneratedPluginStub = "zintrust.plugins.wg.ts";
7
8
  declare const _default: {};
8
9
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"zintrust.plugins.wg.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.wg.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;;AACtE,wBAAkB"}
1
+ {"version":3,"file":"zintrust.plugins.wg.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.wg.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;;AACtE,wBAAkB"}
@@ -3,5 +3,8 @@
3
3
  * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
4
  * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
5
5
  */
6
+ import * as SystemDebuggerRuntime from './runtime/plugins/system-debugger-runtime.js';
7
+ globalThis.__zintrust_system_debugger_plugin_requested__ = true;
8
+ globalThis.__zintrust_system_debugger_runtime__ = SystemDebuggerRuntime;
6
9
  export const __zintrustGeneratedPluginStub = 'zintrust.plugins.wg.ts';
7
10
  export default {};