@module-federation/managers
Advanced tools
Comparing version 0.0.0-next-20240301034824 to 0.0.0-next-20240301081856
@@ -651,3 +651,3 @@ 'use strict'; | ||
var pkg = this.readPKGJson(ctx); | ||
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === sdk.ModuleType.NPM ? sdk.ModuleType.NPM : sdk.ModuleType.APP; | ||
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === sdk.MFModuleType.NPM ? sdk.MFModuleType.NPM : sdk.MFModuleType.APP; | ||
} | ||
@@ -654,0 +654,0 @@ } |
import path from 'path'; | ||
import { generateExposeFilename, ModuleType, composeKeyWithSeparator, parseEntry } from '@module-federation/sdk'; | ||
import { generateExposeFilename, MFModuleType, composeKeyWithSeparator, parseEntry } from '@module-federation/sdk'; | ||
import finder from 'find-pkg'; | ||
@@ -640,3 +640,3 @@ import fs from 'fs'; | ||
var pkg = this.readPKGJson(ctx); | ||
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === ModuleType.NPM ? ModuleType.NPM : ModuleType.APP; | ||
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === MFModuleType.NPM ? MFModuleType.NPM : MFModuleType.APP; | ||
} | ||
@@ -643,0 +643,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import { ModuleType } from '@module-federation/sdk'; | ||
export declare class PKGJsonManager { | ||
@@ -6,3 +5,3 @@ private _pkg?; | ||
readPKGJson(ctx?: string): Record<string, any>; | ||
getExposeGarfishModuleType(ctx?: string): ModuleType; | ||
getExposeGarfishModuleType(ctx?: string): string; | ||
} |
{ | ||
"name": "@module-federation/managers", | ||
"version": "0.0.0-next-20240301034824", | ||
"version": "0.0.0-next-20240301081856", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "description": "Provide managers for helping handle mf data .", | ||
"fs-extra": "9.1.0", | ||
"@module-federation/sdk": "0.0.0-next-20240301034824" | ||
"@module-federation/sdk": "0.0.0-next-20240301081856" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102325
2534
+ Added@module-federation/sdk@0.0.0-next-20240301081856(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240301034824(transitive)