@celerity-sdk/core 0.7.0 → 0.8.0
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.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1342,7 +1342,7 @@ __name(matchRoute, "matchRoute");
|
|
|
1342
1342
|
// src/bootstrap/module-graph.ts
|
|
1343
1343
|
import "reflect-metadata";
|
|
1344
1344
|
import createDebug4 from "debug";
|
|
1345
|
-
import {
|
|
1345
|
+
import { isRuntimeProvidedToken } from "@celerity-sdk/common";
|
|
1346
1346
|
var debug4 = createDebug4("celerity:core:bootstrap");
|
|
1347
1347
|
function buildModuleGraph(rootModule) {
|
|
1348
1348
|
const graph = /* @__PURE__ */ new Map();
|
|
@@ -1533,7 +1533,7 @@ function checkDependencies(consumer, depTokens, visibleTokens, moduleClass, grap
|
|
|
1533
1533
|
checkDependencies(dep, adoptedDeps, visibleTokens, moduleClass, graph, container, diagnostics);
|
|
1534
1534
|
continue;
|
|
1535
1535
|
}
|
|
1536
|
-
if (
|
|
1536
|
+
if (isRuntimeProvidedToken(dep)) continue;
|
|
1537
1537
|
diagnostics.push({
|
|
1538
1538
|
type: "missing_dependency",
|
|
1539
1539
|
message: `${tokenToString(consumer)} in ${moduleClass.name} requires ${tokenToString(dep)} \u2014 no provider registered. Ensure the module providing it is included in your module's "imports" array, or register a provider for it directly.`
|