@squide/msw 2.0.1 → 2.0.2

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,14 @@
1
1
  # @squide/msw
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103](https://github.com/gsoft-inc/wl-squide/pull/103) [`b72fca3`](https://github.com/gsoft-inc/wl-squide/commit/b72fca38385ddacbcd80376c9afd0c9485658d90) Thanks [@patricklafrance](https://github.com/patricklafrance)! - The `msw` dependency is now an optional `peerDependency`.
8
+
9
+ - Updated dependencies [[`b72fca3`](https://github.com/gsoft-inc/wl-squide/commit/b72fca38385ddacbcd80376c9afd0c9485658d90)]:
10
+ - @squide/core@2.2.0
11
+
3
12
  ## 2.0.1
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { MswPlugin, getMswPlugin } from './mswPlugin.js';
2
2
  export { RequestHandlerRegistry } from './requestHandlerRegistry.js';
3
3
  export { isMswStarted, setMswAsStarted } from './setMswAsStarted.js';
4
- export { UseIsMswStartedOptions, useIsMswStarted } from './useIsMswReady.js';
4
+ export { UseIsMswStartedOptions, useIsMswStarted } from './useIsMswStarted.js';
5
5
  import '@squide/core';
6
6
  import 'msw';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export { MswPlugin, getMswPlugin } from './chunk-UYITHRH3.js';
2
2
  export { RequestHandlerRegistry } from './chunk-2T6CVU4B.js';
3
- export { useIsMswStarted } from './chunk-KIQ5XSM7.js';
3
+ export { useIsMswStarted } from './chunk-K6ZXZGIN.js';
4
4
  export { isMswStarted, setMswAsStarted } from './chunk-JZCWIFHV.js';
@@ -0,0 +1,2 @@
1
+ export { useIsMswStarted } from './chunk-K6ZXZGIN.js';
2
+ import './chunk-JZCWIFHV.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@squide/msw",
3
3
  "author": "Workleap",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "description": "Add support for MSW to @squide federated application shell.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -31,10 +31,15 @@
31
31
  "react": "*",
32
32
  "react-dom": "*"
33
33
  },
34
+ "peerDependenciesMeta": {
35
+ "msw": {
36
+ "optional": true
37
+ }
38
+ },
34
39
  "devDependencies": {
35
- "@types/jest": "29.5.5",
36
- "@types/react": "18.2.28",
37
- "@types/react-dom": "18.2.13",
40
+ "@types/jest": "29.5.6",
41
+ "@types/react": "18.2.33",
42
+ "@types/react-dom": "18.2.14",
38
43
  "@workleap/eslint-plugin": "3.0.0",
39
44
  "@workleap/tsup-configs": "3.0.1",
40
45
  "@workleap/typescript-configs": "3.0.2",
@@ -46,7 +51,7 @@
46
51
  "typescript": "5.2.2"
47
52
  },
48
53
  "dependencies": {
49
- "@squide/core": "2.1.0"
54
+ "@squide/core": "2.2.0"
50
55
  },
51
56
  "sideEffects": false,
52
57
  "engines": {
@@ -1,2 +0,0 @@
1
- export { useIsMswStarted } from './chunk-KIQ5XSM7.js';
2
- import './chunk-JZCWIFHV.js';
File without changes