
Tsconfigs
- 6 installs
- 8.7k repo stars
- Updated August 4, 2026
- redis/redisinsight
tsconfigs skill documents >-.
About
tsconfigs skill documents >-. name: tsconfigs description: >- Covers installation, configuration, and when-to-use guidance from the upstream SKILL.md workflow.
- >-.
- Platform-specific setup patterns for tsconfigs.
- Evidence-backed steps from upstream SKILL.md.
- When-to-use criteria for tsconfigs versus alternatives.
Tsconfigs by the numbers
- 6 all-time installs (skills.sh)
- +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #3,661 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
tsconfigs capabilities & compatibility
- Capabilities
- tsconfigs quick start · tsconfigs when to use guidance · tsconfigs integration patterns
- Use cases
- api development
What tsconfigs says it does
Locate and modify TypeScript configuration in RedisInsight. Use when adding
path aliases, introducing a new TS area, debugging webpack/ts-node/ESLint
npx skills add https://github.com/redis/redisinsight --skill tsconfigsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 6 |
|---|---|
| repo stars | ★ 8.7k |
| Last updated | August 4, 2026 |
| Repository | redis/redisinsight ↗ |
How do I use tsconfigs correctly?
>-
Who is it for?
Teams implementing tsconfigs workflows from the catalog.
Skip if: Skip when requirements clearly match a different specialized stack.
When should I use this skill?
User asks about tsconfigs, >-.
What you get
Working tsconfigs setup with validated configuration and next steps.
Files
TypeScript Configuration
RedisInsight has no root tsconfig.json. Config is split per area, each owning its own paths, includes, and consumers. ESLint uses parserOptions.project: true to auto-discover the nearest tsconfig for each linted file.
Layout
| File | Owns | Consumers |
|---|---|---|
redisinsight/ui/tsconfig.json | UI source, uiSrc/*, apiClient paths | Vite (UI build), ESLint UI override, yarn type-check:ui |
redisinsight/api/tsconfig.json | API source, src/*, tests/* paths | NestJS build, ESLint API override |
redisinsight/api/tsconfig.check.json | Same as base + strict: true (with strictPropertyInitialization and useUnknownInCatchVariables off) and noEmit: true | yarn type-check:api only — kept separate so strict mode doesn't break nest build. See the type-check-baselines skill. |
redisinsight/desktop/tsconfig.json | Desktop source. Paths desktopSrc/*, apiSrc/*, uiSrc/*, apiClient, apiClient/* for TypeScript / IDE intellisense | ESLint for desktop files, TS language server |
configs/tsconfig.json | Compiler options (module: CommonJS, esModuleInterop) used by ts-node to load the .ts webpack configs | ts-node via TS_NODE_PROJECT set in build:main / build:main:stage / build:stage |
.storybook/tsconfig.json | Storybook framework files, extends UI tsconfig | Storybook + ESLint |
stories/tsconfig.json | Story files. Extends UI tsconfig; rewires uiSrc/* to resolve from redisinsight/ui | Storybook + ESLint |
tests/e2e-playwright/tsconfig.json | Playwright E2E suite | E2E runner (sub-project with own package.json, eslint-ignored at root) |
Webpack path resolution (configs/webpack.config.base.ts)
Webpack uses explicit resolve.alias entries (not tsconfig-paths-webpack-plugin):
alias: {
desktopSrc: webpackPaths.desktopSrcPath,
apiSrc: resolve(webpackPaths.apiPath, 'src'),
uiSrc: webpackPaths.uiSrcPath,
apiClient: resolve(webpackPaths.riPath, 'api-client'),
// ...
}If you add a new path alias used by desktop code, add it in both places: redisinsight/desktop/tsconfig.json (for TypeScript / ESLint / IDE) and configs/webpack.config.base.ts resolve.alias (for the electron bundle).
ts-node and webpack TS configs
The webpack configs in configs/ are .ts files with type annotations. When webpack --config ./configs/*.ts runs, ts-node compiles them. Three package.json scripts set TS_NODE_PROJECT=./configs/tsconfig.json so ts-node uses the right compiler options:
build:mainbuild:main:stagebuild:stage
configs/tsconfig.json deliberately does not set allowJs. Any .js file inside scripts/ or configs/ must be CommonJS (require / module.exports) — Node 22's module syntax detection will treat ESM-syntax .js files as ESM and break references to __dirname. Two scripts converted for this reason: scripts/prebuild.js, scripts/DeleteSourceMaps.js.
ESLint
.eslintrc.js:
- Root
parserOptions.project: true— auto-discovers the nearest tsconfig per file. - API override:
parserOptions.project: redisinsight/api/tsconfig.json(explicit). - UI override:
parserOptions.project: redisinsight/ui/tsconfig.json(explicit). - Files in
.storybook/,.github/, etc. are not linted byeslint .because ESLint skips dot-prefixed paths during directory expansion.
If you add a top-level TS folder that ESLint will reach, drop a tsconfig in it or parserOptions.project: true will fail to find one.
Common tasks
Adding a path alias used by desktop / electron
1. Add the alias to redisinsight/desktop/tsconfig.json compilerOptions.paths. 2. If the alias is also used by UI code, add it to redisinsight/ui/tsconfig.json. 3. If the alias is also used by API code, add it to redisinsight/api/tsconfig.json. 4. For aliases used by the electron bundle (anything imported from redisinsight/desktop/**), also mirror the alias into configs/webpack.config.base.ts resolve.alias. Vite resolves UI aliases from redisinsight/ui/tsconfig.json automatically.
Adding a new top-level TS folder
Create a tsconfig.json in it. Bare minimum:
{
"extends": "../redisinsight/ui/tsconfig.json",
"include": ["**/*"]
}Without it, ESLint's parserOptions.project: true will error on those files.
Adding a new .ts webpack config under configs/
No action needed — configs/tsconfig.json includes **/*.
Adding a Node script that needs to run without ts-node
Place under scripts/ as CommonJS (require/module.exports). Do not use ESM syntax — configs/tsconfig.json no longer has allowJs and Node 22 will load ESM-syntax .js files as ESM (no __dirname).
Related skills
FAQ
What does tsconfigs do?
tsconfigs skill documents >-.
When should I use tsconfigs?
User asks about tsconfigs, >-.
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.