budibase/packages/builder/package.json

151 lines
4.1 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": {
2021-04-01 14:44:14 +02:00
"build": "routify -b && vite build --emptyOutDir",
2021-03-17 12:40:24 +01:00
"start": "routify -c rollup",
"dev:builder": "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",
"test:watch": "vitest"
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 09:51:28 +01:00
"builderStore(.*)$": "<rootDir>/src/builderStore$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",
"@fontsource/source-sans-pro": "^5.0.3",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
2020-07-14 17:00:58 +02:00
"@sentry/browser": "5.19.1",
2023-01-23 17:56:43 +01:00
"@spectrum-css/accordion": "^3.0.24",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",
2020-12-30 12:46:37 +01:00
"codemirror": "^5.59.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",
"lodash": "4.17.21",
2022-11-27 23:00:34 +01:00
"posthog-js": "^1.36.0",
2021-02-05 10:39:42 +01:00
"remixicon": "2.5.0",
"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",
2021-02-05 10:39:42 +01:00
"uuid": "8.3.1",
"yup": "0.29.2"
2019-07-13 11:35:57 +02:00
},
"devDependencies": {
2021-04-01 10:12:36 +02:00
"@babel/core": "^7.12.14",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/runtime": "^7.13.10",
"@rollup/plugin-replace": "^2.4.2",
"@roxi/routify": "2.18.5",
2022-08-19 12:49:11 +02:00
"@sveltejs/vite-plugin-svelte": "1.0.1",
2023-07-25 12:31:17 +02:00
"@testing-library/jest-dom": "5.17.0",
"@testing-library/svelte": "^3.2.2",
2023-07-27 21:26:29 +02:00
"babel-jest": "29.6.2",
2020-08-07 17:13:57 +02:00
"identity-obj-proxy": "^3.0.0",
2023-07-27 21:26:29 +02:00
"jest": "29.6.2",
"jsdom": "^21.1.1",
2022-05-17 00:08:05 +02:00
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.2.1",
"mochawesome-report-generator": "^6.2.0",
2019-07-15 07:59:46 +02:00
"ncp": "^2.0.0",
2020-06-11 17:59:11 +02:00
"rimraf": "^3.0.2",
2023-08-02 00:56:43 +02:00
"rollup": "^2.44.0",
2021-04-01 14:44:14 +02:00
"rollup-plugin-copy": "^3.4.0",
"start-server-and-test": "^1.12.1",
"svelte": "^3.48.0",
"svelte-jester": "^1.3.2",
"ts-node": "10.8.1",
"tsconfig-paths": "4.0.0",
2023-09-22 18:17:19 +02:00
"typescript": "5.2.2",
"vite": "^3.0.8",
"vite-plugin-static-copy": "^0.16.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": {
"dependsOn": [
{
"projects": [
2023-08-09 10:40:54 +02:00
"@budibase/string-templates"
2023-05-24 11:47:21 +02:00
],
"target": "build"
}
]
},
2023-08-02 02:16:27 +02:00
"dev:builder": {
"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
}