@softarc/native-federation
Advanced tools
Comparing version 1.1.1-beta.0 to 1.1.1
{ | ||
"name": "@softarc/native-federation", | ||
"version": "1.1.1-beta.0", | ||
"version": "1.1.1", | ||
"type": "commonjs", | ||
@@ -8,3 +8,3 @@ "dependencies": { | ||
"npmlog": "^6.0.2", | ||
"@softarc/native-federation-runtime": "1.1.1-beta.0" | ||
"@softarc/native-federation-runtime": "1.1.1" | ||
}, | ||
@@ -11,0 +11,0 @@ "main": "./src/index.js", |
@@ -10,2 +10,3 @@ import { MappedPath } from '../utils/mapped-paths'; | ||
esm?: boolean; | ||
dev?: boolean; | ||
watch?: boolean; | ||
@@ -12,0 +13,0 @@ kind: 'shared-package' | 'shared-mapping' | 'exposed'; |
@@ -26,2 +26,3 @@ "use strict"; | ||
outfile: outFilePath, | ||
dev: !!options.dev, | ||
watch: options.watch, | ||
@@ -28,0 +29,0 @@ mappedPaths: config.sharedMappings, |
@@ -28,2 +28,3 @@ "use strict"; | ||
watch: fedOptions.watch, | ||
dev: !!fedOptions.dev, | ||
kind: 'shared-mapping', | ||
@@ -30,0 +31,0 @@ }); |
@@ -36,4 +36,5 @@ "use strict"; | ||
const encVersion = pi.version.replace(/[^A-Za-z0-9]/g, '_'); | ||
const env = fedOptions.dev ? 'dev' : 'prod'; | ||
// const outFileName = `${encName}-${encVersion}-${hash}.js`; | ||
const outFileName = `${encName}-${encVersion}.js`; | ||
const outFileName = `${encName}-${encVersion}-${env}.js`; | ||
const cachePath = path.join(fedOptions.workspaceRoot, 'node_modules/.cache/native-federation'); | ||
@@ -59,2 +60,3 @@ fs.mkdirSync(cachePath, { recursive: true }); | ||
esm: pi.esm, | ||
dev: !!fedOptions.dev, | ||
kind: 'shared-package', | ||
@@ -61,0 +63,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
116550
1410
1
+ Added@softarc/native-federation-runtime@1.1.1(transitive)
- Removed@softarc/native-federation-runtime@1.1.1-beta.0(transitive)