* allow proxy upstream urls to be configured at runtime * make dynamic upstream urls in proxy the default behaviour * reorder env directives * Use appVersion for proxy image * Update couch upstream for proxy * proxy ci updates - WIP * allowing custom resolvers in proxy service deployment * remove generateProxyConf script for prod and remove from builds * remove generateProxyConfig script * removing nginx dev conf * delete generated nginx conf Co-authored-by: Thomas Weiß <panos@unbunt.org> Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
87 lines
No EOL
5.3 KiB
JSON
87 lines
No EOL
5.3 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@rollup/plugin-json": "^4.0.2",
|
|
"@typescript-eslint/parser": "5.45.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"eslint": "^7.28.0",
|
|
"eslint-plugin-cypress": "^2.11.3",
|
|
"eslint-plugin-svelte3": "^3.2.0",
|
|
"husky": "^7.0.1",
|
|
"js-yaml": "^4.1.0",
|
|
"kill-port": "^1.6.1",
|
|
"lerna": "3.14.1",
|
|
"madge": "^5.0.1",
|
|
"prettier": "^2.3.1",
|
|
"prettier-plugin-svelte": "^2.3.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"svelte": "^3.38.2",
|
|
"typescript": "4.7.3"
|
|
},
|
|
"scripts": {
|
|
"setup": "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
|
"bootstrap": "lerna bootstrap && lerna link && ./scripts/link-dependencies.sh",
|
|
"build": "lerna run build",
|
|
"build:dev": "lerna run prebuild && tsc --build --watch --preserveWatchOutput",
|
|
"build:backend": "lerna run build --ignore @budibase/client --ignore @budibase/bbui --ignore @budibase/builder --ignore @budibase/cli",
|
|
"build:sdk": "lerna run 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 ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish && yarn release:pro",
|
|
"release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop --exact && yarn release:pro:develop",
|
|
"release:pro": "bash scripts/pro/release.sh",
|
|
"release:pro:develop": "bash scripts/pro/release.sh develop",
|
|
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
|
"nuke:packages": "yarn run restore",
|
|
"nuke:docker": "lerna run --parallel dev:stack:nuke",
|
|
"clean": "lerna clean",
|
|
"kill-builder": "kill-port 3000",
|
|
"kill-server": "kill-port 4001 4002",
|
|
"kill-all": "yarn run kill-builder && yarn run kill-server",
|
|
"dev": "yarn run kill-all && lerna link && lerna run --parallel dev:builder --concurrency 1",
|
|
"dev:noserver": "yarn run kill-builder && lerna link && lerna run dev:stack:up && lerna run --parallel dev:builder --concurrency 1 --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker",
|
|
"dev:server": "yarn run kill-server && lerna run --parallel dev:builder --concurrency 1 --scope @budibase/backend-core --scope @budibase/worker --scope @budibase/server",
|
|
"test": "lerna run test && yarn test:pro",
|
|
"test:pro": "bash scripts/pro/test.sh",
|
|
"lint:eslint": "eslint packages",
|
|
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\"",
|
|
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
|
"lint:fix:eslint": "eslint --fix packages qa-core",
|
|
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --write \"qa-core/**/*.{js,ts,svelte}\"",
|
|
"lint:fix": "yarn run lint:fix:prettier && yarn run lint:fix:eslint",
|
|
"test:e2e": "lerna run cy:test --stream",
|
|
"test:e2e:ci": "lerna run cy:ci --stream",
|
|
"test:e2e:ci:record": "lerna run cy:ci:record --stream",
|
|
"test:e2e:ci:notify": "lerna run cy:ci:notify",
|
|
"build:specs": "lerna run specs",
|
|
"build:docker": "lerna run build:docker && npm run build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh $BUDIBASE_RELEASE_VERSION && cd -",
|
|
"build:docker:pre": "lerna run build && lerna run predocker",
|
|
"build:docker:proxy": "docker build hosting/proxy -t proxy-service",
|
|
"build:docker:selfhost": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -",
|
|
"build:docker:develop": "node scripts/pinVersions && lerna run build:docker && npm run build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
|
|
"build:docker:airgap": "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:image": "docker build -f hosting/single/Dockerfile -t budibase:latest .",
|
|
"build:docker:single": "npm run build:docker:pre && npm run build:docker:single:image",
|
|
"build:docs": "lerna run build:docs",
|
|
"release:helm": "node scripts/releaseHelmChart",
|
|
"env:multi:enable": "lerna run env:multi:enable",
|
|
"env:multi:disable": "lerna run env:multi:disable",
|
|
"env:selfhost:enable": "lerna run env:selfhost:enable",
|
|
"env:selfhost:disable": "lerna run env:selfhost:disable",
|
|
"env:localdomain:enable": "./scripts/localdomain.sh enable",
|
|
"env:localdomain:disable": "./scripts/localdomain.sh disable",
|
|
"env:account:enable": "lerna run env:account:enable",
|
|
"env:account:disable": "lerna run env:account: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",
|
|
"install:pro": "bash scripts/pro/install.sh",
|
|
"dep:clean": "yarn clean && yarn bootstrap"
|
|
}
|
|
} |