2019-03-19 22:45:21 +01:00
|
|
|
{
|
2019-06-07 15:18:10 +02:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2023-11-17 13:03:28 +01:00
|
|
|
"@babel/core": "^7.22.5",
|
|
|
|
"@babel/eslint-parser": "^7.22.5",
|
|
|
|
"@babel/preset-env": "^7.22.5",
|
2023-05-25 11:49:38 +02:00
|
|
|
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
|
2023-09-25 09:42:48 +02:00
|
|
|
"@typescript-eslint/parser": "6.7.2",
|
2023-07-26 11:15:37 +02:00
|
|
|
"esbuild": "^0.18.17",
|
|
|
|
"esbuild-node-externals": "^1.8.0",
|
2023-07-05 19:00:50 +02:00
|
|
|
"eslint": "^8.44.0",
|
2023-11-17 13:03:28 +01:00
|
|
|
"eslint-plugin-import": "^2.29.0",
|
2023-11-17 14:39:52 +01:00
|
|
|
"eslint-plugin-local-rules": "^2.0.0",
|
2023-11-17 13:03:28 +01:00
|
|
|
"eslint-plugin-svelte": "^2.32.2",
|
2023-04-20 20:30:48 +02:00
|
|
|
"husky": "^8.0.3",
|
2020-11-05 23:09:49 +01:00
|
|
|
"kill-port": "^1.6.1",
|
2023-07-10 12:18:07 +02:00
|
|
|
"lerna": "7.1.1",
|
2023-02-24 18:31:58 +01:00
|
|
|
"madge": "^6.0.0",
|
2023-05-03 13:38:23 +02:00
|
|
|
"minimist": "^1.2.8",
|
2023-07-10 12:21:05 +02:00
|
|
|
"nx": "16.4.3",
|
2023-07-10 11:41:46 +02:00
|
|
|
"nx-cloud": "16.0.5",
|
2023-06-28 15:39:17 +02:00
|
|
|
"prettier": "2.8.8",
|
2021-06-15 13:42:50 +02:00
|
|
|
"prettier-plugin-svelte": "^2.3.0",
|
2023-09-26 17:47:12 +02:00
|
|
|
"svelte": "3.49.0",
|
2023-11-17 13:03:28 +01:00
|
|
|
"svelte-eslint-parser": "^0.32.0",
|
|
|
|
"typescript": "5.2.2"
|
2019-09-23 02:04:30 +02:00
|
|
|
},
|
2020-01-22 14:50:39 +01:00
|
|
|
"scripts": {
|
2023-04-21 19:22:19 +02:00
|
|
|
"preinstall": "node scripts/syncProPackage.js",
|
2023-05-24 17:35:05 +02:00
|
|
|
"setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev",
|
2023-11-02 12:19:26 +01:00
|
|
|
"build": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream",
|
2023-04-20 20:30:48 +02:00
|
|
|
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
2023-08-01 14:25:52 +02:00
|
|
|
"check:types": "lerna run check:types",
|
2023-04-04 10:05:38 +02:00
|
|
|
"build:sdk": "lerna run --stream build:sdk",
|
2022-09-20 11:30:30 +02:00
|
|
|
"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",
|
2023-06-06 09:06:33 +02:00
|
|
|
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
|
2023-09-05 17:46:45 +02:00
|
|
|
"restore": "yarn run clean && yarn && yarn run build",
|
2021-04-07 18:38:49 +02:00
|
|
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
|
|
|
"nuke:packages": "yarn run restore",
|
2023-07-10 12:18:07 +02:00
|
|
|
"nuke:docker": "lerna run --stream dev:stack:nuke",
|
2023-09-05 12:07:18 +02:00
|
|
|
"clean": "lerna clean -y",
|
2022-02-04 16:56:48 +01:00
|
|
|
"kill-builder": "kill-port 3000",
|
|
|
|
"kill-server": "kill-port 4001 4002",
|
|
|
|
"kill-all": "yarn run kill-builder && yarn run kill-server",
|
2023-09-06 19:17:44 +02:00
|
|
|
"dev": "yarn run kill-all && lerna run --parallel prebuild && lerna run --stream dev:builder",
|
2023-08-01 15:45:56 +02:00
|
|
|
"dev:noserver": "yarn run kill-builder && lerna run --stream dev:stack:up && lerna run --stream dev:builder --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker",
|
|
|
|
"dev:server": "yarn run kill-server && lerna run --stream dev:builder --scope @budibase/worker --scope @budibase/server",
|
2023-07-10 12:18:07 +02:00
|
|
|
"dev:built": "yarn run kill-all && cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream dev:built",
|
2023-10-19 11:08:56 +02:00
|
|
|
"dev:docker": "yarn build --scope @budibase/server --scope @budibase/worker && docker-compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0",
|
2023-04-04 10:05:38 +02:00
|
|
|
"test": "lerna run --stream test --stream",
|
2023-07-05 19:00:50 +02:00
|
|
|
"lint:eslint": "eslint packages qa-core --max-warnings=0",
|
2023-01-06 17:52:18 +01:00
|
|
|
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"",
|
2021-06-15 13:42:50 +02:00
|
|
|
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
2023-07-05 19:00:50 +02:00
|
|
|
"lint:fix:eslint": "eslint --fix --max-warnings=0 packages qa-core",
|
2022-09-15 01:58:08 +02:00
|
|
|
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --write \"qa-core/**/*.{js,ts,svelte}\"",
|
2022-03-25 12:17:58 +01:00
|
|
|
"lint:fix": "yarn run lint:fix:prettier && yarn run lint:fix:eslint",
|
2023-04-04 10:05:38 +02:00
|
|
|
"build:specs": "lerna run --stream specs",
|
2021-10-28 13:29:00 +02:00
|
|
|
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
|
2023-06-15 16:20:14 +02:00
|
|
|
"build:docker:airgap:single": "SINGLE_IMAGE=1 node hosting/scripts/airgapped/airgappedDockerBuild",
|
2021-12-02 14:38:57 +01:00
|
|
|
"build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -",
|
2022-06-21 20:52:44 +02:00
|
|
|
"build:docker:single:multiarch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/single/Dockerfile -t budibase:latest .",
|
2023-10-02 17:50:02 +02:00
|
|
|
"build:docker:single": "./scripts/build-single-image.sh",
|
2023-01-27 14:17:19 +01:00
|
|
|
"build:docker:dependencies": "docker build -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest ./hosting",
|
2023-01-23 11:05:16 +01:00
|
|
|
"publish:docker:couch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/couchdb/Dockerfile -t budibase/couchdb:latest -t budibase/couchdb:v3.2.1 --push ./hosting/couchdb",
|
2023-01-23 11:45:59 +01:00
|
|
|
"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",
|
2021-12-08 17:27:33 +01:00
|
|
|
"release:helm": "node scripts/releaseHelmChart",
|
2023-04-04 10:05:38 +02:00
|
|
|
"env:multi:enable": "lerna run --stream env:multi:enable",
|
|
|
|
"env:multi:disable": "lerna run --stream env:multi:disable",
|
|
|
|
"env:selfhost:enable": "lerna run --stream env:selfhost:enable",
|
|
|
|
"env:selfhost:disable": "lerna run --stream env:selfhost:disable",
|
2022-11-09 17:35:16 +01:00
|
|
|
"env:localdomain:enable": "./scripts/localdomain.sh enable",
|
|
|
|
"env:localdomain:disable": "./scripts/localdomain.sh disable",
|
2023-04-04 10:05:38 +02:00
|
|
|
"env:account:enable": "lerna run --stream env:account:enable",
|
|
|
|
"env:account:disable": "lerna run --stream env:account:disable",
|
2021-10-08 14:13:16 +02:00
|
|
|
"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",
|
2021-11-17 19:04:16 +01:00
|
|
|
"security:audit": "node scripts/audit.js",
|
2022-04-21 22:55:16 +02:00
|
|
|
"postinstall": "husky install",
|
2023-09-05 17:37:57 +02:00
|
|
|
"submodules:load": "git submodule init && git submodule update && yarn",
|
|
|
|
"submodules:unload": "git submodule deinit --all && yarn"
|
2023-03-03 10:17:01 +01:00
|
|
|
},
|
2023-04-12 22:46:08 +02:00
|
|
|
"workspaces": {
|
|
|
|
"packages": [
|
2023-06-19 19:34:51 +02:00
|
|
|
"packages/*"
|
2023-04-12 22:46:08 +02:00
|
|
|
]
|
2023-05-19 14:45:05 +02:00
|
|
|
},
|
2023-05-29 12:46:19 +02:00
|
|
|
"resolutions": {
|
|
|
|
"@budibase/backend-core": "0.0.0",
|
|
|
|
"@budibase/shared-core": "0.0.0",
|
|
|
|
"@budibase/string-templates": "0.0.0",
|
|
|
|
"@budibase/types": "0.0.0"
|
|
|
|
},
|
2023-07-26 17:13:43 +02:00
|
|
|
"engines": {
|
2023-08-18 15:33:21 +02:00
|
|
|
"node": ">=18.0.0 <19.0.0"
|
2023-07-26 17:13:43 +02:00
|
|
|
},
|
2023-05-19 14:45:05 +02:00
|
|
|
"dependencies": {}
|
2023-02-24 18:31:58 +01:00
|
|
|
}
|