6 Commits

Author SHA1 Message Date
ravicious f5ca6e0637 Add @typescript/native-preview for type checking (#62021)
* Add tsgo

* Fix type errors that come from updated std lib types in TS 7.0

* Upgrade `@typescript/native-preview`
2026-03-03 13:55:31 +00:00
Ryan Clark 98ad9d199c Add stories for list/view session recordings (#58728)
* Add stories for list/view session recordings, minor UI changes

* Type check storybook, use import.meta.dirname instead of __dirname

* Add mocking for the session recordings service

* Clear all queries between stories

* Unexport interface

* Undo unnecessary changes

* Try using `.mts` for main

* Undo node v24 changes

* Add license
2025-10-22 06:31:14 +00:00
Grzegorz Zdunek a1f309a34d Make web/design a separate TypeScript project (#47694)
* Make `web/design` a separate TypeScript project

* Fix compile errors

It seems that making `web/design` a separate project slightly changes the behavior of type inference
2024-10-25 15:55:02 +00:00
Rafał Cieślak 40cfacf601 Update eslint-plugin-jest to 27.9.0, switch to recommended rules only (#39226)
* Update eslint-plugin-jest to 27.9.0

https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2600-2022-01-24
https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2700-2022-08-28

I switched plugin:jest/all to plugin:jest/recommended, since /all just
activates every rule in the package. This might have been fine when this
package was added a couple of years ago, but it doesn't make sense anymore.

27.0.0 requires parserOptions.project to be set, but this returned an error:

    0:0  error  Parsing error: ESLint was configured to run on
    `<tsconfigRootDir>/web/packages/teleport/vite.config.mts` using `parserOptions.project`:
    /users/rav/src/teleport/tsconfig.json
    However, that TSConfig does not include this file. Either:
    - Change ESLint's list of included files to not include this file
    - Change that TSConfig to include this file
    - Create a new TSConfig that includes this file and include it in your parserOptions.project

I updated tsconfig.node.json so that it applies only to .mts files, as
I understand that was the original intention.

* Autofix jest/valid-title

* Do not set parserOptions.project

It makes ESLint slower by ~20s and it is not needed for recommended rules
from eslint-plugin-jest.
2024-03-13 11:39:11 +00:00
Ryan Clark c028c3140b Upgrade Vite to v5 (#35245)
* Upgrade Vite to v5

* Upgrade Vite to 5.0.5
2023-12-06 14:40:06 +00:00
Ryan Clark 471a82bd6f Move teleport over to Vite (#21168) 2023-03-21 18:01:53 +00:00