2019-03-20 10:45:21 +13:00
|
|
|
{
|
2019-06-08 01:18:10 +12:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2023-05-25 21:49:38 +12:00
|
|
|
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
|
2023-07-10 22:21:05 +12:00
|
|
|
"@nx/js": "16.4.3",
|
2020-04-17 21:26:48 +12:00
|
|
|
"@rollup/plugin-json": "^4.0.2",
|
2022-11-30 00:26:23 +13:00
|
|
|
"@typescript-eslint/parser": "5.45.0",
|
2023-07-26 21:15:37 +12:00
|
|
|
"esbuild": "^0.18.17",
|
|
|
|
"esbuild-node-externals": "^1.8.0",
|
2023-07-06 05:00:50 +12:00
|
|
|
"eslint": "^8.44.0",
|
2021-06-15 23:42:50 +12:00
|
|
|
"eslint-plugin-cypress": "^2.11.3",
|
2023-04-21 06:30:48 +12:00
|
|
|
"husky": "^8.0.3",
|
2021-12-09 05:27:33 +13:00
|
|
|
"js-yaml": "^4.1.0",
|
2020-11-06 11:09:49 +13:00
|
|
|
"kill-port": "^1.6.1",
|
2023-07-10 22:18:07 +12:00
|
|
|
"lerna": "7.1.1",
|
2023-02-25 06:31:58 +13:00
|
|
|
"madge": "^6.0.0",
|
2023-05-03 23:38:23 +12:00
|
|
|
"minimist": "^1.2.8",
|
2023-07-10 22:21:05 +12:00
|
|
|
"nx": "16.4.3",
|
2023-07-10 21:41:46 +12:00
|
|
|
"nx-cloud": "16.0.5",
|
2023-06-29 01:39:17 +12:00
|
|
|
"prettier": "2.8.8",
|
2021-06-15 23:42:50 +12:00
|
|
|
"prettier-plugin-svelte": "^2.3.0",
|
2020-10-13 08:39:29 +13:00
|
|
|
"rimraf": "^3.0.2",
|
2020-03-05 05:47:47 +13:00
|
|
|
"rollup-plugin-replace": "^2.2.0",
|
2022-03-26 00:17:58 +13:00
|
|
|
"svelte": "^3.38.2",
|
2023-07-06 05:00:50 +12:00
|
|
|
"typescript": "4.7.3",
|
|
|
|
"@babel/core": "^7.22.5",
|
|
|
|
"@babel/eslint-parser": "^7.22.5",
|
|
|
|
"@babel/preset-env": "^7.22.5",
|
|
|
|
"eslint-plugin-svelte": "^2.32.2",
|
|
|
|
"svelte-eslint-parser": "^0.32.0"
|
2019-09-23 12:04:30 +12:00
|
|
|
},
|
2020-01-23 02:50:39 +13:00
|
|
|
"scripts": {
|
2023-04-22 05:22:19 +12:00
|
|
|
"preinstall": "node scripts/syncProPackage.js",
|
2023-05-25 03:35:05 +12:00
|
|
|
"setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev",
|
2023-08-19 01:33:21 +12:00
|
|
|
"build": "lerna run build --stream",
|
2023-04-21 06:30:48 +12:00
|
|
|
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
2023-08-02 00:25:52 +12:00
|
|
|
"check:types": "lerna run check:types",
|
2023-04-04 20:05:38 +12:00
|
|
|
"build:sdk": "lerna run --stream build:sdk",
|
2022-09-20 21:30:30 +12: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 19:06:33 +12:00
|
|
|
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
|
|
|
|
"release:develop": "yarn release --dist-tag develop",
|
2023-09-06 03:46:45 +12:00
|
|
|
"restore": "yarn run clean && yarn && yarn run build",
|
2021-04-08 04:38:49 +12:00
|
|
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
|
|
|
"nuke:packages": "yarn run restore",
|
2023-07-10 22:18:07 +12:00
|
|
|
"nuke:docker": "lerna run --stream dev:stack:nuke",
|
2023-09-05 22:07:18 +12:00
|
|
|
"clean": "lerna clean -y",
|
2022-02-05 04:56:48 +13:00
|
|
|
"kill-builder": "kill-port 3000",
|
|
|
|
"kill-server": "kill-port 4001 4002",
|
|
|
|
"kill-all": "yarn run kill-builder && yarn run kill-server",
|
2023-09-07 05:17:44 +12:00
|
|
|
"dev": "yarn run kill-all && lerna run --parallel prebuild && lerna run --stream dev:builder",
|
2023-08-02 01:45:56 +12: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 22:18:07 +12:00
|
|
|
"dev:built": "yarn run kill-all && cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream dev:built",
|
2023-06-03 02:46:44 +12:00
|
|
|
"dev:docker": "yarn build:docker:pre && 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 20:05:38 +12:00
|
|
|
"test": "lerna run --stream test --stream",
|
2023-07-06 05:00:50 +12:00
|
|
|
"lint:eslint": "eslint packages qa-core --max-warnings=0",
|
2023-01-07 05:52:18 +13: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 23:42:50 +12:00
|
|
|
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
2023-07-06 05:00:50 +12:00
|
|
|
"lint:fix:eslint": "eslint --fix --max-warnings=0 packages qa-core",
|
2022-09-15 11:58:08 +12: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-26 00:17:58 +13:00
|
|
|
"lint:fix": "yarn run lint:fix:prettier && yarn run lint:fix:eslint",
|
2023-04-04 20:05:38 +12:00
|
|
|
"build:specs": "lerna run --stream specs",
|
2023-05-25 03:23:34 +12:00
|
|
|
"build:docker": "lerna run --stream build:docker && yarn build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh $BUDIBASE_RELEASE_VERSION && cd -",
|
2023-06-03 02:46:44 +12:00
|
|
|
"build:docker:pre": "yarn build && lerna run --stream predocker",
|
2022-02-01 02:52:44 +13:00
|
|
|
"build:docker:proxy": "docker build hosting/proxy -t proxy-service",
|
2023-04-04 20:05:38 +12:00
|
|
|
"build:docker:selfhost": "lerna run --stream build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -",
|
2023-05-25 03:23:34 +12:00
|
|
|
"build:docker:develop": "node scripts/pinVersions && lerna run --stream build:docker && yarn build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
|
2021-10-29 00:29:00 +13:00
|
|
|
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
|
2023-06-16 02:20:14 +12:00
|
|
|
"build:docker:airgap:single": "SINGLE_IMAGE=1 node hosting/scripts/airgapped/airgappedDockerBuild",
|
2021-12-03 02:38:57 +13:00
|
|
|
"build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -",
|
2022-06-22 06:52:44 +12:00
|
|
|
"build:docker:single:multiarch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/single/Dockerfile -t budibase:latest .",
|
2022-04-02 00:50:26 +13:00
|
|
|
"build:docker:single:image": "docker build -f hosting/single/Dockerfile -t budibase:latest .",
|
2023-05-25 03:23:34 +12:00
|
|
|
"build:docker:single": "yarn build && lerna run --concurrency 1 predocker && yarn build:docker:single:image",
|
2023-01-28 02:17:19 +13:00
|
|
|
"build:docker:dependencies": "docker build -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest ./hosting",
|
2023-01-23 23:05:16 +13: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 23:45:59 +13: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",
|
2023-04-04 20:05:38 +12:00
|
|
|
"build:docs": "lerna run --stream build:docs",
|
2021-12-09 05:27:33 +13:00
|
|
|
"release:helm": "node scripts/releaseHelmChart",
|
2023-04-04 20:05:38 +12: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-10 05:35:16 +13:00
|
|
|
"env:localdomain:enable": "./scripts/localdomain.sh enable",
|
|
|
|
"env:localdomain:disable": "./scripts/localdomain.sh disable",
|
2023-04-04 20:05:38 +12:00
|
|
|
"env:account:enable": "lerna run --stream env:account:enable",
|
|
|
|
"env:account:disable": "lerna run --stream env:account:disable",
|
2021-10-09 01:13:16 +13: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-18 07:04:16 +13:00
|
|
|
"security:audit": "node scripts/audit.js",
|
2022-04-22 08:55:16 +12:00
|
|
|
"postinstall": "husky install",
|
2023-09-06 03:37:57 +12:00
|
|
|
"submodules:load": "git submodule init && git submodule update && yarn",
|
|
|
|
"submodules:unload": "git submodule deinit --all && yarn"
|
2023-03-03 22:17:01 +13:00
|
|
|
},
|
2023-04-13 08:46:08 +12:00
|
|
|
"workspaces": {
|
|
|
|
"packages": [
|
2023-06-20 05:34:51 +12:00
|
|
|
"packages/*"
|
2023-04-13 08:46:08 +12:00
|
|
|
]
|
2023-05-20 00:45:05 +12:00
|
|
|
},
|
2023-05-29 22:46:19 +12: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-27 03:13:43 +12:00
|
|
|
"engines": {
|
2023-08-19 01:33:21 +12:00
|
|
|
"node": ">=18.0.0 <19.0.0"
|
2023-07-27 03:13:43 +12:00
|
|
|
},
|
2023-05-20 00:45:05 +12:00
|
|
|
"dependencies": {}
|
2023-02-25 06:31:58 +13:00
|
|
|
}
|