@module-federation/native-federation-tests 0.3.1 → 0.4.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 +23 -0
- package/dist/CHANGELOG.md +6 -0
- package/dist/README.md +23 -0
- package/dist/package.json +2 -2
- package/dist/rolldown.d.mts +7 -0
- package/dist/rolldown.d.ts +7 -0
- package/dist/rolldown.js +1 -0
- package/dist/rolldown.mjs +1 -0
- package/dist/webpack.d.mts +3 -2
- package/dist/webpack.d.ts +3 -2
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -177,6 +177,29 @@ module.exports = {
|
|
|
177
177
|
<br>
|
|
178
178
|
</details>
|
|
179
179
|
|
|
180
|
+
<details>
|
|
181
|
+
<summary>Rolldown</summary><br>
|
|
182
|
+
|
|
183
|
+
```ts
|
|
184
|
+
// rolldown.config.js
|
|
185
|
+
const { NativeFederationTestsHost, NativeFederationTestsRemote } = require('@module-federation/native-federation-tests/rolldown');
|
|
186
|
+
|
|
187
|
+
export default {
|
|
188
|
+
/* ... */
|
|
189
|
+
plugins: [
|
|
190
|
+
NativeFederationTestsRemote({
|
|
191
|
+
/* options */
|
|
192
|
+
}),
|
|
193
|
+
NativeFederationTestsHost({
|
|
194
|
+
/* options */
|
|
195
|
+
}),
|
|
196
|
+
],
|
|
197
|
+
};
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
<br>
|
|
201
|
+
</details>
|
|
202
|
+
|
|
180
203
|
## Examples
|
|
181
204
|
|
|
182
205
|
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/universe/compare/native-federation-tests-0.2.1...native-federation-tests-1.0.0-canary.1) (2023-11-06)
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b152df2: feat: rolldown support
|
|
8
|
+
|
|
3
9
|
## 0.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/README.md
CHANGED
|
@@ -177,6 +177,29 @@ module.exports = {
|
|
|
177
177
|
<br>
|
|
178
178
|
</details>
|
|
179
179
|
|
|
180
|
+
<details>
|
|
181
|
+
<summary>Rolldown</summary><br>
|
|
182
|
+
|
|
183
|
+
```ts
|
|
184
|
+
// rolldown.config.js
|
|
185
|
+
const { NativeFederationTestsHost, NativeFederationTestsRemote } = require('@module-federation/native-federation-tests/rolldown');
|
|
186
|
+
|
|
187
|
+
export default {
|
|
188
|
+
/* ... */
|
|
189
|
+
plugins: [
|
|
190
|
+
NativeFederationTestsRemote({
|
|
191
|
+
/* options */
|
|
192
|
+
}),
|
|
193
|
+
NativeFederationTestsHost({
|
|
194
|
+
/* options */
|
|
195
|
+
}),
|
|
196
|
+
],
|
|
197
|
+
};
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
<br>
|
|
201
|
+
</details>
|
|
202
|
+
|
|
180
203
|
## Examples
|
|
181
204
|
|
|
182
205
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"axios": "^1.6.7",
|
|
58
58
|
"rambda": "^9.1.0",
|
|
59
59
|
"tsup": "^7.0.0",
|
|
60
|
-
"unplugin": "^1.
|
|
60
|
+
"unplugin": "^1.9.0"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -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) => any;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => any;
|
|
6
|
+
|
|
7
|
+
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
|
@@ -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) => any;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => any;
|
|
6
|
+
|
|
7
|
+
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/rolldown.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYEO6PJMKjs = require('./chunk-YEO6PJMK.js');var s=_chunkYEO6PJMKjs.a.rolldown,a= exports.NativeFederationTestsHost =_chunkYEO6PJMKjs.b.rolldown;exports.NativeFederationTestsHost = a; exports.NativeFederationTestsRemote = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,b as t}from"./chunk-VIRFTP5T.mjs";var s=e.rolldown,a=t.rolldown;export{a as NativeFederationTestsHost,s as NativeFederationTestsRemote};
|
package/dist/webpack.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { WebpackPluginInstance } from 'unplugin';
|
|
1
2
|
import { R as RemoteOptions, H as HostOptions } from './RemoteOptions-817643e7.js';
|
|
2
3
|
import 'tsup';
|
|
3
4
|
|
|
4
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
5
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
5
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => WebpackPluginInstance;
|
|
6
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => WebpackPluginInstance;
|
|
6
7
|
|
|
7
8
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { WebpackPluginInstance } from 'unplugin';
|
|
1
2
|
import { R as RemoteOptions, H as HostOptions } from './RemoteOptions-817643e7.js';
|
|
2
3
|
import 'tsup';
|
|
3
4
|
|
|
4
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
5
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
5
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => WebpackPluginInstance;
|
|
6
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => WebpackPluginInstance;
|
|
6
7
|
|
|
7
8
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/webpack.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYEO6PJMKjs = require('./chunk-YEO6PJMK.js');var s=_chunkYEO6PJMKjs.a.webpack,
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYEO6PJMKjs = require('./chunk-YEO6PJMK.js');var s=_chunkYEO6PJMKjs.a.webpack,n= exports.NativeFederationTestsHost =_chunkYEO6PJMKjs.b.webpack;exports.NativeFederationTestsHost = n; exports.NativeFederationTestsRemote = s;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./chunk-VIRFTP5T.mjs";var s=e.webpack,
|
|
1
|
+
import{a as e,b as t}from"./chunk-VIRFTP5T.mjs";var s=e.webpack,n=t.webpack;export{n as NativeFederationTestsHost,s as NativeFederationTestsRemote};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"axios": "^1.6.7",
|
|
58
58
|
"rambda": "^9.1.0",
|
|
59
59
|
"tsup": "^7.0.0",
|
|
60
|
-
"unplugin": "^1.
|
|
60
|
+
"unplugin": "^1.9.0"
|
|
61
61
|
}
|
|
62
62
|
}
|