@squide/firefly-webpack-configs 2.0.0 → 3.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @squide/firefly-webpack-configs
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#170](https://github.com/gsoft-inc/wl-squide/pull/170) [`119570f`](https://github.com/gsoft-inc/wl-squide/commit/119570f9c93341285a24e8be879d0a468ee2b5db) Thanks [@patricklafrance](https://github.com/patricklafrance)! - The host define function doesn't accept an "applicationName" anymore as it is now hardcoded to "host".
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`119570f`](https://github.com/gsoft-inc/wl-squide/commit/119570f9c93341285a24e8be879d0a468ee2b5db)]:
12
+ - @squide/webpack-configs@3.0.0
13
+
3
14
  ## 2.0.0
4
15
 
5
16
  ### Major Changes
@@ -58,7 +69,7 @@
58
69
  import { defineDevHostConfig } from "@squide/firefly-webpack-configs";
59
70
  import { swcConfig } from "./swc.dev.js";
60
71
 
61
- export default defineDevHostConfig(swcConfig, "host", 8080, {
72
+ export default defineDevHostConfig(swcConfig, 8080, {
62
73
  overlay: false,
63
74
  });
64
75
  ```
@@ -98,7 +109,7 @@
98
109
  },
99
110
  ];
100
111
 
101
- export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, {
112
+ export default defineDevHostConfig(swcConfig, 8080, Remotes, {
102
113
  overlay: false,
103
114
  });
104
115
  ```
package/dist/index.d.ts CHANGED
@@ -8,11 +8,11 @@ type FireflyFeatures = Omit<Features, "router" | "msw">;
8
8
  interface FireflyDefineDevHostConfigOptions extends DefineDevHostConfigOptions {
9
9
  features?: FireflyFeatures;
10
10
  }
11
- declare function defineDevHostConfig(swcConfig: SwcConfig, applicationName: string, port: number, remotes: RemoteDefinition[], { features, ...options }?: FireflyDefineDevHostConfigOptions): webpack.Configuration;
11
+ declare function defineDevHostConfig(swcConfig: SwcConfig, port: number, remotes: RemoteDefinition[], { features, ...options }?: FireflyDefineDevHostConfigOptions): webpack.Configuration;
12
12
  interface FireflyDefineBuildHostConfigOptions extends DefineBuildHostConfigOptions {
13
13
  features?: FireflyFeatures;
14
14
  }
15
- declare function defineBuildHostConfig(swcConfig: SwcConfig, applicationName: string, remotes: RemoteDefinition[], { features, ...options }?: FireflyDefineBuildHostConfigOptions): webpack.Configuration;
15
+ declare function defineBuildHostConfig(swcConfig: SwcConfig, remotes: RemoteDefinition[], { features, ...options }?: FireflyDefineBuildHostConfigOptions): webpack.Configuration;
16
16
  interface FireflyDefineDevRemoteModuleConfigOptions extends DefineDevRemoteModuleConfigOptions {
17
17
  features?: FireflyFeatures;
18
18
  }
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@ export { defineRemoteModuleFederationPluginOptions } from '@squide/webpack-confi
3
3
  export * from '@workleap/webpack-configs';
4
4
 
5
5
  // src/index.ts
6
- function defineDevHostConfig(swcConfig, applicationName, port, remotes, { features = {}, ...options } = {}) {
7
- return defineDevHostConfig$1(swcConfig, applicationName, port, remotes, {
6
+ function defineDevHostConfig(swcConfig, port, remotes, { features = {}, ...options } = {}) {
7
+ return defineDevHostConfig$1(swcConfig, port, remotes, {
8
8
  ...options,
9
9
  features: {
10
10
  router: "react-router",
@@ -13,8 +13,8 @@ function defineDevHostConfig(swcConfig, applicationName, port, remotes, { featur
13
13
  }
14
14
  });
15
15
  }
16
- function defineBuildHostConfig(swcConfig, applicationName, remotes, { features = {}, ...options } = {}) {
17
- return defineBuildHostConfig$1(swcConfig, applicationName, remotes, {
16
+ function defineBuildHostConfig(swcConfig, remotes, { features = {}, ...options } = {}) {
17
+ return defineBuildHostConfig$1(swcConfig, remotes, {
18
18
  ...options,
19
19
  features: {
20
20
  router: "react-router",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@squide/firefly-webpack-configs",
3
3
  "author": "Workleap",
4
- "version": "2.0.0",
4
+ "version": "3.0.0",
5
5
  "description": "Webpack configuration helpers for the Squide firefly technology stack.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@workleap/webpack-configs": "1.5.1",
57
- "@squide/webpack-configs": "2.0.0"
57
+ "@squide/webpack-configs": "3.0.0"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=20.0.0"