@module-federation/native-federation-typescript
Advanced tools
Comparing version 0.0.0-next-20240305014714 to 0.0.0-next-20240318025655
# [1.0.0-canary.1](https://github.com/module-federation/universe/compare/native-federation-typescript-0.2.6...native-federation-typescript-1.0.0-canary.1) (2023-11-06) | ||
## 0.3.1 | ||
### Patch Changes | ||
- bc053b8: fix: behaviour during vite dev mode | ||
## 0.3.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@module-federation/native-federation-typescript", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Bundler agnostic unplugin to share federated types", | ||
@@ -59,3 +59,3 @@ "keywords": [ | ||
"rambda": "^9.1.0", | ||
"unplugin": "^1.7.1" | ||
"unplugin": "^1.9.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "peerDependencies": { |
@@ -177,2 +177,24 @@ # native-federation-typescript | ||
<details> | ||
<summary>Rolldown</summary><br> | ||
```ts | ||
// rolldown.config.js | ||
import { NativeFederationTypeScriptHost, NativeFederationTypeScriptRemote } from '@module-federation/native-federation-typescript/rolldown'; | ||
export default { | ||
plugins: [ | ||
NativeFederationTypeScriptRemote({ | ||
/* options */ | ||
}), | ||
NativeFederationTypeScriptHost({ | ||
/* options */ | ||
}), | ||
], | ||
}; | ||
``` | ||
<br> | ||
</details> | ||
## TypeScript configuration | ||
@@ -179,0 +201,0 @@ |
@@ -0,6 +1,7 @@ | ||
import { WebpackPluginInstance } from 'unplugin'; | ||
import { R as RemoteOptions, H as HostOptions } from './RemoteOptions-8173ef89.js'; | ||
declare const NativeFederationTypeScriptRemote: (options: RemoteOptions) => undefined; | ||
declare const NativeFederationTypeScriptHost: (options: HostOptions) => undefined; | ||
declare const NativeFederationTypeScriptRemote: (options: RemoteOptions) => WebpackPluginInstance; | ||
declare const NativeFederationTypeScriptHost: (options: HostOptions) => WebpackPluginInstance; | ||
export { NativeFederationTypeScriptHost, NativeFederationTypeScriptRemote }; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIDWEZ3WPjs = require('./chunk-IDWEZ3WP.js');var a=_chunkIDWEZ3WPjs.a.webpack,r= exports.NativeFederationTypeScriptHost =_chunkIDWEZ3WPjs.b.webpack;exports.NativeFederationTypeScriptHost = r; exports.NativeFederationTypeScriptRemote = a; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIDWEZ3WPjs = require('./chunk-IDWEZ3WP.js');var i=_chunkIDWEZ3WPjs.a.webpack,p= exports.NativeFederationTypeScriptHost =_chunkIDWEZ3WPjs.b.webpack;exports.NativeFederationTypeScriptHost = p; exports.NativeFederationTypeScriptRemote = i; |
{ | ||
"name": "@module-federation/native-federation-typescript", | ||
"version": "0.0.0-next-20240305014714", | ||
"version": "0.0.0-next-20240318025655", | ||
"description": "Bundler agnostic unplugin to share federated types", | ||
@@ -59,3 +59,3 @@ "keywords": [ | ||
"rambda": "^9.1.0", | ||
"unplugin": "^1.7.1" | ||
"unplugin": "^1.9.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "peerDependencies": { |
@@ -177,2 +177,24 @@ # native-federation-typescript | ||
<details> | ||
<summary>Rolldown</summary><br> | ||
```ts | ||
// rolldown.config.js | ||
import { NativeFederationTypeScriptHost, NativeFederationTypeScriptRemote } from '@module-federation/native-federation-typescript/rolldown'; | ||
export default { | ||
plugins: [ | ||
NativeFederationTypeScriptRemote({ | ||
/* options */ | ||
}), | ||
NativeFederationTypeScriptHost({ | ||
/* options */ | ||
}), | ||
], | ||
}; | ||
``` | ||
<br> | ||
</details> | ||
## TypeScript configuration | ||
@@ -179,0 +201,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51985
37
112
215
Updatedunplugin@^1.9.0