|
19 | 19 | "node": ">=16.13.1" |
20 | 20 | }, |
21 | 21 | "scripts": { |
22 | | - "build": "cross-env NODE_ENV=production COMMIT_HASH=$(git rev-parse --short HEAD) webpack", |
23 | | - "postbuild": "node scripts/post-build.js", |
24 | | - "start": "COMMIT_HASH=$(git rev-parse --short HEAD) webpack-dev-server --progress", |
| 22 | + "build": "cross-env COMMIT_HASH=$(git rev-parse --short HEAD) vite build", |
| 23 | + "start": "COMMIT_HASH=$(git rev-parse --short HEAD) vite", |
| 24 | + "preview": "vite preview", |
25 | 25 | "test:unit": "TZ=UTC && jest --ci --runInBand", |
26 | 26 | "test:e2e": "cypress run --spec 'e2e/tests/console/*.spec.js'", |
27 | 27 | "test:e2e:auth": "cypress run --spec 'e2e/tests/auth/*.spec.js'", |
|
38 | 38 | "@monaco-editor/react": "^4.6.0", |
39 | 39 | "@popperjs/core": "2.4.2", |
40 | 40 | "@questdb/sql-grammar": "1.3.0", |
41 | | - "@radix-ui/react-alert-dialog": "^1.0.3", |
42 | | - "@radix-ui/react-context-menu": "2.1.5", |
43 | | - "@radix-ui/react-dialog": "^1.0.3", |
44 | | - "@radix-ui/react-dropdown-menu": "^2.1.15", |
45 | | - "@radix-ui/react-popover": "0.1.6", |
46 | | - "@radix-ui/react-switch": "^1.0.2", |
| 41 | + "@radix-ui/react-alert-dialog": "^1.1.15", |
| 42 | + "@radix-ui/react-context-menu": "^2.2.16", |
| 43 | + "@radix-ui/react-dialog": "^1.1.15", |
| 44 | + "@radix-ui/react-dropdown-menu": "^2.1.16", |
| 45 | + "@radix-ui/react-popover": "^1.1.0", |
| 46 | + "@radix-ui/react-switch": "^1.2.6", |
47 | 47 | "@styled-icons/bootstrap": "10.47.0", |
48 | 48 | "@styled-icons/boxicons-logos": "10.47.0", |
49 | 49 | "@styled-icons/boxicons-regular": "10.47.0", |
|
103 | 103 | }, |
104 | 104 | "devDependencies": { |
105 | 105 | "@4tw/cypress-drag-drop": "^2.2.5", |
106 | | - "@babel/cli": "^7.17.10", |
107 | | - "@babel/core": "^7.20.12", |
| 106 | + "@babel/core": "^7.28.5", |
108 | 107 | "@babel/preset-env": "^7.20.2", |
109 | 108 | "@babel/preset-react": "^7.17.12", |
110 | 109 | "@babel/preset-typescript": "^7.18.6", |
111 | | - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", |
112 | 110 | "@styled-icons/styled-icon": "^10.7.0", |
| 111 | + "@types/babel__core": "^7", |
113 | 112 | "@types/draggabilly": "^2.1.6", |
114 | 113 | "@types/echarts": "^4.9.22", |
115 | 114 | "@types/jest": "^29.5.14", |
|
126 | 125 | "@types/throttle-debounce": "2.1.0", |
127 | 126 | "@typescript-eslint/eslint-plugin": "^7.7.0", |
128 | 127 | "@typescript-eslint/parser": "^7.7.0", |
| 128 | + "@vitejs/plugin-react": "^5.1.0", |
129 | 129 | "babel-jest": "^29.4.2", |
130 | | - "babel-loader": "^8.2.5", |
131 | 130 | "babel-plugin-import": "^1.13.8", |
132 | 131 | "babel-plugin-styled-components": "^2.0.7", |
133 | 132 | "bundlewatch": "^0.3.3", |
134 | | - "copy-webpack-plugin": "^11.0.0", |
135 | 133 | "cross-env": "7.0.2", |
136 | | - "css-loader": "3.5.3", |
137 | 134 | "cypress": "^10.11.0", |
138 | 135 | "cypress-real-events": "^1.13.0", |
139 | 136 | "eslint": "^8.56.0", |
|
147 | 144 | "eslint-plugin-react": "7.34.1", |
148 | 145 | "eslint-plugin-react-hooks": "4.6.0", |
149 | 146 | "eslint-plugin-standard": "5.0.0", |
150 | | - "file-loader": "6.0.0", |
151 | | - "fork-ts-checker-webpack-plugin": "^9.0.0", |
152 | | - "html-webpack-plugin": "^5.5.0", |
153 | 147 | "jest": "^29.7.0", |
154 | 148 | "jest-util": "29.7.0", |
155 | | - "mini-css-extract-plugin": "^2.6.0", |
156 | 149 | "prettier": "^2.5.1", |
157 | | - "react-refresh": "^0.14.0", |
158 | | - "sass": "1.26.8", |
159 | | - "sass-loader": "8.0.2", |
160 | | - "style-loader": "1.2.1", |
| 150 | + "sass": "^1.93.2", |
161 | 151 | "stylelint": "^13.13.1", |
162 | 152 | "stylelint-config-prettier": "8.0.1", |
163 | 153 | "stylelint-config-recommended": "3.0.0", |
164 | 154 | "stylelint-config-styled-components": "0.1.1", |
165 | | - "stylelint-custom-processor-loader": "0.6.0", |
166 | 155 | "stylelint-processor-styled-components": "1.10.0", |
167 | 156 | "ts-jest": "^29.2.5", |
168 | 157 | "typescript": "^5.7.0", |
169 | | - "webpack": "^5", |
170 | | - "webpack-bundle-analyzer": "^4.9.1", |
171 | | - "webpack-cli": "^4.9.2", |
172 | | - "webpack-dev-server": "^4.15.1" |
| 158 | + "vite": "^7.1.12", |
| 159 | + "vite-plugin-checker": "^0.11.0", |
| 160 | + "vite-plugin-static-copy": "^3.1.4" |
173 | 161 | }, |
174 | 162 | "resolutions": { |
175 | 163 | "webpack": "^5", |
|
181 | 169 | "bundlewatch": { |
182 | 170 | "files": [ |
183 | 171 | { |
184 | | - "path": "dist/vendor.*.js", |
185 | | - "maxSize": "3MB", |
186 | | - "compression": "none" |
187 | | - }, |
188 | | - { |
189 | | - "path": "dist/qdb.*.js", |
| 172 | + "path": "dist/assets/vendor-*.js", |
190 | 173 | "maxSize": "500KB", |
191 | 174 | "compression": "none" |
192 | 175 | }, |
193 | 176 | { |
194 | | - "path": "dist/qdb.*.css", |
195 | | - "maxSize": "100KB", |
| 177 | + "path": "dist/assets/index-*.js", |
| 178 | + "maxSize": "2.5MB", |
196 | 179 | "compression": "none" |
197 | 180 | }, |
198 | 181 | { |
199 | | - "path": "dist/vendor.*.css", |
| 182 | + "path": "dist/assets/index-*.css", |
200 | 183 | "maxSize": "100KB", |
201 | 184 | "compression": "none" |
202 | 185 | } |
|
0 commit comments