Files
cloudbeaver/webapp/packages/plugin-script-export/package.json
T
1660e62391 Save scripts to custom locations (use import/export buttons) (#4258)
* dbeaver/pro#7880 adds MVP for saving script to cloud storage

* removes registerScriptExportController

* finalizes the ui

* adds missing locales

* introduces footer slot to use CommonDialog api

* adds locales

* moves success message to the tab components itself

* pr small fixes

* saves file with timestamp

* send notification with correct filename

* fixes locales

* uses different approach for handling dialog save

* cleanup

* self review fixes

* adds lazy import for export dialog

* uses form API to save the dialog

* fixes imports (tab -> panel)

* uses react state for filename

* build fix

* handles form validation

* sanitizes file name

* removes redundant form layout

* fixes bug: allows to load tree root with useTreeData

* uses context api to resolve export script dialog instead of throwing errors approach

* dbeaver/pro#7880 do not show notification on local export

* dbeaver/pro#7880 remove notification from local export

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
2026-04-15 15:12:32 +02:00

48 lines
1.2 KiB
JSON

{
"name": "@cloudbeaver/plugin-script-export",
"type": "module",
"sideEffects": [
"./lib/module.js",
"./lib/index.js",
"src/**/*.css",
"src/**/*.scss",
"public/**/*"
],
"version": "0.1.0",
"description": "",
"license": "Apache-2.0",
"exports": {
".": "./lib/index.js",
"./module": "./lib/module.js"
},
"scripts": {
"build": "tsc -b",
"clean": "rimraf --glob lib",
"lint": "eslint ./src/ --ext .ts,.tsx",
"test": "dbeaver-test",
"validate-dependencies": "core-cli-validate-dependencies"
},
"dependencies": {
"@cloudbeaver/core-blocks": "workspace:*",
"@cloudbeaver/core-di": "workspace:*",
"@cloudbeaver/core-dialogs": "workspace:*",
"@cloudbeaver/core-localization": "workspace:*",
"@cloudbeaver/core-ui": "workspace:*",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
"react-dom": "^19",
"tslib": "^2"
},
"devDependencies": {
"@cloudbeaver/core-cli": "workspace:*",
"@cloudbeaver/tsconfig": "workspace:*",
"@dbeaver/cli": "workspace:*",
"@types/react": "^19",
"@types/react-dom": "^19",
"rimraf": "^6",
"tslib": "^2",
"typescript": "^5"
}
}