budibase/packages/server/package.json

217 lines
7.4 KiB
JSON
Raw Permalink Normal View History

2019-06-07 15:18:10 +02:00
{
2019-09-10 07:00:19 +02:00
"name": "@budibase/server",
"email": "hi@budibase.com",
2023-05-29 10:54:10 +02:00
"version": "0.0.0",
2019-07-16 23:14:57 +02:00
"description": "Budibase Web Server",
2021-11-25 17:13:19 +01:00
"main": "src/index.ts",
"repository": {
"type": "git",
"url": "https://github.com/Budibase/budibase.git"
},
2019-06-07 15:18:10 +02:00
"scripts": {
2022-06-09 14:15:20 +02:00
"prebuild": "rimraf dist/",
2023-05-02 16:06:05 +02:00
"build": "node ./scripts/build.js",
2023-10-02 16:29:22 +02:00
"postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client && copyfiles -f ../../yarn.lock ./dist/",
2024-12-09 12:44:49 +01:00
"check:types": "tsc -p tsconfig.json --noEmit --paths null",
"check:dependencies": "node ../../scripts/depcheck.js",
"build:isolated-vm-lib:snippets": "esbuild --minify --bundle src/jsRunner/bundles/snippets.ts --outfile=src/jsRunner/bundles/snippets.ivm.bundle.js --platform=node --format=iife --global-name=snippets",
2024-02-13 16:57:33 +01:00
"build:isolated-vm-lib:string-templates": "esbuild --minify --bundle src/jsRunner/bundles/index-helpers.ts --outfile=src/jsRunner/bundles/index-helpers.ivm.bundle.js --platform=node --format=iife --external:handlebars --global-name=helpers",
"build:isolated-vm-lib:bson": "esbuild --minify --bundle src/jsRunner/bundles/bsonPackage.ts --outfile=src/jsRunner/bundles/bson.ivm.bundle.js --platform=node --format=iife --global-name=bson",
"build:isolated-vm-lib:buffer": "esbuild --minify --bundle src/jsRunner/bundles/buffer.ts --outfile=src/jsRunner/bundles/buffer.ivm.bundle.js --platform=node --format=iife --global-name=buffer",
"build:isolated-vm-libs": "yarn build:isolated-vm-lib:string-templates && yarn build:isolated-vm-lib:bson && yarn build:isolated-vm-lib:snippets && yarn build:isolated-vm-lib:buffer",
2022-06-09 14:15:20 +02:00
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
"jest": "NODE_OPTIONS=\"--no-node-snapshot $NODE_OPTIONS\" jest",
"test": "bash scripts/test.sh",
"test:memory": "jest --maxWorkers=2 --logHeapUsage --forceExit",
2020-06-11 15:35:45 +02:00
"test:watch": "jest --watch",
"run:docker": "node dist/index.js",
"run:docker:cluster": "pm2-runtime start pm2.config.js",
2021-03-22 18:05:00 +01:00
"dev:stack:up": "node scripts/dev/manage.js up",
"dev:stack:down": "node scripts/dev/manage.js down",
"dev:stack:nuke": "node scripts/dev/manage.js nuke",
"dev": "yarn run dev:stack:up && nodemon",
"dev:built": "yarn run dev:stack:up && yarn run run:docker",
"specs": "ts-node specs/generate.ts && openapi-typescript specs/openapi.yaml --output src/definitions/openapi.ts",
"initialise": "node scripts/initialise.js",
"env:multi:enable": "node scripts/multiTenancy.js enable",
"env:multi:disable": "node scripts/multiTenancy.js disable",
"env:selfhost:enable": "node scripts/selfhost.js enable",
"env:selfhost:disable": "node scripts/selfhost.js disable",
"env:localdomain:enable": "node scripts/localdomain.js enable",
"env:localdomain:disable": "node scripts/localdomain.js disable",
"env:account:enable": "node scripts/account.js enable",
"env:account:disable": "node scripts/account.js disable"
2019-06-07 15:18:10 +02:00
},
"keywords": [
"budibase"
],
2020-11-09 16:24:29 +01:00
"author": "Budibase",
2021-11-17 15:21:16 +01:00
"license": "GPL-3.0",
2019-06-07 15:18:10 +02:00
"dependencies": {
2022-06-09 13:33:10 +02:00
"@apidevtools/swagger-parser": "10.0.3",
"@azure/msal-node": "^2.5.1",
2024-12-05 11:49:52 +01:00
"@budibase/backend-core": "*",
"@budibase/client": "*",
"@budibase/frontend-core": "*",
"@budibase/nano": "10.1.5",
2024-12-05 11:49:52 +01:00
"@budibase/pro": "*",
"@budibase/shared-core": "*",
"@budibase/string-templates": "*",
"@budibase/types": "*",
2024-01-02 16:18:24 +01:00
"@bull-board/api": "5.10.2",
"@bull-board/koa": "5.10.2",
2021-02-05 10:39:42 +01:00
"@elastic/elasticsearch": "7.10.0",
"@google-cloud/firestore": "7.8.0",
"@koa/cors": "5.0.0",
2024-11-19 19:28:19 +01:00
"@koa/router": "13.1.0",
"@socket.io/redis-adapter": "^8.2.1",
REST file handling and SMTP automation block attachments (#13403) * handle files in rest connector * fetch presigned url and return * further updates to handle files in rest connector * remove unused important and fix extension bug * wrong expiry param * tests * add const for temp bucket * handle ttl on bucket * more bucket ttl work * split out fileresponse and xmlresponse into utils * lint * remove log * fix tests * some pr comments * update function naming and lint * adding back needed response for frontend * use fsp * handle different content-disposition and potential path traversal * add test container for s3 / minio * add test case for filename* and ascii filenames * move tests into separate describe * remove log * up timeout * switch to minio image instead of localstack * use minio image instead of s3 for testing * stream file upload instead * use streamUpload and update signatures * update bucketcreate return * throw real error * tidy up * pro * pro ref fix? * pro fix * pro fix? * move minio test provider to backend-core * update email builder to allow attachments * testing for sending files via smtp * use backend-core minio test container in server * handle different types of url * fix minio test provider * test with container host * lint * try different hostname? * Revert "try different hostname?" This reverts commit cfefdb8ded2b49462604053cf140e7292771c651. * fix issue with fetching of signed url with test minio * update autoamtion attachments to take filename and url * fix tests * pro ref * fix parsing of url object * pr comments and linting * pro ref * fix pro again * fix pro * account-portal * fix null issue * fix ref * ref * When sending a file attachment in email fetch it directly from our object store * add more checks to ensure we're working with a signed url * update test to account for direct object store read * formatting * fix time issues within test * update bucket and path extraction to regex * use const in regex * pro * Updating TTL handling in upload functions (#13539) * Updating TTL handling in upload functions * describe ttl type * account for ttl creation in existing buckets and update types * fix tests * pro * pro
2024-04-22 17:30:57 +02:00
"@types/xml2js": "^0.4.14",
2024-09-12 18:43:13 +02:00
"airtable": "0.12.2",
2021-02-05 10:39:42 +01:00
"arangojs": "7.2.0",
2024-04-10 15:15:54 +02:00
"archiver": "7.0.1",
2024-11-19 19:23:50 +01:00
"aws-sdk": "2.1692.0",
2023-06-16 18:55:32 +02:00
"bcrypt": "5.1.0",
2021-02-05 10:39:42 +01:00
"bcryptjs": "2.4.3",
"bson": "^6.9.0",
"buffer": "6.0.3",
2022-10-21 19:25:35 +02:00
"bull": "4.10.1",
2022-09-12 15:05:36 +02:00
"chokidar": "3.5.3",
REST file handling and SMTP automation block attachments (#13403) * handle files in rest connector * fetch presigned url and return * further updates to handle files in rest connector * remove unused important and fix extension bug * wrong expiry param * tests * add const for temp bucket * handle ttl on bucket * more bucket ttl work * split out fileresponse and xmlresponse into utils * lint * remove log * fix tests * some pr comments * update function naming and lint * adding back needed response for frontend * use fsp * handle different content-disposition and potential path traversal * add test container for s3 / minio * add test case for filename* and ascii filenames * move tests into separate describe * remove log * up timeout * switch to minio image instead of localstack * use minio image instead of s3 for testing * stream file upload instead * use streamUpload and update signatures * update bucketcreate return * throw real error * tidy up * pro * pro ref fix? * pro fix * pro fix? * move minio test provider to backend-core * update email builder to allow attachments * testing for sending files via smtp * use backend-core minio test container in server * handle different types of url * fix minio test provider * test with container host * lint * try different hostname? * Revert "try different hostname?" This reverts commit cfefdb8ded2b49462604053cf140e7292771c651. * fix issue with fetching of signed url with test minio * update autoamtion attachments to take filename and url * fix tests * pro ref * fix parsing of url object * pr comments and linting * pro ref * fix pro again * fix pro * account-portal * fix null issue * fix ref * ref * When sending a file attachment in email fetch it directly from our object store * add more checks to ensure we're working with a signed url * update test to account for direct object store read * formatting * fix time issues within test * update bucket and path extraction to regex * use const in regex * pro * Updating TTL handling in upload functions (#13539) * Updating TTL handling in upload functions * describe ttl type * account for ttl creation in existing buckets and update types * fix tests * pro * pro
2024-04-22 17:30:57 +02:00
"content-disposition": "^0.5.4",
"cookies": "0.8.0",
2021-02-05 10:39:42 +01:00
"csvtojson": "2.0.10",
2022-06-09 13:33:10 +02:00
"curlconverter": "3.21.0",
"dayjs": "^1.10.8",
2024-11-25 09:27:18 +01:00
"dd-trace": "5.26.0",
2021-02-05 10:39:42 +01:00
"dotenv": "8.2.0",
2022-06-09 13:33:10 +02:00
"form-data": "4.0.0",
"global-agent": "3.0.0",
"google-auth-library": "^8.0.1",
2024-09-19 17:48:50 +02:00
"google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5",
2023-06-01 12:10:39 +02:00
"ioredis": "5.3.2",
"isolated-vm": "^4.7.2",
"jimp": "1.1.4",
"joi": "17.6.0",
2022-06-09 13:33:10 +02:00
"js-yaml": "4.1.0",
2021-02-05 10:39:42 +01:00
"jsonschema": "1.4.0",
"jsonwebtoken": "9.0.2",
"knex": "2.4.2",
"koa": "2.13.4",
2021-02-05 10:39:42 +01:00
"koa-body": "4.2.0",
"koa-compress": "4.0.1",
2024-01-09 09:33:05 +01:00
"koa-send": "5.0.1",
"koa-useragent": "^4.1.0",
"koa2-ratelimit": "1.1.1",
"lodash": "4.17.21",
2022-06-09 13:33:10 +02:00
"memorystream": "0.3.1",
2024-07-03 15:04:47 +02:00
"mongodb": "6.7.0",
2024-11-19 19:23:50 +01:00
"mssql": "11.0.1",
"mysql2": "3.9.8",
"node-fetch": "2.6.7",
"object-sizeof": "2.6.1",
2024-09-17 17:08:59 +02:00
"openai": "4.59.0",
2023-10-05 13:38:46 +02:00
"openapi-types": "9.3.1",
2024-07-22 16:59:40 +02:00
"oracledb": "6.5.1",
2023-05-10 18:22:39 +02:00
"pg": "8.10.0",
2024-11-18 17:09:59 +01:00
"pouchdb": "9.0.0",
2023-10-03 22:39:00 +02:00
"pouchdb-all-dbs": "1.1.1",
"pouchdb-find": "9.0.0",
"redis": "4",
"semver": "^7.5.4",
2024-02-12 16:20:01 +01:00
"serialize-error": "^7.0.1",
2021-02-05 10:39:42 +01:00
"server-destroy": "1.0.1",
2024-11-19 19:23:50 +01:00
"snowflake-sdk": "^1.15.0",
"socket.io": "4.8.1",
"svelte": "^4.2.10",
"tar": "6.2.1",
2024-07-22 16:59:40 +02:00
"tmp": "0.2.3",
2021-02-05 10:39:42 +01:00
"to-json-schema": "0.2.5",
"uuid": "^8.3.2",
2021-02-05 10:39:42 +01:00
"validate.js": "0.13.1",
2022-06-09 13:33:10 +02:00
"worker-farm": "1.7.0",
"xml2js": "0.6.2",
2024-10-04 11:45:18 +02:00
"zod-validation-error": "^3.4.0"
2019-06-14 11:05:46 +02:00
},
"devDependencies": {
"@babel/core": "^7.22.5",
2022-06-09 14:33:31 +02:00
"@babel/preset-env": "7.16.11",
"@jest/types": "^29.6.3",
2023-07-25 21:20:18 +02:00
"@swc/core": "1.3.71",
2023-07-25 12:31:17 +02:00
"@swc/jest": "0.2.27",
"@types/archiver": "6.0.2",
2022-06-13 12:34:28 +02:00
"@types/global-agent": "2.1.1",
"@types/jest": "29.5.5",
2022-06-09 13:33:10 +02:00
"@types/koa": "2.13.4",
2024-01-09 09:44:49 +01:00
"@types/koa-send": "^4.1.6",
"@types/koa__cors": "5.0.0",
2024-11-18 17:39:05 +01:00
"@types/koa__router": "12.0.4",
2023-10-19 11:00:53 +02:00
"@types/lodash": "4.14.200",
2024-11-19 20:02:22 +01:00
"@types/mssql": "9.1.5",
2023-09-07 11:18:29 +02:00
"@types/node-fetch": "2.6.4",
2024-07-22 16:59:40 +02:00
"@types/oracledb": "6.5.1",
2023-05-10 18:22:39 +02:00
"@types/pg": "8.6.6",
2024-11-19 18:06:44 +01:00
"@types/pouchdb": "6.4.2",
"@types/server-destroy": "1.0.1",
2023-10-17 13:55:12 +02:00
"@types/supertest": "2.0.14",
2023-06-12 12:12:22 +02:00
"@types/tar": "6.1.5",
"@types/tmp": "0.2.6",
2024-07-22 16:59:40 +02:00
"@types/uuid": "8.3.4",
"chance": "^1.1.12",
2022-06-09 13:33:10 +02:00
"copyfiles": "2.4.1",
"docker-compose": "0.23.17",
"ioredis-mock": "8.9.0",
2023-11-06 14:24:33 +01:00
"jest": "29.7.0",
"jest-extended": "^4.0.2",
2022-06-09 13:33:10 +02:00
"jest-openapi": "0.14.2",
2024-04-04 16:27:50 +02:00
"nock": "13.5.4",
2022-06-09 13:33:10 +02:00
"nodemon": "2.0.15",
"openapi-typescript": "5.2.0",
"rimraf": "3.0.2",
2023-10-17 13:55:12 +02:00
"supertest": "6.3.3",
2022-06-09 13:33:10 +02:00
"swagger-jsdoc": "6.1.0",
2024-12-05 17:08:51 +01:00
"testcontainers": "10.16.0",
2022-06-09 13:33:10 +02:00
"timekeeper": "2.2.0",
"ts-node": "10.8.1",
"tsconfig-paths": "4.0.0",
2024-12-05 16:06:49 +01:00
"typescript": "5.7.2",
2023-10-03 23:45:39 +02:00
"update-dotenv": "1.1.1",
"yargs": "^13.2.4",
2024-10-04 11:45:18 +02:00
"zod": "^3.23.8"
2019-06-19 23:05:53 +02:00
},
2023-08-10 15:03:37 +02:00
"nx": {
"targets": {
"dev": {
2023-08-10 15:03:37 +02:00
"dependsOn": [
{
"comment": "Required for pro usage when submodule not loaded",
"projects": [
"@budibase/backend-core"
],
2024-12-05 12:43:50 +01:00
"target": "build:oss"
2023-08-10 15:03:37 +02:00
}
]
2023-10-02 16:29:04 +02:00
},
"build": {
2024-03-18 13:47:54 +01:00
"inputs": [
"{projectRoot}/builder",
"{projectRoot}/client"
],
2023-10-06 14:32:17 +02:00
"outputs": [
"{projectRoot}/builder",
"{projectRoot}/client",
"{projectRoot}/dist"
],
2023-10-02 16:29:04 +02:00
"dependsOn": [
{
"projects": [
2023-10-06 14:32:17 +02:00
"@budibase/client",
"@budibase/builder"
2023-10-02 16:29:04 +02:00
],
"target": "build"
}
]
2023-08-10 15:03:37 +02:00
}
}
}
2023-02-06 10:26:13 +01:00
}