* Upgrade to TypeScript 7 for massive tsc speed gains Those on WebStorm will want to upgrade to EAP to reap the benefits of the new TSGo compiler Some things (module-api & shared-components) which utilise unplugin-dts (and api-extractor) need to hold a copy of ts6 for its conventional lib format and API. TS7 ships with no API until TS7.1. Other things which use eslint also need ts6 for typescript-eslint. Some type changes were necessary as TS7 caught some issues. * Add knip exception * Fix bad merge
72 lines
2.7 KiB
JSON
72 lines
2.7 KiB
JSON
{
|
|
"name": "element-web-monorepo",
|
|
"version": "0.0.0",
|
|
"description": "Element: the future of secure communication",
|
|
"author": "New Vector Ltd.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/element-hq/element-web"
|
|
},
|
|
"license": "SEE LICENSE IN README.md",
|
|
"type": "module",
|
|
"scripts": {
|
|
"i18n": "pnpm -r i18n",
|
|
"i18n:sort": "pnpm -r i18n:sort",
|
|
"i18n:lint": "pnpm -r i18n:lint",
|
|
"lint": "pnpm -r --workspace-concurrency=1 lint:types && pnpm lint:fmt && pnpm lint:js && pnpm -r lint:style && pnpm lint:workflows && pnpm lint:knip",
|
|
"lint:fmt": "oxfmt --check",
|
|
"lint:fmt:fix": "oxfmt",
|
|
"lint:js": "oxlint",
|
|
"lint:js:fix": "oxlint --fix",
|
|
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) -print -exec action-validator {} ';'",
|
|
"lint:knip": "knip --no-tag-hints && knip --strict --exclude unlisted,dependencies,binaries",
|
|
"lint:unused-settings": "node scripts/find-unused-settings.ts",
|
|
"install:git-hooks": "husky",
|
|
"postinstall": "node scripts/pnpm-link.ts && pnpm run -r sane-postinstall",
|
|
"docs:dev": "vitepress dev docs",
|
|
"docs:build": "vitepress build docs",
|
|
"docs:preview": "vitepress preview docs",
|
|
"test:unit": "nx run-many -t test:unit:prepare -p && vitest run",
|
|
"coverage:diff": "diff-cover --config-file diff-cover.toml apps/web/coverage/lcov.info packages/shared-components/coverage/lcov.info coverage/lcov.info"
|
|
},
|
|
"devDependencies": {
|
|
"@action-validator/cli": "^0.6.0",
|
|
"@action-validator/core": "^0.6.0",
|
|
"@nx-tools/nx-container": "^7.2.1",
|
|
"@playwright/test": "catalog:",
|
|
"@types/node": "25",
|
|
"@typescript/native": "catalog:",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"cronstrue": "^3.0.0",
|
|
"eslint-plugin-element-call": "github:element-hq/element-call#livekit&path:/eslint",
|
|
"eslint-plugin-storybook": "^10.4.6",
|
|
"husky": "^9.0.0",
|
|
"knip": "6.24.0",
|
|
"lint-staged": "^17.0.0",
|
|
"lodash": "^4.17.21",
|
|
"mermaid": "^11.13.0",
|
|
"minimist": "^1.2.6",
|
|
"nx": "23.0.1",
|
|
"oxfmt": "0.56.0",
|
|
"oxlint": "^1.70.0",
|
|
"oxlint-tsgolint": "^0.23.0",
|
|
"typescript": "catalog:ts6",
|
|
"vitepress": "^1.6.4",
|
|
"vitepress-plugin-mermaid": "^2.0.17",
|
|
"vitest": "catalog:",
|
|
"yaml": "^2.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18"
|
|
},
|
|
"devEngines": {
|
|
"packageManager": {
|
|
"name": "pnpm",
|
|
"version": "11.5.2",
|
|
"onFail": "download"
|
|
}
|
|
},
|
|
"private": true,
|
|
"nx": {}
|
|
}
|