## Description Upgrade Typescript from 4.9.5 to 5.4 Upgrading to 5.5 is not possible until we upgrade colors.js lib. It will be done in separate PR More details here https://github.com/color-js/color.js/issues/560#issuecomment-2182819685 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10163124159> > Commit: 8d2e93f2e2913e715686ccb058d3efddd55aabc9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10163124159&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Tue, 30 Jul 2024 14:11:42 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Updated TypeScript dependency to the latest version (5.4), enhancing overall functionality with potential new features and improvements. - **Improvements** - Enhanced type safety by refining the `isString` function, allowing better type inference and preventing runtime errors. - Improved comments and annotations in the `indirectEval` function for better clarity on its usage and intent. - Corrected typographical errors in error handling logic across multiple controllers, improving reliability in error messaging. - Updated export style for `IconNames` to clarify its purpose as a type, enhancing developer experience. - **Configuration Changes** - Updated Jest configurations to better support ECMAScript Modules (ESM), improving compatibility and allowing for more flexible module handling. - Adjusted TypeScript configuration to enhance module handling and compatibility. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "appsmith-rts",
|
|
"version": "0.0.1",
|
|
"description": "Realtime component microservice for Appsmith",
|
|
"main": "index.js",
|
|
"author": "Appsmith Team",
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"test:unit": "APPSMITH_API_BASE_URL=http jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
|
|
"test:jest": "APPSMITH_API_BASE_URL=http jest --watch ",
|
|
"lint": "yarn g:lint",
|
|
"prettier": "yarn g:prettier",
|
|
"build": "./build.sh",
|
|
"start": "./start-server.sh"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.21.0",
|
|
"@shared/ast": "workspace:^",
|
|
"astravel": "^0.6.1",
|
|
"axios": "^1.6.0",
|
|
"escodegen": "^2.0.0",
|
|
"express": "^4.19.2",
|
|
"express-validator": "^6.14.2",
|
|
"http-status-codes": "^2.2.0",
|
|
"klona": "^2.0.5",
|
|
"loglevel": "^1.8.1",
|
|
"socket.io": "^4.6.2",
|
|
"socket.io-adapter": "^2.4.0",
|
|
"source-map-support": "^0.5.19"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.14",
|
|
"@types/jest": "^29.2.3",
|
|
"esbuild": "^0.19.4",
|
|
"jest": "^29.3.1",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "29.1.0",
|
|
"tsc-alias": "^1.8.2",
|
|
"typescript": "5.4"
|
|
}
|
|
}
|