|
2 | 2 | "name": "yasd",
|
3 | 3 | "version": "1.1.2",
|
4 | 4 | "private": true,
|
| 5 | + "type": "module", |
5 | 6 | "license": "MIT",
|
6 | 7 | "scripts": {
|
7 | 8 | "start": "craco start",
|
|
11 | 12 | "test": "craco test --watchAll=false",
|
12 | 13 | "test:watch": "craco test",
|
13 | 14 | "test:coverage": "craco test --coverage --runInBand --watchAll=false",
|
14 |
| - "test:lint": "eslint . --ext .mjs,.js,.jsx,.ts,.tsx", |
| 15 | + "test:types": "tsc --noEmit", |
| 16 | + "test:types:watch": "tsc --noEmit --watch", |
| 17 | + "lint": "eslint . --ext .mjs,.js,.jsx,.ts,.tsx", |
| 18 | + "lint:fix": "yarn lint --fix", |
15 | 19 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
16 | 20 | "pub": "np --no-publish",
|
17 | 21 | "version": "npm run changelog && git add .",
|
18 | 22 | "snyk-protect": "snyk-protect",
|
19 | 23 | "prepare": "npm run snyk-protect && husky install",
|
20 |
| - "verify-translation": "zx scripts/verify-translations.mjs" |
| 24 | + "verify-translation": "zx scripts/verify-translations.mjs", |
| 25 | + "shadcn": "shadcn-ui" |
21 | 26 | },
|
22 | 27 | "dependencies": {
|
| 28 | + "@babel/preset-react": "^7.22.5", |
23 | 29 | "@chakra-ui/icons": "^1.0.16",
|
24 | 30 | "@commitlint/cli": "^12.0.1",
|
25 | 31 | "@commitlint/config-angular": "^12.0.1",
|
26 |
| - "@craco/craco": "^6.1.1", |
27 |
| - "@emotion/cache": "^10", |
28 |
| - "@emotion/core": "^10.0.35", |
29 |
| - "@emotion/styled": "^10.0.27", |
30 |
| - "@loadable/component": "^5.14.1", |
| 32 | + "@craco/craco": "^7.1.0", |
| 33 | + "@craco/types": "^7.1.0", |
| 34 | + "@emotion/babel-plugin": "^11.11.0", |
| 35 | + "@emotion/cache": "^11.11.0", |
| 36 | + "@emotion/css": "^11.11.2", |
| 37 | + "@emotion/eslint-plugin": "^11.11.0", |
| 38 | + "@emotion/react": "^11.11.1", |
| 39 | + "@emotion/styled": "^11.11.0", |
| 40 | + "@loadable/component": "^5.15.3", |
| 41 | + "@radix-ui/react-dialog": "^1.0.4", |
| 42 | + "@radix-ui/react-icons": "^1.3.0", |
| 43 | + "@radix-ui/react-slot": "^1.0.2", |
31 | 44 | "@snyk/protect": "^1.1198.0",
|
32 |
| - "@sumup/circuit-ui": "^2.2.2", |
33 |
| - "@sumup/collector": "^1.0.1", |
34 |
| - "@sumup/design-tokens": "^2.0.1", |
35 |
| - "@sumup/icons": "^1.2.0", |
36 |
| - "@sumup/intl": "^1.1.3", |
| 45 | + "@sumup/circuit-ui": "^6.11.0", |
| 46 | + "@sumup/collector": "^1.6.1", |
| 47 | + "@sumup/design-tokens": "^5.3.0", |
| 48 | + "@sumup/icons": "^2.30.1", |
| 49 | + "@sumup/intl": "^1.5.0", |
37 | 50 | "@testing-library/jest-dom": "^5.11.5",
|
38 | 51 | "@testing-library/react": "^11.1.0",
|
39 | 52 | "@testing-library/react-hooks": "^3.4.2",
|
|
48 | 61 | "@types/loadable__component": "^5.13.0",
|
49 | 62 | "@types/lodash-es": "^4.17.3",
|
50 | 63 | "@types/node": "^18.0.0",
|
51 |
| - "@types/react": "^17.0.3", |
| 64 | + "@types/react": "^18.2.18", |
52 | 65 | "@types/react-collapse": "^5.0.0",
|
53 |
| - "@types/react-dom": "^17.0.3", |
| 66 | + "@types/react-dom": "^18.2.7", |
54 | 67 | "@types/react-router-dom": "^5.1.5",
|
55 | 68 | "@types/react-tabs": "^2.3.2",
|
56 |
| - "@types/react-virtualized": "^9.21.10", |
| 69 | + "@types/react-virtualized": "^9.21.22", |
57 | 70 | "@types/semver": "^7.3.4",
|
58 | 71 | "@types/uuid": "^8.3.0",
|
59 |
| - "@typescript-eslint/eslint-plugin": "^5.2.0", |
60 |
| - "@typescript-eslint/parser": "^5.2.0", |
61 |
| - "autoprefixer": "^9.8.6", |
| 72 | + "@typescript-eslint/eslint-plugin": "^6.2.1", |
| 73 | + "@typescript-eslint/parser": "^6.2.1", |
| 74 | + "autoprefixer": "^10.4.14", |
62 | 75 | "await-to-js": "^3.0.0",
|
63 | 76 | "axios": "^0.21.0",
|
| 77 | + "babel-plugin-twin": "^1.1.0", |
64 | 78 | "bluebird": "^3.7.2",
|
65 | 79 | "bytes": "^3.1.0",
|
66 | 80 | "chart.js": "^2.9.4",
|
67 |
| - "clsx": "^1.1.1", |
| 81 | + "class-variance-authority": "^0.7.0", |
| 82 | + "clsx": "^2.0.0", |
68 | 83 | "codemirror": "^5.58.2",
|
69 | 84 | "dayjs": "^1.9.4",
|
70 |
| - "emotion-theming": "^10.0.27", |
| 85 | + "emotion-theming": "^11.0.0", |
71 | 86 | "enzyme": "^3.11.0",
|
72 | 87 | "enzyme-adapter-react-16": "^1.15.5",
|
73 | 88 | "enzyme-to-json": "^3.6.1",
|
74 |
| - "eslint": "^7.32.0", |
75 |
| - "eslint-config-prettier": "^8.1.0", |
76 |
| - "eslint-plugin-import": "^2.22.1", |
77 |
| - "eslint-plugin-prettier": "^4.0.0", |
78 |
| - "eslint-plugin-react": "^7.21.5", |
| 89 | + "eslint": "^8.46.0", |
| 90 | + "eslint-config-prettier": "^8.9.0", |
| 91 | + "eslint-import-resolver-typescript": "^3.5.5", |
| 92 | + "eslint-plugin-import": "^2.28.0", |
| 93 | + "eslint-plugin-prettier": "^5.0.0", |
| 94 | + "eslint-plugin-react": "^7.33.1", |
79 | 95 | "eslint-plugin-react-hooks": "^4.2.0",
|
80 | 96 | "framer-motion": "^4",
|
81 | 97 | "fs-extra": "^10.0.0",
|
82 | 98 | "husky": "^5.2.0",
|
83 | 99 | "i18next": "^20.3.1",
|
84 | 100 | "i18next-chained-backend": "^3.0.2",
|
85 | 101 | "i18next-http-backend": "^1.2.6",
|
86 |
| - "i18next-resources-to-backend": "^1.0.0", |
| 102 | + "i18next-resources-to-backend": "^1.1.4", |
87 | 103 | "identity-obj-proxy": "^3.0.0",
|
88 | 104 | "is-ip": "^3.1.0",
|
89 | 105 | "lint-staged": "^10.4.0",
|
90 | 106 | "lodash-es": "^4.17.15",
|
91 |
| - "modern-normalize": "^1.0.0", |
92 |
| - "node-sass": "^6", |
| 107 | + "lucide-react": "^0.263.1", |
| 108 | + "node-sass": "^9.0.0", |
93 | 109 | "np": "^7.4.0",
|
94 | 110 | "npm-debug-log-cleaner": "^1.0.3",
|
95 |
| - "postcss": "^7", |
96 |
| - "postcss-import": "^12.0.1", |
97 |
| - "prettier": "^2.2.1", |
| 111 | + "postcss": "^8.4.27", |
| 112 | + "postcss-import": "^15.1.0", |
| 113 | + "prettier": "^3.0.0", |
98 | 114 | "prop-types": "^15.7.2",
|
99 |
| - "raw.macro": "^0.4.2", |
100 | 115 | "re-resizable": "^6.7.0",
|
101 |
| - "react": "^17.0.1", |
| 116 | + "react": "^18.2.0", |
102 | 117 | "react-codemirror2": "^7.2.1",
|
103 | 118 | "react-collapse": "^5.0.1",
|
104 |
| - "react-dom": "^17.0.1", |
105 |
| - "react-ga": "^3.1.2", |
| 119 | + "react-dom": "^18.2.0", |
106 | 120 | "react-hook-form": "^7.8.4",
|
107 | 121 | "react-i18next": "^11.10.0",
|
108 |
| - "react-router-dom": "^5.2.0", |
109 |
| - "react-scripts": "^4.0.3", |
| 122 | + "react-router-dom": "^6.14.2", |
| 123 | + "react-scripts": "^5.0.1", |
110 | 124 | "react-scroll-to": "^3.0.0-beta.6",
|
111 | 125 | "react-tabs": "^3.1.1",
|
112 | 126 | "react-toastify": "^7.0.3",
|
113 |
| - "react-virtualized": "^9.22.2", |
114 |
| - "rimraf": "^3.0.2", |
| 127 | + "react-virtualized": "^9.22.5", |
| 128 | + "rimraf": "^5.0.1", |
115 | 129 | "semver": "^7.3.2",
|
| 130 | + "shadcn-ui": "^0.3.0", |
116 | 131 | "smoothscroll-polyfill": "^0.4.4",
|
117 | 132 | "store2": "^2.12.0",
|
118 | 133 | "swr": "^0.5.4",
|
119 |
| - "tailwindcss": "^1.9.6", |
120 |
| - "ts-jest": "^26.4.2", |
121 |
| - "twin.macro": "^1.11.1", |
122 |
| - "typescript": "^4.0.3", |
| 134 | + "tailwind-merge": "^1.14.0", |
| 135 | + "tailwindcss": "^3.3.3", |
| 136 | + "tailwindcss-animate": "^1.0.6", |
| 137 | + "ts-jest": "^29.1.1", |
| 138 | + "twin.macro": "^3.4.0", |
| 139 | + "typescript": "^5.1.6", |
123 | 140 | "use-is-in-viewport": "^1.0.9",
|
124 |
| - "uuid": "^8.3.0", |
125 |
| - "zx": "~1.14.0" |
| 141 | + "uuid": "^9.0.0", |
| 142 | + "zx": "~7.2.3" |
| 143 | + }, |
| 144 | + "resolutions": { |
| 145 | + "react-virtualized/**/@types/react": "^18" |
126 | 146 | },
|
127 | 147 | "browserslist": {
|
128 | 148 | "production": [
|
|
135 | 155 | "last 1 safari version"
|
136 | 156 | ]
|
137 | 157 | },
|
| 158 | + "babelMacros": { |
| 159 | + "twin": { |
| 160 | + "preset": "emotion" |
| 161 | + } |
| 162 | + }, |
138 | 163 | "jest": {
|
139 | 164 | "transformIgnorePatterns": [
|
140 | 165 | "<rootDir>/node_modules/(?!lodash-es)",
|
|
0 commit comments