mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-03 02:27:57 +09:00
## Description This PR "swaps" the guiding principle behind what options are in the base `tsconfig.json`. Previously TS was configured to *not* emit declarations and we were forcing for them to be emitted with CLI flags. This had an unfortunate result - errors about "not portable type definitions" were not displayed in the IDE because to its best knowledge the type definitions were never supposed to be emitted. So it wasn't worthwhile to surface this error. With the adjusted options those errors will be raised in the IDE which should improve the feedback loop for those errors. ## Code Review - [ ] hi @TrySound, @istarkov, @kof - you need to recheck if you have any doubts about this approach, if you see anything wrong with it in the context of this project ## Before merging - [ ] test IDE setup - [ ] test build script - [ ] test typechecking and dts emit
27 lines
634 B
JSON
27 lines
634 B
JSON
{
|
|
"name": "@webstudio-is/scripts",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Command line util for building packages fast",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"build-package": "./build-package.ts"
|
|
},
|
|
"scripts": {
|
|
"checks": "tsc --noEmit --emitDeclarationOnly false"
|
|
},
|
|
"dependencies": {
|
|
"esbuild": "^0.17.14",
|
|
"totalist": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.18",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"tsx": "^3.12.6",
|
|
"typescript": "5.0.3"
|
|
}
|
|
}
|