mirror of
https://github.com/mathuo/dockview
synced 2026-05-21 02:37:11 +00:00
Bump react, react-dom, @types/react, @types/react-dom in root devDependencies and resolutions to 19.x. dockview, dockview-react, and dockview-vue peer dep ranges already allow ^19, so no consumer-facing changes. Internal source compiles cleanly against React 19 — only the React HOCs in packages/dockview/src/react.ts needed sanity-checking and they remain valid (forwardRef is still supported, createPortal unchanged). One test-only source change: react-dom/test-utils was removed in React 19, so packages/dockview/src/__tests__/dockview/defaultTab.spec.tsx now imports `act` from 'react' instead. All 5 packages build, 1077 tests pass, lint clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
102 lines
3.1 KiB
JSON
102 lines
3.1 KiB
JSON
{
|
|
"name": "dockview-monorepo-root",
|
|
"private": true,
|
|
"description": "Monorepo for https://github.com/mathuo/dockview",
|
|
"homepage": "https://github.com/mathuo/dockview#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/mathuo/dockview/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mathuo/dockview.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "https://github.com/mathuo",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "nx run-many -t build --projects=dockview-core,dockview,dockview-vue,dockview-react,dockview-angular",
|
|
"build:bundle": "nx run-many -t build:bundle --projects=dockview-core,dockview,dockview-vue,dockview-react,dockview-angular",
|
|
"clean": "nx run-many -t clean",
|
|
"docs": "typedoc && node scripts/docs.mjs",
|
|
"lint": "nx run-many -t lint",
|
|
"lint:fix": "nx run-many -t lint:fix",
|
|
"format": "nx run-many -t format",
|
|
"format:check": "nx run-many -t format:check",
|
|
"test": "nx run-many -t test",
|
|
"test:cov": "jest --coverage --passWithNoTests",
|
|
"gen": "node scripts/gen/index.mjs",
|
|
"gen:check": "npm run gen && git diff --exit-code __generated__/",
|
|
"release": "nx release",
|
|
"release:version": "nx release version",
|
|
"release:publish": "nx release publish"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"vite": "^7.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/common": "^21.2.12",
|
|
"@angular/compiler": "^21.2.12",
|
|
"@angular/compiler-cli": "^21.2.12",
|
|
"@angular/core": "^21.2.12",
|
|
"@angular/platform-browser": "^21.2.12",
|
|
"@angular/platform-browser-dynamic": "^21.2.12",
|
|
"@nx/js": "^22.7.1",
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@rollup/plugin-terser": "^1.0.0",
|
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@total-typescript/shoehorn": "^0.1.1",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^25.7.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@eslint/js": "^10.0.1",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"concurrently": "^9.2.1",
|
|
"eslint": "^10.0.1",
|
|
"fs-extra": "^11.3.5",
|
|
"gulp": "^5.0.1",
|
|
"gulp-concat": "^2.6.1",
|
|
"gulp-sass": "^6.0.1",
|
|
"jest": "^30.4.2",
|
|
"jest-environment-jsdom": "^30.4.1",
|
|
"jest-preset-angular": "^16.1.5",
|
|
"jest-sonar-reporter": "^2.0.0",
|
|
"jsdom": "^29.1.1",
|
|
"ng-packagr": "^21.0.0",
|
|
"nx": "^22.7.1",
|
|
"postcss": "^8.5.14",
|
|
"prettier": "^3.8.1",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"rimraf": "^6.1.3",
|
|
"rollup": "^4.60.3",
|
|
"rollup-plugin-postcss": "^4.0.2",
|
|
"rxjs": "^7.8.0",
|
|
"sass": "^1.99.0",
|
|
"ts-jest": "^29.4.0",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.6.2",
|
|
"typedoc": "^0.28.19",
|
|
"typescript-eslint": "^8.59.3",
|
|
"typescript": "~5.9.0",
|
|
"vite": "^7.3.3",
|
|
"vitest": "^4.1.6",
|
|
"vue": "^3.5.34",
|
|
"vue-tsc": "^3.2.8",
|
|
"zone.js": "~0.15.1"
|
|
},
|
|
"engines": {
|
|
"node": "^22.13.0 || >=24.0.0"
|
|
},
|
|
"version": ""
|
|
}
|