ToolJet/server/package.json
Johnson Cherian 97fb315019
Appbuilder sprint 5 merge main (#11573)
* statement timeout for postgresql mssql mysql can now be configured from env

* Enhance: Add clear all, cancel & apply functionality to TJDB filter-popup (#2344)

* Update filter inputs

* Update filter body

* Style fixes

* Handle invalid filters

* Fix bugs

* Feature: Add list all sheets and create new spreadsheet operation to GoogleSheets (#2370)

* Add create spreadsheet functionality

* Add list all sheets functionality

* Updated delete and batch-update methods

* Change interface to type

* Enhance: Add read documentation link with data source drop down in query builder (#2162)

* Add read-documentation link

* Change copywriting for datasources name

* Update new component for link

* Increase input width

Update redshift link

* Fix the datasource name issue

* Enhance: Improve error handling in Google-Sheets run query (#2286)

* Add error details

* Display error for incorrect JSON

* Throw error for empty spreadsheetid and operator

* Enhance: Error handling for PgSql, MySql and MsSql (#2389)

* Enhance error handling for pgsql

* Enhance error handling for mysql

* Remove console logs

* Enhance error handling for MsSql

* Refactor error handling for consistency

* Enhance: Rest api body to accept raw input instead of raw json. (#2249)

* Enhanced rest api body to accept raw input instead of raw json.

* Changed content type from application/json to text/json and changed copywrite to RAW.

* Changed rest api body toggle label from 'RAW' to 'Raw'.

* Added request label for static REST API data source.

* Fixed issue where GET query failed since body was undefined.

* Integrated json_body to add backward compatibility.

* Removed console logs.

* Added support for 'text/json' type in checkIfContentTypeIsJson function.

* Made changes according to new frontend architecture in v3.

* Fixed request URL field overflow issue.

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>

* Feature: Add SSL support to MongoDB datasource (#2430)

* Add TLS support inputs in frontend

* Add backend logic for TLS support

* Add TLS inputs types

* Update TLS label

* Change ssl_certificate to tls_certificate

* Update the file handling in tls

* Update connection logic

* Fix unlinking file issue

* Remove catch block for unlinking file

* Handle tls certs directly

* Feature: Stripe plugin UI fixes with OpenAPI endpoint as source (#2725)

* Fixed GET and DELETE request input renders and added all UX fixes (#9498)

* fixed get and delete request input renders and added all UX fixes

* Extracted Stripe plugin component as a separate component for Dynamic Form.

* Resolved PR review comments and fixed issue where rendering path input field crashed the app.

* Changed param name underline to dashed for tooltip and revamped input field clear button

* Fixed a few sonarlint issues.

* Removed the duplicate code by creating a separate function named RenderParameterFields.

* Refactored computeOperationSelectionOptions function to not nest functions more than 4 levels deep.

* Refactored RenderParameterFields function to reduce its Cognitive Complexity.

* Made span tag with the 'button' interactive role focusable.

* Inside switch case for codehinter in DynamicForm > getElementProps, Extracted nested ternary operation for theme into an independent statement.

* Added keyboard listener to the clear button.

* Removed opacity from select dropdown and operation from operation select dropdown UI.

* Fixed syntax error in clearButton function.

* Removed the package @nrwl/nx-linux-x64-gnu from marketplace dependencies.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Made changes according to new app builder architecture in v3.

* Fixed import issue for codehintor

* Fixed issue where due to incorrect value, stripe queries crashed the entire app.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Enhance: Improve error handling in Airtable run query (#2234)

* Refactor error handling to streamline QueryError messages

* Handle 404 errors

* Enhance: Add AI-tag to datasources in marketplace page (#2597)

* Add AI-tag to datasources in marketplace page

* AI BANNER Tag

* margin

* Refactor tag rendering logic for marketplace page

* Refactor tag rendering for datasource page

* Refactor import and props

* Remove ai prefix and fix indentations

* Make custom hook for fetching plugins.json

* Add AI tag on installed page

* Marketplace page UI fix and add a plugin button fixes

* Add AI tag on datasource connection form

Change classname

* Fix svg flickering

* Fix svg chipping issue

* Push AI tag to extreme right

---------

Co-authored-by: Rudra <rudra21ultra@gmail.com>

* Fix: Api call for token generation in client-credentials grant type (#2785)

* fix: query kind for select source in rest api

* Fix: ToolJet database limit check API issue (#11416)

* bump to v3.0.5-ce

* Added data-cy for newly added components (#11435)

* Modified failed Platform cypress test cases for Tooljet V3 (#11486)

* Modify platform cypress test cases

* Added cypress test cases for user onboarding flow (#11499)

* Add data-cy for newly added components

* Add data-cy for onboarding page elements

* Modify failed test cases

* Adding more cases

* Modify onboarding test cases

* Modify user invite flow

* chnages on onboarding test scripts

* revert the changes

* revert the changes

* removed .only form profile file

* resolved review changes

---------

Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>

* fix: Fixes broken loading state for container

* update cypress workflow for subpath

* Add data-cy for workspace constants components (#11530)

* fix table down load event not showing up

* Hotfix: The build failed to include the reference file for custom validation of the ToolJet database schema. (#11490)

* tooljet database schema custom validation reference file was not included in the build

* fix: missed a dependency for copyfiles

* change version to 3.1.0

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Rudra <rudra21ultra@gmail.com>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Srimanitejas123 <mani@tooljet.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
2024-12-10 12:21:34 +05:30

158 lines
5.8 KiB
JSON

{
"name": "server",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"postbuild": "npm run copy-schemas",
"lint": "eslint . '**/*.ts'",
"format": "eslint . --fix '**/*.ts'",
"start": "nest start",
"start:dev": "NODE_ENV=development nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "NODE_ENV=production node dist/src/main",
"test:record": "NODE_ENV=test POLLY_MODE=record jest --config jest.config.ts --detectOpenHandles",
"test": "NODE_ENV=test jest --config jest.config.ts --detectOpenHandles",
"test:watch": "NODE_ENV=test jest --watch",
"test:cov": "NODE_ENV=test jest --coverage",
"test:debug": "NODE_ENV=test node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "NODE_ENV=test jest --runInBand --config ./test/jest-e2e.json --detectOpenHandles",
"test:e2e:record": "NODE_ENV=test POLLY_MODE=record jest --runInBand --config ./test/jest-e2e.json --detectOpenHandles",
"db:create": "ts-node ./scripts/create-database.ts",
"db:create:prod": "node dist/scripts/create-database.js ",
"db:drop": "ts-node ./scripts/drop-database.ts",
"db:migrate": "ts-node -r tsconfig-paths/register --transpile-only ./node_modules/typeorm/cli.js migration:run --dataSource ./src/migration-helpers/db-migrations-datasource.ts && npm run db:migrate:data",
"db:migrate:data": "ts-node -r tsconfig-paths/register --transpile-only ./node_modules/typeorm/cli.js migration:run --dataSource ./src/migration-helpers/data-migrations-datasource.ts",
"db:migrate:prod": "node ./node_modules/typeorm/cli.js migration:run --dataSource dist/src/migration-helpers/db-migrations-datasource.js && npm run db:migrate:data:prod",
"db:migrate:data:prod": "node ./node_modules/typeorm/cli.js migration:run --dataSource dist/src/migration-helpers/data-migrations-datasource.js",
"db:seed": "ts-node -r tsconfig-paths/register --transpile-only ./scripts/seeds.ts",
"db:seed:prod": "node dist/scripts/seeds.js",
"db:setup": "npm run db:create && npm run db:migrate",
"db:setup:prod": "npm run db:create:prod && npm run db:migrate:prod",
"db:reset": "npm run db:drop && npm run db:setup",
"typeorm": "typeorm-ts-node-commonjs",
"copy-schemas": "copyfiles -u 4 src/dto/validators/schemas/**/*.json dist/src/dto/validators/schemas"
},
"dependencies": {
"@casl/ability": "^5.3.1",
"@nestjs/common": "^10.3.9",
"@nestjs/config": "^3.2.2",
"@nestjs/core": "^10.3.9",
"@nestjs/event-emitter": "^2.0.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "^2.0.2",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.9",
"@nestjs/platform-ws": "^10.3.9",
"@nestjs/schedule": "^4.0.2",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/typeorm": "^10.0.2",
"@nestjs/websockets": "^10.3.9",
"@sentry/node": "6.17.6",
"@sentry/tracing": "6.17.6",
"@tooljet/plugins": "../plugins",
"@types/express-serve-static-core": "^4.19.5",
"acorn": "^8.13.0",
"acorn-walk": "^8.3.4",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"copyfiles": "^2.4.1",
"dotenv": "^10.0.0",
"express-http-proxy": "^1.6.3",
"fast-csv": "^4.3.6",
"futoin-hkdf": "^1.4.2",
"global-agent": "^3.0.0",
"google-auth-library": "^7.9.2",
"got": "^11.8.2",
"handlebars": "^4.7.7",
"helmet": "^4.6.0",
"humps": "^2.0.1",
"joi": "^17.4.1",
"js-base64": "^3.7.2",
"jszip": "^3.10.1",
"lodash": "^4.17.21",
"module-from-string": "^3.3.0",
"nestjs-pino": "^1.4.0",
"node-mailer": "^0.1.1",
"node-sql-parser": "^5.3.1",
"nodemailer": "^6.6.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.0",
"pg": "^8.7.1",
"pino-pretty": "^6.0.0",
"protobufjs": "^7.2.3",
"reflect-metadata": "^0.1.13",
"request-ip": "^3.3.0",
"rxjs": "^7.2.0",
"sanitize-html": "^2.7.0",
"semver": "^7.5.4",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typeorm": "^0.3.20",
"ws": "^8.17.1",
"y-websocket": "^1.4.0"
},
"peerDependencies": {
"@nestjs/cli": "^9.0.0"
},
"overrides": {
"@nestjs/platform-ws": {
"ws": "$ws"
}
},
"optionalDependencies": {
"html-minifier": "^5.0.0",
"mjml": "^4.15.3"
},
"devDependencies": {
"@golevelup/ts-jest": "^0.3.2",
"@jest/types": "^29.6.3",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^10.3.9",
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.13",
"@types/express-http-proxy": "^1.6.3",
"@types/got": "^9.6.12",
"@types/humps": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/multer": "^1.4.7",
"@types/node": "^16.0.0",
"@types/nodemailer": "^6.4.4",
"@types/passport-jwt": "^3.0.6",
"@types/request-ip": "^0.0.37",
"@types/sanitize-html": "^2.6.2",
"@types/supertest": "^2.0.11",
"@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^29.7.0",
"prettier": "^2.3.2",
"preview-email": "^3.0.20",
"rimraf": "^3.0.2",
"setup-polly-jest": "^0.11.0",
"supertest": "^6.1.3",
"ts-jest": "^29.1.5",
"ts-loader": "^9.2.3",
"typescript": "^4.3.5"
},
"engines": {
"node": "18.18.2",
"npm": "9.8.1"
}
}