@holo-js/core 0.1.3 → 0.1.4
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.
|
@@ -1367,7 +1367,10 @@ function createAuthMailDeliveryHook(mailModule) {
|
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
1369
|
async function loadConfiguredSocialProviders(projectRootOrLoadedConfig, maybeLoadedConfig) {
|
|
1370
|
-
const projectRoot = typeof projectRootOrLoadedConfig === "string" ? projectRootOrLoadedConfig :
|
|
1370
|
+
const projectRoot = typeof projectRootOrLoadedConfig === "string" ? projectRootOrLoadedConfig : (
|
|
1371
|
+
/* turbopackIgnore: true */
|
|
1372
|
+
process.cwd()
|
|
1373
|
+
);
|
|
1371
1374
|
const loadedConfig = typeof projectRootOrLoadedConfig === "string" ? maybeLoadedConfig : projectRootOrLoadedConfig;
|
|
1372
1375
|
const socialConfig = loadedConfig?.auth?.social ?? {};
|
|
1373
1376
|
const providers = {};
|
|
@@ -1480,7 +1483,10 @@ function serializePasswordResetTokenRecord(record) {
|
|
|
1480
1483
|
};
|
|
1481
1484
|
}
|
|
1482
1485
|
async function createCoreSocialBindings(projectRootOrLoadedConfig, loadedConfigOrSessionModule, maybeSessionModule) {
|
|
1483
|
-
const projectRoot = typeof projectRootOrLoadedConfig === "string" ? projectRootOrLoadedConfig :
|
|
1486
|
+
const projectRoot = typeof projectRootOrLoadedConfig === "string" ? projectRootOrLoadedConfig : (
|
|
1487
|
+
/* turbopackIgnore: true */
|
|
1488
|
+
process.cwd()
|
|
1489
|
+
);
|
|
1484
1490
|
const loadedConfig = typeof projectRootOrLoadedConfig === "string" ? loadedConfigOrSessionModule : projectRootOrLoadedConfig;
|
|
1485
1491
|
const sessionModule = typeof projectRootOrLoadedConfig === "string" ? maybeSessionModule : loadedConfigOrSessionModule;
|
|
1486
1492
|
const providers = await loadConfiguredSocialProviders(projectRoot, loadedConfig);
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
resolveGeneratedProjectRegistryPath,
|
|
18
18
|
resolveRuntimeConnectionManagerOptions,
|
|
19
19
|
resolveStorageKeyPath
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4VPELMZN.mjs";
|
|
21
21
|
|
|
22
22
|
// src/adapter.ts
|
|
23
23
|
import { readdir, stat } from "fs/promises";
|
|
@@ -75,7 +75,8 @@ async function resolveProjectSourceSignature(projectRoot, envName) {
|
|
|
75
75
|
function resolveHoloFrameworkOptions(options = {}) {
|
|
76
76
|
const processEnv = options.processEnv ?? process.env;
|
|
77
77
|
return {
|
|
78
|
-
projectRoot: resolve(options.projectRoot ??
|
|
78
|
+
projectRoot: resolve(options.projectRoot ?? /* turbopackIgnore: true */
|
|
79
|
+
process.cwd()),
|
|
79
80
|
runtime: {
|
|
80
81
|
envName: options.envName,
|
|
81
82
|
preferCache: options.preferCache ?? processEnv.NODE_ENV === "production",
|
package/dist/runtime/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Holo-JS Framework - Portable runtime core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
"test": "vitest --run"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@holo-js/config": "^0.1.
|
|
32
|
-
"@holo-js/db": "^0.1.
|
|
31
|
+
"@holo-js/config": "^0.1.4",
|
|
32
|
+
"@holo-js/db": "^0.1.4",
|
|
33
33
|
"esbuild": "^0.27.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@holo-js/auth": "^0.1.
|
|
37
|
-
"@holo-js/auth-clerk": "^0.1.
|
|
38
|
-
"@holo-js/auth-social": "^0.1.
|
|
39
|
-
"@holo-js/auth-workos": "^0.1.
|
|
40
|
-
"@holo-js/authorization": "^0.1.
|
|
41
|
-
"@holo-js/mail": "^0.1.
|
|
42
|
-
"@holo-js/notifications": "^0.1.
|
|
43
|
-
"@holo-js/queue": "^0.1.
|
|
44
|
-
"@holo-js/security": "^0.1.
|
|
45
|
-
"@holo-js/session": "^0.1.
|
|
46
|
-
"@holo-js/storage": "^0.1.
|
|
36
|
+
"@holo-js/auth": "^0.1.4",
|
|
37
|
+
"@holo-js/auth-clerk": "^0.1.4",
|
|
38
|
+
"@holo-js/auth-social": "^0.1.4",
|
|
39
|
+
"@holo-js/auth-workos": "^0.1.4",
|
|
40
|
+
"@holo-js/authorization": "^0.1.4",
|
|
41
|
+
"@holo-js/mail": "^0.1.4",
|
|
42
|
+
"@holo-js/notifications": "^0.1.4",
|
|
43
|
+
"@holo-js/queue": "^0.1.4",
|
|
44
|
+
"@holo-js/security": "^0.1.4",
|
|
45
|
+
"@holo-js/session": "^0.1.4",
|
|
46
|
+
"@holo-js/storage": "^0.1.4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"@holo-js/auth": {
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@holo-js/auth": "^0.1.
|
|
85
|
-
"@holo-js/authorization": "^0.1.
|
|
86
|
-
"@holo-js/events": "^0.1.
|
|
87
|
-
"@holo-js/mail": "^0.1.
|
|
88
|
-
"@holo-js/notifications": "^0.1.
|
|
89
|
-
"@holo-js/queue-db": "^0.1.
|
|
90
|
-
"@holo-js/session": "^0.1.
|
|
91
|
-
"@holo-js/storage": "^0.1.
|
|
84
|
+
"@holo-js/auth": "^0.1.4",
|
|
85
|
+
"@holo-js/authorization": "^0.1.4",
|
|
86
|
+
"@holo-js/events": "^0.1.4",
|
|
87
|
+
"@holo-js/mail": "^0.1.4",
|
|
88
|
+
"@holo-js/notifications": "^0.1.4",
|
|
89
|
+
"@holo-js/queue-db": "^0.1.4",
|
|
90
|
+
"@holo-js/session": "^0.1.4",
|
|
91
|
+
"@holo-js/storage": "^0.1.4",
|
|
92
92
|
"@types/node": "^22.10.2",
|
|
93
93
|
"tsup": "^8.3.5",
|
|
94
94
|
"typescript": "^5.7.2",
|