Files
cloudbeaver/webapp/package.json
T
sergeyteleshev 143cbb0d88 Cb 6265 Return front unit tests after migration (#3338)
* СB-6265 sets up vitest instead of jest

* CB-6265 gets back core-utils tests

* СB-6265 gets back react-testing-library tests

* СB-6265 gets back some tests from another plugins

* CB-6265 renames dist -> lib in each plugin + removes all jest from the repo

* CB-6265 disables watch mode so build can go on

* CB-6265 extends tests types for react-testing-library

* CB-6265 reverts dist->lib rename cause it contains other assets also

* CB-6265 moves setupFiles to the vitest.config.ts

* CB-6265 pr fixes

* CB-6265 fixes tests run for Windows

* CB-6265 removes global: true in config + uses jest-dom/vitest lib to have extended expect types

* CB-6565 removes unused deps

* СB-6265 improves performance of the test x10 times

* CB-6265 gets back renderInApp, fixes vitest setup reset config for mocks, cleans up

* CB-6265 reset -> restore all mocks

* CB-6265 fixes unit tests

* CB-6265 vitest.setup.ts cleanup

* CB-6265 timestamp to date shows military time both: on unix and windows (win tests fix)

* CB-6265 improves tests running (sequential run instead of parallel)

* CB-6265 cleanup

* CB-6265 eslint fix

* CB-6265 eslint fix 2

* CB-6265 reverts useCombined handler

* CB-6265 reverts some tests

* CB-6265 removes all redundant timer configs

* Merge branch 'devel' into CB-6265-return-front-unit-tests-after-migration

* CB-6265 pr fixes

* CB-6265 fixes time for windows

* CB-6265 removes default fake timers before each test
2025-04-14 18:48:33 +08:00

57 lines
1.6 KiB
JSON

{
"name": "cloudbeaver-ce",
"version": "1.0.0",
"type": "module",
"private": true,
"workspaces": [
"../common-react",
"packages/*"
],
"resolutions": {
"@types/react": "^19",
"@types/react-dom": "^19",
"react": "^19",
"react-dom": "^19",
"mobx": "^6",
"mobx-react-lite": "^4"
},
"scripts": {
"test": "core-cli-test",
"clear": "rimraf -g 'packages/*/{dist,lib}'",
"lint": "eslint",
"validate-dependencies": "core-cli-validate-dependencies './packages/*/'",
"add-plugin": "core-cli-add-plugin",
"check-license": "core-cli-check-license",
"version:set": "yarn workspaces foreach -Ap --include '@cloudbeaver/product-*' run version:set",
"postinstall": "[ -z $CI ] && yarn lefthook install || true"
},
"devDependencies": {
"@cloudbeaver/core-cli": "workspace:*",
"@cloudbeaver/eslint-config": "workspace:*",
"@dbeaver/prettier-config": "workspace:*",
"@testing-library/dom": "^10",
"@testing-library/jest-dom": "^6",
"@testing-library/react": "^16",
"@testing-library/user-event": "^14",
"@types/react": "^19",
"@types/react-dom": "^19",
"concurrently": "^9",
"eslint": "^9.20.1",
"lefthook": "^1",
"mobx": "^6",
"mobx-react-lite": "^4",
"msw": "^2",
"path-browserify": "^1",
"prettier": "^3.5.1",
"react": "^19",
"react-dom": "^19",
"reakit": "^1",
"reflect-metadata": "^0",
"rimraf": "^6",
"typescript": "^5.7.3",
"typescript-plugin-css-modules": "^5",
"vitest": "^3"
},
"packageManager": "yarn@4.6.0"
}