mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-11 23:02:56 +01:00
feat(typescript): upgrade TypeScript to 5.9.3, remove transpileOnly workaround
- Upgrade TypeScript from 4.9.5 to 5.9.3 - Upgrade @typescript-eslint/parser from 5.62.0 to 7.18.0 - Upgrade @typescript-eslint/eslint-plugin from 5.62.0 to 7.18.0 - Remove transpileOnly: true workaround from webpack.renderer.core.js - Fix 9 type errors from TS5's stricter checks: - PropertyPanelBaseInput.tsx: Fix event handler types - keyboardhandler.ts: Fix KeyMod return type - model.ts: Remove unused @ts-expect-error directives - ScreenSizes.ts: Add proper type guard predicate Closes TASK-006
This commit is contained in:
33
package.json
33
package.json
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@thelowcodefoundation/repo",
|
||||
"ts-node": {
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS"
|
||||
}
|
||||
},
|
||||
"description": "Low-code for when experience matter",
|
||||
"author": "The Low Code Foundation <contact@thelowcodefoundation.com>",
|
||||
"homepage": "https://learn-noodl.com",
|
||||
@@ -10,35 +15,39 @@
|
||||
],
|
||||
"scripts": {
|
||||
"graph": "npx nx graph",
|
||||
"ci:prepare:editor": "ts-node ./scripts/ci-editor-prepare.ts",
|
||||
"ci:prepare:editor": "ts-node -P ./scripts/tsconfig.json ./scripts/ci-editor-prepare.ts",
|
||||
"ci:build:viewer": "lerna exec --scope @noodl/noodl-viewer-react -- npm run build",
|
||||
"ci:build:editor": "lerna exec --scope noodl-editor -- npm run ci:build",
|
||||
"build:editor": "ts-node ./scripts/build-editor.ts",
|
||||
"build:editor:_viewer": "ts-node ./scripts/noodl-editor/build-viewer.ts",
|
||||
"build:editor:_editor": "ts-node ./scripts/noodl-editor/build-editor.ts",
|
||||
"build:editor:pack": "ts-node ./scripts/build-pack.ts",
|
||||
"build:editor": "ts-node -P ./scripts/tsconfig.json ./scripts/build-editor.ts",
|
||||
"build:editor:_viewer": "ts-node -P ./scripts/tsconfig.json ./scripts/noodl-editor/build-viewer.ts",
|
||||
"build:editor:_editor": "ts-node -P ./scripts/tsconfig.json ./scripts/noodl-editor/build-editor.ts",
|
||||
"build:editor:pack": "ts-node -P ./scripts/tsconfig.json ./scripts/build-pack.ts",
|
||||
"build:cloud-runtime": "lerna run build --scope @noodl/cloud-runtime --stream && lerna run build:pack --scope @noodl/cloud-runtime --stream",
|
||||
"start:storybook": "lerna exec --scope @noodl/noodl-core-ui -- npm run start",
|
||||
"start:viewer": "lerna run start --scope @noodl/noodl-viewer-react --stream",
|
||||
"start:editor": "lerna run start --scope noodl-editor --stream",
|
||||
"dev": "ts-node ./scripts/start.ts",
|
||||
"start": "ts-node ./scripts/start.ts -- --build-viewer",
|
||||
"test:editor": "ts-node ./scripts/test-editor.ts",
|
||||
"test:platform": "lerna exec --scope @noodl/platform-node -- npm test"
|
||||
"dev": "ts-node -P ./scripts/tsconfig.json ./scripts/start.ts",
|
||||
"start": "ts-node -P ./scripts/tsconfig.json ./scripts/start.ts -- --build-viewer",
|
||||
"test:editor": "ts-node -P ./scripts/tsconfig.json ./scripts/test-editor.ts",
|
||||
"test:platform": "lerna exec --scope @noodl/platform-node -- npm test",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typecheck:core-ui": "tsc -p packages/noodl-core-ui --noEmit",
|
||||
"typecheck:editor": "tsc -p packages/noodl-editor --noEmit",
|
||||
"typecheck:viewer": "tsc -p packages/noodl-viewer-react --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
|
||||
"@types/keyv": "3.1.4",
|
||||
"@types/node": "^18.19.123",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||
"@typescript-eslint/parser": "^7.18.0",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"fs-extra": "^10.1.0",
|
||||
"lerna": "^7.4.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^4.9.5",
|
||||
"typescript": "^5.9.3",
|
||||
"webpack": "^5.101.3",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.2"
|
||||
|
||||
Reference in New Issue
Block a user