ToolJet/package.json
Adish M 6a34c81a1e
feat: Add LOCKBOX_MASTER_KEY rotation script with interactive key input (#14662)
* feat: add key rotation scripts and dual key encryption service

* update lockbox key rotation script to correct environment variable usage

* implement dual key encryption service for lockbox key rotation

- Refactor lockbox key rotation script to use a new DualKeyEncryptionService.
- Remove dependency on old environment variable for old master key.
- Add prompts for user input to enhance usability during key rotation.
- Implement automatic transaction management using dbTransactionWrap.
- Improve validation and error handling for key formats.
- Update documentation within the script for clarity on usage and steps.

* Delete frontend/package-lock.json

* Implement feature X to enhance user experience and fix bug Y in module Z

* revert lock file

* chore: revert unrelated frontend/package-lock.json changes

* fix: update rotate keys scripts to ensure proper argument handling and improve dry-run functionality

* chore: update version to 3.20.61-lts

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-12-23 22:00:07 +05:30

75 lines
3.4 KiB
JSON

{
"name": "tooljet",
"version": "1.18.0",
"description": "ToolJet is an open-source low-code framework to build and deploy internal tools.",
"engines": {
"node": "22.15.1",
"npm": "10.9.2"
},
"lint-staged": {
"./frontend/src/**/*.{js,jsx}": [
"eslint --fix"
],
"./server/{src,test,plugins,scripts,migrations}/**/*.ts": [
"eslint --fix"
],
"./plugins/{packages}/**/*.ts": [
"eslint --fix"
]
},
"devDependencies": {
"@tooljet/cli": "^0.0.13",
"cypress-real-events": "^1.15.0",
"eslint": "^9.28.0",
"eslint-plugin-jest": "^28.13.3",
"eslint-plugin-prettier": "^5.4.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.0",
"shadcn": "^3.0.0"
},
"scripts": {
"prebuild:plugins": "npm run install:plugins",
"install:plugins": "npm --prefix plugins install",
"build:plugins": "npm --prefix plugins run build",
"prebuild:plugins:prod": "npm run install:plugins",
"build:plugins:prod": "NODE_ENV=production npm run build:plugins",
"postbuild:plugins:prod": "npm --prefix plugins prune --production",
"prebuild:frontend": "npm --prefix frontend install --production=false",
"build:frontend": "NODE_ENV=production npm --prefix frontend run build",
"postbuild:frontend": "npm --prefix frontend prune --production",
"prebuild:server": "npm --prefix server install --production=false",
"build:server": "NODE_ENV=production npm --prefix server run build",
"postbuild:server": "npm --prefix server prune --production",
"build": "npm run build:plugins:prod && npm run build:frontend && npm run build:server",
"start:prod": "npm --prefix server run start:prod",
"cloud:setup": "npm run db:setup && npm run plugins:install && npm run plugins:uninstall && npm run plugins:reload",
"cloud:setup:prod": "npm run db:setup:prod && npm run plugins:install:prod && npm run plugins:uninstall:prod && npm run plugins:reload:prod",
"db:create": "npm --prefix server run db:create",
"db:create:prod": "npm --prefix server run db:create:prod",
"db:migrate": "npm --prefix server run db:migrate",
"db:migrate:prod": "npm --prefix server run db:migrate:prod",
"db:seed": "npm --prefix server run db:seed",
"db:seed:prod": "npm --prefix server run db:seed:prod",
"db:setup": "npm --prefix server run db:setup",
"db:setup:prod": "npm --prefix server run db:setup:prod",
"db:reset": "npm --prefix server run db:reset",
"db:drop": "npm --prefix server run db:drop",
"deploy": "cp -a frontend/build/. public/",
"worker:prod": "npm --prefix server run worker:prod",
"plugins:install": "npm --prefix server run plugins:install",
"plugins:install:prod": "npm --prefix server run plugins:install:prod",
"plugins:uninstall": "npm --prefix server run plugins:uninstall",
"plugins:uninstall:prod": "npm --prefix server run plugins:uninstall:prod",
"plugins:reload": "npm --prefix server run plugins:reload",
"plugins:reload:prod": "npm --prefix server run plugins:reload:prod",
"rotate:keys": "npm --prefix server run rotate:keys --",
"rotate:keys:prod": "npm --prefix server run rotate:keys:prod --",
"heroku-postbuild": "./heroku-postbuild.sh",
"prepare": "husky install",
"update-version": "node update-version.js"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^8.34.0",
"eslint-config-prettier": "^10.1.5"
}
}