@module-federation/typescript
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "@module-federation/typescript", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Webpack plugin to stream typescript for module federation apps/components", | ||
"main": "src/index.js", | ||
"scripts": {}, | ||
"keywords": ["module-federation","typescript","remote types","federated types"], | ||
"author": "Prasanna Mestha <prasanna@privjs.com> (https://github.com/prasannamestha)", | ||
"keywords": [ | ||
"module-federation", | ||
"typescript", | ||
"remote types", | ||
"federated types" | ||
], | ||
"author": "Prasanna Mestha <prasanna@privjs.com> (https://github.com/prasannamestha)", | ||
"contributors": [ | ||
@@ -10,0 +15,0 @@ "Zack Jackson <zackary.l.jackson@gmail.com> (https://github.com/ScriptedAlchemy)" |
## Typescript support for module federated apps | ||
A webpack plugin for sharing typescript types between module federated apps. This plugin is distributed for free via [privjs.com](https://app.privjs.com/buy/packageDetail?pkg=@module-federation/typescript) | ||
### Installation | ||
Procure a free license to this plugin from [privjs.com](https://app.privjs.com/buy/packageDetail?pkg=@module-federation/typescript). Check your email for the private token and then run the following commands: | ||
``` | ||
$ npm config set @module-federation:registry https://r.privjs.com | ||
$ npm i @module-federation/typescript | ||
@@ -75,2 +71,2 @@ ``` | ||
### Credits | ||
Shoutout to [@ScriptedAlchemy](https://twitter.com/ScriptedAlchemy) for helping with the development of this plugin. | ||
Shoutout to [@ScriptedAlchemy](https://twitter.com/ScriptedAlchemy) for helping with the development of this plugin. |
@@ -28,3 +28,3 @@ const ts = require("typescript"); | ||
if (exposedComponents) { | ||
const fileNames = Object.values(inheritedPluginOptions.exposes || this.options.exposes); | ||
const fileNames = Object.values(exposedComponents); | ||
const typeFiles = fileNames.map(f => { | ||
@@ -31,0 +31,0 @@ const split = f.split('/') |
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
4
75
5539
72