budibase/packages/builder/package.json

146 lines
4.0 KiB
JSON
Raw Normal View History

2019-07-13 11:35:57 +02:00
{
2019-09-10 07:11:46 +02:00
"name": "@budibase/builder",
2023-05-29 10:54:10 +02:00
"version": "0.0.0",
2021-11-17 15:21:16 +01:00
"license": "GPL-3.0",
2020-02-26 23:18:14 +01:00
"private": true,
2019-07-13 11:35:57 +02:00
"scripts": {
"build": "routify -b && NODE_OPTIONS=\"--max_old_space_size=4096\" vite build --emptyOutDir",
2021-03-17 12:40:24 +01:00
"start": "routify -c rollup",
"dev": "routify -c dev:vite",
"dev:vite": "vite --host 0.0.0.0",
2020-06-09 13:52:00 +02:00
"rollup": "rollup -c -w",
"test": "vitest run",
2024-11-26 12:29:24 +01:00
"test:watch": "vitest",
"check:types": "yarn svelte-check"
2019-07-13 11:35:57 +02:00
},
"jest": {
"globals": {
"GLOBALS": {
"client": "web"
}
},
"testURL": "http://jest-breaks-if-this-does-not-exist",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
"components(.*)$": "<rootDir>/src/components$1",
2021-03-26 15:43:55 +01:00
"stores(.*)$": "<rootDir>/src/stores$1",
"analytics(.*)$": "<rootDir>/src/analytics$1",
"constants/backend": "<rootDir>/src/constants/backend/index.js"
},
"moduleFileExtensions": [
"js",
"svelte"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+js$": "babel-jest",
"^.+.svelte$": "svelte-jester"
},
"transformIgnorePatterns": [
"/node_modules/(?!svelte).+\\.js$",
".*string-templates.*"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
2019-07-19 13:52:08 +02:00
},
2019-07-13 11:35:57 +02:00
"dependencies": {
2023-05-29 10:54:10 +02:00
"@budibase/bbui": "0.0.0",
"@budibase/frontend-core": "0.0.0",
"@budibase/shared-core": "0.0.0",
"@budibase/string-templates": "0.0.0",
"@budibase/types": "0.0.0",
2023-05-17 10:09:15 +02:00
"@codemirror/autocomplete": "^6.7.1",
"@codemirror/commands": "^6.2.4",
"@codemirror/lang-javascript": "^6.1.8",
"@codemirror/language": "^6.6.0",
"@codemirror/state": "^6.2.0",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.11.2",
2024-09-10 14:30:49 +02:00
"@dagrejs/dagre": "1.1.4",
"@fontsource/source-sans-pro": "^5.0.3",
2023-10-17 14:06:18 +02:00
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",
2024-09-10 14:30:49 +02:00
"@xyflow/svelte": "^0.1.18",
2024-01-09 16:05:24 +01:00
"@zerodevx/svelte-json-view": "^1.0.7",
2024-02-24 17:28:21 +01:00
"codemirror": "^5.65.16",
2024-09-30 15:00:12 +02:00
"cron-parser": "^4.9.0",
"dayjs": "^1.10.8",
2021-02-05 10:39:42 +01:00
"downloadjs": "1.4.7",
Undo/Redo for Design and Automate sections + automations refactor (#9714) * Add full undo/redo support for screens * Add loading states to disable spamming undo/redo * Add keyboard shortcuts for undo and redo * Fix modals not closing in design section when escape is pressed * Remove log * Add smart metadata saving to undo/redo * Add error handling to undo/redo * Add active state to hoverable icons * Fix screen deletion * Always attempt to get latest doc version before deleting in case rev has changed * Move undo listener top level, hide controls when on certain tabs, and improve selection state * Add tooltips to undo/redo control * Update automation section nav to match other sections * Fix automation list padding * Fix some styles in create automation modal * Improve automation section styles and add undo/redo * Update styles in add action modal * Fix button size when creating admin user * Fix styles in add automation step modal * Fix issue selecting disabled automation steps * Reset automation history store when changing app * Reduce spammy unnecessary API calls when editing cron trigger * WIP automation refactor * Rewrite most automation state * Rewrite most of the rest of automation state * Finish refactor of automation state * Fix selection state when selecting new doc after history recreates it * Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made * Fix animation issues with automations * Sort automations and refetch list when adding or deleting * Fix formatting * Add back in ability to swap between values and bindings for block inputs * Lint * Format * Fix potential issue in design section when selected screen is unset * Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping * Lint * Fix more cases of automation errors * Fix implicity any TS error * Respect _id specified when creating automations * Fix crash in history store when reverting a change on a doc whose ID has changed * Lint * Ensure cloneDeep helper doesn't crash when a nullish value is passed in * Remove deprecated frontend automation test --------- Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 14:55:18 +01:00
"fast-json-patch": "^3.1.1",
"json-format-highlight": "^1.0.4",
"lodash": "4.17.21",
2024-04-08 10:58:59 +02:00
"posthog-js": "^1.118.0",
2021-02-05 10:39:42 +01:00
"remixicon": "2.5.0",
2024-07-04 10:56:17 +02:00
"sanitize-html": "^2.13.0",
2021-02-05 10:39:42 +01:00
"shortid": "2.2.15",
"svelte-dnd-action": "^0.9.8",
2020-09-06 23:04:09 +02:00
"svelte-loading-spinners": "^0.1.1",
Portal redesign (#9336) * Update BB logo to black * Update top nav bar and core layout * Add redesign for apps pages * Update user and groups pages * More WIP portal redesign! * Fix top nav colours and fix selected tab not updating * Remove log * Update copy on settings pages * Update and standardise page headers and subtitles, and remove side nav titles * Update font styles to allow for easy customisation * Update button styles to always use newStyles, update auth page styles * Update settings pages to new designs * Update structure for account pages * Add initial rewrite of app overview section * Update config checklist to properly center * Update app overview version and name/url screens * Add tooltip to explain why URL cannot be changed until unpublishing * Update overview automation history tab * Update overview backups page * Rewrite app overview access tab * Update table hover colours * Remove scrolling from tables when not required and stop selects from updating their own state locally * Update table styles to support flexible column widths much better * Fix extremely long strings in breadcrumbs not wrapping * Fix multiple issues with long text overflow * Fix flashing in version settings page * Fix loading bugs in app backups page * Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues * Tidy up * Update user details page to use tables and match designs * Update users detail page * Update user and group details pages with new tables * Fix automation error linking from apps page and improve automation fetching logic in automation history * Move theme and API key into user profile dropdown instead of settings * Move settings before account and show plugins for devs * Convert plugins page to table and update components and modals * Update links when going back from the builder * Update plugin search placeholder * Fix URLs in app overview * Properly handle text overflow in plugins table * Remove getting started checklist * Fix checklist removal and fix profile modal * Update email details page to match new designs * Cleanup * Add licensing and env logic to determine which account links to show * Update upgrade button URL for cloud accounts * Update app list to use a more compact style * Make core page layout responsive and update apps list to be responsive * Update mobile design of apps page * Update more pages to be responsive and add mobile specific components * Refactor main portal page into multiple components * Update multiple pages to be responsive and improve loading experience * Make automation history page responsive * Update backups page to be responsive * Update pickers to use absolutely positioned root popover so that overflow does not matter * Fix some responsive styles * Fix update link in app overview * Improve dropdown logic * Lint * Update click outside handler to handle modals properly * Remove log * Fix mobile menu upgrade button not closing menu * Hide groups page if disabled at tenant level * Centralise menu logic and show full menu on mobile * Update app access assignment and fix backups table * Ensure avatars cannot be squished * Standardise disabled field text colour * Allow developer users to access users, groups and usage pages * Allow readonly access to users and groups for developer users * Remove logs * Improve users page loading experience * Improve responsiveness on apps list page and fix discussions link styles * Update spacing on user and group detail page and fix usage page showing wrong copy * Fix logo override not working * Pin minio version to an old one that supports the fs backend in dev * Shrink upgrade button * Shrink user dropdown * Update assignment modal text * Remove clickable visual styles from plugins * Always show groups section in app access page * Update app overview button styles to include more CTAs * Hide edit and view links in more menu on overview page unless on mobile * Make usage stats responsive and fix layout issues * Add comment to docker-compose config
2023-01-18 14:56:53 +01:00
"svelte-portal": "1.0.0",
2023-10-17 14:06:18 +02:00
"yup": "^0.32.11"
2019-07-13 11:35:57 +02:00
},
"devDependencies": {
2021-04-01 10:12:36 +02:00
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
2023-10-06 12:31:37 +02:00
"@rollup/plugin-replace": "^5.0.3",
2024-11-26 10:53:08 +01:00
"@rollup/plugin-typescript": "8.3.0",
2023-10-06 12:31:37 +02:00
"@roxi/routify": "2.18.12",
2023-10-27 15:32:57 +02:00
"@sveltejs/vite-plugin-svelte": "1.4.0",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/svelte": "^4.1.0",
2023-10-17 13:25:07 +02:00
"babel-jest": "^29.6.2",
2020-08-07 17:13:57 +02:00
"identity-obj-proxy": "^3.0.0",
2023-11-06 14:24:33 +01:00
"jest": "29.7.0",
"jsdom": "^21.1.1",
"resize-observer-polyfill": "^1.5.1",
2024-11-26 11:42:43 +01:00
"svelte-check": "^4.1.0",
"svelte-jester": "^1.3.2",
2023-10-27 11:07:58 +02:00
"vite": "^4.5.0",
2023-10-06 12:29:12 +02:00
"vite-plugin-static-copy": "^0.17.0",
"vitest": "^0.29.2"
2019-10-11 19:48:09 +02:00
},
2023-05-23 23:11:26 +02:00
"nx": {
"targets": {
2023-05-24 11:47:21 +02:00
"build": {
2023-10-06 14:52:32 +02:00
"outputs": [
"{workspaceRoot}/packages/server/builder"
],
2023-05-24 11:47:21 +02:00
"dependsOn": [
{
"projects": [
2023-08-09 10:40:54 +02:00
"@budibase/string-templates"
2023-05-24 11:47:21 +02:00
],
"target": "build"
}
]
},
"dev": {
2023-08-02 02:16:27 +02:00
"dependsOn": [
{
"projects": [
2023-08-09 10:40:54 +02:00
"@budibase/string-templates"
2023-08-02 02:16:27 +02:00
],
2023-08-02 02:17:51 +02:00
"target": "build"
2023-08-02 02:16:27 +02:00
}
]
},
2023-05-23 23:11:26 +02:00
"test": {
"dependsOn": [
{
"projects": [
2023-08-09 10:40:54 +02:00
"@budibase/string-templates"
2023-05-23 23:11:26 +02:00
],
"target": "build"
}
]
}
}
}
2023-02-01 17:27:51 +01:00
}