## Description 1. Move everything related to client from app folder to client folder (`.yarn`, `yarn.lock`, package.json, .gitignore) 2. Move `ast` and `rst` to client packages 3. Fix running scripts in packages 4. Add running unit tests in packages in CI TODO: It is necessary to consider enabling the `nmHoistingLimits: workspaces` option, since now all packages are hoisted to the root, there may be issues with dependencies in workspaces. Also, there is a possibility of implicit use of packages. https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits #### PR fixes following issue(s) Fixes #23333 #### Type of change - Chore (housekeeping or task changes that don't impact user perception) ## Testing #### How Has This Been Tested? - [x] Manual - [x] Jest - [x] Cypress ## Checklist: #### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag Co-authored-by: Valera Melnikov <melnikov.vv@greendatasoft.ru>
42 lines
1.2 KiB
JSON
42 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.2.0",
|
|
"escodegen": "^2.0.0",
|
|
"express": "^4.18.2",
|
|
"express-validator": "^6.14.2",
|
|
"http-status-codes": "^2.2.0",
|
|
"klona": "^2.0.5",
|
|
"loglevel": "^1.8.1",
|
|
"socket.io": "^4.5.4",
|
|
"socket.io-adapter": "^2.4.0",
|
|
"source-map-support": "^0.5.19"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.14",
|
|
"@types/jest": "^29.2.3",
|
|
"jest": "^29.3.1",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.0.3",
|
|
"tsc-alias": "^1.8.2",
|
|
"typescript": "4.9.5"
|
|
}
|
|
}
|