@module-federation/native-federation-tests 0.3.1 → 0.4.1

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 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,17 @@
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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f926b6c: chore: revert prev implementation
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - b152df2: feat: rolldown support
14
+
3
15
  ## 0.3.1
4
16
 
5
17
  ### 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.1",
3
+ "version": "0.4.1",
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.7.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 };
@@ -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};
@@ -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) => undefined;
5
- declare const NativeFederationTestsHost: (options: HostOptions) => undefined;
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) => undefined;
5
- declare const NativeFederationTestsHost: (options: HostOptions) => undefined;
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,a= exports.NativeFederationTestsHost =_chunkYEO6PJMKjs.b.webpack;exports.NativeFederationTestsHost = a; exports.NativeFederationTestsRemote = s;
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,a=t.webpack;export{a as NativeFederationTestsHost,s as NativeFederationTestsRemote};
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.1",
3
+ "version": "0.4.1",
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.7.1"
60
+ "unplugin": "^1.9.0"
61
61
  }
62
62
  }