@h3ravel/core 1.21.2 → 1.21.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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -307,7 +307,7 @@ var ProviderRegistry = class {
|
|
|
307
307
|
if (autoRegister) {
|
|
308
308
|
for (const manifestPath of manifests) {
|
|
309
309
|
const pkg = await this.getManifest(node_path.default.resolve(manifestPath));
|
|
310
|
-
if (pkg.h3ravel?.providers) providers.push(...await Promise.all(pkg.h3ravel.providers.map(async (name) => (await import(node_path.default.resolve(node_path.default.dirname(manifestPath), "dist/index.
|
|
310
|
+
if (pkg.h3ravel?.providers) providers.push(...await Promise.all(pkg.h3ravel.providers.map(async (name) => (await import(node_path.default.resolve(node_path.default.dirname(manifestPath), "dist/index.mjs")))[name])));
|
|
311
311
|
}
|
|
312
312
|
for (const provider of providers) {
|
|
313
313
|
const key = this.getKey(provider);
|
package/dist/index.mjs
CHANGED
|
@@ -279,7 +279,7 @@ var ProviderRegistry = class {
|
|
|
279
279
|
if (autoRegister) {
|
|
280
280
|
for (const manifestPath of manifests) {
|
|
281
281
|
const pkg = await this.getManifest(path.resolve(manifestPath));
|
|
282
|
-
if (pkg.h3ravel?.providers) providers.push(...await Promise.all(pkg.h3ravel.providers.map(async (name) => (await import(path.resolve(path.dirname(manifestPath), "dist/index.
|
|
282
|
+
if (pkg.h3ravel?.providers) providers.push(...await Promise.all(pkg.h3ravel.providers.map(async (name) => (await import(path.resolve(path.dirname(manifestPath), "dist/index.mjs")))[name])));
|
|
283
283
|
}
|
|
284
284
|
for (const provider of providers) {
|
|
285
285
|
const key = this.getKey(provider);
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/core",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.3",
|
|
4
4
|
"description": "Core application container, lifecycle management and service providers for H3ravel.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
7
|
-
"types": "./dist/index.d.
|
|
8
|
-
"module": "./dist/index.
|
|
6
|
+
"main": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.mts",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types": "./dist/index.d.
|
|
12
|
-
"import": "./dist/index.
|
|
11
|
+
"types": "./dist/index.d.mts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"semver": "^7.7.2",
|
|
55
55
|
"srvx": "^0.8.7",
|
|
56
56
|
"tslib": "^2.8.1",
|
|
57
|
-
"@h3ravel/shared": "^0.27.
|
|
58
|
-
"@h3ravel/support": "^0.15.
|
|
57
|
+
"@h3ravel/shared": "^0.27.3",
|
|
58
|
+
"@h3ravel/support": "^0.15.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/semver": "^7.7.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown --config-loader unconfig",
|
|
66
66
|
"dev": "tsx watch src/index.ts",
|
|
67
|
-
"start": "node dist/index.
|
|
67
|
+
"start": "node dist/index.mjs",
|
|
68
68
|
"lint": "eslint . --ext .ts",
|
|
69
69
|
"test": "jest --passWithNoTests",
|
|
70
70
|
"version-patch": "pnpm version patch",
|