1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-24 23:19:26 +03:00
Files
element-web/apps/web/playwright/tsconfig.json
Richard van der Hoff 3ffa4135cf CI: layered.sh: better replicate clean install (#34989)
* vitepress: update path to matrix-js-sdk

matrix-js-sdk is only required by apps/web, so is not (usually) found in the
top-level node_modules.

* Add more dependencies to list to be babeled for jest

In particular: `content-type`, `bs58` and `base-x`. These are transitive deps
of matrix-js-sdk, so are often installed under `node_moduled` and hence get
covered by the exclusion for `matrix-js-sdk`, but if they get hoisted to the
top of node_modules, then we get test failures.

* Update matrix-widget-api

The js-sdk depends on stuff in 1.19.0, so we need to update.

* CI: layered.sh: avoid pnpm link

`pnpm link` does not accurately reproduce the behaviour of installing the
package from git/npm, leading to surprise compile failures for people that
attempt to do the latter.

So, instead, let's build the js-sdk's package as a tarball, then install that.

* Clean up tsc includes for playwright dir

* silence sonarcloud whining

* lint
2026-09-11 15:42:53 +00:00

25 lines
700 B
JSON

{
"compilerOptions": {
"target": "es2022",
"jsx": "react",
"lib": ["es2024", "dom", "dom.iterable"],
"resolveJsonModule": true,
"esModuleInterop": true,
"moduleResolution": "bundler",
"module": "ESNext",
"allowImportingTsExtensions": true,
"strict": true,
"noUnusedLocals": true,
"types": ["node"],
"noEmit": true
},
"include": [
"**/*.ts",
"../src/@types/matrix-js-sdk.d.ts",
// Some useful type declarations from the js-sdk
"../node_modules/matrix-js-sdk/src/@types/another-json.d.ts",
"../node_modules/matrix-js-sdk/src/@types/global.d.ts"
]
}