bhooai-nexus 3.0.9 → 3.0.12
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/bin/nexus.js +13 -3
- package/package.json +15 -15
package/bin/nexus.js
CHANGED
|
@@ -26,10 +26,20 @@ async function main() {
|
|
|
26
26
|
mod = await tsImport(pathToFileURL(distEntry).href, import.meta.url);
|
|
27
27
|
} else {
|
|
28
28
|
// Published install: use installed @bhooai/nexus-cli hard dep.
|
|
29
|
+
// NOTE: the entry is TypeScript source loaded via tsx — do NOT fall back
|
|
30
|
+
// to a plain import on failure: on Node ≥22 plain imports of .ts files
|
|
31
|
+
// under node_modules throw ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING,
|
|
32
|
+
// which would mask the real error (usually a missing optional peer).
|
|
33
|
+
// A plain import only helps when the entry is already plain JS.
|
|
34
|
+
const specifier = import.meta.resolve('@bhooai/nexus-cli');
|
|
29
35
|
try {
|
|
30
|
-
mod = await tsImport(
|
|
31
|
-
} catch {
|
|
32
|
-
|
|
36
|
+
mod = await tsImport(specifier, import.meta.url);
|
|
37
|
+
} catch (err) {
|
|
38
|
+
try {
|
|
39
|
+
mod = await import(specifier);
|
|
40
|
+
} catch {
|
|
41
|
+
throw err;
|
|
42
|
+
}
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
45
|
const cmd = process.argv[2] ?? '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bhooai-nexus",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "BhooAI Nexus - a Node-based full-stack framework (websockets, GraphQL federation, inbuilt security, custom ODM, OAuth, payments, WebRTC, AI, plugins). v2: multi-app, Laravel-style folders, Docker-based scaling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "BhooAI - oravianando",
|
|
@@ -94,23 +94,23 @@
|
|
|
94
94
|
"format": "prettier --write ."
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@bhooai/nexus-core": "^
|
|
98
|
-
"@bhooai/nexus-auth": "^
|
|
99
|
-
"@bhooai/nexus-fusion": "^0.
|
|
100
|
-
"@bhooai/nexus-cli": "^
|
|
97
|
+
"@bhooai/nexus-core": "^3.0.0",
|
|
98
|
+
"@bhooai/nexus-auth": "^3.0.0",
|
|
99
|
+
"@bhooai/nexus-fusion": "^3.0.0",
|
|
100
|
+
"@bhooai/nexus-cli": "^3.0.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
|
-
"@bhooai/nexus-data": "^
|
|
104
|
-
"@bhooai/nexus-cache": "^
|
|
105
|
-
"@bhooai/nexus-realtime": "^
|
|
106
|
-
"@bhooai/nexus-payments": "^
|
|
107
|
-
"@bhooai/nexus-email": "^
|
|
108
|
-
"@bhooai/nexus-ai-client": "^
|
|
109
|
-
"@bhooai/nexus-graphql": "^
|
|
110
|
-
"@bhooai/nexus-telemetry": "^
|
|
111
|
-
"@bhooai/nexus-admin": "^
|
|
103
|
+
"@bhooai/nexus-data": "^3.0.0",
|
|
104
|
+
"@bhooai/nexus-cache": "^3.0.0",
|
|
105
|
+
"@bhooai/nexus-realtime": "^3.0.0",
|
|
106
|
+
"@bhooai/nexus-payments": "^3.0.0",
|
|
107
|
+
"@bhooai/nexus-email": "^3.0.0",
|
|
108
|
+
"@bhooai/nexus-ai-client": "^3.0.0",
|
|
109
|
+
"@bhooai/nexus-graphql": "^3.0.0",
|
|
110
|
+
"@bhooai/nexus-telemetry": "^3.0.0",
|
|
111
|
+
"@bhooai/nexus-admin": "^3.0.0",
|
|
112
112
|
"@bhooai/nexus-future": "^3.0.0",
|
|
113
|
-
"@bhooai/nexus-examples": "^
|
|
113
|
+
"@bhooai/nexus-examples": "^3.0.0",
|
|
114
114
|
"@aws-sdk/client-s3": "^3.0.0"
|
|
115
115
|
},
|
|
116
116
|
"peerDependenciesMeta": {
|