@tivio/sdk-react 4.5.0 → 5.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "4.5.0",
3
+ "version": "5.0.1",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
@@ -13,24 +13,27 @@
13
13
  "build:dev": "cat ./.env.dev > ./.env && yarn build --config=webpack.config.dev.js && yarn typesRollup",
14
14
  "build:prod": "cat ./.env.prod > ./.env && yarn build --config=webpack.config.prod.js && yarn typesRollup",
15
15
  "build:local": "bash ./scripts/build_with_local_bundle.sh && yarn typesRollup",
16
+ "release": "ts-node ./scripts/release.ts -p=sdk-react",
17
+ "release:patch": "yarn release -r=patch",
18
+ "release:minor": "yarn release -r=minor",
19
+ "release:major": "yarn release -r=major",
16
20
  "start": "yarn ts-node ./scripts/start.ts",
17
21
  "test": "jest --config=./jest.config.js --coverage",
18
22
  "clean": "rm -rf dist",
19
23
  "prepublishOnly": "yarn && yarn build:prod && yarn ts-node ./scripts/prepublish.ts",
20
24
  "postpublish": "yarn ts-node ./scripts/postpublish.ts",
21
25
  "publish:alpha": "npm publish --tag alpha",
22
- "check:cycles": "npx madge --circular src/**/*",
23
26
  "typesRollup": "yarn ts-node ./scripts/typesRollup.ts"
24
27
  },
25
28
  "peerDependencies": {
26
- "react": "^17.0.0",
27
- "react-dom": "^17.0.0"
29
+ "react": "17.x || 18.x",
30
+ "react-dom": "17.x || 18.x"
28
31
  },
29
32
  "dependencies": {
30
33
  "@material-ui/core": "^4.11.2",
31
34
  "@material-ui/icons": "^4.11.2",
32
35
  "@sentry/browser": "^6.1.0",
33
- "@tivio/common": "1.1.102",
36
+ "@tivio/common": "1.1.103",
34
37
  "dayjs": "^1.11.0",
35
38
  "es7-object-polyfill": "^1.0.1",
36
39
  "firebase": "8.10.1",
@@ -39,7 +42,7 @@
39
42
  "mobx": "^6.0.4",
40
43
  "mobx-react": "^7.1.0",
41
44
  "react-i18next": "^9.0.10",
42
- "react-router-dom": "^5.2.0",
45
+ "react-router-dom": "^5.3.4",
43
46
  "react-spring": "^9.2.4",
44
47
  "react-virtualized": "^9.22.3",
45
48
  "styled-components": "^5.2.1",
@@ -53,30 +56,30 @@
53
56
  "@testing-library/react-hooks": "^5.0.3",
54
57
  "@testing-library/user-event": "^12.1.10",
55
58
  "@tivio/types": "*",
56
- "@types/jest": "^26.0.15",
59
+ "@types/jest": "^26.0.24",
57
60
  "@types/node": "^12.0.0",
58
61
  "@types/node-fetch": "^2.5.8",
59
- "@types/react": "^17.0.13",
60
- "@types/react-dom": "^17.0.2",
62
+ "@types/react": "^18.0.28",
63
+ "@types/react-dom": "^18.0.11",
61
64
  "@types/react-router-dom": "^5.1.6",
62
- "@types/react-virtualized": "^9.21.13",
65
+ "@types/react-virtualized": "^9.21.21",
63
66
  "@types/styled-components": "^5.1.7",
64
- "@typescript-eslint/eslint-plugin": "^4.14.0",
65
- "@typescript-eslint/parser": "^4.14.2",
67
+ "@typescript-eslint/eslint-plugin": "^5.30.5",
68
+ "@typescript-eslint/parser": "^5.30.5",
69
+ "circular-dependency-plugin": "^5.2.2",
66
70
  "dotenv": "^9.0.0",
67
71
  "eslint": "^7.19.0",
68
72
  "fork-ts-checker-webpack-plugin": "^7.0.0",
69
- "jest": "^27.0.1",
70
- "jest-cli": "^26.6.3",
73
+ "jest": "^26.6.0",
74
+ "jest-cli": "^26.6.0",
71
75
  "jest-fetch-mock": "^3.0.3",
72
- "madge": "^5.0.1",
73
76
  "node-fetch": "^2.6.1",
74
- "react": "^17.0.2",
75
- "react-dom": "^17.0.2",
77
+ "react": "^18.2.0",
78
+ "react-dom": "^18.2.0",
76
79
  "stream-browserify": "^3.0.0",
77
80
  "timers-browserify": "^2.0.12",
78
- "ts-jest": "^26.4.4",
79
- "typescript": "^4.1.3",
81
+ "ts-jest": "^26.5.6",
82
+ "typescript": "^4.9.4",
80
83
  "web-vitals": "^1.0.1",
81
84
  "yargs": "17"
82
85
  }