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