@module-federation/native-federation-tests 0.5.1 → 0.6.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/README.md +22 -0
- package/dist/CHANGELOG.md +6 -0
- package/dist/README.md +22 -0
- package/dist/farm.d.mts +7 -0
- package/dist/farm.d.ts +7 -0
- package/dist/farm.js +1 -0
- package/dist/farm.mjs +1 -0
- package/dist/package.json +6 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -200,6 +200,28 @@ export default {
|
|
|
200
200
|
<br>
|
|
201
201
|
</details>
|
|
202
202
|
|
|
203
|
+
<details>
|
|
204
|
+
<summary>Farm</summary><br>
|
|
205
|
+
|
|
206
|
+
```ts
|
|
207
|
+
// farm.config.ts
|
|
208
|
+
import { NativeFederationTestsHost, NativeFederationTestsRemote } from '@module-federation/native-federation-tests/farm';
|
|
209
|
+
|
|
210
|
+
const config: UserConfig = {
|
|
211
|
+
plugins: [
|
|
212
|
+
NativeFederationTestsRemote({
|
|
213
|
+
/* options */
|
|
214
|
+
}),
|
|
215
|
+
NativeFederationTestsHost({
|
|
216
|
+
/* options */
|
|
217
|
+
}),
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
<br>
|
|
223
|
+
</details>
|
|
224
|
+
|
|
203
225
|
## Examples
|
|
204
226
|
|
|
205
227
|
To use it in a `host` module, refer to [this example](https://github.com/module-federation/module-federation-examples/tree/master/native-federation-tests-typescript-plugins/host).
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# [1.0.0-canary.1](https://github.com/module-federation/core/compare/native-federation-tests-0.2.1...native-federation-tests-1.0.0-canary.1) (2023-11-06)
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8941ef4: feat: support for farm, drop support for node < 16
|
|
8
|
+
|
|
3
9
|
## 0.5.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/README.md
CHANGED
|
@@ -200,6 +200,28 @@ export default {
|
|
|
200
200
|
<br>
|
|
201
201
|
</details>
|
|
202
202
|
|
|
203
|
+
<details>
|
|
204
|
+
<summary>Farm</summary><br>
|
|
205
|
+
|
|
206
|
+
```ts
|
|
207
|
+
// farm.config.ts
|
|
208
|
+
import { NativeFederationTestsHost, NativeFederationTestsRemote } from '@module-federation/native-federation-tests/farm';
|
|
209
|
+
|
|
210
|
+
const config: UserConfig = {
|
|
211
|
+
plugins: [
|
|
212
|
+
NativeFederationTestsRemote({
|
|
213
|
+
/* options */
|
|
214
|
+
}),
|
|
215
|
+
NativeFederationTestsHost({
|
|
216
|
+
/* options */
|
|
217
|
+
}),
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
<br>
|
|
223
|
+
</details>
|
|
224
|
+
|
|
203
225
|
## Examples
|
|
204
226
|
|
|
205
227
|
To use it in a `host` module, refer to [this example](https://github.com/module-federation/module-federation-examples/tree/master/native-federation-tests-typescript-plugins/host).
|
package/dist/farm.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { R as RemoteOptions, H as HostOptions } from './RemoteOptions-817643e7.js';
|
|
2
|
+
import 'tsup';
|
|
3
|
+
|
|
4
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => JsPlugin;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => JsPlugin;
|
|
6
|
+
|
|
7
|
+
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/farm.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { R as RemoteOptions, H as HostOptions } from './RemoteOptions-817643e7.js';
|
|
2
|
+
import 'tsup';
|
|
3
|
+
|
|
4
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => JsPlugin;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => JsPlugin;
|
|
6
|
+
|
|
7
|
+
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/farm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUQAU264Cjs = require('./chunk-UQAU264C.js');var s=_chunkUQAU264Cjs.a.farm,a= exports.NativeFederationTestsHost =_chunkUQAU264Cjs.b.farm;exports.NativeFederationTestsHost = a; exports.NativeFederationTestsRemote = s;
|
package/dist/farm.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,b as t}from"./chunk-XQKXJQ5G.mjs";var s=e.farm,a=t.farm;export{a as NativeFederationTestsHost,s as NativeFederationTestsRemote};
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"author": "Matteo Pietro Dazzi <matteopietro.dazzi@gmail.com> (https://github.com/ilteoood)",
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"adm-zip": "^0.5.
|
|
55
|
+
"adm-zip": "^0.5.14",
|
|
56
56
|
"ansi-colors": "^4.1.3",
|
|
57
|
-
"axios": "^1.
|
|
58
|
-
"rambda": "^9.1
|
|
59
|
-
"tsup": "^
|
|
60
|
-
"unplugin": "^1.
|
|
57
|
+
"axios": "^1.7.2",
|
|
58
|
+
"rambda": "^9.2.1",
|
|
59
|
+
"tsup": "^8.1.0",
|
|
60
|
+
"unplugin": "^1.10.1"
|
|
61
61
|
}
|
|
62
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"author": "Matteo Pietro Dazzi <matteopietro.dazzi@gmail.com> (https://github.com/ilteoood)",
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"adm-zip": "^0.5.
|
|
55
|
+
"adm-zip": "^0.5.14",
|
|
56
56
|
"ansi-colors": "^4.1.3",
|
|
57
|
-
"axios": "^1.
|
|
58
|
-
"rambda": "^9.1
|
|
59
|
-
"tsup": "^
|
|
60
|
-
"unplugin": "^1.
|
|
57
|
+
"axios": "^1.7.2",
|
|
58
|
+
"rambda": "^9.2.1",
|
|
59
|
+
"tsup": "^8.1.0",
|
|
60
|
+
"unplugin": "^1.10.1"
|
|
61
61
|
}
|
|
62
62
|
}
|