[MISC] Twenty-shared build declaration and declarationMap tsconfig (#9838)

# Motivations
By adding the declaration and declaration mapping this allows a better
`go to source` in our IDE
Should also be done for
https://github.com/twentyhq/core-team-issues/issues/281

## FROM


https://github.com/user-attachments/assets/5cc307d0-b2dc-46bf-b61f-0731015c4a30


## TO


https://github.com/user-attachments/assets/5ed1d7af-2716-435d-a1b8-6738b5a77956

## Notes
Might be interesting to add global commands for:
- watch mode for `twenty-ui` and `twenty-shared`
- clean, output folders such as `dist` and `node_modules` and so on
This commit is contained in:
Paul Rastoin
2025-01-24 17:56:42 +01:00
committed by GitHub
parent 03197226f4
commit c89cc38729

View File

@ -1,6 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"outDir": "../../.cache/tsc",
"types": [
"node",