zephyr-rspack-plugin 0.0.33 → 0.0.34

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
@@ -1,10 +1,30 @@
1
- # Zephyr: We made application federation easy
1
+ # zephyr-rspack-plugin
2
2
 
3
- readme too be released
3
+ <div align="center">
4
4
 
5
- how to use?
5
+ [Zephyr Cloud](https://zephyr-cloud.io) | [Zephyr Docs](https://docs.zephyr-cloud.io/recipes/rspack-react) | [Rspack Docs](https://rspack.dev) | [Discord](https://zephyr-cloud.io/discord) | [Twitter](https://x.com/ZephyrCloudIO) | [LinkedIn](https://www.linkedin.com/company/zephyr-cloud/)
6
6
 
7
- with Nx and Rspack
7
+ <hr/>
8
+ </div>
9
+
10
+ `zephyr-rspack-plugin` is a plugin to deploy application built with [Rspack](https://rspack.dev). Read more from our documentation [here](https://docs.zephyr-cloud.io/recipes/react-rspack-nx).
11
+
12
+ ## Installation
13
+
14
+ ```
15
+ # npm
16
+ npm install --save-dev zephyr-rspack-plugin
17
+ # yarn
18
+ yarn add --dev zephyr-rspack-plugin
19
+ # pnpm
20
+ pnpm add --dev zephyr-rspack-plugin
21
+ # bun
22
+ bun add --dev zephyr-rspack-plugin
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ### With Nx and Rspack
8
28
 
9
29
  ```
10
30
  export default composePlugins(
@@ -18,7 +38,7 @@ export default composePlugins(
18
38
  );
19
39
  ```
20
40
 
21
- or
41
+ ### With Rspack directly
22
42
 
23
43
  ```
24
44
  module.exports = withZephyr()(your_rspack_config);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-rspack-plugin",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withZephyr = void 0;
3
+ exports.withZephyr = withZephyr;
4
4
  const zephyr_agent_1 = require("zephyr-agent");
5
5
  const ze_rspack_plugin_1 = require("./ze-rspack-plugin");
6
6
  const zephyr_xpack_internal_1 = require("zephyr-xpack-internal");
7
7
  function withZephyr(zephyrPluginOptions) {
8
8
  return (config) => _zephyr_configuration(config, zephyrPluginOptions);
9
9
  }
10
- exports.withZephyr = withZephyr;
11
10
  async function _zephyr_configuration(config, _zephyrOptions) {
12
11
  // create instance of ZephyrEngine to track the application
13
12
  const zephyr_engine = await zephyr_agent_1.ZephyrEngine.create({
@@ -1 +1 @@
1
- {"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/rspack-plugin/with-zephyr.ts"],"names":[],"mappings":";;;AACA,+CAA4C;AAC5C,yDAAoD;AAEpD,iEAI+B;AAI/B,SAAgB,UAAU,CACxB,mBAA+C;IAE/C,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AACxE,CAAC;AAJD,gCAIC;AAED,KAAK,UAAU,qBAAqB,CAClC,MAAqB,EACrB,cAA0C;IAE1C,2DAA2D;IAC3D,MAAM,aAAa,GAAG,MAAM,2BAAY,CAAC,MAAM,CAAC;QAC9C,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC,CAAC;IAEH,6CAA6C;IAC7C,MAAM,eAAe,GAAG,IAAA,uDAA+B,EAAC,MAAM,CAAC,CAAC;IAEhE,MAAM,yBAAyB,GAC7B,MAAM,aAAa,CAAC,2BAA2B,CAAC,eAAe,CAAC,CAAC;IAEnE,IAAA,wDAAgC,EAAC,aAAa,EAAE,MAAM,EAAE,yBAAyB,CAAC,CAAC;IAEnF,gCAAgC;IAChC,MAAM,CAAC,OAAO,EAAE,IAAI,CAClB,IAAI,iCAAc,CAAC;QACjB,aAAa;QACb,QAAQ,EAAE,IAAA,yDAAiC,EAAC,MAAM,CAAC;QACnD,mBAAmB,EAAE,cAAc,EAAE,mBAAmB;KACzD,CAAC,CACH,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/rspack-plugin/with-zephyr.ts"],"names":[],"mappings":";;AAYA,gCAIC;AAfD,+CAA4C;AAC5C,yDAAoD;AAEpD,iEAI+B;AAI/B,SAAgB,UAAU,CACxB,mBAA+C;IAE/C,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AACxE,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,MAAqB,EACrB,cAA0C;IAE1C,2DAA2D;IAC3D,MAAM,aAAa,GAAG,MAAM,2BAAY,CAAC,MAAM,CAAC;QAC9C,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC,CAAC;IAEH,6CAA6C;IAC7C,MAAM,eAAe,GAAG,IAAA,uDAA+B,EAAC,MAAM,CAAC,CAAC;IAEhE,MAAM,yBAAyB,GAC7B,MAAM,aAAa,CAAC,2BAA2B,CAAC,eAAe,CAAC,CAAC;IAEnE,IAAA,wDAAgC,EAAC,aAAa,EAAE,MAAM,EAAE,yBAAyB,CAAC,CAAC;IAEnF,gCAAgC;IAChC,MAAM,CAAC,OAAO,EAAE,IAAI,CAClB,IAAI,iCAAc,CAAC;QACjB,aAAa;QACb,QAAQ,EAAE,IAAA,yDAAiC,EAAC,MAAM,CAAC;QACnD,mBAAmB,EAAE,cAAc,EAAE,mBAAmB;KACzD,CAAC,CACH,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-rspack-plugin",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "@rspack/core": "^1.1.3",
11
11
  "is-ci": "^3.0.1",
12
12
  "tslib": "^2.3.0",
13
- "zephyr-agent": "0.0.33",
14
- "zephyr-xpack-internal": "0.0.33"
13
+ "zephyr-agent": "0.0.34",
14
+ "zephyr-xpack-internal": "0.0.34"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/is-ci": "^3.0.4",