/ package.json
package.json
  1  {
  2    "name": "root",
  3    "private": true,
  4    "devDependencies": {
  5      "@babel/core": "^7.22.5",
  6      "@babel/eslint-parser": "7.25.9",
  7      "@babel/preset-env": "^7.22.5",
  8      "@esbuild-plugins/tsconfig-paths": "^0.1.2",
  9      "@swc/core": "1.13.5",
 10      "@swc/jest": "0.2.39",
 11      "@types/jest": "^30.0.0",
 12      "@types/node": "22.18.0",
 13      "@types/proper-lockfile": "^4.1.4",
 14      "@typescript-eslint/parser": "8.41.0",
 15      "@vitest/eslint-plugin": "1.3.5",
 16      "esbuild": "^0.18.17",
 17      "esbuild-node-externals": "^1.14.0",
 18      "eslint": "9.26.0",
 19      "eslint-plugin-jest": "28.9.0",
 20      "eslint-plugin-local-rules": "3.0.2",
 21      "eslint-plugin-svelte": "^3.11.0",
 22      "husky": "^8.0.3",
 23      "jest": "^30.0.5",
 24      "kill-port": "^1.6.1",
 25      "knip": "^5.85.0",
 26      "lerna": "^9.0.3",
 27      "load-tsconfig": "^0.2.5",
 28      "madge": "^6.0.0",
 29      "prettier": "3.5.3",
 30      "prettier-plugin-svelte": "^3.4.0",
 31      "proper-lockfile": "^4.1.2",
 32      "rollup-plugin-visualizer": "^6.0.3",
 33      "svelte": "5.40.2",
 34      "svelte-check": "^4.3.1",
 35      "svelte-eslint-parser": "^1.3.1",
 36      "svelte-preprocess": "^6.0.3",
 37      "testcontainers": "^11.7.2",
 38      "tsconfig-paths": "^4.2.0",
 39      "typescript": "5.9.2",
 40      "typescript-eslint": "8.17.0",
 41      "update-dotenv": "1.1.1",
 42      "yargs": "^17.7.2"
 43    },
 44    "scripts": {
 45      "setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev",
 46      "build": "DISABLE_V8_COMPILE_CACHE=1 NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream",
 47      "build:apps": "DISABLE_V8_COMPILE_CACHE=1 yarn build --scope @budibase/server --scope @budibase/worker",
 48      "build:cli": "yarn build --scope @budibase/cli",
 49      "build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
 50      "precheck:types": "yarn build --scope @budibase/types --scope @budibase/backend-core --scope @budibase/shared-core --scope @budibase/pro",
 51      "check:types": "lerna run check:types",
 52      "check:missing-deps": "knip --include unlisted --workspace packages/server --workspace packages/backend-core --workspace packages/worker",
 53      "check:unused-deps": "knip --include dependencies,devDependencies",
 54      "check:unused-deps:fix": "yarn check:unused-deps --fix",
 55      "build:sdk": "lerna run --stream build:sdk",
 56      "deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
 57      "release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
 58      "pending-releases": "TAG=${TAG:-$(gh release view --json tagName -q '.tagName')} && gh pr list --state merged --base master --search \"merged:>$(git log -1 --format=%aI \"$TAG\")\" --limit 100",
 59      "restore": "yarn run clean && yarn && yarn run build",
 60      "nuke": "yarn run nuke:packages && yarn run nuke:docker",
 61      "nuke:packages": "yarn run restore",
 62      "nuke:docker": "lerna run --stream dev:stack:nuke",
 63      "clean": "lerna clean -y && echo Cleaning top level node modules ๐Ÿงน && rm -rf ./node_modules && echo Done! ๐Ÿš€",
 64      "kill-builder": "kill-port 3000",
 65      "kill-server": "kill-port 4001 4002",
 66      "kill-accountportal": "kill-port 3001 4003",
 67      "kill-all": "yarn run kill-builder && yarn run kill-server && yarn kill-accountportal",
 68      "dev:init": "node scripts/dev/manage.js",
 69      "dev": "yarn dev:init && yarn run kill-all && lerna run --parallel prebuild && lerna run --stream dev",
 70      "dev:noserver": "yarn dev:init && yarn run kill-builder && lerna run --stream dev:stack:up && lerna run --stream dev --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker",
 71      "dev:server": "yarn dev:init && yarn run kill-server && lerna run --stream dev --scope @budibase/worker --scope @budibase/server",
 72      "dev:built": "yarn dev:init && yarn run kill-all && cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream dev:built",
 73      "dev:docker": "./scripts/devDocker.sh",
 74      "test": "lerna run --concurrency 1 --stream test",
 75      "test:containers:kill": "./scripts/killTestcontainers.sh",
 76      "lint:eslint": "eslint packages --max-warnings=0",
 77      "lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\"",
 78      "lint": "yarn run lint:eslint && yarn run lint:prettier",
 79      "lint:ci": "yarn run lint",
 80      "lint:changed": "node ./scripts/lintChanged.js check",
 81      "lint:fix:changed": "node ./scripts/lintChanged.js fix",
 82      "lint:fix:eslint": "eslint --fix --max-warnings=0 packages",
 83      "lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\"",
 84      "lint:fix:all": "yarn run lint:fix:eslint && yarn run lint:fix:prettier",
 85      "lint:fix": "yarn run lint:fix:changed",
 86      "build:client": "lerna run --stream build --scope @budibase/client",
 87      "build:specs": "lerna run --stream specs",
 88      "build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
 89      "build:docker:airgap:single": "SINGLE_IMAGE=1 node hosting/scripts/airgapped/airgappedDockerBuild",
 90      "build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -",
 91      "build:docker:single:multiarch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/single/Dockerfile -t budibase:latest .",
 92      "build:docker:single": "./scripts/build-single-image.sh",
 93      "check:litellm-version": "node ./scripts/syncLiteLLMVersion.js --check",
 94      "sync:litellm-version": "node ./scripts/syncLiteLLMVersion.js",
 95      "build:docker:dependencies": "docker build -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest ./hosting",
 96      "publish:docker:couch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/couchdb/Dockerfile -t budibase/database:latest -t budibase/database:2.1.0 --push ./hosting/couchdb",
 97      "publish:docker:dependencies": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest -t budibase/dependencies:v3.2.1 --push ./hosting",
 98      "env:multi:enable": "node scripts/dev/multiTenancy.js enable",
 99      "env:multi:disable": "node scripts/dev/multiTenancy.js disable",
100      "env:selfhost:enable": "node scripts/dev/selfhost.js enable",
101      "env:selfhost:disable": "node scripts/dev/selfhost.js disable",
102      "env:localdomain:enable": "node scripts/dev/localdomain.js enable",
103      "env:localdomain:disable": "node scripts/dev/localdomain.js disable",
104      "env:account:enable": "node scripts/dev/account.js enable",
105      "env:account:disable": "node scripts/dev/account.js disable",
106      "mode:self": "yarn env:selfhost:enable && yarn env:multi:disable && yarn env:account:disable",
107      "mode:cloud": "yarn env:selfhost:disable && yarn env:multi:enable && yarn env:account:disable",
108      "mode:account": "yarn mode:cloud && yarn env:account:enable",
109      "security:audit": "node scripts/audit.js",
110      "postinstall": "husky install",
111      "submodules:load": "git submodule init && git submodule update && yarn",
112      "submodules:unload": "git submodule deinit --all && yarn",
113      "add-workspace-migration": "node scripts/add-workspace-migration.js --title",
114      "rag:evals": "docker build -t ragas-app -f packages/server/scripts/rag-evals/ragas.Dockerfile . && NODE_OPTIONS=\"--no-node-snapshot $NODE_OPTIONS\" ts-node --transpileOnly -r tsconfig-paths/register --project ./tsconfig.build.json ./packages/server/scripts/rag-evals/index.ts"
115    },
116    "workspaces": {
117      "packages": [
118        "packages/*"
119      ]
120    },
121    "resolutions": {
122      "@budibase/backend-core": "*",
123      "@budibase/shared-core": "*",
124      "@budibase/string-templates": "*",
125      "@budibase/types": "*",
126      "@types/node": "22.18.0",
127      "tough-cookie": "4.1.3",
128      "node-fetch": "2.6.7",
129      "semver": "7.5.3",
130      "http-cache-semantics": "4.1.1",
131      "msgpackr": "1.10.1",
132      "axios": "1.7.7",
133      "xml2js": "0.6.2",
134      "passport": "0.6.0",
135      "fast-xml-parser": "4.4.1",
136      "@azure/identity": "4.2.1",
137      "kind-of": "6.0.3",
138      "**/nan": "2.22.0",
139      "globals": "15.13.0",
140      "esm": "npm:esm-wallaby@3.2.35",
141      "@types/koa": "3.0.1"
142    },
143    "engines": {
144      "node": ">=22.0.0 <23.0.0"
145    },
146    "dependencies": {
147      "@fullcalendar/core": "^6.1.20",
148      "@fullcalendar/daygrid": "^6.1.20",
149      "@fullcalendar/list": "^6.1.20",
150      "@fullcalendar/timegrid": "^6.1.20",
151      "svelte-fullcalendar": "^3.0.0"
152    }
153  }