From a8cb8aad1b8783e794c8fc7c1ac7fa1dbbbaed6b Mon Sep 17 00:00:00 2001 From: Wroud Date: Fri, 19 Sep 2025 19:55:58 +0800 Subject: [PATCH] dbeaver/pro#6783 refactor: plugins bundles --- .../packages/core-administration/package.json | 6 +- .../packages/core-administration/src/index.ts | 1 - .../core-administration/src/manifest.ts | 14 - .../core-administration/src/module.ts | 2 +- webapp/packages/core-app/package.json | 6 +- webapp/packages/core-app/src/index.ts | 3 - webapp/packages/core-app/src/manifest.ts | 14 - webapp/packages/core-app/src/module.ts | 2 +- .../packages/core-authentication/package.json | 7 +- .../packages/core-authentication/src/index.ts | 1 - .../core-authentication/src/manifest.ts | 14 - .../core-authentication/src/module.ts | 2 +- webapp/packages/core-blocks/package.json | 6 +- .../core-blocks/src/AppRefreshButton.tsx | 12 +- .../core-blocks/src/DisplayError.module.css | 14 + .../packages/core-blocks/src/DisplayError.tsx | 20 +- webapp/packages/core-blocks/src/index.ts | 1 - webapp/packages/core-blocks/src/manifest.ts | 14 - webapp/packages/core-blocks/src/module.ts | 2 +- webapp/packages/core-blocks/src/useS.ts | 11 +- webapp/packages/core-bootstrap/package.json | 35 +- .../packages/core-bootstrap/src/bootstrap.ts | 10 +- webapp/packages/core-bootstrap/src/index.ts | 4 - .../packages/core-bootstrap/src/manifest.ts | 83 --- .../core-bootstrap/src/renderLayout.tsx | 40 +- webapp/packages/core-bootstrap/tsconfig.json | 93 ---- .../core-browser-cookies/package.json | 4 +- .../core-browser-cookies/src/index.ts | 1 - .../core-browser-cookies/src/manifest.ts | 14 - .../core-browser-cookies/src/module.ts | 2 +- .../core-browser-settings/package.json | 6 +- .../core-browser-settings/src/index.ts | 1 - .../core-browser-settings/src/manifest.ts | 14 - .../core-browser-settings/src/module.ts | 2 +- webapp/packages/core-browser/package.json | 2 + webapp/packages/core-browser/src/index.ts | 1 - webapp/packages/core-browser/src/manifest.ts | 14 - webapp/packages/core-browser/src/module.ts | 2 +- .../_templates/plugin/new/index.ts.ejs.t | 6 +- .../_templates/plugin/new/manifest.ts.ejs.t | 10 - .../_templates/plugin/new/module.ts.ejs.t | 2 +- .../_templates/plugin/new/package.json.ejs.t | 3 +- webapp/packages/core-cli/package.json | 3 +- .../IGNORED_DEPENDENCIES.ts | 4 +- .../KNOWN_PEER_DEPS_MAP.ts | 3 +- .../validateDependencies.ts | 15 + .../core-client-activity/package.json | 6 +- .../core-client-activity/src/index.ts | 1 - .../core-client-activity/src/manifest.ts | 14 - .../core-client-activity/src/module.ts | 2 +- webapp/packages/core-connections/package.json | 6 +- webapp/packages/core-connections/src/index.ts | 2 - .../packages/core-connections/src/manifest.ts | 14 - .../packages/core-connections/src/module.ts | 2 +- .../packages/core-data-context/package.json | 4 +- .../packages/core-data-context/src/index.ts | 1 - .../core-data-context/src/manifest.ts | 14 - webapp/packages/core-di/package.json | 10 +- webapp/packages/core-di/src/App.ts | 29 +- .../src/__tests__/app-init/app-init.test.ts | 4 +- .../app-init/{manifest.ts => module.ts} | 9 +- webapp/packages/core-di/src/index.ts | 3 +- webapp/packages/core-di/src/injectable.ts | 2 +- webapp/packages/core-di/src/manifest.ts | 14 - .../src/{PluginManifest.ts => useApp.ts} | 10 +- webapp/packages/core-dialogs/package.json | 4 +- webapp/packages/core-dialogs/src/index.ts | 1 - webapp/packages/core-dialogs/src/manifest.ts | 14 - webapp/packages/core-dialogs/src/module.ts | 2 +- webapp/packages/core-events/package.json | 6 +- webapp/packages/core-events/src/index.ts | 1 - webapp/packages/core-events/src/manifest.ts | 14 - webapp/packages/core-events/src/module.ts | 2 +- webapp/packages/core-executor/package.json | 4 +- webapp/packages/core-extensions/package.json | 4 +- webapp/packages/core-links/package.json | 5 +- webapp/packages/core-links/src/index.ts | 1 - webapp/packages/core-links/src/manifest.ts | 14 - webapp/packages/core-links/tsconfig.json | 3 - .../packages/core-localization/package.json | 6 +- .../packages/core-localization/src/index.ts | 1 - .../core-localization/src/manifest.ts | 14 - .../packages/core-localization/src/module.ts | 2 +- .../core-navigation-tree/package.json | 9 +- .../core-navigation-tree/src/index.ts | 1 - .../core-navigation-tree/src/manifest.ts | 14 - .../core-navigation-tree/src/module.ts | 2 +- .../core-navigation-tree/tsconfig.json | 3 - .../packages/core-notifications/package.json | 4 +- webapp/packages/core-product/package.json | 4 +- webapp/packages/core-product/src/index.ts | 1 - webapp/packages/core-product/src/manifest.ts | 14 - webapp/packages/core-product/src/module.ts | 2 +- webapp/packages/core-projects/package.json | 4 +- webapp/packages/core-projects/src/index.ts | 1 - webapp/packages/core-projects/src/manifest.ts | 14 - webapp/packages/core-projects/src/module.ts | 2 +- .../core-resource-manager/package.json | 4 +- .../core-resource-manager/src/index.ts | 1 - .../core-resource-manager/src/manifest.ts | 14 - .../core-resource-manager/src/module.ts | 2 +- webapp/packages/core-resource/package.json | 7 +- webapp/packages/core-resource/src/index.ts | 1 - webapp/packages/core-resource/src/manifest.ts | 14 - webapp/packages/core-resource/tsconfig.json | 3 - webapp/packages/core-root/package.json | 3 + webapp/packages/core-root/src/index.ts | 1 - webapp/packages/core-root/src/manifest.ts | 14 - webapp/packages/core-root/src/module.ts | 2 +- webapp/packages/core-root/tsconfig.json | 3 + webapp/packages/core-routing/package.json | 4 +- webapp/packages/core-routing/src/index.ts | 1 - webapp/packages/core-routing/src/manifest.ts | 14 - webapp/packages/core-routing/src/module.ts | 2 +- webapp/packages/core-sdk/package.json | 6 +- webapp/packages/core-sdk/src/index.ts | 1 - webapp/packages/core-sdk/src/manifest.ts | 14 - webapp/packages/core-sdk/src/module.ts | 2 +- .../core-server-localization/package.json | 4 +- .../core-server-localization/src/index.ts | 1 - .../core-server-localization/src/manifest.ts | 14 - .../core-server-localization/src/module.ts | 2 +- .../core-session-localization/package.json | 4 +- .../core-session-localization/src/index.ts | 1 - .../core-session-localization/src/manifest.ts | 14 - .../core-session-localization/src/module.ts | 2 +- .../core-settings-localization/package.json | 6 +- .../core-settings-localization/src/index.ts | 1 - .../src/manifest.ts | 14 - .../core-settings-localization/src/module.ts | 2 +- .../packages/core-settings-user/package.json | 4 +- .../packages/core-settings-user/src/index.ts | 1 - .../core-settings-user/src/manifest.ts | 14 - .../packages/core-settings-user/src/module.ts | 2 +- webapp/packages/core-settings/package.json | 7 +- webapp/packages/core-settings/src/index.ts | 1 - webapp/packages/core-settings/src/manifest.ts | 14 - webapp/packages/core-settings/src/module.ts | 2 +- webapp/packages/core-storage/package.json | 4 +- webapp/packages/core-storage/src/index.ts | 1 - webapp/packages/core-storage/src/manifest.ts | 14 - webapp/packages/core-storage/src/module.ts | 2 +- .../packages/core-task-manager/package.json | 4 +- .../packages/core-task-manager/src/index.ts | 4 - .../core-task-manager/src/manifest.ts | 14 - .../packages/core-task-manager/src/module.ts | 2 +- webapp/packages/core-theming/package.json | 4 +- webapp/packages/core-theming/src/index.ts | 1 - webapp/packages/core-theming/src/manifest.ts | 14 - webapp/packages/core-theming/src/module.ts | 2 +- webapp/packages/core-ui/package.json | 6 +- webapp/packages/core-ui/src/index.ts | 2 - webapp/packages/core-ui/src/manifest.ts | 14 - webapp/packages/core-ui/src/module.ts | 2 +- webapp/packages/core-utils/package.json | 7 +- .../packages/core-version-update/package.json | 4 +- .../packages/core-version-update/src/index.ts | 1 - .../core-version-update/src/manifest.ts | 14 - .../core-version-update/src/module.ts | 2 +- webapp/packages/core-version/package.json | 4 +- webapp/packages/core-version/src/index.ts | 1 - webapp/packages/core-version/src/manifest.ts | 14 - webapp/packages/core-version/src/module.ts | 2 +- webapp/packages/core-view/package.json | 6 +- webapp/packages/core-view/src/index.ts | 1 - webapp/packages/core-view/src/manifest.ts | 14 - webapp/packages/core-view/src/module.ts | 2 +- .../plugin-administration/package.json | 7 +- .../plugin-administration/src/index.ts | 3 - .../plugin-administration/src/manifest.ts | 14 - .../plugin-administration/src/module.ts | 2 +- .../plugin-administration/tsconfig.json | 3 - .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- webapp/packages/plugin-app-logo/package.json | 4 +- .../src/{LogoLazy.tsx => LogoLazy.ts} | 0 webapp/packages/plugin-app-logo/src/index.ts | 4 - .../packages/plugin-app-logo/src/manifest.ts | 14 - webapp/packages/plugin-app-logo/src/module.ts | 2 +- .../package.json | 8 +- .../src/index.ts | 3 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../plugin-authentication/package.json | 4 +- .../plugin-authentication/src/index.ts | 2 - .../plugin-authentication/src/manifest.ts | 14 - .../plugin-authentication/src/module.ts | 2 +- webapp/packages/plugin-browser/package.json | 4 +- webapp/packages/plugin-browser/src/index.ts | 4 - .../packages/plugin-browser/src/manifest.ts | 12 - webapp/packages/plugin-browser/src/module.ts | 2 +- .../packages/plugin-codemirror6/package.json | 6 +- .../packages/plugin-codemirror6/src/index.ts | 1 - .../plugin-codemirror6/src/manifest.ts | 14 - .../packages/plugin-codemirror6/src/module.ts | 2 +- .../plugin-connection-custom/package.json | 4 +- .../plugin-connection-custom/src/index.ts | 3 - .../plugin-connection-custom/src/manifest.ts | 14 - .../plugin-connection-custom/src/module.ts | 2 +- .../plugin-connection-search/package.json | 4 +- .../plugin-connection-search/src/index.ts | 3 - .../plugin-connection-search/src/manifest.ts | 14 - .../plugin-connection-search/src/module.ts | 2 +- .../package.json | 5 +- .../src/index.ts | 3 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../tsconfig.json | 3 - .../packages/plugin-connections/package.json | 8 +- .../packages/plugin-connections/src/index.ts | 3 - .../plugin-connections/src/manifest.ts | 14 - .../packages/plugin-connections/src/module.ts | 2 +- webapp/packages/plugin-d3js/package.json | 5 +- webapp/packages/plugin-d3js/src/index.ts | 4 - webapp/packages/plugin-d3js/src/manifest.ts | 14 - webapp/packages/plugin-d3js/tsconfig.json | 3 - .../package.json | 5 +- .../src/index.ts | 5 - .../src/manifest.ts | 15 - .../src/module.ts | 2 +- .../tsconfig.json | 6 - .../packages/plugin-data-export/package.json | 4 +- .../packages/plugin-data-export/src/index.ts | 1 - .../plugin-data-export/src/manifest.ts | 14 - .../packages/plugin-data-export/src/module.ts | 2 +- webapp/packages/plugin-data-grid/package.json | 6 +- webapp/packages/plugin-data-grid/src/index.ts | 4 - .../packages/plugin-data-grid/src/manifest.ts | 12 - .../packages/plugin-data-grid/src/module.ts | 2 +- .../packages/plugin-data-import/package.json | 4 +- .../packages/plugin-data-import/src/index.ts | 1 - .../plugin-data-import/src/manifest.ts | 14 - .../packages/plugin-data-import/src/module.ts | 2 +- .../plugin-data-spreadsheet-new/package.json | 14 +- .../plugin-data-spreadsheet-new/src/index.ts | 1 - .../src/manifest.ts | 12 - .../plugin-data-spreadsheet-new/src/module.ts | 2 +- .../plugin-data-spreadsheet-new/tsconfig.json | 6 - .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../packages/plugin-data-viewer/package.json | 10 +- .../packages/plugin-data-viewer/src/index.ts | 1 - .../plugin-data-viewer/src/manifest.ts | 14 - .../packages/plugin-data-viewer/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 1 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../package.json | 6 +- .../src/index.ts | 1 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../packages/plugin-ddl-viewer/package.json | 4 +- .../packages/plugin-ddl-viewer/src/index.ts | 5 - .../plugin-ddl-viewer/src/manifest.ts | 14 - .../packages/plugin-ddl-viewer/src/module.ts | 2 +- webapp/packages/plugin-devtools/package.json | 4 +- webapp/packages/plugin-devtools/src/index.ts | 4 - .../packages/plugin-devtools/src/manifest.ts | 14 - .../src/menu/PluginSubMenuItem.ts | 14 +- webapp/packages/plugin-devtools/src/module.ts | 2 +- .../packages/plugin-gis-viewer/package.json | 4 +- .../packages/plugin-gis-viewer/src/index.ts | 3 - .../plugin-gis-viewer/src/manifest.ts | 14 - .../packages/plugin-gis-viewer/src/module.ts | 2 +- webapp/packages/plugin-help/package.json | 7 +- webapp/packages/plugin-help/src/index.ts | 3 - webapp/packages/plugin-help/src/manifest.ts | 14 - webapp/packages/plugin-help/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- webapp/packages/plugin-holidays/package.json | 4 +- webapp/packages/plugin-holidays/src/index.ts | 4 - .../packages/plugin-holidays/src/manifest.ts | 14 - webapp/packages/plugin-holidays/src/module.ts | 2 +- .../packages/plugin-localization/package.json | 4 +- .../packages/plugin-localization/src/index.ts | 3 - .../plugin-localization/src/manifest.ts | 12 - .../plugin-localization/src/module.ts | 2 +- .../packages/plugin-log-viewer/package.json | 6 +- .../packages/plugin-log-viewer/src/index.ts | 4 - .../plugin-log-viewer/src/manifest.ts | 12 - .../packages/plugin-log-viewer/src/module.ts | 2 +- .../plugin-navigation-tabs/package.json | 5 +- .../plugin-navigation-tabs/src/index.ts | 1 - .../plugin-navigation-tabs/src/manifest.ts | 12 - .../plugin-navigation-tabs/src/module.ts | 2 +- .../plugin-navigation-tabs/tsconfig.json | 3 - .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../plugin-navigation-tree-rm/package.json | 6 +- .../plugin-navigation-tree-rm/src/index.ts | 4 - .../plugin-navigation-tree-rm/src/manifest.ts | 12 - .../plugin-navigation-tree-rm/src/module.ts | 2 +- .../plugin-navigation-tree/package.json | 8 +- .../plugin-navigation-tree/src/index.ts | 1 - .../plugin-navigation-tree/src/manifest.ts | 12 - .../plugin-navigation-tree/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../plugin-object-viewer/package.json | 6 +- .../plugin-object-viewer/src/index.ts | 1 - .../plugin-object-viewer/src/manifest.ts | 12 - .../plugin-object-viewer/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- webapp/packages/plugin-product/package.json | 4 +- webapp/packages/plugin-product/src/index.ts | 3 - .../packages/plugin-product/src/manifest.ts | 12 - webapp/packages/plugin-product/src/module.ts | 2 +- webapp/packages/plugin-projects/package.json | 4 +- webapp/packages/plugin-projects/src/index.ts | 3 - .../packages/plugin-projects/src/manifest.ts | 14 - webapp/packages/plugin-projects/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../plugin-resource-manager/package.json | 6 +- .../plugin-resource-manager/src/index.ts | 3 - .../plugin-resource-manager/src/manifest.ts | 13 - .../plugin-resource-manager/src/module.ts | 2 +- webapp/packages/plugin-root/package.json | 4 +- webapp/packages/plugin-root/src/index.ts | 3 - webapp/packages/plugin-root/src/manifest.ts | 12 - webapp/packages/plugin-root/src/module.ts | 2 +- .../plugin-session-expiration/package.json | 4 +- .../plugin-session-expiration/src/index.ts | 4 - .../plugin-session-expiration/src/manifest.ts | 12 - .../plugin-session-expiration/src/module.ts | 2 +- webapp/packages/plugin-set-common/.gitignore | 17 + .../packages/plugin-set-common/package.json | 128 +++++ .../packages/plugin-set-common/src/index.ts | 206 ++++++++ .../packages/plugin-set-common/tsconfig.json | 310 +++++++++++ .../package.json | 5 +- .../src/index.ts | 4 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../tsconfig.json | 3 - .../package.json | 8 +- .../src/index.ts | 2 - .../src/manifest.ts | 15 - .../src/module.ts | 2 +- .../tsconfig.json | 9 - .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../plugin-settings-menu/package.json | 4 +- .../plugin-settings-menu/src/index.ts | 3 - .../plugin-settings-menu/src/manifest.ts | 12 - .../plugin-settings-menu/src/module.ts | 2 +- .../plugin-settings-panel/package.json | 8 +- .../plugin-settings-panel/src/index.ts | 2 - .../plugin-settings-panel/src/manifest.ts | 12 - .../plugin-settings-panel/src/module.ts | 2 +- .../package.json | 6 +- .../src/index.ts | 3 - .../src/manifest.ts | 12 - .../src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../plugin-sql-editor-new/package.json | 4 +- .../plugin-sql-editor-new/src/index.ts | 3 - .../plugin-sql-editor-new/src/manifest.ts | 14 - .../plugin-sql-editor-new/src/module.ts | 2 +- .../plugin-sql-editor-screen/package.json | 4 +- .../plugin-sql-editor-screen/src/index.ts | 3 - .../plugin-sql-editor-screen/src/manifest.ts | 14 - .../plugin-sql-editor-screen/src/module.ts | 2 +- .../packages/plugin-sql-editor/package.json | 6 +- .../packages/plugin-sql-editor/src/index.ts | 3 - .../plugin-sql-editor/src/manifest.ts | 14 - .../packages/plugin-sql-editor/src/module.ts | 2 +- .../plugin-sql-generator/package.json | 4 +- .../plugin-sql-generator/src/index.ts | 4 - .../plugin-sql-generator/src/manifest.ts | 14 - .../plugin-sql-generator/src/module.ts | 2 +- webapp/packages/plugin-sso/package.json | 5 +- webapp/packages/plugin-sso/src/index.ts | 2 - webapp/packages/plugin-sso/src/manifest.ts | 14 - webapp/packages/plugin-sso/tsconfig.json | 3 - .../package.json | 7 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../packages/plugin-task-manager/package.json | 4 +- .../packages/plugin-task-manager/src/index.ts | 4 - .../plugin-task-manager/src/manifest.ts | 12 - .../plugin-task-manager/src/module.ts | 2 +- webapp/packages/plugin-theme/package.json | 4 +- webapp/packages/plugin-theme/src/index.ts | 3 - webapp/packages/plugin-theme/src/manifest.ts | 12 - webapp/packages/plugin-theme/src/module.ts | 2 +- .../packages/plugin-tools-panel/package.json | 4 +- .../packages/plugin-tools-panel/src/index.ts | 3 - .../plugin-tools-panel/src/manifest.ts | 12 - .../packages/plugin-tools-panel/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../packages/plugin-top-app-bar/package.json | 4 +- .../packages/plugin-top-app-bar/src/index.ts | 3 - .../plugin-top-app-bar/src/manifest.ts | 14 - .../packages/plugin-top-app-bar/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 3 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../plugin-user-profile-settings/package.json | 4 +- .../plugin-user-profile-settings/src/index.ts | 1 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- .../packages/plugin-user-profile/package.json | 6 +- .../packages/plugin-user-profile/src/index.ts | 3 - .../plugin-user-profile/src/manifest.ts | 14 - .../plugin-user-profile/src/module.ts | 2 +- .../package.json | 4 +- .../src/index.ts | 4 - .../src/manifest.ts | 14 - .../src/module.ts | 2 +- webapp/packages/plugin-version/package.json | 4 +- webapp/packages/plugin-version/src/index.ts | 3 - .../packages/plugin-version/src/manifest.ts | 12 - webapp/packages/plugin-version/src/module.ts | 2 +- webapp/packages/product-base/package.json | 4 +- .../product-default-impl/package.json | 69 +-- .../product-default-impl/src/index.ts | 145 +----- .../product-default-impl/src/manifest.ts | 15 - .../product-default-impl/src/module.ts | 2 +- .../product-default-impl/tsconfig.json | 194 +------ webapp/packages/tests-runner/package.json | 16 +- webapp/yarn.lock | 487 ++++++++++-------- 456 files changed, 1569 insertions(+), 2864 deletions(-) delete mode 100644 webapp/packages/core-administration/src/manifest.ts delete mode 100644 webapp/packages/core-app/src/manifest.ts delete mode 100644 webapp/packages/core-authentication/src/manifest.ts delete mode 100644 webapp/packages/core-blocks/src/manifest.ts delete mode 100644 webapp/packages/core-bootstrap/src/manifest.ts delete mode 100644 webapp/packages/core-browser-cookies/src/manifest.ts delete mode 100644 webapp/packages/core-browser-settings/src/manifest.ts delete mode 100644 webapp/packages/core-browser/src/manifest.ts delete mode 100644 webapp/packages/core-cli/_templates/plugin/new/manifest.ts.ejs.t delete mode 100644 webapp/packages/core-client-activity/src/manifest.ts delete mode 100644 webapp/packages/core-connections/src/manifest.ts delete mode 100644 webapp/packages/core-data-context/src/manifest.ts rename webapp/packages/core-di/src/__tests__/app-init/{manifest.ts => module.ts} (77%) delete mode 100644 webapp/packages/core-di/src/manifest.ts rename webapp/packages/core-di/src/{PluginManifest.ts => useApp.ts} (61%) delete mode 100644 webapp/packages/core-dialogs/src/manifest.ts delete mode 100644 webapp/packages/core-events/src/manifest.ts delete mode 100644 webapp/packages/core-links/src/manifest.ts delete mode 100644 webapp/packages/core-localization/src/manifest.ts delete mode 100644 webapp/packages/core-navigation-tree/src/manifest.ts delete mode 100644 webapp/packages/core-product/src/manifest.ts delete mode 100644 webapp/packages/core-projects/src/manifest.ts delete mode 100644 webapp/packages/core-resource-manager/src/manifest.ts delete mode 100644 webapp/packages/core-resource/src/manifest.ts delete mode 100644 webapp/packages/core-root/src/manifest.ts delete mode 100644 webapp/packages/core-routing/src/manifest.ts delete mode 100644 webapp/packages/core-sdk/src/manifest.ts delete mode 100644 webapp/packages/core-server-localization/src/manifest.ts delete mode 100644 webapp/packages/core-session-localization/src/manifest.ts delete mode 100644 webapp/packages/core-settings-localization/src/manifest.ts delete mode 100644 webapp/packages/core-settings-user/src/manifest.ts delete mode 100644 webapp/packages/core-settings/src/manifest.ts delete mode 100644 webapp/packages/core-storage/src/manifest.ts delete mode 100644 webapp/packages/core-task-manager/src/manifest.ts delete mode 100644 webapp/packages/core-theming/src/manifest.ts delete mode 100644 webapp/packages/core-ui/src/manifest.ts delete mode 100644 webapp/packages/core-version-update/src/manifest.ts delete mode 100644 webapp/packages/core-version/src/manifest.ts delete mode 100644 webapp/packages/core-view/src/manifest.ts delete mode 100644 webapp/packages/plugin-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-app-logo-administration/src/manifest.ts rename webapp/packages/plugin-app-logo/src/{LogoLazy.tsx => LogoLazy.ts} (100%) delete mode 100644 webapp/packages/plugin-app-logo/src/manifest.ts delete mode 100644 webapp/packages/plugin-authentication-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-authentication/src/manifest.ts delete mode 100644 webapp/packages/plugin-browser/src/manifest.ts delete mode 100644 webapp/packages/plugin-codemirror6/src/manifest.ts delete mode 100644 webapp/packages/plugin-connection-custom/src/manifest.ts delete mode 100644 webapp/packages/plugin-connection-search/src/manifest.ts delete mode 100644 webapp/packages/plugin-connections-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-connections/src/manifest.ts delete mode 100644 webapp/packages/plugin-d3js/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-editor-public-settings/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-export/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-grid/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-import/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-spreadsheet-new/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-viewer-result-set-grouping/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-viewer-result-trace-details/src/manifest.ts delete mode 100644 webapp/packages/plugin-data-viewer/src/manifest.ts delete mode 100644 webapp/packages/plugin-datasource-context-switch/src/manifest.ts delete mode 100644 webapp/packages/plugin-datasource-transaction-manager/src/manifest.ts delete mode 100644 webapp/packages/plugin-ddl-viewer/src/manifest.ts delete mode 100644 webapp/packages/plugin-devtools/src/manifest.ts delete mode 100644 webapp/packages/plugin-gis-viewer/src/manifest.ts delete mode 100644 webapp/packages/plugin-help/src/manifest.ts delete mode 100644 webapp/packages/plugin-holidays-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-holidays/src/manifest.ts delete mode 100644 webapp/packages/plugin-localization/src/manifest.ts delete mode 100644 webapp/packages/plugin-log-viewer/src/manifest.ts delete mode 100644 webapp/packages/plugin-navigation-tabs/src/manifest.ts delete mode 100644 webapp/packages/plugin-navigation-tree-filters/src/manifest.ts delete mode 100644 webapp/packages/plugin-navigation-tree-rm/src/manifest.ts delete mode 100644 webapp/packages/plugin-navigation-tree/src/manifest.ts delete mode 100644 webapp/packages/plugin-object-viewer-nav-tree-link/src/manifest.ts delete mode 100644 webapp/packages/plugin-object-viewer/src/manifest.ts delete mode 100644 webapp/packages/plugin-product-information-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-product/src/manifest.ts delete mode 100644 webapp/packages/plugin-projects/src/manifest.ts delete mode 100644 webapp/packages/plugin-resource-manager-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-resource-manager-scripts/src/manifest.ts delete mode 100644 webapp/packages/plugin-resource-manager/src/manifest.ts delete mode 100644 webapp/packages/plugin-root/src/manifest.ts delete mode 100644 webapp/packages/plugin-session-expiration/src/manifest.ts create mode 100644 webapp/packages/plugin-set-common/.gitignore create mode 100644 webapp/packages/plugin-set-common/package.json create mode 100644 webapp/packages/plugin-set-common/src/index.ts create mode 100644 webapp/packages/plugin-set-common/tsconfig.json delete mode 100644 webapp/packages/plugin-settings-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-settings-default-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-settings-menu-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-settings-menu/src/manifest.ts delete mode 100644 webapp/packages/plugin-settings-panel/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-editor-navigation-tab-script/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-editor-navigation-tab/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-editor-new/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-editor-screen/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-editor/src/manifest.ts delete mode 100644 webapp/packages/plugin-sql-generator/src/manifest.ts delete mode 100644 webapp/packages/plugin-sso/src/manifest.ts delete mode 100644 webapp/packages/plugin-system-information-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-task-manager/src/manifest.ts delete mode 100644 webapp/packages/plugin-theme/src/manifest.ts delete mode 100644 webapp/packages/plugin-tools-panel/src/manifest.ts delete mode 100644 webapp/packages/plugin-top-app-bar-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-top-app-bar/src/manifest.ts delete mode 100644 webapp/packages/plugin-user-profile-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-user-profile-settings/src/manifest.ts delete mode 100644 webapp/packages/plugin-user-profile/src/manifest.ts delete mode 100644 webapp/packages/plugin-version-update-administration/src/manifest.ts delete mode 100644 webapp/packages/plugin-version/src/manifest.ts delete mode 100644 webapp/packages/product-default-impl/src/manifest.ts diff --git a/webapp/packages/core-administration/package.json b/webapp/packages/core-administration/package.json index ce7e4788c2c..226cb470ba8 100644 --- a/webapp/packages/core-administration/package.json +++ b/webapp/packages/core-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -34,7 +35,7 @@ "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-storage": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "tslib": "^2" }, @@ -42,6 +43,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-administration/src/index.ts b/webapp/packages/core-administration/src/index.ts index c237b32308e..07f3aecce13 100644 --- a/webapp/packages/core-administration/src/index.ts +++ b/webapp/packages/core-administration/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './AdministrationItem/AdministrationItemService.js'; export * from './AdministrationItem/filterConfigurationWizard.js'; export * from './AdministrationItem/IAdministrationItem.js'; diff --git a/webapp/packages/core-administration/src/manifest.ts b/webapp/packages/core-administration/src/manifest.ts deleted file mode 100644 index 632983df028..00000000000 --- a/webapp/packages/core-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreAdministrationManifest: PluginManifest = { - info: { - name: 'Core Administration', - }, -}; diff --git a/webapp/packages/core-administration/src/module.ts b/webapp/packages/core-administration/src/module.ts index e012cce926c..488ef4274a6 100644 --- a/webapp/packages/core-administration/src/module.ts +++ b/webapp/packages/core-administration/src/module.ts @@ -14,7 +14,7 @@ import { AdministrationScreenService } from './AdministrationScreen/Administrati import { AdministrationLocaleService } from './AdministrationLocaleService.js'; import { AdministrationItemService } from './AdministrationItem/AdministrationItemService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-administration', configure: serviceCollection => { diff --git a/webapp/packages/core-app/package.json b/webapp/packages/core-app/package.json index ece4e0fc1a9..280a545027c 100644 --- a/webapp/packages/core-app/package.json +++ b/webapp/packages/core-app/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,7 +36,7 @@ "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/core-version": "workspace:*", - "@dbeaver/ui-kit": "workspace:^", + "@dbeaver/ui-kit": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -46,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/core-app/src/index.ts b/webapp/packages/core-app/src/index.ts index 4513ba88f45..b44de29398e 100644 --- a/webapp/packages/core-app/src/index.ts +++ b/webapp/packages/core-app/src/index.ts @@ -15,6 +15,3 @@ export * from './AppLocaleService.js'; // components export * from './BodyLazy.js'; - -// Interfaces -export * from './manifest.js'; diff --git a/webapp/packages/core-app/src/manifest.ts b/webapp/packages/core-app/src/manifest.ts deleted file mode 100644 index 561a28ebc17..00000000000 --- a/webapp/packages/core-app/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreAppManifest: PluginManifest = { - info: { - name: 'Core App', - }, -}; diff --git a/webapp/packages/core-app/src/module.ts b/webapp/packages/core-app/src/module.ts index 5bf704a5c99..fb93bccd7d7 100644 --- a/webapp/packages/core-app/src/module.ts +++ b/webapp/packages/core-app/src/module.ts @@ -11,7 +11,7 @@ import { AppScreenService } from './AppScreen/AppScreenService.js'; import { AppScreenBootstrap } from './AppScreen/AppScreenBootstrap.js'; import { AppLocaleService } from './AppLocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-app', configure: serviceCollection => { diff --git a/webapp/packages/core-authentication/package.json b/webapp/packages/core-authentication/package.json index 0d5eb82e9b5..273671ff110 100644 --- a/webapp/packages/core-authentication/package.json +++ b/webapp/packages/core-authentication/package.json @@ -13,6 +13,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./lib/*" }, "scripts": { @@ -34,17 +35,19 @@ "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-storage": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", + "@cloudbeaver/core-root": "workspace:*", "@cloudbeaver/core-sdk": "workspace:*", + "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "msw": "^2", "rimraf": "^6", "typescript": "^5", diff --git a/webapp/packages/core-authentication/src/index.ts b/webapp/packages/core-authentication/src/index.ts index f8fa35786db..fc811be9bf8 100644 --- a/webapp/packages/core-authentication/src/index.ts +++ b/webapp/packages/core-authentication/src/index.ts @@ -8,7 +8,6 @@ import './module.js'; -export * from './manifest.js'; export * from './ELMRole.js'; export * from './AppAuthService.js'; export * from './AUTH_PROVIDER_LOCAL_ID.js'; diff --git a/webapp/packages/core-authentication/src/manifest.ts b/webapp/packages/core-authentication/src/manifest.ts deleted file mode 100644 index a78c4f8b1a8..00000000000 --- a/webapp/packages/core-authentication/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreAuthenticationManifest: PluginManifest = { - info: { - name: 'Core Authentication', - }, -}; diff --git a/webapp/packages/core-authentication/src/module.ts b/webapp/packages/core-authentication/src/module.ts index c7a500c35a5..e305873fc58 100644 --- a/webapp/packages/core-authentication/src/module.ts +++ b/webapp/packages/core-authentication/src/module.ts @@ -31,7 +31,7 @@ import { AuthConfigurationsResource } from './AuthConfigurationsResource.js'; import { AuthConfigurationParametersResource } from './AuthConfigurationParametersResource.js'; import { AppAuthService } from './AppAuthService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-authentication', configure: serviceCollection => { diff --git a/webapp/packages/core-blocks/package.json b/webapp/packages/core-blocks/package.json index c7c5fe17236..91c39d04e06 100644 --- a/webapp/packages/core-blocks/package.json +++ b/webapp/packages/core-blocks/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -57,13 +58,14 @@ "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@testing-library/jest-dom": "^6", "@testing-library/react": "^16", "@types/react": "^19", "mobx": "^6", "react": "^19", "react-dom": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/core-blocks/src/AppRefreshButton.tsx b/webapp/packages/core-blocks/src/AppRefreshButton.tsx index 6a01e31c3b5..aff85c7dd60 100644 --- a/webapp/packages/core-blocks/src/AppRefreshButton.tsx +++ b/webapp/packages/core-blocks/src/AppRefreshButton.tsx @@ -5,9 +5,9 @@ * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ -import type React from 'react'; +import { use } from 'react'; -import { App, useService } from '@cloudbeaver/core-di'; +import { AppContext } from '@cloudbeaver/core-di'; import { clsx } from '@dbeaver/ui-kit'; import style from './AppRefreshButton.module.css'; @@ -17,10 +17,14 @@ interface IProps { } export const AppRefreshButton: React.FC = function AppRefreshButton({ className }) { - const app = useService(App); + const app = use(AppContext); + + if (!app) { + return null; + } function refresh() { - app.restart(); + app?.restart(); } return ( diff --git a/webapp/packages/core-blocks/src/DisplayError.module.css b/webapp/packages/core-blocks/src/DisplayError.module.css index a5a26e487ac..e6a93c1cbc2 100644 --- a/webapp/packages/core-blocks/src/DisplayError.module.css +++ b/webapp/packages/core-blocks/src/DisplayError.module.css @@ -19,6 +19,7 @@ display: flex; margin: auto; padding: 16px 24px; + gap: 8px; flex-direction: column; align-items: center; } @@ -29,4 +30,17 @@ .details { padding: 8px 16px; white-space: pre-wrap; + font-size: 14px; + + & summary { + cursor: pointer; + margin-bottom: 8px; + } + + & code { + display: block; + font-size: 12px; + overflow: auto; + height: 250px; + } } diff --git a/webapp/packages/core-blocks/src/DisplayError.tsx b/webapp/packages/core-blocks/src/DisplayError.tsx index b7a68a0f224..a097128f5c4 100644 --- a/webapp/packages/core-blocks/src/DisplayError.tsx +++ b/webapp/packages/core-blocks/src/DisplayError.tsx @@ -1,6 +1,6 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2024 DBeaver Corp and others + * Copyright (C) 2020-2025 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. @@ -36,11 +36,19 @@ export const DisplayError = observer(function DisplayError({ root, childr {root && } {children} {error && ( -
- {error.toString()} - {stack &&
} - {stack} -
+
+ Details +

+ {error.toString()} + {stack && ( + <> +
+
+ + )} + {stack} +

+
)} diff --git a/webapp/packages/core-blocks/src/index.ts b/webapp/packages/core-blocks/src/index.ts index 0137386deab..4a25fed9e95 100644 --- a/webapp/packages/core-blocks/src/index.ts +++ b/webapp/packages/core-blocks/src/index.ts @@ -251,7 +251,6 @@ export * from './useUserData.js'; export * from './useListKeyboardNavigation.js'; export * from './useMergeRefs.js'; export * from './usePasswordValidation.js'; -export * from './manifest.js'; export * from './importLazyComponent.js'; export * from './ClickableLoader.js'; export * from './FormControls/TagsComboboxLoader.js'; diff --git a/webapp/packages/core-blocks/src/manifest.ts b/webapp/packages/core-blocks/src/manifest.ts deleted file mode 100644 index f0c4a171655..00000000000 --- a/webapp/packages/core-blocks/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreBlocksManifest: PluginManifest = { - info: { - name: 'Core Blocks', - }, -}; diff --git a/webapp/packages/core-blocks/src/module.ts b/webapp/packages/core-blocks/src/module.ts index 70e758d3979..9527e8c29a7 100644 --- a/webapp/packages/core-blocks/src/module.ts +++ b/webapp/packages/core-blocks/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { BlocksLocaleService } from './BlocksLocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-blocks', configure: serviceCollection => { diff --git a/webapp/packages/core-blocks/src/useS.ts b/webapp/packages/core-blocks/src/useS.ts index fd263564d3a..3dae70a50df 100644 --- a/webapp/packages/core-blocks/src/useS.ts +++ b/webapp/packages/core-blocks/src/useS.ts @@ -46,7 +46,16 @@ export function useS(...componentStyles: [...T]): Ex const stylesRef = useRef([]); const [patch, forceUpdate] = useState(0); const loadedStyles = useRef([]); - const themeService = useService(ThemeService); + let themeService: ThemeService | undefined; + + try { + // this service not required, in some cases we don't have services initialized and need to show basic UI + // eslint-disable-next-line react-hooks/rules-of-hooks + themeService = useService(ThemeService); + } catch { + themeService = undefined; + } + const [currentThemeId, setCurrentThemeId] = useState(() => themeService?.themeId); const lastThemeRef = useRef(currentThemeId); const filteredStyles = themeService diff --git a/webapp/packages/core-bootstrap/package.json b/webapp/packages/core-bootstrap/package.json index cccc6850fd8..b7e2c0933a4 100644 --- a/webapp/packages/core-bootstrap/package.json +++ b/webapp/packages/core-bootstrap/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -21,41 +22,10 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-administration": "workspace:*", "@cloudbeaver/core-app": "workspace:*", - "@cloudbeaver/core-authentication": "workspace:*", "@cloudbeaver/core-blocks": "workspace:*", - "@cloudbeaver/core-browser": "workspace:*", - "@cloudbeaver/core-browser-cookies": "workspace:*", - "@cloudbeaver/core-browser-settings": "workspace:*", - "@cloudbeaver/core-client-activity": "workspace:*", - "@cloudbeaver/core-connections": "workspace:*", "@cloudbeaver/core-di": "workspace:*", - "@cloudbeaver/core-dialogs": "workspace:*", - "@cloudbeaver/core-events": "workspace:*", "@cloudbeaver/core-executor": "workspace:*", - "@cloudbeaver/core-links": "workspace:*", - "@cloudbeaver/core-localization": "workspace:*", - "@cloudbeaver/core-navigation-tree": "workspace:*", - "@cloudbeaver/core-product": "workspace:*", - "@cloudbeaver/core-projects": "workspace:*", - "@cloudbeaver/core-resource": "workspace:*", - "@cloudbeaver/core-resource-manager": "workspace:*", - "@cloudbeaver/core-root": "workspace:*", - "@cloudbeaver/core-routing": "workspace:*", - "@cloudbeaver/core-sdk": "workspace:*", - "@cloudbeaver/core-server-localization": "workspace:*", - "@cloudbeaver/core-session-localization": "workspace:*", - "@cloudbeaver/core-settings": "workspace:*", - "@cloudbeaver/core-settings-localization": "workspace:*", - "@cloudbeaver/core-settings-user": "workspace:*", - "@cloudbeaver/core-storage": "workspace:*", - "@cloudbeaver/core-task-manager": "workspace:*", - "@cloudbeaver/core-theming": "workspace:*", - "@cloudbeaver/core-ui": "workspace:*", - "@cloudbeaver/core-version": "workspace:*", - "@cloudbeaver/core-version-update": "workspace:*", - "@cloudbeaver/core-view": "workspace:*", "mobx": "^6", "react": "^19", "react-dom": "^19", @@ -66,6 +36,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", "@types/react-dom": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/core-bootstrap/src/bootstrap.ts b/webapp/packages/core-bootstrap/src/bootstrap.ts index e9eeb372576..327b080d985 100644 --- a/webapp/packages/core-bootstrap/src/bootstrap.ts +++ b/webapp/packages/core-bootstrap/src/bootstrap.ts @@ -7,15 +7,13 @@ */ import { configure } from 'mobx'; -import { App, type PluginManifest } from '@cloudbeaver/core-di'; +import { App, type IModule } from '@cloudbeaver/core-di'; import { executionExceptionContext, SyncExecutor } from '@cloudbeaver/core-executor'; -import { coreManifests } from './manifest.js'; - -export async function bootstrap(plugins: PluginManifest[]): Promise { +export async function bootstrap(modules: IModule[]): Promise { configure({ enforceActions: 'never' }); - const app = new App([...coreManifests, ...plugins]); + const app = new App(modules); (window as any).internalRestartApp = () => app.restart(); let exception: Error | null = null; @@ -26,7 +24,7 @@ export async function bootstrap(plugins: PluginManifest[]): Promise { } const { renderLayout } = await import('./renderLayout.js'); - const render = renderLayout(); + const render = renderLayout(app); const unmountExecutor = new SyncExecutor(); unmountExecutor.addHandler(() => render.unmount()); diff --git a/webapp/packages/core-bootstrap/src/index.ts b/webapp/packages/core-bootstrap/src/index.ts index d40f85d5010..372fd54584b 100644 --- a/webapp/packages/core-bootstrap/src/index.ts +++ b/webapp/packages/core-bootstrap/src/index.ts @@ -6,8 +6,4 @@ * you may not use this file except in compliance with the License. */ -import { coreManifests } from './manifest.js'; - export * from './bootstrap.js'; - -export default coreManifests; diff --git a/webapp/packages/core-bootstrap/src/manifest.ts b/webapp/packages/core-bootstrap/src/manifest.ts deleted file mode 100644 index 9e200935d0e..00000000000 --- a/webapp/packages/core-bootstrap/src/manifest.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import { coreAdministrationManifest } from '@cloudbeaver/core-administration'; -import { coreAppManifest } from '@cloudbeaver/core-app'; -import { coreAuthenticationManifest } from '@cloudbeaver/core-authentication'; -import { coreBlocksManifest } from '@cloudbeaver/core-blocks'; -import { coreBrowserManifest } from '@cloudbeaver/core-browser'; -import { coreBrowserCookiesManifest } from '@cloudbeaver/core-browser-cookies'; -import { coreBrowserSettingsManifest } from '@cloudbeaver/core-browser-settings'; -import { coreClientActivityManifest } from '@cloudbeaver/core-client-activity'; -import { coreConnectionsManifest } from '@cloudbeaver/core-connections'; -import { coreDIManifest, type PluginManifest } from '@cloudbeaver/core-di'; -import { coreDialogsManifest } from '@cloudbeaver/core-dialogs'; -import { coreEventsManifest } from '@cloudbeaver/core-events'; -import { coreLinksManifest } from '@cloudbeaver/core-links'; -import { coreLocalizationManifest } from '@cloudbeaver/core-localization'; -import { coreNavigationTree } from '@cloudbeaver/core-navigation-tree'; -import { coreProductManifest } from '@cloudbeaver/core-product'; -import { coreProjectsManifest } from '@cloudbeaver/core-projects'; -import { coreResourceManifest } from '@cloudbeaver/core-resource'; -import { resourceManagerManifest } from '@cloudbeaver/core-resource-manager'; -import { coreRootManifest } from '@cloudbeaver/core-root'; -import { coreRoutingManifest } from '@cloudbeaver/core-routing'; -import { coreSDKManifest } from '@cloudbeaver/core-sdk'; -import { coreServerLocalization } from '@cloudbeaver/core-server-localization'; -import { coreSessionLocalization } from '@cloudbeaver/core-session-localization'; -import { coreSettingsManifest } from '@cloudbeaver/core-settings'; -import { coreSettingsLocalizationManifest } from '@cloudbeaver/core-settings-localization'; -import { coreSettingsUserManifest } from '@cloudbeaver/core-settings-user'; -import { coreStorageManifest } from '@cloudbeaver/core-storage'; -import { coreTaskManagerManifest } from '@cloudbeaver/core-task-manager'; -import { coreThemingManifest } from '@cloudbeaver/core-theming'; -import { coreUIManifest } from '@cloudbeaver/core-ui'; -import { coreVersionManifest } from '@cloudbeaver/core-version'; -import { coreVersionUpdateManifest } from '@cloudbeaver/core-version-update'; -import { coreViewManifest } from '@cloudbeaver/core-view'; - -export const coreManifests: PluginManifest[] = [ - { - info: { - name: 'DBeaver core', - }, - }, - coreDIManifest, - coreRoutingManifest, // important, should be first because the router starts in load phase first after all plugins register phase - coreBrowserManifest, - coreThemingManifest, - coreLocalizationManifest, - coreSettingsLocalizationManifest, - coreSessionLocalization, - coreServerLocalization, - coreBlocksManifest, - coreSettingsManifest, - coreStorageManifest, - coreEventsManifest, - coreResourceManifest, - coreSDKManifest, - coreRootManifest, - coreLinksManifest, - coreBrowserSettingsManifest, - coreBrowserCookiesManifest, - coreProductManifest, - coreProjectsManifest, - coreAuthenticationManifest, - coreUIManifest, - coreViewManifest, - coreVersionManifest, - coreVersionUpdateManifest, - coreConnectionsManifest, - coreAdministrationManifest, - coreDialogsManifest, - resourceManagerManifest, - coreAppManifest, - coreClientActivityManifest, - coreNavigationTree, - coreSettingsUserManifest, - coreTaskManagerManifest, -]; diff --git a/webapp/packages/core-bootstrap/src/renderLayout.tsx b/webapp/packages/core-bootstrap/src/renderLayout.tsx index 728cbfb2e69..0067083eb1d 100644 --- a/webapp/packages/core-bootstrap/src/renderLayout.tsx +++ b/webapp/packages/core-bootstrap/src/renderLayout.tsx @@ -10,7 +10,7 @@ import { createRoot, type Root } from 'react-dom/client'; import { BodyLazy } from '@cloudbeaver/core-app'; import { DisplayError, ErrorBoundary, Loader, s } from '@cloudbeaver/core-blocks'; -import { HideAppLoadingScreen, IServiceProvider, ServiceProvider } from '@cloudbeaver/core-di'; +import { App, AppContext, HideAppLoadingScreen, IServiceProvider, ServiceProvider } from '@cloudbeaver/core-di'; import styles from './renderLayout.module.css'; @@ -21,7 +21,7 @@ interface IRender { unmount(): void; } -export function renderLayout(): IRender { +export function renderLayout(app: App): IRender { let root: Root | undefined; return { @@ -47,16 +47,18 @@ export function renderLayout(): IRender { }, renderApp(serviceProvider: IServiceProvider | null) { this.initRoot().render( - } simple> - - } root> - }> - - - - - - , + + } simple> + + } root> + }> + + + + + + + , ); }, renderError(serviceProvider: IServiceProvider | null, exception?: any) { @@ -64,12 +66,14 @@ export function renderLayout(): IRender { console.error(exception); } this.initRoot().render( - } simple> - - - - - , + + } simple> + + + + + + , ); }, }; diff --git a/webapp/packages/core-bootstrap/tsconfig.json b/webapp/packages/core-bootstrap/tsconfig.json index f7fb79f6be9..5ecdad17329 100644 --- a/webapp/packages/core-bootstrap/tsconfig.json +++ b/webapp/packages/core-bootstrap/tsconfig.json @@ -7,113 +7,20 @@ "composite": true }, "references": [ - { - "path": "../core-administration" - }, { "path": "../core-app" }, - { - "path": "../core-authentication" - }, { "path": "../core-blocks" }, - { - "path": "../core-browser" - }, - { - "path": "../core-browser-cookies" - }, - { - "path": "../core-browser-settings" - }, { "path": "../core-cli" }, - { - "path": "../core-client-activity" - }, - { - "path": "../core-connections" - }, { "path": "../core-di" }, - { - "path": "../core-dialogs" - }, - { - "path": "../core-events" - }, { "path": "../core-executor" - }, - { - "path": "../core-links" - }, - { - "path": "../core-localization" - }, - { - "path": "../core-navigation-tree" - }, - { - "path": "../core-product" - }, - { - "path": "../core-projects" - }, - { - "path": "../core-resource" - }, - { - "path": "../core-resource-manager" - }, - { - "path": "../core-root" - }, - { - "path": "../core-routing" - }, - { - "path": "../core-sdk" - }, - { - "path": "../core-server-localization" - }, - { - "path": "../core-session-localization" - }, - { - "path": "../core-settings" - }, - { - "path": "../core-settings-localization" - }, - { - "path": "../core-settings-user" - }, - { - "path": "../core-storage" - }, - { - "path": "../core-task-manager" - }, - { - "path": "../core-theming" - }, - { - "path": "../core-ui" - }, - { - "path": "../core-version" - }, - { - "path": "../core-version-update" - }, - { - "path": "../core-view" } ], "include": [ diff --git a/webapp/packages/core-browser-cookies/package.json b/webapp/packages/core-browser-cookies/package.json index 0341bf3400a..d1401c7fd51 100644 --- a/webapp/packages/core-browser-cookies/package.json +++ b/webapp/packages/core-browser-cookies/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -30,6 +31,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-browser-cookies/src/index.ts b/webapp/packages/core-browser-cookies/src/index.ts index 63290cbdab8..21e88eebcb1 100644 --- a/webapp/packages/core-browser-cookies/src/index.ts +++ b/webapp/packages/core-browser-cookies/src/index.ts @@ -8,4 +8,3 @@ import './module.js'; export * from './CookiesService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-browser-cookies/src/manifest.ts b/webapp/packages/core-browser-cookies/src/manifest.ts deleted file mode 100644 index 3f37d903909..00000000000 --- a/webapp/packages/core-browser-cookies/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreBrowserCookiesManifest: PluginManifest = { - info: { - name: 'Core Browser Cookies', - }, -}; diff --git a/webapp/packages/core-browser-cookies/src/module.ts b/webapp/packages/core-browser-cookies/src/module.ts index 44f6062d801..28f75f0ff4c 100644 --- a/webapp/packages/core-browser-cookies/src/module.ts +++ b/webapp/packages/core-browser-cookies/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { CookiesService } from './CookiesService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-browser-cookies', configure: serviceCollection => { diff --git a/webapp/packages/core-browser-settings/package.json b/webapp/packages/core-browser-settings/package.json index c25c074fe88..2aa4fd245b6 100644 --- a/webapp/packages/core-browser-settings/package.json +++ b/webapp/packages/core-browser-settings/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,7 +33,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-browser-settings/src/index.ts b/webapp/packages/core-browser-settings/src/index.ts index 30c811baff7..bd994974691 100644 --- a/webapp/packages/core-browser-settings/src/index.ts +++ b/webapp/packages/core-browser-settings/src/index.ts @@ -8,4 +8,3 @@ import './module.js'; export * from './BrowserSettingsService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-browser-settings/src/manifest.ts b/webapp/packages/core-browser-settings/src/manifest.ts deleted file mode 100644 index 5a3462db0c5..00000000000 --- a/webapp/packages/core-browser-settings/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreBrowserSettingsManifest: PluginManifest = { - info: { - name: 'Core Browser Settings', - }, -}; diff --git a/webapp/packages/core-browser-settings/src/module.ts b/webapp/packages/core-browser-settings/src/module.ts index 5679a3894ed..2440d0662d5 100644 --- a/webapp/packages/core-browser-settings/src/module.ts +++ b/webapp/packages/core-browser-settings/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, Dependency, ModuleRegistry, proxy } from '@cloudbeaver/core- import { LocaleService } from './LocaleService.js'; import { BrowserSettingsService } from './BrowserSettingsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-browser-settings', configure: serviceCollection => { diff --git a/webapp/packages/core-browser/package.json b/webapp/packages/core-browser/package.json index 26b6a60c54d..4b86251bb0a 100644 --- a/webapp/packages/core-browser/package.json +++ b/webapp/packages/core-browser/package.json @@ -14,6 +14,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./lib/*.js" }, "scripts": { @@ -42,6 +43,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vite": "^7" } diff --git a/webapp/packages/core-browser/src/index.ts b/webapp/packages/core-browser/src/index.ts index 7a2c4dadf3d..faf1d08f119 100644 --- a/webapp/packages/core-browser/src/index.ts +++ b/webapp/packages/core-browser/src/index.ts @@ -10,6 +10,5 @@ import './module.js'; export * from './IndexedDB/IndexedDBService.js'; export * from './IndexedDB/IndexedDB.js'; export * from './LocalStorageSaveService.js'; -export * from './manifest.js'; export * from './promptForFiles.js'; export * from './ServiceWorkerService.js'; diff --git a/webapp/packages/core-browser/src/manifest.ts b/webapp/packages/core-browser/src/manifest.ts deleted file mode 100644 index fffabc83517..00000000000 --- a/webapp/packages/core-browser/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreBrowserManifest: PluginManifest = { - info: { - name: 'Core Browser', - }, -}; diff --git a/webapp/packages/core-browser/src/module.ts b/webapp/packages/core-browser/src/module.ts index 3296cfe3524..2a000a1a171 100644 --- a/webapp/packages/core-browser/src/module.ts +++ b/webapp/packages/core-browser/src/module.ts @@ -12,7 +12,7 @@ import { ServiceWorkerBootstrap } from './ServiceWorkerBootstrap.js'; import { LocalStorageSaveService } from './LocalStorageSaveService.js'; import { IndexedDBService } from './IndexedDB/IndexedDBService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-browser', configure: serviceCollection => { diff --git a/webapp/packages/core-cli/_templates/plugin/new/index.ts.ejs.t b/webapp/packages/core-cli/_templates/plugin/new/index.ts.ejs.t index d7d6e32f2c4..1581c6e41e6 100644 --- a/webapp/packages/core-cli/_templates/plugin/new/index.ts.ejs.t +++ b/webapp/packages/core-cli/_templates/plugin/new/index.ts.ejs.t @@ -1,8 +1,4 @@ --- to: <%= name %>/src/index.ts --- -import './module.js'; -import { <%= h.changeCase.camel(name) %>Manifest } from './manifest.js'; - -export default <%= h.changeCase.camel(name) %>Manifest; -export { <%= h.changeCase.camel(name) %>Manifest }; \ No newline at end of file +import './module.js'; \ No newline at end of file diff --git a/webapp/packages/core-cli/_templates/plugin/new/manifest.ts.ejs.t b/webapp/packages/core-cli/_templates/plugin/new/manifest.ts.ejs.t deleted file mode 100644 index f55708dbe8c..00000000000 --- a/webapp/packages/core-cli/_templates/plugin/new/manifest.ts.ejs.t +++ /dev/null @@ -1,10 +0,0 @@ ---- -to: <%= name %>/src/manifest.ts ---- -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const <%= h.changeCase.camel(name) %>Manifest: PluginManifest = { - info: { - name: '<%= h.changeCase.sentence(name) %>', - }, -}; \ No newline at end of file diff --git a/webapp/packages/core-cli/_templates/plugin/new/module.ts.ejs.t b/webapp/packages/core-cli/_templates/plugin/new/module.ts.ejs.t index b405b93c694..08725ce860c 100644 --- a/webapp/packages/core-cli/_templates/plugin/new/module.ts.ejs.t +++ b/webapp/packages/core-cli/_templates/plugin/new/module.ts.ejs.t @@ -4,7 +4,7 @@ to: <%= name %>/src/module.ts import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { <%= h.changeCase.pascal(name) %>Bootstrap } from './<%= h.changeCase.pascal(name) %>Bootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/<%= name %>', configure: serviceCollection => { diff --git a/webapp/packages/core-cli/_templates/plugin/new/package.json.ejs.t b/webapp/packages/core-cli/_templates/plugin/new/package.json.ejs.t index bf8d005620d..7f614bb66f4 100644 --- a/webapp/packages/core-cli/_templates/plugin/new/package.json.ejs.t +++ b/webapp/packages/core-cli/_templates/plugin/new/package.json.ejs.t @@ -15,7 +15,8 @@ to: <%= name %>/package.json "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", diff --git a/webapp/packages/core-cli/package.json b/webapp/packages/core-cli/package.json index db04cb464e4..92639aee826 100644 --- a/webapp/packages/core-cli/package.json +++ b/webapp/packages/core-cli/package.json @@ -40,18 +40,17 @@ }, "dependencies": { "glob": "^11", + "js-yaml": "^4", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/tsconfig": "workspace:*", - "@swc/core": "^1", "@types/js-yaml": "^4", "@types/node": "^22", "enquirer": "^2", "execa": "^9", "glob": "^11", "hygen": "^6", - "js-yaml": "^4", "typescript": "^5" } } diff --git a/webapp/packages/core-cli/src/dependency-validator/IGNORED_DEPENDENCIES.ts b/webapp/packages/core-cli/src/dependency-validator/IGNORED_DEPENDENCIES.ts index beebdf32af3..71224903cf3 100644 --- a/webapp/packages/core-cli/src/dependency-validator/IGNORED_DEPENDENCIES.ts +++ b/webapp/packages/core-cli/src/dependency-validator/IGNORED_DEPENDENCIES.ts @@ -1,8 +1,8 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2024 DBeaver Corp and others + * Copyright (C) 2020-2025 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ -export const IGNORED_DEPENDENCIES = ['tslib']; +export const IGNORED_DEPENDENCIES = ['tslib', 'child_process', 'fs', 'path', 'readline']; diff --git a/webapp/packages/core-cli/src/dependency-validator/KNOWN_PEER_DEPS_MAP.ts b/webapp/packages/core-cli/src/dependency-validator/KNOWN_PEER_DEPS_MAP.ts index c42fe20a7a9..35d79e850cd 100644 --- a/webapp/packages/core-cli/src/dependency-validator/KNOWN_PEER_DEPS_MAP.ts +++ b/webapp/packages/core-cli/src/dependency-validator/KNOWN_PEER_DEPS_MAP.ts @@ -6,8 +6,9 @@ * you may not use this file except in compliance with the License. */ export const KNOWN_PEER_DEPS_MAP: Record = { + 'react-leaflet': ['leaflet'], 'mobx-react-lite': ['mobx', 'react-dom'], - '@testing-library/react': ['@testing-library/dom', 'react-dom'], + '@testing-library/react': ['@testing-library/jest-dom', 'react-dom'], '@typescript-eslint/eslint-plugin': ['typescript'], 'react-minisearch': ['minisearch'], }; diff --git a/webapp/packages/core-cli/src/dependency-validator/validateDependencies.ts b/webapp/packages/core-cli/src/dependency-validator/validateDependencies.ts index 5d2aa677dd0..5275f511aa1 100644 --- a/webapp/packages/core-cli/src/dependency-validator/validateDependencies.ts +++ b/webapp/packages/core-cli/src/dependency-validator/validateDependencies.ts @@ -40,6 +40,18 @@ export function validateDependencies(currentPackageRoot: string) { packageLogger.log('info', true, `Analyzing ${currentPackage['name']}`); + const isUseRimraf = Object.values(currentPackage.scripts || {}).some(script => script.includes('rimraf')); + + if (isUseRimraf) { + devDependencies.add('rimraf'); + } + + const isUseDbeaverCli = Object.values(currentPackage.scripts || {}).some(script => script.includes('dbeaver-test')); + + if (isUseDbeaverCli) { + devDependencies.add('@dbeaver/cli'); + } + const isUseCoreCli = Object.values(currentPackage.scripts || {}).some(script => script.includes('core-cli')); if (isUseCoreCli && currentPackage.name !== '@cloudbeaver/core-cli') { @@ -75,6 +87,9 @@ export function validateDependencies(currentPackageRoot: string) { if (isCSSModuleFileRegex) { devDependencies.add('typescript-plugin-css-modules'); } + if (isTestFile) { + devDependencies.add('@dbeaver/react-tests'); + } if (isTSXFileRegex) { if (isTestFile) { diff --git a/webapp/packages/core-client-activity/package.json b/webapp/packages/core-client-activity/package.json index 039979edf76..0f3ab7798d4 100644 --- a/webapp/packages/core-client-activity/package.json +++ b/webapp/packages/core-client-activity/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,7 +32,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-client-activity/src/index.ts b/webapp/packages/core-client-activity/src/index.ts index c09b5cde4c9..f0ebfe914ed 100644 --- a/webapp/packages/core-client-activity/src/index.ts +++ b/webapp/packages/core-client-activity/src/index.ts @@ -8,4 +8,3 @@ import './module.js'; export * from './ClientActivityService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-client-activity/src/manifest.ts b/webapp/packages/core-client-activity/src/manifest.ts deleted file mode 100644 index dff6170aa21..00000000000 --- a/webapp/packages/core-client-activity/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreClientActivityManifest: PluginManifest = { - info: { - name: 'Core Client Activity', - }, -}; diff --git a/webapp/packages/core-client-activity/src/module.ts b/webapp/packages/core-client-activity/src/module.ts index fd79a43c8ba..0205ddf5c72 100644 --- a/webapp/packages/core-client-activity/src/module.ts +++ b/webapp/packages/core-client-activity/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { ClientActivityService } from './ClientActivityService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-client-activity', configure: serviceCollection => { diff --git a/webapp/packages/core-connections/package.json b/webapp/packages/core-connections/package.json index 44a7150ebe1..61db1437dfa 100644 --- a/webapp/packages/core-connections/package.json +++ b/webapp/packages/core-connections/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -37,7 +38,7 @@ "@cloudbeaver/core-sdk": "workspace:*", "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "react": "^19", "tslib": "^2" @@ -46,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-connections/src/index.ts b/webapp/packages/core-connections/src/index.ts index 3fb8a5cf2a2..cf3a56fe406 100644 --- a/webapp/packages/core-connections/src/index.ts +++ b/webapp/packages/core-connections/src/index.ts @@ -64,5 +64,3 @@ export * from './useDBDriver.js'; export * from './USER_NAME_PROPERTY_ID.js'; export * from './parseConnectionKey.js'; export * from './DBDriverExpertSettingsResource.js'; - -export { manifest as coreConnectionsManifest } from './manifest.js'; diff --git a/webapp/packages/core-connections/src/manifest.ts b/webapp/packages/core-connections/src/manifest.ts deleted file mode 100644 index d8421e44eca..00000000000 --- a/webapp/packages/core-connections/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Core Connections', - }, -}; diff --git a/webapp/packages/core-connections/src/module.ts b/webapp/packages/core-connections/src/module.ts index 991dbcaf8a0..79c173a1b17 100644 --- a/webapp/packages/core-connections/src/module.ts +++ b/webapp/packages/core-connections/src/module.ts @@ -34,7 +34,7 @@ import { ConnectionExecutionContextResource } from './ConnectionExecutionContext import { ConnectionDialectResource } from './ConnectionDialectResource.js'; import { DBDriverExpertSettingsResource } from './DBDriverExpertSettingsResource.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-connections', configure: serviceCollection => { diff --git a/webapp/packages/core-data-context/package.json b/webapp/packages/core-data-context/package.json index c4f40199a29..e56b8f16c57 100644 --- a/webapp/packages/core-data-context/package.json +++ b/webapp/packages/core-data-context/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,6 +32,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-data-context/src/index.ts b/webapp/packages/core-data-context/src/index.ts index fcde8d2d521..c85f418caa0 100644 --- a/webapp/packages/core-data-context/src/index.ts +++ b/webapp/packages/core-data-context/src/index.ts @@ -15,4 +15,3 @@ export * from './DataContext/IDataContextProvider.js'; export * from './DataContext/useDataContext.js'; export * from './DataContext/DataContextGetter.js'; export * from './DataContext/useDataContextLink.js'; -export { coreDataContextManifest } from './manifest.js'; diff --git a/webapp/packages/core-data-context/src/manifest.ts b/webapp/packages/core-data-context/src/manifest.ts deleted file mode 100644 index 00763f3f40d..00000000000 --- a/webapp/packages/core-data-context/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreDataContextManifest: PluginManifest = { - info: { - name: 'Core Data Context', - }, -}; diff --git a/webapp/packages/core-di/package.json b/webapp/packages/core-di/package.json index f274596a03b..8ed015a0aea 100644 --- a/webapp/packages/core-di/package.json +++ b/webapp/packages/core-di/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -23,9 +24,8 @@ }, "dependencies": { "@cloudbeaver/core-executor": "workspace:*", - "@wroud/di": "^0", + "@wroud/di": "^0.18.3", "@wroud/di-react": "^0", - "mobx": "^6", "react": "^19", "tslib": "^2" }, @@ -33,8 +33,10 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", + "@wroud/di": "^0.18.3", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-di/src/App.ts b/webapp/packages/core-di/src/App.ts index 2e2e30656c7..0836277a093 100644 --- a/webapp/packages/core-di/src/App.ts +++ b/webapp/packages/core-di/src/App.ts @@ -11,8 +11,7 @@ import { Executor, type IExecutor } from '@cloudbeaver/core-executor'; import { Bootstrap } from './Bootstrap.js'; import { Dependency } from './Dependency.js'; import { IServiceProvider } from './IServiceProvider.js'; -import type { PluginManifest } from './PluginManifest.js'; -import { ModuleRegistry, ServiceContainerBuilder } from '@wroud/di'; +import { ModuleRegistry, ServiceContainerBuilder, type IModule } from '@wroud/di'; import { IPreloadService } from './IPreloadService.js'; export interface IStartData { @@ -22,13 +21,13 @@ export interface IStartData { export class App { readonly onStart: IExecutor; - private readonly plugins: PluginManifest[]; + private readonly modules: IModule[]; private builder: ServiceContainerBuilder | null; private serviceProvider: IServiceProvider | null; - constructor(plugins: PluginManifest[] = []) { - this.plugins = plugins; + constructor(plugins: IModule[] = []) { + this.modules = plugins; this.onStart = new Executor(undefined, () => true); this.serviceProvider = null; this.builder = null; @@ -58,8 +57,8 @@ export class App { this.builder = null; } - addPlugin(manifest: PluginManifest): void { - this.plugins.push(manifest); + addModule(module: IModule): void { + this.modules.push(module); } getServiceProvider(): IServiceProvider | null { @@ -71,9 +70,23 @@ export class App { if (!this.builder) { this.builder = new ServiceContainerBuilder(); this.builder.addSingleton(App, this); + let modulesToLoad = [...this.modules]; + const requiredModules = new Set(ModuleRegistry); - for (const module of ModuleRegistry) { + if (this.modules.length === 0) { + modulesToLoad = [...requiredModules]; + } + + for (const module of modulesToLoad) { await module.configure(this.builder); + requiredModules.delete(module); + } + + if (requiredModules.size > 0) { + console.warn( + 'Some required modules were not added to the application: ', + [...requiredModules].map(m => m.name).sort((a, b) => a.localeCompare(b)), + ); } await this.builder.validate(); diff --git a/webapp/packages/core-di/src/__tests__/app-init/app-init.test.ts b/webapp/packages/core-di/src/__tests__/app-init/app-init.test.ts index f0a7ab6e781..e84ccd34c14 100644 --- a/webapp/packages/core-di/src/__tests__/app-init/app-init.test.ts +++ b/webapp/packages/core-di/src/__tests__/app-init/app-init.test.ts @@ -8,12 +8,12 @@ import { expect, test } from 'vitest'; import { App } from '../../App.js'; -import { manifest } from './manifest.js'; import { TestBootstrap } from './TestBootstrap.js'; import { TestService } from './TestService.js'; +import testModule from './module.js'; test.skip('App Initialization', async () => { - const app = new App([manifest]); + const app = new App([testModule]); await (app as any).registerServices(); const serviceProvider = app.getServiceProvider()!; diff --git a/webapp/packages/core-di/src/__tests__/app-init/manifest.ts b/webapp/packages/core-di/src/__tests__/app-init/module.ts similarity index 77% rename from webapp/packages/core-di/src/__tests__/app-init/manifest.ts rename to webapp/packages/core-di/src/__tests__/app-init/module.ts index d966d67ee45..2eeb4984133 100644 --- a/webapp/packages/core-di/src/__tests__/app-init/manifest.ts +++ b/webapp/packages/core-di/src/__tests__/app-init/module.ts @@ -6,18 +6,11 @@ * you may not use this file except in compliance with the License. */ import { ModuleRegistry, proxy } from '@wroud/di'; -import type { PluginManifest } from '../../PluginManifest.js'; import { TestService } from './TestService.js'; import { TestBootstrap } from './TestBootstrap.js'; import { Bootstrap } from '../../Bootstrap.js'; -export const manifest: PluginManifest = { - info: { - name: 'Sample Manifest', - }, -}; - -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: 'test-manifest', configure(serviceCollection) { serviceCollection.addSingleton(TestService).addSingleton(Bootstrap, proxy(TestBootstrap)).addSingleton(TestBootstrap); diff --git a/webapp/packages/core-di/src/index.ts b/webapp/packages/core-di/src/index.ts index 8a6a78baf73..26aeb467ee0 100644 --- a/webapp/packages/core-di/src/index.ts +++ b/webapp/packages/core-di/src/index.ts @@ -16,9 +16,8 @@ export * from './Dependency.js'; export * from './dependencyInjectorContext.js'; export * from './DIService.js'; export * from './injectable.js'; -export * from './PluginManifest.js'; +export * from './useApp.js'; export * from './useService.js'; export * from './IServiceProvider.js'; export * from './AppLoadingScreen/HideAppLoadingScreenLazy.js'; export * from './AppLoadingScreen/displayUpdateStatus.js'; -export { manifest as coreDIManifest } from './manifest.js'; diff --git a/webapp/packages/core-di/src/injectable.ts b/webapp/packages/core-di/src/injectable.ts index e1ba95293e1..85ac290d93a 100644 --- a/webapp/packages/core-di/src/injectable.ts +++ b/webapp/packages/core-di/src/injectable.ts @@ -5,4 +5,4 @@ * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ -export { injectable, ModuleRegistry, optional, proxy } from '@wroud/di'; +export { injectable, ModuleRegistry, type IModule, optional, proxy } from '@wroud/di'; diff --git a/webapp/packages/core-di/src/manifest.ts b/webapp/packages/core-di/src/manifest.ts deleted file mode 100644 index 4d332dfac93..00000000000 --- a/webapp/packages/core-di/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from './PluginManifest.js'; - -export const manifest: PluginManifest = { - info: { - name: 'Core DI', - }, -}; diff --git a/webapp/packages/core-di/src/PluginManifest.ts b/webapp/packages/core-di/src/useApp.ts similarity index 61% rename from webapp/packages/core-di/src/PluginManifest.ts rename to webapp/packages/core-di/src/useApp.ts index 784149802b3..988482e8ebc 100644 --- a/webapp/packages/core-di/src/PluginManifest.ts +++ b/webapp/packages/core-di/src/useApp.ts @@ -6,9 +6,7 @@ * you may not use this file except in compliance with the License. */ -export interface PluginManifest { - info: { - name: string; - defaultSettings?: Record; - }; -} +import { createContext } from 'react'; +import type { App } from './App.js'; + +export const AppContext = createContext(null); diff --git a/webapp/packages/core-dialogs/package.json b/webapp/packages/core-dialogs/package.json index e1334ad4429..01757d27857 100644 --- a/webapp/packages/core-dialogs/package.json +++ b/webapp/packages/core-dialogs/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-dialogs/src/index.ts b/webapp/packages/core-dialogs/src/index.ts index 1cc1fee5afb..c030c3d234f 100644 --- a/webapp/packages/core-dialogs/src/index.ts +++ b/webapp/packages/core-dialogs/src/index.ts @@ -8,4 +8,3 @@ import './module.js'; export * from './CommonDialog/CommonDialogService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-dialogs/src/manifest.ts b/webapp/packages/core-dialogs/src/manifest.ts deleted file mode 100644 index b548a9c663b..00000000000 --- a/webapp/packages/core-dialogs/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreDialogsManifest: PluginManifest = { - info: { - name: 'Core Dialogs', - }, -}; diff --git a/webapp/packages/core-dialogs/src/module.ts b/webapp/packages/core-dialogs/src/module.ts index 160e40310f0..df87fb5c4a4 100644 --- a/webapp/packages/core-dialogs/src/module.ts +++ b/webapp/packages/core-dialogs/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { CommonDialogService } from './CommonDialog/CommonDialogService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-dialogs', configure: serviceCollection => { diff --git a/webapp/packages/core-events/package.json b/webapp/packages/core-events/package.json index e36c70ce25a..4f18058c7f1 100644 --- a/webapp/packages/core-events/package.json +++ b/webapp/packages/core-events/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,7 +36,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-events/src/index.ts b/webapp/packages/core-events/src/index.ts index f1297b0f0d4..29582c7e917 100644 --- a/webapp/packages/core-events/src/index.ts +++ b/webapp/packages/core-events/src/index.ts @@ -14,4 +14,3 @@ export * from './INotification.js'; export * from './UIError.js'; export * from './ExceptionsCatcherService.js'; export * from './EventsSettingsService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-events/src/manifest.ts b/webapp/packages/core-events/src/manifest.ts deleted file mode 100644 index 9c149bcad2a..00000000000 --- a/webapp/packages/core-events/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreEventsManifest: PluginManifest = { - info: { - name: 'Core Events', - }, -}; diff --git a/webapp/packages/core-events/src/module.ts b/webapp/packages/core-events/src/module.ts index 2b9719866d0..b755379c7c2 100644 --- a/webapp/packages/core-events/src/module.ts +++ b/webapp/packages/core-events/src/module.ts @@ -12,7 +12,7 @@ import { LocaleService } from './LocaleService.js'; import { ExceptionsCatcherService } from './ExceptionsCatcherService.js'; import { EventsSettingsService } from './EventsSettingsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-events', configure: serviceCollection => { diff --git a/webapp/packages/core-executor/package.json b/webapp/packages/core-executor/package.json index bd58da33fbb..6efcd902657 100644 --- a/webapp/packages/core-executor/package.json +++ b/webapp/packages/core-executor/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-extensions/package.json b/webapp/packages/core-extensions/package.json index 3cb8ac131ee..62a75695e81 100644 --- a/webapp/packages/core-extensions/package.json +++ b/webapp/packages/core-extensions/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -26,6 +27,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-links/package.json b/webapp/packages/core-links/package.json index 251630d0d91..626b778ff70 100644 --- a/webapp/packages/core-links/package.json +++ b/webapp/packages/core-links/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -22,13 +23,13 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-di": "workspace:*", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-links/src/index.ts b/webapp/packages/core-links/src/index.ts index a84737dd77b..a017d3219ec 100644 --- a/webapp/packages/core-links/src/index.ts +++ b/webapp/packages/core-links/src/index.ts @@ -8,4 +8,3 @@ export * from './WebsiteLinks.js'; export * from './GithubLinks.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-links/src/manifest.ts b/webapp/packages/core-links/src/manifest.ts deleted file mode 100644 index 3a4c09d147f..00000000000 --- a/webapp/packages/core-links/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreLinksManifest: PluginManifest = { - info: { - name: 'Core Links', - }, -}; diff --git a/webapp/packages/core-links/tsconfig.json b/webapp/packages/core-links/tsconfig.json index 2f98b7d8db3..e229701eed6 100644 --- a/webapp/packages/core-links/tsconfig.json +++ b/webapp/packages/core-links/tsconfig.json @@ -12,9 +12,6 @@ }, { "path": "../core-cli" - }, - { - "path": "../core-di" } ], "include": [ diff --git a/webapp/packages/core-localization/package.json b/webapp/packages/core-localization/package.json index 762eb7b5bc1..78476471ea7 100644 --- a/webapp/packages/core-localization/package.json +++ b/webapp/packages/core-localization/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,7 +32,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-localization/src/index.ts b/webapp/packages/core-localization/src/index.ts index 0d498664bee..85f647b10f7 100644 --- a/webapp/packages/core-localization/src/index.ts +++ b/webapp/packages/core-localization/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './LocalizationService.js'; export * from './Locale.js'; export * from './TLocalizationToken.js'; diff --git a/webapp/packages/core-localization/src/manifest.ts b/webapp/packages/core-localization/src/manifest.ts deleted file mode 100644 index ff6b7f08f0f..00000000000 --- a/webapp/packages/core-localization/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreLocalizationManifest: PluginManifest = { - info: { - name: 'Core Localization', - }, -}; diff --git a/webapp/packages/core-localization/src/module.ts b/webapp/packages/core-localization/src/module.ts index 7171775d743..2338e89a02e 100644 --- a/webapp/packages/core-localization/src/module.ts +++ b/webapp/packages/core-localization/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry, proxy } from '@cloudbeaver/core-di'; import { LocalizationService } from './LocalizationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-localization', configure: serviceCollection => { diff --git a/webapp/packages/core-navigation-tree/package.json b/webapp/packages/core-navigation-tree/package.json index bd3fc46fdcf..9846ed20239 100644 --- a/webapp/packages/core-navigation-tree/package.json +++ b/webapp/packages/core-navigation-tree/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,16 +36,16 @@ "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", - "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-navigation-tree/src/index.ts b/webapp/packages/core-navigation-tree/src/index.ts index 209dadb425a..97b7dfbbc1a 100644 --- a/webapp/packages/core-navigation-tree/src/index.ts +++ b/webapp/packages/core-navigation-tree/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './NAVIGATION_TREE_SETTINGS_GROUP.js'; export * from './NavTreeSettingsService.js'; diff --git a/webapp/packages/core-navigation-tree/src/manifest.ts b/webapp/packages/core-navigation-tree/src/manifest.ts deleted file mode 100644 index fa114111728..00000000000 --- a/webapp/packages/core-navigation-tree/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreNavigationTree: PluginManifest = { - info: { - name: 'Core Navigation Tree', - }, -}; diff --git a/webapp/packages/core-navigation-tree/src/module.ts b/webapp/packages/core-navigation-tree/src/module.ts index 33ac19a295d..c1c0ee963ab 100644 --- a/webapp/packages/core-navigation-tree/src/module.ts +++ b/webapp/packages/core-navigation-tree/src/module.ts @@ -15,7 +15,7 @@ import { DBObjectResource } from './NodesManager/DBObjectResource.js'; import { NavTreeSettingsService } from './NavTreeSettingsService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-navigation-tree', configure: serviceCollection => { diff --git a/webapp/packages/core-navigation-tree/tsconfig.json b/webapp/packages/core-navigation-tree/tsconfig.json index 4b15e4d4468..4f2e236ab64 100644 --- a/webapp/packages/core-navigation-tree/tsconfig.json +++ b/webapp/packages/core-navigation-tree/tsconfig.json @@ -57,9 +57,6 @@ }, { "path": "../core-utils" - }, - { - "path": "../tests-runner" } ], "include": [ diff --git a/webapp/packages/core-notifications/package.json b/webapp/packages/core-notifications/package.json index ebf4358e85b..37c9e02212c 100644 --- a/webapp/packages/core-notifications/package.json +++ b/webapp/packages/core-notifications/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,6 +36,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/core-product/package.json b/webapp/packages/core-product/package.json index 1ad973c36c7..7e3c051bea5 100644 --- a/webapp/packages/core-product/package.json +++ b/webapp/packages/core-product/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-product/src/index.ts b/webapp/packages/core-product/src/index.ts index 0a654bfbcfc..57f5864970c 100644 --- a/webapp/packages/core-product/src/index.ts +++ b/webapp/packages/core-product/src/index.ts @@ -8,4 +8,3 @@ import './module.js'; export * from './ProductSettingsService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-product/src/manifest.ts b/webapp/packages/core-product/src/manifest.ts deleted file mode 100644 index 03d96b5187f..00000000000 --- a/webapp/packages/core-product/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreProductManifest: PluginManifest = { - info: { - name: 'Core Product', - }, -}; diff --git a/webapp/packages/core-product/src/module.ts b/webapp/packages/core-product/src/module.ts index 452d4971fc7..284f1ae23df 100644 --- a/webapp/packages/core-product/src/module.ts +++ b/webapp/packages/core-product/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { ProductSettingsService } from './ProductSettingsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-product', configure: serviceCollection => { diff --git a/webapp/packages/core-projects/package.json b/webapp/packages/core-projects/package.json index a41b1e317d3..170901d8291 100644 --- a/webapp/packages/core-projects/package.json +++ b/webapp/packages/core-projects/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -37,6 +38,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-projects/src/index.ts b/webapp/packages/core-projects/src/index.ts index 4c4d7ac3011..ba440db7002 100644 --- a/webapp/packages/core-projects/src/index.ts +++ b/webapp/packages/core-projects/src/index.ts @@ -17,4 +17,3 @@ export * from './ProjectInfoResource.js'; export * from './ProjectsService.js'; export * from './NAV_NODE_TYPE_PROJECT.js'; export * from './NavTree/getProjectNodeId.js'; -export { manifest as coreProjectsManifest } from './manifest.js'; diff --git a/webapp/packages/core-projects/src/manifest.ts b/webapp/packages/core-projects/src/manifest.ts deleted file mode 100644 index e2d51eb5853..00000000000 --- a/webapp/packages/core-projects/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Core Projects', - }, -}; diff --git a/webapp/packages/core-projects/src/module.ts b/webapp/packages/core-projects/src/module.ts index ba4a04333e4..978a6ee5910 100644 --- a/webapp/packages/core-projects/src/module.ts +++ b/webapp/packages/core-projects/src/module.ts @@ -12,7 +12,7 @@ import { ProjectInfoResource } from './ProjectInfoResource.js'; import { ProjectInfoEventHandler } from './ProjectInfoEventHandler.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-projects', configure: serviceCollection => { diff --git a/webapp/packages/core-resource-manager/package.json b/webapp/packages/core-resource-manager/package.json index 05d72827bc8..eb4da4b3038 100644 --- a/webapp/packages/core-resource-manager/package.json +++ b/webapp/packages/core-resource-manager/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -37,6 +38,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-resource-manager/src/index.ts b/webapp/packages/core-resource-manager/src/index.ts index ad791b7c4b6..415d73f314f 100644 --- a/webapp/packages/core-resource-manager/src/index.ts +++ b/webapp/packages/core-resource-manager/src/index.ts @@ -20,4 +20,3 @@ export * from './NAV_NODE_TYPE_RM_RESOURCE.js'; export * from './RESOURCES_NODE_PATH.js'; export * from './isRMProjectNode.js'; export * from './isRMResourceNode.js'; -export { resourceManagerManifest } from './manifest.js'; diff --git a/webapp/packages/core-resource-manager/src/manifest.ts b/webapp/packages/core-resource-manager/src/manifest.ts deleted file mode 100644 index f75de3e0481..00000000000 --- a/webapp/packages/core-resource-manager/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const resourceManagerManifest: PluginManifest = { - info: { - name: 'Resource Manager Core', - }, -}; diff --git a/webapp/packages/core-resource-manager/src/module.ts b/webapp/packages/core-resource-manager/src/module.ts index a4c0c3e9003..8613faca862 100644 --- a/webapp/packages/core-resource-manager/src/module.ts +++ b/webapp/packages/core-resource-manager/src/module.ts @@ -14,7 +14,7 @@ import { ResourceManagerResource } from './ResourceManagerResource.js'; import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-resource-manager', configure: serviceCollection => { diff --git a/webapp/packages/core-resource/package.json b/webapp/packages/core-resource/package.json index 1fca4df2964..6387b451aa9 100644 --- a/webapp/packages/core-resource/package.json +++ b/webapp/packages/core-resource/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -22,7 +23,6 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-executor": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "mobx": "^6", @@ -32,8 +32,9 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "mobx": "^6", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-resource/src/index.ts b/webapp/packages/core-resource/src/index.ts index 5ffb0fa53fd..0804835ec36 100644 --- a/webapp/packages/core-resource/src/index.ts +++ b/webapp/packages/core-resource/src/index.ts @@ -33,4 +33,3 @@ export * from './Resource/ResourceKeyAlias.js'; export * from './Resource/ResourceKeyList.js'; export * from './Resource/ResourceKeyListAlias.js'; export * from './Resource/ResourceKeyUtils.js'; -export { coreResourceManifest } from './manifest.js'; diff --git a/webapp/packages/core-resource/src/manifest.ts b/webapp/packages/core-resource/src/manifest.ts deleted file mode 100644 index d5282f8543b..00000000000 --- a/webapp/packages/core-resource/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreResourceManifest: PluginManifest = { - info: { - name: 'Core Resource', - }, -}; diff --git a/webapp/packages/core-resource/tsconfig.json b/webapp/packages/core-resource/tsconfig.json index 8358241007a..8aa931dd6be 100644 --- a/webapp/packages/core-resource/tsconfig.json +++ b/webapp/packages/core-resource/tsconfig.json @@ -16,9 +16,6 @@ { "path": "../core-cli" }, - { - "path": "../core-di" - }, { "path": "../core-executor" }, diff --git a/webapp/packages/core-root/package.json b/webapp/packages/core-root/package.json index 292c29e2308..7f7014aef70 100644 --- a/webapp/packages/core-root/package.json +++ b/webapp/packages/core-root/package.json @@ -13,6 +13,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./lib/*" }, "scripts": { @@ -41,7 +42,9 @@ "@cloudbeaver/core-sdk": "workspace:*", "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "@dbeaver/react-tests": "workspace:*", "msw": "^2", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-root/src/index.ts b/webapp/packages/core-root/src/index.ts index a124a171827..7e8d9821bda 100644 --- a/webapp/packages/core-root/src/index.ts +++ b/webapp/packages/core-root/src/index.ts @@ -47,4 +47,3 @@ export * from './WindowEventsService.js'; export * from './ServerLicenseStatusResource.js'; export * from './AsyncTask/AsyncTask.js'; export * from './AsyncTask/AsyncTaskInfoService.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-root/src/manifest.ts b/webapp/packages/core-root/src/manifest.ts deleted file mode 100644 index 201884d152a..00000000000 --- a/webapp/packages/core-root/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreRootManifest: PluginManifest = { - info: { - name: 'Core Root', - }, -}; diff --git a/webapp/packages/core-root/src/module.ts b/webapp/packages/core-root/src/module.ts index 5adc65299e6..5fd27cb9f20 100644 --- a/webapp/packages/core-root/src/module.ts +++ b/webapp/packages/core-root/src/module.ts @@ -40,7 +40,7 @@ import { DataSynchronizationService } from './DataSynchronization/DataSynchroniz import { AsyncTaskInfoService } from './AsyncTask/AsyncTaskInfoService.js'; import { AsyncTaskInfoEventHandler } from './AsyncTask/AsyncTaskInfoEventHandler.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-root', configure: serviceCollection => { diff --git a/webapp/packages/core-root/tsconfig.json b/webapp/packages/core-root/tsconfig.json index 392f62ff477..e9d5179feda 100644 --- a/webapp/packages/core-root/tsconfig.json +++ b/webapp/packages/core-root/tsconfig.json @@ -11,6 +11,9 @@ "composite": true }, "references": [ + { + "path": "../../common-react/@dbeaver/react-tests" + }, { "path": "../core-cli" }, diff --git a/webapp/packages/core-routing/package.json b/webapp/packages/core-routing/package.json index 2639a2666b5..a1d6dc14166 100644 --- a/webapp/packages/core-routing/package.json +++ b/webapp/packages/core-routing/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,6 +33,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-routing/src/index.ts b/webapp/packages/core-routing/src/index.ts index f121e9f952c..c255b783f58 100644 --- a/webapp/packages/core-routing/src/index.ts +++ b/webapp/packages/core-routing/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './Screen/IScreen.js'; export * from './Screen/ScreenService.js'; export * from './RouterService.js'; diff --git a/webapp/packages/core-routing/src/manifest.ts b/webapp/packages/core-routing/src/manifest.ts deleted file mode 100644 index a9b09340a13..00000000000 --- a/webapp/packages/core-routing/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreRoutingManifest: PluginManifest = { - info: { - name: 'Core Routing', - }, -}; diff --git a/webapp/packages/core-routing/src/module.ts b/webapp/packages/core-routing/src/module.ts index 4d758d5b9ab..e3f1d8856db 100644 --- a/webapp/packages/core-routing/src/module.ts +++ b/webapp/packages/core-routing/src/module.ts @@ -11,7 +11,7 @@ import { WindowsService } from './WindowsService.js'; import { ScreenService } from './Screen/ScreenService.js'; import { RouterService } from './RouterService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-routing', configure: serviceCollection => { diff --git a/webapp/packages/core-sdk/package.json b/webapp/packages/core-sdk/package.json index 7162a10c256..576c361e92e 100644 --- a/webapp/packages/core-sdk/package.json +++ b/webapp/packages/core-sdk/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "clean": "rimraf node_modules", @@ -26,6 +27,7 @@ "dependencies": { "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", + "@graphql-typed-document-node/core": "^3", "axios": "^1", "graphql": "^16", "graphql-request": "^7", @@ -43,10 +45,10 @@ "@graphql-codegen/typescript-graphql-files-modules": "^3", "@graphql-codegen/typescript-graphql-request": "^6", "@graphql-codegen/typescript-operations": "^4", - "@graphql-typed-document-node/core": "^3", "@parcel/watcher": "^2", "graphql": "^16", "graphql-tag": "^2", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-sdk/src/index.ts b/webapp/packages/core-sdk/src/index.ts index c0eaf046224..a5deed93f55 100644 --- a/webapp/packages/core-sdk/src/index.ts +++ b/webapp/packages/core-sdk/src/index.ts @@ -24,5 +24,4 @@ export * from './SDKGraphQLErrorExtensions.js'; export * from './ServerInternalError.js'; export * from './ServiceError.js'; export * from './SessionError.js'; -export * from './manifest.js'; export * from './getObjectPropertyValue.js'; diff --git a/webapp/packages/core-sdk/src/manifest.ts b/webapp/packages/core-sdk/src/manifest.ts deleted file mode 100644 index 10ca2679382..00000000000 --- a/webapp/packages/core-sdk/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreSDKManifest: PluginManifest = { - info: { - name: 'Core SDK', - }, -}; diff --git a/webapp/packages/core-sdk/src/module.ts b/webapp/packages/core-sdk/src/module.ts index 7c61b0511ef..524dfc0723f 100644 --- a/webapp/packages/core-sdk/src/module.ts +++ b/webapp/packages/core-sdk/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { GraphQLService } from './GraphQLService.js'; import { EnvironmentService } from './EnvironmentService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-sdk', configure: serviceCollection => { diff --git a/webapp/packages/core-server-localization/package.json b/webapp/packages/core-server-localization/package.json index be00064066b..0542a588385 100644 --- a/webapp/packages/core-server-localization/package.json +++ b/webapp/packages/core-server-localization/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,6 +32,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-server-localization/src/index.ts b/webapp/packages/core-server-localization/src/index.ts index eaf15e0f2e6..c465e1ac538 100644 --- a/webapp/packages/core-server-localization/src/index.ts +++ b/webapp/packages/core-server-localization/src/index.ts @@ -7,4 +7,3 @@ */ import './module.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-server-localization/src/manifest.ts b/webapp/packages/core-server-localization/src/manifest.ts deleted file mode 100644 index 20786ba965f..00000000000 --- a/webapp/packages/core-server-localization/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreServerLocalization: PluginManifest = { - info: { - name: 'Core Server Localization', - }, -}; diff --git a/webapp/packages/core-server-localization/src/module.ts b/webapp/packages/core-server-localization/src/module.ts index 435e915c907..691e59d4696 100644 --- a/webapp/packages/core-server-localization/src/module.ts +++ b/webapp/packages/core-server-localization/src/module.ts @@ -9,7 +9,7 @@ import { Dependency, ModuleRegistry } from '@cloudbeaver/core-di'; import { ServerLocalizationService } from './ServerLocalizationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-server-localization', configure: serviceCollection => { diff --git a/webapp/packages/core-session-localization/package.json b/webapp/packages/core-session-localization/package.json index 819e770ed81..564a28f163a 100644 --- a/webapp/packages/core-session-localization/package.json +++ b/webapp/packages/core-session-localization/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,6 +33,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-session-localization/src/index.ts b/webapp/packages/core-session-localization/src/index.ts index eaf15e0f2e6..c465e1ac538 100644 --- a/webapp/packages/core-session-localization/src/index.ts +++ b/webapp/packages/core-session-localization/src/index.ts @@ -7,4 +7,3 @@ */ import './module.js'; -export * from './manifest.js'; diff --git a/webapp/packages/core-session-localization/src/manifest.ts b/webapp/packages/core-session-localization/src/manifest.ts deleted file mode 100644 index c4daf3caf1b..00000000000 --- a/webapp/packages/core-session-localization/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreSessionLocalization: PluginManifest = { - info: { - name: 'Core Session Localization', - }, -}; diff --git a/webapp/packages/core-session-localization/src/module.ts b/webapp/packages/core-session-localization/src/module.ts index f5263f95d0b..13f83267500 100644 --- a/webapp/packages/core-session-localization/src/module.ts +++ b/webapp/packages/core-session-localization/src/module.ts @@ -9,7 +9,7 @@ import { Dependency, ModuleRegistry } from '@cloudbeaver/core-di'; import { SessionLocalizationService } from './SessionLocalizationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-session-localization', configure: serviceCollection => { diff --git a/webapp/packages/core-settings-localization/package.json b/webapp/packages/core-settings-localization/package.json index 65de9ae0c1a..a269f456881 100644 --- a/webapp/packages/core-settings-localization/package.json +++ b/webapp/packages/core-settings-localization/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -33,7 +34,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-settings-localization/src/index.ts b/webapp/packages/core-settings-localization/src/index.ts index 52abfa60744..16ff24fd672 100644 --- a/webapp/packages/core-settings-localization/src/index.ts +++ b/webapp/packages/core-settings-localization/src/index.ts @@ -7,5 +7,4 @@ */ import './module.js'; -export * from './manifest.js'; export * from './SettingsLocalizationService.js'; diff --git a/webapp/packages/core-settings-localization/src/manifest.ts b/webapp/packages/core-settings-localization/src/manifest.ts deleted file mode 100644 index 0cbc2da545f..00000000000 --- a/webapp/packages/core-settings-localization/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreSettingsLocalizationManifest: PluginManifest = { - info: { - name: 'Core Settings Localization', - }, -}; diff --git a/webapp/packages/core-settings-localization/src/module.ts b/webapp/packages/core-settings-localization/src/module.ts index 09f57ac40b5..ce1eb139712 100644 --- a/webapp/packages/core-settings-localization/src/module.ts +++ b/webapp/packages/core-settings-localization/src/module.ts @@ -12,7 +12,7 @@ import { SettingsLocalizationBootstrap } from './SettingsLocalizationBootstrap.j import { LocalizationSettingsManagerService } from './LocalizationSettingsManagerService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-settings-localization', configure: serviceCollection => { diff --git a/webapp/packages/core-settings-user/package.json b/webapp/packages/core-settings-user/package.json index ca9e9b011f5..a4a3f7ec4fd 100644 --- a/webapp/packages/core-settings-user/package.json +++ b/webapp/packages/core-settings-user/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -36,6 +37,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-settings-user/src/index.ts b/webapp/packages/core-settings-user/src/index.ts index 444822fbfd1..869bfc3af38 100644 --- a/webapp/packages/core-settings-user/src/index.ts +++ b/webapp/packages/core-settings-user/src/index.ts @@ -7,6 +7,5 @@ */ import './module.js'; -export * from './manifest.js'; export * from './UserSettingsService.js'; diff --git a/webapp/packages/core-settings-user/src/manifest.ts b/webapp/packages/core-settings-user/src/manifest.ts deleted file mode 100644 index e657564c452..00000000000 --- a/webapp/packages/core-settings-user/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreSettingsUserManifest: PluginManifest = { - info: { - name: 'Core User Settings', - }, -}; diff --git a/webapp/packages/core-settings-user/src/module.ts b/webapp/packages/core-settings-user/src/module.ts index 8e26f21daae..eb635453efd 100644 --- a/webapp/packages/core-settings-user/src/module.ts +++ b/webapp/packages/core-settings-user/src/module.ts @@ -11,7 +11,7 @@ import { SettingsUserBootstrap } from './SettingsUserBootstrap.js'; import { UserSettingsService } from './UserSettingsService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-settings-user', configure: serviceCollection => { diff --git a/webapp/packages/core-settings/package.json b/webapp/packages/core-settings/package.json index 0aec6be91fc..23152eed2c1 100644 --- a/webapp/packages/core-settings/package.json +++ b/webapp/packages/core-settings/package.json @@ -13,6 +13,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./lib/*" }, "scripts": { @@ -27,17 +28,19 @@ "@cloudbeaver/core-executor": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/core-executor": "workspace:*", + "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/core-settings/src/index.ts b/webapp/packages/core-settings/src/index.ts index 321a1245336..b95ce21e7fe 100644 --- a/webapp/packages/core-settings/src/index.ts +++ b/webapp/packages/core-settings/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './createSettingsOverrideResolver.js'; export * from './createSettingsAliasResolver.js'; export * from './SettingsScopeType.js'; diff --git a/webapp/packages/core-settings/src/manifest.ts b/webapp/packages/core-settings/src/manifest.ts deleted file mode 100644 index 143929746ed..00000000000 --- a/webapp/packages/core-settings/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreSettingsManifest: PluginManifest = { - info: { - name: 'Core Settings', - }, -}; diff --git a/webapp/packages/core-settings/src/module.ts b/webapp/packages/core-settings/src/module.ts index 0c36b84ccd2..7a94ed55518 100644 --- a/webapp/packages/core-settings/src/module.ts +++ b/webapp/packages/core-settings/src/module.ts @@ -13,7 +13,7 @@ import { SettingsProviderService } from './SettingsProviderService.js'; import { SettingsManagerService } from './SettingsManager/SettingsManagerService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-settings', configure: serviceCollection => { diff --git a/webapp/packages/core-storage/package.json b/webapp/packages/core-storage/package.json index 64e38e5aa2b..df668925a2f 100644 --- a/webapp/packages/core-storage/package.json +++ b/webapp/packages/core-storage/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-storage/src/index.ts b/webapp/packages/core-storage/src/index.ts index 8b73eaf0adf..76feb694d10 100644 --- a/webapp/packages/core-storage/src/index.ts +++ b/webapp/packages/core-storage/src/index.ts @@ -7,5 +7,4 @@ */ import './module.js'; -export * from './manifest.js'; export * from './StorageService.js'; diff --git a/webapp/packages/core-storage/src/manifest.ts b/webapp/packages/core-storage/src/manifest.ts deleted file mode 100644 index c5afd506acd..00000000000 --- a/webapp/packages/core-storage/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreStorageManifest: PluginManifest = { - info: { - name: 'Core Storage', - }, -}; diff --git a/webapp/packages/core-storage/src/module.ts b/webapp/packages/core-storage/src/module.ts index fd561e1e2b0..d526505fbc3 100644 --- a/webapp/packages/core-storage/src/module.ts +++ b/webapp/packages/core-storage/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { StorageService } from './StorageService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-storage', configure: serviceCollection => { diff --git a/webapp/packages/core-task-manager/package.json b/webapp/packages/core-task-manager/package.json index feb475dd6f8..b75304df705 100644 --- a/webapp/packages/core-task-manager/package.json +++ b/webapp/packages/core-task-manager/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -30,6 +31,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-task-manager/src/index.ts b/webapp/packages/core-task-manager/src/index.ts index 715b25ad0db..7a4f0cf90ab 100644 --- a/webapp/packages/core-task-manager/src/index.ts +++ b/webapp/packages/core-task-manager/src/index.ts @@ -7,10 +7,6 @@ */ import './module.js'; -import { coreTaskManagerManifest } from './manifest.js'; export * from './ITaskDescriptor.js'; export * from './TaskManagerService.js'; - -export { coreTaskManagerManifest }; -export default coreTaskManagerManifest; diff --git a/webapp/packages/core-task-manager/src/manifest.ts b/webapp/packages/core-task-manager/src/manifest.ts deleted file mode 100644 index a73e08d6a6c..00000000000 --- a/webapp/packages/core-task-manager/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreTaskManagerManifest: PluginManifest = { - info: { - name: 'Core Task Manager', - }, -}; diff --git a/webapp/packages/core-task-manager/src/module.ts b/webapp/packages/core-task-manager/src/module.ts index c8a1333d66e..4f63b9fbcb2 100644 --- a/webapp/packages/core-task-manager/src/module.ts +++ b/webapp/packages/core-task-manager/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry } from '@cloudbeaver/core-di'; import { TaskManagerService } from './TaskManagerService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-task-manager', configure: serviceCollection => { diff --git a/webapp/packages/core-theming/package.json b/webapp/packages/core-theming/package.json index 78bb98a7026..0a0c508d514 100644 --- a/webapp/packages/core-theming/package.json +++ b/webapp/packages/core-theming/package.json @@ -13,6 +13,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./*" }, "scripts": { @@ -37,7 +38,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@fontsource/roboto": "^5", "@material/button": "^4", "@material/checkbox": "^4", @@ -48,6 +49,7 @@ "@material/switch": "^4", "@material/theme": "^4", "@material/typography": "^4", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/core-theming/src/index.ts b/webapp/packages/core-theming/src/index.ts index 7ba32f0a44f..7634ee0b515 100644 --- a/webapp/packages/core-theming/src/index.ts +++ b/webapp/packages/core-theming/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './ComponentStyle.js'; export * from './ThemeService.js'; export * from './themeUtils.js'; diff --git a/webapp/packages/core-theming/src/manifest.ts b/webapp/packages/core-theming/src/manifest.ts deleted file mode 100644 index af2f770c6eb..00000000000 --- a/webapp/packages/core-theming/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const coreThemingManifest: PluginManifest = { - info: { - name: 'Core Theming', - }, -}; diff --git a/webapp/packages/core-theming/src/module.ts b/webapp/packages/core-theming/src/module.ts index e9bdbaaf16c..e91e8de3839 100644 --- a/webapp/packages/core-theming/src/module.ts +++ b/webapp/packages/core-theming/src/module.ts @@ -13,7 +13,7 @@ import { ThemeService } from './ThemeService.js'; import { LocaleService } from './LocaleService.js'; import { SystemThemeService } from './SystemThemeService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-theming', configure: serviceCollection => { diff --git a/webapp/packages/core-ui/package.json b/webapp/packages/core-ui/package.json index 802e3252baf..c55847a5e22 100644 --- a/webapp/packages/core-ui/package.json +++ b/webapp/packages/core-ui/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,7 +32,7 @@ "@cloudbeaver/core-routing": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/core-view": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -45,6 +46,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/core-ui/src/index.ts b/webapp/packages/core-ui/src/index.ts index ebf864b20eb..4cd3e12f1fe 100644 --- a/webapp/packages/core-ui/src/index.ts +++ b/webapp/packages/core-ui/src/index.ts @@ -92,5 +92,3 @@ export * from './SideBarPanel/SideBarPanelLoader.js'; export * from './SideBarPanel/SideBarPanelService.js'; export * from './Screens/AppScreen/BaseOptionsPanelService.js'; - -export { manifest as coreUIManifest } from './manifest.js'; diff --git a/webapp/packages/core-ui/src/manifest.ts b/webapp/packages/core-ui/src/manifest.ts deleted file mode 100644 index a6445ae9b0c..00000000000 --- a/webapp/packages/core-ui/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Core UI', - }, -}; diff --git a/webapp/packages/core-ui/src/module.ts b/webapp/packages/core-ui/src/module.ts index f2637802157..b100870282f 100644 --- a/webapp/packages/core-ui/src/module.ts +++ b/webapp/packages/core-ui/src/module.ts @@ -16,7 +16,7 @@ import { LocaleService } from './LocaleService.js'; import { ClipboardBootstrap } from './Clipboard/ClipboardBootstrap.js'; import { ClipboardService } from './Clipboard/ClipboardService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-ui', configure: serviceCollection => { diff --git a/webapp/packages/core-utils/package.json b/webapp/packages/core-utils/package.json index a43ad7cc961..b02a6775449 100644 --- a/webapp/packages/core-utils/package.json +++ b/webapp/packages/core-utils/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "tslib": "^2", "underscore": "^1", "uuid": "^13", + "vitest": "^3", "whatwg-mimetype": "^4", "zod": "^4", "zod-validation-error": "^4" @@ -38,11 +40,12 @@ "@cloudbeaver/tests-runner": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/md5": "^2", "@types/underscore": "^1", "@types/uuid": "^10", "@types/whatwg-mimetype": "^3", + "rimraf": "^6", "typescript": "^5", "vitest": "^3", "zod": "^4" diff --git a/webapp/packages/core-version-update/package.json b/webapp/packages/core-version-update/package.json index e8a2975fa9b..857b77fbe81 100644 --- a/webapp/packages/core-version-update/package.json +++ b/webapp/packages/core-version-update/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -33,6 +34,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-version-update/src/index.ts b/webapp/packages/core-version-update/src/index.ts index ac0f876ae70..6e0ccabd301 100644 --- a/webapp/packages/core-version-update/src/index.ts +++ b/webapp/packages/core-version-update/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export { manifest as coreVersionUpdateManifest } from './manifest.js'; export * from './VersionUpdateService.js'; export * from './BaseUpdateInstruction.js'; diff --git a/webapp/packages/core-version-update/src/manifest.ts b/webapp/packages/core-version-update/src/manifest.ts deleted file mode 100644 index d1a7fb79bb1..00000000000 --- a/webapp/packages/core-version-update/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Version update', - }, -}; diff --git a/webapp/packages/core-version-update/src/module.ts b/webapp/packages/core-version-update/src/module.ts index 2a607991103..43185cb97d7 100644 --- a/webapp/packages/core-version-update/src/module.ts +++ b/webapp/packages/core-version-update/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { VersionUpdateLocaleService } from './LocaleService.js'; import { VersionUpdateService } from './VersionUpdateService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-version-update', configure: serviceCollection => { diff --git a/webapp/packages/core-version/package.json b/webapp/packages/core-version/package.json index 03c592948b1..3a676e984cd 100644 --- a/webapp/packages/core-version/package.json +++ b/webapp/packages/core-version/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -36,6 +37,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", "@types/semver": "^7", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/core-version/src/index.ts b/webapp/packages/core-version/src/index.ts index 672732b906c..26505efc07c 100644 --- a/webapp/packages/core-version/src/index.ts +++ b/webapp/packages/core-version/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export { manifest as coreVersionManifest } from './manifest.js'; export * from './VersionResource.js'; export * from './VersionService.js'; diff --git a/webapp/packages/core-version/src/manifest.ts b/webapp/packages/core-version/src/manifest.ts deleted file mode 100644 index e42895b56c2..00000000000 --- a/webapp/packages/core-version/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'App version', - }, -}; diff --git a/webapp/packages/core-version/src/module.ts b/webapp/packages/core-version/src/module.ts index c8ddceed71d..a457b0f071e 100644 --- a/webapp/packages/core-version/src/module.ts +++ b/webapp/packages/core-version/src/module.ts @@ -11,7 +11,7 @@ import { VersionService } from './VersionService.js'; import { VersionResource } from './VersionResource.js'; import { VersionLocaleService } from './VersionLocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-version', configure: serviceCollection => { diff --git a/webapp/packages/core-view/package.json b/webapp/packages/core-view/package.json index 3b06b423a94..d6654037540 100644 --- a/webapp/packages/core-view/package.json +++ b/webapp/packages/core-view/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,7 +28,7 @@ "@cloudbeaver/core-extensions": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -38,6 +39,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/core-view/src/index.ts b/webapp/packages/core-view/src/index.ts index afc39bd2e15..5f838637127 100644 --- a/webapp/packages/core-view/src/index.ts +++ b/webapp/packages/core-view/src/index.ts @@ -87,4 +87,3 @@ export * from './View/useActiveView.js'; export * from './View/useCaptureViewContext.js'; export * from './View/View.js'; export * from './View/ViewService.js'; -export { manifest as coreViewManifest } from './manifest.js'; diff --git a/webapp/packages/core-view/src/manifest.ts b/webapp/packages/core-view/src/manifest.ts deleted file mode 100644 index 90b68ad42f6..00000000000 --- a/webapp/packages/core-view/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Core View', - }, -}; diff --git a/webapp/packages/core-view/src/module.ts b/webapp/packages/core-view/src/module.ts index 89bc3be9f70..1695c43e39b 100644 --- a/webapp/packages/core-view/src/module.ts +++ b/webapp/packages/core-view/src/module.ts @@ -13,7 +13,7 @@ import { LocaleService } from './LocaleService.js'; import { KeyBindingService } from './Action/KeyBinding/KeyBindingService.js'; import { ActionService } from './Action/ActionService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/core-view', configure: serviceCollection => { diff --git a/webapp/packages/plugin-administration/package.json b/webapp/packages/plugin-administration/package.json index 5e69b6e39e8..681dcc8a9ee 100644 --- a/webapp/packages/plugin-administration/package.json +++ b/webapp/packages/plugin-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,13 +36,12 @@ "@cloudbeaver/core-resource": "workspace:*", "@cloudbeaver/core-root": "workspace:*", "@cloudbeaver/core-routing": "workspace:*", - "@cloudbeaver/core-sdk": "workspace:*", "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/core-view": "workspace:*", "@cloudbeaver/plugin-settings-menu": "workspace:*", "@cloudbeaver/plugin-top-app-bar": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -52,6 +52,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-administration/src/index.ts b/webapp/packages/plugin-administration/src/index.ts index 2a05c489f29..da4475e51d4 100644 --- a/webapp/packages/plugin-administration/src/index.ts +++ b/webapp/packages/plugin-administration/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { manifest } from './manifest.js'; - -export default manifest; export * from './AdministrationScreen/AdministrationTopAppBar/AdministrationTopAppBarService.js'; export * from './AdministrationScreen/ConfigurationWizard/WizardTopAppBar/WizardTopAppBarService.js'; diff --git a/webapp/packages/plugin-administration/src/manifest.ts b/webapp/packages/plugin-administration/src/manifest.ts deleted file mode 100644 index 105daaf2ca4..00000000000 --- a/webapp/packages/plugin-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Authentication', - }, -}; diff --git a/webapp/packages/plugin-administration/src/module.ts b/webapp/packages/plugin-administration/src/module.ts index acd690bce55..8bb21d11d76 100644 --- a/webapp/packages/plugin-administration/src/module.ts +++ b/webapp/packages/plugin-administration/src/module.ts @@ -19,7 +19,7 @@ import { WizardTopAppBarService } from './AdministrationScreen/ConfigurationWiza import { AdministrationScreenServiceBootstrap } from './AdministrationScreen/AdministrationScreenServiceBootstrap.js'; import { AdministrationViewService } from './Administration/AdministrationViewService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-administration/tsconfig.json b/webapp/packages/plugin-administration/tsconfig.json index 75397c12926..a69c36ce8f0 100644 --- a/webapp/packages/plugin-administration/tsconfig.json +++ b/webapp/packages/plugin-administration/tsconfig.json @@ -55,9 +55,6 @@ { "path": "../core-routing" }, - { - "path": "../core-sdk" - }, { "path": "../core-ui" }, diff --git a/webapp/packages/plugin-app-logo-administration/package.json b/webapp/packages/plugin-app-logo-administration/package.json index e8ff4964b64..53e65098464 100644 --- a/webapp/packages/plugin-app-logo-administration/package.json +++ b/webapp/packages/plugin-app-logo-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-app-logo-administration/src/index.ts b/webapp/packages/plugin-app-logo-administration/src/index.ts index e1983eabfc3..c465e1ac538 100644 --- a/webapp/packages/plugin-app-logo-administration/src/index.ts +++ b/webapp/packages/plugin-app-logo-administration/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { appLogoAdministrationPlugin } from './manifest.js'; - -export { appLogoAdministrationPlugin }; -export default appLogoAdministrationPlugin; diff --git a/webapp/packages/plugin-app-logo-administration/src/manifest.ts b/webapp/packages/plugin-app-logo-administration/src/manifest.ts deleted file mode 100644 index 99790b16cb7..00000000000 --- a/webapp/packages/plugin-app-logo-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const appLogoAdministrationPlugin: PluginManifest = { - info: { - name: 'App Logo Administration plugin', - }, -}; diff --git a/webapp/packages/plugin-app-logo-administration/src/module.ts b/webapp/packages/plugin-app-logo-administration/src/module.ts index ac073574eb9..b719e1bf851 100644 --- a/webapp/packages/plugin-app-logo-administration/src/module.ts +++ b/webapp/packages/plugin-app-logo-administration/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { AppLogoAdministrationPluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-app-logo-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-app-logo/package.json b/webapp/packages/plugin-app-logo/package.json index 4127cbe1032..ff53b69fe6f 100644 --- a/webapp/packages/plugin-app-logo/package.json +++ b/webapp/packages/plugin-app-logo/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -38,6 +39,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-app-logo/src/LogoLazy.tsx b/webapp/packages/plugin-app-logo/src/LogoLazy.ts similarity index 100% rename from webapp/packages/plugin-app-logo/src/LogoLazy.tsx rename to webapp/packages/plugin-app-logo/src/LogoLazy.ts diff --git a/webapp/packages/plugin-app-logo/src/index.ts b/webapp/packages/plugin-app-logo/src/index.ts index 925e6325459..f7b60f2ff2a 100644 --- a/webapp/packages/plugin-app-logo/src/index.ts +++ b/webapp/packages/plugin-app-logo/src/index.ts @@ -7,9 +7,5 @@ */ import './module.js'; -import { appLogoPlugin } from './manifest.js'; export * from './LogoLazy.js'; - -export { appLogoPlugin }; -export default appLogoPlugin; diff --git a/webapp/packages/plugin-app-logo/src/manifest.ts b/webapp/packages/plugin-app-logo/src/manifest.ts deleted file mode 100644 index 9e2cf7bc4fc..00000000000 --- a/webapp/packages/plugin-app-logo/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const appLogoPlugin: PluginManifest = { - info: { - name: 'App Logo plugin', - }, -}; diff --git a/webapp/packages/plugin-app-logo/src/module.ts b/webapp/packages/plugin-app-logo/src/module.ts index 43be9c5c98a..6be65b7cfbe 100644 --- a/webapp/packages/plugin-app-logo/src/module.ts +++ b/webapp/packages/plugin-app-logo/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { AppLogoPluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-app-logo', configure: serviceCollection => { diff --git a/webapp/packages/plugin-authentication-administration/package.json b/webapp/packages/plugin-authentication-administration/package.json index f936b845177..90bcffe93ad 100644 --- a/webapp/packages/plugin-authentication-administration/package.json +++ b/webapp/packages/plugin-authentication-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -40,8 +41,8 @@ "@cloudbeaver/core-view": "workspace:*", "@cloudbeaver/plugin-administration": "workspace:*", "@cloudbeaver/plugin-authentication": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", - "@dbeaver/ui-kit": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", + "@dbeaver/ui-kit": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -53,6 +54,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-authentication-administration/src/index.ts b/webapp/packages/plugin-authentication-administration/src/index.ts index dbeb32c0cfc..4441479b122 100644 --- a/webapp/packages/plugin-authentication-administration/src/index.ts +++ b/webapp/packages/plugin-authentication-administration/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { manifest } from './manifest.js'; - -export default manifest; export * from './Administration/Users/UsersAdministrationNavigationService.js'; export * from './Administration/Users/UsersTable/CreateUserService.js'; diff --git a/webapp/packages/plugin-authentication-administration/src/manifest.ts b/webapp/packages/plugin-authentication-administration/src/manifest.ts deleted file mode 100644 index 1f53c4fab11..00000000000 --- a/webapp/packages/plugin-authentication-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Authentication Administration', - }, -}; diff --git a/webapp/packages/plugin-authentication-administration/src/module.ts b/webapp/packages/plugin-authentication-administration/src/module.ts index 74567e03af2..01d3e93a8e9 100644 --- a/webapp/packages/plugin-authentication-administration/src/module.ts +++ b/webapp/packages/plugin-authentication-administration/src/module.ts @@ -30,7 +30,7 @@ import { GrantedConnectionsTabService } from './Administration/Users/Teams/Teams import { TeamsAdministrationNavService } from './Administration/Users/Teams/TeamsAdministrationNavService.js'; import { TeamsAdministrationService } from './Administration/Users/Teams/TeamsAdministrationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-authentication-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-authentication/package.json b/webapp/packages/plugin-authentication/package.json index f89f7e02b7a..968ded6b5e6 100644 --- a/webapp/packages/plugin-authentication/package.json +++ b/webapp/packages/plugin-authentication/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -47,6 +48,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-authentication/src/index.ts b/webapp/packages/plugin-authentication/src/index.ts index 99c2ce3e2a1..d0a8dd40e85 100644 --- a/webapp/packages/plugin-authentication/src/index.ts +++ b/webapp/packages/plugin-authentication/src/index.ts @@ -7,8 +7,6 @@ */ import './module.js'; -import { manifest } from './manifest.js'; export * from './AuthenticationService.js'; export * from './Dialog/AuthDialogService.js'; -export default manifest; diff --git a/webapp/packages/plugin-authentication/src/manifest.ts b/webapp/packages/plugin-authentication/src/manifest.ts deleted file mode 100644 index 4bb813e8de6..00000000000 --- a/webapp/packages/plugin-authentication/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Plugin Authentication', - }, -}; diff --git a/webapp/packages/plugin-authentication/src/module.ts b/webapp/packages/plugin-authentication/src/module.ts index cc6a76b730f..fa0c402b406 100644 --- a/webapp/packages/plugin-authentication/src/module.ts +++ b/webapp/packages/plugin-authentication/src/module.ts @@ -13,7 +13,7 @@ import { AuthDialogService } from './Dialog/AuthDialogService.js'; import { AuthenticationService } from './AuthenticationService.js'; import { AuthenticationLocaleService } from './AuthenticationLocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-authentication', configure: serviceCollection => { diff --git a/webapp/packages/plugin-browser/package.json b/webapp/packages/plugin-browser/package.json index 2c7a889ad30..ab09e8d7ebf 100644 --- a/webapp/packages/plugin-browser/package.json +++ b/webapp/packages/plugin-browser/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-browser/src/index.ts b/webapp/packages/plugin-browser/src/index.ts index 2e868acf8fc..c465e1ac538 100644 --- a/webapp/packages/plugin-browser/src/index.ts +++ b/webapp/packages/plugin-browser/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { browserPlugin } from './manifest.js'; - -export default browserPlugin; -export { browserPlugin }; diff --git a/webapp/packages/plugin-browser/src/manifest.ts b/webapp/packages/plugin-browser/src/manifest.ts deleted file mode 100644 index 6adb5f23b96..00000000000 --- a/webapp/packages/plugin-browser/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const browserPlugin: PluginManifest = { - info: { name: 'Browser plugin' }, -}; diff --git a/webapp/packages/plugin-browser/src/module.ts b/webapp/packages/plugin-browser/src/module.ts index fea5b4bf045..970f0e74f72 100644 --- a/webapp/packages/plugin-browser/src/module.ts +++ b/webapp/packages/plugin-browser/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, IPreloadService, ModuleRegistry } from '@cloudbeaver/core-di import { PluginBrowserPreloadingBootstrap } from './PluginBrowserPreloadingBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-browser', configure: serviceCollection => { diff --git a/webapp/packages/plugin-codemirror6/package.json b/webapp/packages/plugin-codemirror6/package.json index c9ea1223b37..3c429143eb0 100644 --- a/webapp/packages/plugin-codemirror6/package.json +++ b/webapp/packages/plugin-codemirror6/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -38,7 +39,7 @@ "@codemirror/search": "^6", "@codemirror/state": "^6", "@codemirror/view": "^6", - "@dbeaver/ui-kit": "workspace:^", + "@dbeaver/ui-kit": "workspace:*", "@lezer/common": "^1", "@lezer/highlight": "^1", "mobx": "^6", @@ -52,6 +53,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", "@types/react-dom": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-codemirror6/src/index.ts b/webapp/packages/plugin-codemirror6/src/index.ts index 64f5e2ce8a6..65cb9aa6ab9 100644 --- a/webapp/packages/plugin-codemirror6/src/index.ts +++ b/webapp/packages/plugin-codemirror6/src/index.ts @@ -39,4 +39,3 @@ export const MSSQLLoader = createComplexLoader(async () => (await import('@codem export const SQLiteLoader = createComplexLoader(async () => (await import('@codemirror/lang-sql')).SQLite); export const CassandraLoader = createComplexLoader(async () => (await import('@codemirror/lang-sql')).Cassandra); export const PLSQLLoader = createComplexLoader(async () => (await import('@codemirror/lang-sql')).PLSQL); -export { manifest as codemirror6Manifest } from './manifest.js'; diff --git a/webapp/packages/plugin-codemirror6/src/manifest.ts b/webapp/packages/plugin-codemirror6/src/manifest.ts deleted file mode 100644 index d208e0fb404..00000000000 --- a/webapp/packages/plugin-codemirror6/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Codemirror 6 Plugin', - }, -}; diff --git a/webapp/packages/plugin-codemirror6/src/module.ts b/webapp/packages/plugin-codemirror6/src/module.ts index 1a0909f5856..c19d8aa535e 100644 --- a/webapp/packages/plugin-codemirror6/src/module.ts +++ b/webapp/packages/plugin-codemirror6/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-codemirror6', configure: serviceCollection => { diff --git a/webapp/packages/plugin-connection-custom/package.json b/webapp/packages/plugin-connection-custom/package.json index 047162c6f90..f21a402ddb3 100644 --- a/webapp/packages/plugin-connection-custom/package.json +++ b/webapp/packages/plugin-connection-custom/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -48,6 +49,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-connection-custom/src/index.ts b/webapp/packages/plugin-connection-custom/src/index.ts index fd512899243..6488de8843e 100644 --- a/webapp/packages/plugin-connection-custom/src/index.ts +++ b/webapp/packages/plugin-connection-custom/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { customConnectionPluginManifest } from './manifest.js'; - -export default customConnectionPluginManifest; export * from './CustomConnectionSettingsService.js'; diff --git a/webapp/packages/plugin-connection-custom/src/manifest.ts b/webapp/packages/plugin-connection-custom/src/manifest.ts deleted file mode 100644 index b8917ac2e06..00000000000 --- a/webapp/packages/plugin-connection-custom/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const customConnectionPluginManifest: PluginManifest = { - info: { - name: 'Custom connection plugin', - }, -}; diff --git a/webapp/packages/plugin-connection-custom/src/module.ts b/webapp/packages/plugin-connection-custom/src/module.ts index 57d2976bc36..76a0fabffd9 100644 --- a/webapp/packages/plugin-connection-custom/src/module.ts +++ b/webapp/packages/plugin-connection-custom/src/module.ts @@ -11,7 +11,7 @@ import { LocaleService } from './LocaleService.js'; import { CustomConnectionSettingsService } from './CustomConnectionSettingsService.js'; import { CustomConnectionPluginBootstrap } from './CustomConnectionPluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-connection-custom', configure: serviceCollection => { diff --git a/webapp/packages/plugin-connection-search/package.json b/webapp/packages/plugin-connection-search/package.json index 4ac41f4e3d5..ad546e791fd 100644 --- a/webapp/packages/plugin-connection-search/package.json +++ b/webapp/packages/plugin-connection-search/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -47,6 +48,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-connection-search/src/index.ts b/webapp/packages/plugin-connection-search/src/index.ts index ce581e33a20..9f97f4f34b0 100644 --- a/webapp/packages/plugin-connection-search/src/index.ts +++ b/webapp/packages/plugin-connection-search/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { connectionSearchPlugin } from './manifest.js'; - -export default connectionSearchPlugin; export * from './ConnectionSearchSettingsService.js'; diff --git a/webapp/packages/plugin-connection-search/src/manifest.ts b/webapp/packages/plugin-connection-search/src/manifest.ts deleted file mode 100644 index 767724ac559..00000000000 --- a/webapp/packages/plugin-connection-search/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const connectionSearchPlugin: PluginManifest = { - info: { - name: 'Search connection plugin', - }, -}; diff --git a/webapp/packages/plugin-connection-search/src/module.ts b/webapp/packages/plugin-connection-search/src/module.ts index 6b3d3dfcfd5..86e4719fa43 100644 --- a/webapp/packages/plugin-connection-search/src/module.ts +++ b/webapp/packages/plugin-connection-search/src/module.ts @@ -12,7 +12,7 @@ import { SearchConnectionPluginBootstrap } from './SearchConnectionPluginBootstr import { LocaleService } from './LocaleService.js'; import { ConnectionSearchSettingsService } from './ConnectionSearchSettingsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-connection-search', configure: serviceCollection => { diff --git a/webapp/packages/plugin-connections-administration/package.json b/webapp/packages/plugin-connections-administration/package.json index df0878b57b6..d488f8dc2f3 100644 --- a/webapp/packages/plugin-connections-administration/package.json +++ b/webapp/packages/plugin-connections-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -36,7 +37,6 @@ "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/plugin-connections": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -47,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-connections-administration/src/index.ts b/webapp/packages/plugin-connections-administration/src/index.ts index 4cb153a0b1f..c465e1ac538 100644 --- a/webapp/packages/plugin-connections-administration/src/index.ts +++ b/webapp/packages/plugin-connections-administration/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { connectionPlugin } from './manifest.js'; - -export default connectionPlugin; diff --git a/webapp/packages/plugin-connections-administration/src/manifest.ts b/webapp/packages/plugin-connections-administration/src/manifest.ts deleted file mode 100644 index 29b491cd2a6..00000000000 --- a/webapp/packages/plugin-connections-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const connectionPlugin: PluginManifest = { - info: { - name: 'Connections Administration plugin', - }, -}; diff --git a/webapp/packages/plugin-connections-administration/src/module.ts b/webapp/packages/plugin-connections-administration/src/module.ts index ed26bb38511..5f73e5f672f 100644 --- a/webapp/packages/plugin-connections-administration/src/module.ts +++ b/webapp/packages/plugin-connections-administration/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { ConnectionFormAccessTabBootstrap } from './ConnectionFormAccess/ConnectionFormAccessTabBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-connections-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-connections-administration/tsconfig.json b/webapp/packages/plugin-connections-administration/tsconfig.json index 8bb1051b53d..751d41e634e 100644 --- a/webapp/packages/plugin-connections-administration/tsconfig.json +++ b/webapp/packages/plugin-connections-administration/tsconfig.json @@ -7,9 +7,6 @@ "composite": true }, "references": [ - { - "path": "../../common-typescript/@dbeaver/js-helpers" - }, { "path": "../core-administration" }, diff --git a/webapp/packages/plugin-connections/package.json b/webapp/packages/plugin-connections/package.json index 6b684cc1a71..c868732bfc1 100644 --- a/webapp/packages/plugin-connections/package.json +++ b/webapp/packages/plugin-connections/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -44,8 +45,8 @@ "@cloudbeaver/plugin-navigation-tree": "workspace:*", "@cloudbeaver/plugin-projects": "workspace:*", "@cloudbeaver/plugin-top-app-bar": "workspace:*", - "@dbeaver/jdbc-uri-parser": "workspace:^", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/jdbc-uri-parser": "workspace:*", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -56,6 +57,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-connections/src/index.ts b/webapp/packages/plugin-connections/src/index.ts index 392f9637610..07abfbc8bf4 100644 --- a/webapp/packages/plugin-connections/src/index.ts +++ b/webapp/packages/plugin-connections/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -import { connectionPlugin } from './manifest.js'; export * from './ConnectionAuthentication/IConnectionAuthenticationConfig.js'; export * from './ConnectionAuthentication/ConnectionAuthenticationFormLoader.js'; @@ -34,5 +33,3 @@ export * from './PluginConnectionsSettingsService.js'; export * from './ConnectionShieldLazy.js'; export * from './Actions/ACTION_TREE_CREATE_CONNECTION.js'; export * from './Actions/MENU_TREE_CREATE_CONNECTION.js'; - -export default connectionPlugin; diff --git a/webapp/packages/plugin-connections/src/manifest.ts b/webapp/packages/plugin-connections/src/manifest.ts deleted file mode 100644 index f64c3665c34..00000000000 --- a/webapp/packages/plugin-connections/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const connectionPlugin: PluginManifest = { - info: { - name: 'Connections plugin', - }, -}; diff --git a/webapp/packages/plugin-connections/src/module.ts b/webapp/packages/plugin-connections/src/module.ts index 40bd9a7628c..f5159ed831c 100644 --- a/webapp/packages/plugin-connections/src/module.ts +++ b/webapp/packages/plugin-connections/src/module.ts @@ -23,7 +23,7 @@ import { ConnectionDriverPropertiesTabService } from './ConnectionForm/DriverPro import { ConnectionFormService } from './ConnectionForm/ConnectionFormService.js'; import { ConnectionAuthService } from './ConnectionAuthService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-connections', configure: serviceCollection => { diff --git a/webapp/packages/plugin-d3js/package.json b/webapp/packages/plugin-d3js/package.json index 1f3fc0fa463..d03408a566f 100644 --- a/webapp/packages/plugin-d3js/package.json +++ b/webapp/packages/plugin-d3js/package.json @@ -12,7 +12,8 @@ "description": "The plugin reexports d3js library and contains utility functions and components for d3js", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -22,7 +23,6 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-di": "workspace:*", "d3": "^7", "d3-drag": "^3", "tslib": "^2" @@ -33,6 +33,7 @@ "@dbeaver/cli": "workspace:*", "@types/d3": "^7", "@types/d3-drag": "^3", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-d3js/src/index.ts b/webapp/packages/plugin-d3js/src/index.ts index d259822863c..0f98026942b 100644 --- a/webapp/packages/plugin-d3js/src/index.ts +++ b/webapp/packages/plugin-d3js/src/index.ts @@ -6,10 +6,6 @@ * you may not use this file except in compliance with the License. */ -import { pluginD3js } from './manifest.js'; - -export default pluginD3js; - export { select, line, diff --git a/webapp/packages/plugin-d3js/src/manifest.ts b/webapp/packages/plugin-d3js/src/manifest.ts deleted file mode 100644 index 2ebe5ad3962..00000000000 --- a/webapp/packages/plugin-d3js/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const pluginD3js: PluginManifest = { - info: { - name: 'D3js Plugin', - }, -}; diff --git a/webapp/packages/plugin-d3js/tsconfig.json b/webapp/packages/plugin-d3js/tsconfig.json index 2f98b7d8db3..e229701eed6 100644 --- a/webapp/packages/plugin-d3js/tsconfig.json +++ b/webapp/packages/plugin-d3js/tsconfig.json @@ -12,9 +12,6 @@ }, { "path": "../core-cli" - }, - { - "path": "../core-di" } ], "include": [ diff --git a/webapp/packages/plugin-data-editor-public-settings/package.json b/webapp/packages/plugin-data-editor-public-settings/package.json index 9354d03ac7b..bf1bbf3357c 100644 --- a/webapp/packages/plugin-data-editor-public-settings/package.json +++ b/webapp/packages/plugin-data-editor-public-settings/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -24,9 +25,7 @@ "dependencies": { "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", - "@cloudbeaver/core-root": "workspace:*", "@cloudbeaver/core-settings": "workspace:*", - "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/plugin-data-import": "workspace:*", "@cloudbeaver/plugin-data-viewer": "workspace:*" }, diff --git a/webapp/packages/plugin-data-editor-public-settings/src/index.ts b/webapp/packages/plugin-data-editor-public-settings/src/index.ts index feaa728359c..c465e1ac538 100644 --- a/webapp/packages/plugin-data-editor-public-settings/src/index.ts +++ b/webapp/packages/plugin-data-editor-public-settings/src/index.ts @@ -7,8 +7,3 @@ */ import './module.js'; - -import { pluginDataEditorPublicSettingsManifest } from './manifest.js'; - -export default pluginDataEditorPublicSettingsManifest; -export { pluginDataEditorPublicSettingsManifest }; diff --git a/webapp/packages/plugin-data-editor-public-settings/src/manifest.ts b/webapp/packages/plugin-data-editor-public-settings/src/manifest.ts deleted file mode 100644 index c714961b561..00000000000 --- a/webapp/packages/plugin-data-editor-public-settings/src/manifest.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ - -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const pluginDataEditorPublicSettingsManifest: PluginManifest = { - info: { - name: 'Plugin data editor settings', - }, -}; diff --git a/webapp/packages/plugin-data-editor-public-settings/src/module.ts b/webapp/packages/plugin-data-editor-public-settings/src/module.ts index c18706c23d8..93f6d9448ef 100644 --- a/webapp/packages/plugin-data-editor-public-settings/src/module.ts +++ b/webapp/packages/plugin-data-editor-public-settings/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { PluginDataEditorPublicSettingsBootstrap } from './PluginDataEditorPublicSettingsBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-editor-public-settings', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-editor-public-settings/tsconfig.json b/webapp/packages/plugin-data-editor-public-settings/tsconfig.json index 40c0ca5b8a8..cee38b59170 100644 --- a/webapp/packages/plugin-data-editor-public-settings/tsconfig.json +++ b/webapp/packages/plugin-data-editor-public-settings/tsconfig.json @@ -22,15 +22,9 @@ { "path": "../core-localization" }, - { - "path": "../core-root" - }, { "path": "../core-settings" }, - { - "path": "../core-utils" - }, { "path": "../plugin-data-import" }, diff --git a/webapp/packages/plugin-data-export/package.json b/webapp/packages/plugin-data-export/package.json index 27bb0d37a91..7097cafc109 100644 --- a/webapp/packages/plugin-data-export/package.json +++ b/webapp/packages/plugin-data-export/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -48,6 +49,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-data-export/src/index.ts b/webapp/packages/plugin-data-export/src/index.ts index 38d918f5150..f8b993467a7 100644 --- a/webapp/packages/plugin-data-export/src/index.ts +++ b/webapp/packages/plugin-data-export/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './DataExportMenuService.js'; export * from './DataExportService.js'; diff --git a/webapp/packages/plugin-data-export/src/manifest.ts b/webapp/packages/plugin-data-export/src/manifest.ts deleted file mode 100644 index b868c91416d..00000000000 --- a/webapp/packages/plugin-data-export/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataExportManifest: PluginManifest = { - info: { - name: 'Data Export Plugin', - }, -}; diff --git a/webapp/packages/plugin-data-export/src/module.ts b/webapp/packages/plugin-data-export/src/module.ts index db38daa967f..0c9d649f647 100644 --- a/webapp/packages/plugin-data-export/src/module.ts +++ b/webapp/packages/plugin-data-export/src/module.ts @@ -15,7 +15,7 @@ import { DataExportService } from './DataExportService.js'; import { DataExportProcessService } from './DataExportProcessService.js'; import { DataExportMenuService } from './DataExportMenuService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-export', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-grid/package.json b/webapp/packages/plugin-data-grid/package.json index 65611370871..5c7c73d9b21 100644 --- a/webapp/packages/plugin-data-grid/package.json +++ b/webapp/packages/plugin-data-grid/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -26,7 +27,7 @@ "@cloudbeaver/core-blocks": "workspace:*", "@cloudbeaver/core-di": "workspace:*", "@dbeaver/react-data-grid": "workspace:*", - "@dbeaver/ui-kit": "workspace:^", + "@dbeaver/ui-kit": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -38,6 +39,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-data-grid/src/index.ts b/webapp/packages/plugin-data-grid/src/index.ts index c0c76be6ec0..f8135bb6755 100644 --- a/webapp/packages/plugin-data-grid/src/index.ts +++ b/webapp/packages/plugin-data-grid/src/index.ts @@ -7,10 +7,6 @@ */ import './module.js'; -import { dataGridPlugin } from './manifest.js'; - -export default dataGridPlugin; -export { dataGridPlugin }; export { DataGrid } from './DataGridLazy.js'; diff --git a/webapp/packages/plugin-data-grid/src/manifest.ts b/webapp/packages/plugin-data-grid/src/manifest.ts deleted file mode 100644 index d87212d0203..00000000000 --- a/webapp/packages/plugin-data-grid/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataGridPlugin: PluginManifest = { - info: { name: 'Data grid plugin' }, -}; diff --git a/webapp/packages/plugin-data-grid/src/module.ts b/webapp/packages/plugin-data-grid/src/module.ts index f95275c06b2..da7c10cac5d 100644 --- a/webapp/packages/plugin-data-grid/src/module.ts +++ b/webapp/packages/plugin-data-grid/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-grid', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-import/package.json b/webapp/packages/plugin-data-import/package.json index 8666e8bc041..52b9f66fe60 100644 --- a/webapp/packages/plugin-data-import/package.json +++ b/webapp/packages/plugin-data-import/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -46,6 +47,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-data-import/src/index.ts b/webapp/packages/plugin-data-import/src/index.ts index 849f29f6ba8..2f1059c6110 100644 --- a/webapp/packages/plugin-data-import/src/index.ts +++ b/webapp/packages/plugin-data-import/src/index.ts @@ -7,6 +7,5 @@ */ import './module.js'; -export { dataImportPluginManifest } from './manifest.js'; export * from './DataImportSettingsService.js'; diff --git a/webapp/packages/plugin-data-import/src/manifest.ts b/webapp/packages/plugin-data-import/src/manifest.ts deleted file mode 100644 index d6655d2e916..00000000000 --- a/webapp/packages/plugin-data-import/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataImportPluginManifest: PluginManifest = { - info: { - name: 'Data Import Plugin', - }, -}; diff --git a/webapp/packages/plugin-data-import/src/module.ts b/webapp/packages/plugin-data-import/src/module.ts index d3517942a9a..ef3ca5bf94e 100644 --- a/webapp/packages/plugin-data-import/src/module.ts +++ b/webapp/packages/plugin-data-import/src/module.ts @@ -15,7 +15,7 @@ import { DataImportBootstrap } from './DataImportBootstrap.js'; // force registration after export plugin import '@cloudbeaver/plugin-data-export'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-import', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-spreadsheet-new/package.json b/webapp/packages/plugin-data-spreadsheet-new/package.json index 13330f4c119..aaba1acb1c8 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/package.json +++ b/webapp/packages/plugin-data-spreadsheet-new/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -28,7 +29,6 @@ "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-dialogs": "workspace:*", "@cloudbeaver/core-events": "workspace:*", - "@cloudbeaver/core-executor": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-sdk": "workspace:*", "@cloudbeaver/core-settings": "workspace:*", @@ -37,24 +37,22 @@ "@cloudbeaver/core-view": "workspace:*", "@cloudbeaver/plugin-data-grid": "workspace:*", "@cloudbeaver/plugin-data-viewer": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", - "@dbeaver/result-set-api": "workspace:^", - "@dbeaver/ui-kit": "workspace:^", - "@popperjs/core": "^2", + "@dbeaver/result-set-api": "workspace:*", + "@dbeaver/ui-kit": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", "react-dom": "^19", - "react-popper": "^2", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", "@types/react-dom": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/index.ts b/webapp/packages/plugin-data-spreadsheet-new/src/index.ts index 654f7566652..41f2bea246d 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/index.ts +++ b/webapp/packages/plugin-data-spreadsheet-new/src/index.ts @@ -7,5 +7,4 @@ */ import './module.js'; -export * from './manifest.js'; export * from './DataGrid/DATA_GRID_BINDINGS.js'; diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/manifest.ts b/webapp/packages/plugin-data-spreadsheet-new/src/manifest.ts deleted file mode 100644 index 133186a9f86..00000000000 --- a/webapp/packages/plugin-data-spreadsheet-new/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataSpreadsheetNewManifest: PluginManifest = { - info: { name: 'New spreadsheet implementation' }, -}; diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/module.ts b/webapp/packages/plugin-data-spreadsheet-new/src/module.ts index bba1f5aaa46..e622cfd5a93 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/module.ts +++ b/webapp/packages/plugin-data-spreadsheet-new/src/module.ts @@ -15,7 +15,7 @@ import { DataGridContextMenuOrderService } from './DataGrid/DataGridContextMenu/ import { DataGridContextMenuFilterService } from './DataGrid/DataGridContextMenu/DataGridContextMenuFilter/DataGridContextMenuFilterService.js'; import { DataGridContextMenuCellEditingService } from './DataGrid/DataGridContextMenu/DataGridContextMenuCellEditingService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-spreadsheet-new', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-spreadsheet-new/tsconfig.json b/webapp/packages/plugin-data-spreadsheet-new/tsconfig.json index 8f7ea953aac..8702e0227bf 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/tsconfig.json +++ b/webapp/packages/plugin-data-spreadsheet-new/tsconfig.json @@ -16,9 +16,6 @@ { "path": "../../common-typescript/@dbeaver/cli" }, - { - "path": "../../common-typescript/@dbeaver/js-helpers" - }, { "path": "../../common-typescript/@dbeaver/result-set-api" }, @@ -43,9 +40,6 @@ { "path": "../core-events" }, - { - "path": "../core-executor" - }, { "path": "../core-localization" }, diff --git a/webapp/packages/plugin-data-viewer-result-set-grouping/package.json b/webapp/packages/plugin-data-viewer-result-set-grouping/package.json index 1e15548ea3a..4b153065e4b 100644 --- a/webapp/packages/plugin-data-viewer-result-set-grouping/package.json +++ b/webapp/packages/plugin-data-viewer-result-set-grouping/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -44,6 +45,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-data-viewer-result-set-grouping/src/index.ts b/webapp/packages/plugin-data-viewer-result-set-grouping/src/index.ts index 5672b0a7ae5..c465e1ac538 100644 --- a/webapp/packages/plugin-data-viewer-result-set-grouping/src/index.ts +++ b/webapp/packages/plugin-data-viewer-result-set-grouping/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { dvResultSetGroupingPlugin } from './manifest.js'; - -export { dvResultSetGroupingPlugin }; -export default dvResultSetGroupingPlugin; diff --git a/webapp/packages/plugin-data-viewer-result-set-grouping/src/manifest.ts b/webapp/packages/plugin-data-viewer-result-set-grouping/src/manifest.ts deleted file mode 100644 index ad8ee3e6904..00000000000 --- a/webapp/packages/plugin-data-viewer-result-set-grouping/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dvResultSetGroupingPlugin: PluginManifest = { - info: { name: 'Result Set Grouping plugin' }, -}; diff --git a/webapp/packages/plugin-data-viewer-result-set-grouping/src/module.ts b/webapp/packages/plugin-data-viewer-result-set-grouping/src/module.ts index bcfd96cd61d..b5b4dec846e 100644 --- a/webapp/packages/plugin-data-viewer-result-set-grouping/src/module.ts +++ b/webapp/packages/plugin-data-viewer-result-set-grouping/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { LocaleService } from './LocaleService.js'; import { DVResultSetGroupingPluginBootstrap } from './DVResultSetGroupingPluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-viewer-result-set-grouping', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-viewer-result-trace-details/package.json b/webapp/packages/plugin-data-viewer-result-trace-details/package.json index 37b9bf969a6..ffb541dcf07 100644 --- a/webapp/packages/plugin-data-viewer-result-trace-details/package.json +++ b/webapp/packages/plugin-data-viewer-result-trace-details/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -38,6 +39,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-data-viewer-result-trace-details/src/index.ts b/webapp/packages/plugin-data-viewer-result-trace-details/src/index.ts index f7f42ea2a6b..c465e1ac538 100644 --- a/webapp/packages/plugin-data-viewer-result-trace-details/src/index.ts +++ b/webapp/packages/plugin-data-viewer-result-trace-details/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { dataViewerResultTraceDetailsPlugin } from './manifest.js'; - -export default dataViewerResultTraceDetailsPlugin; -export { dataViewerResultTraceDetailsPlugin }; diff --git a/webapp/packages/plugin-data-viewer-result-trace-details/src/manifest.ts b/webapp/packages/plugin-data-viewer-result-trace-details/src/manifest.ts deleted file mode 100644 index 3cc4472b8b8..00000000000 --- a/webapp/packages/plugin-data-viewer-result-trace-details/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataViewerResultTraceDetailsPlugin: PluginManifest = { - info: { - name: 'Result trace details Data Editor plugin', - }, -}; diff --git a/webapp/packages/plugin-data-viewer-result-trace-details/src/module.ts b/webapp/packages/plugin-data-viewer-result-trace-details/src/module.ts index 739d017fdbe..2219e220ede 100644 --- a/webapp/packages/plugin-data-viewer-result-trace-details/src/module.ts +++ b/webapp/packages/plugin-data-viewer-result-trace-details/src/module.ts @@ -11,7 +11,7 @@ import { LocaleService } from './LocaleService.js'; import { DVResultTraceDetailsService } from './DVResultTraceDetailsService.js'; import { DVResultTraceDetailsBootstrap } from './DVResultTraceDetailsBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-viewer-result-trace-details', configure: serviceCollection => { diff --git a/webapp/packages/plugin-data-viewer/package.json b/webapp/packages/plugin-data-viewer/package.json index 375044b9a1c..4ed67d76e20 100644 --- a/webapp/packages/plugin-data-viewer/package.json +++ b/webapp/packages/plugin-data-viewer/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -43,8 +44,8 @@ "@cloudbeaver/plugin-codemirror6": "workspace:*", "@cloudbeaver/plugin-navigation-tabs": "workspace:*", "@cloudbeaver/plugin-object-viewer": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", - "@dbeaver/result-set-api": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", + "@dbeaver/result-set-api": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -56,8 +57,9 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/plugin-data-viewer/src/index.ts b/webapp/packages/plugin-data-viewer/src/index.ts index db2a2a308fc..09135c21c30 100644 --- a/webapp/packages/plugin-data-viewer/src/index.ts +++ b/webapp/packages/plugin-data-viewer/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './DatabaseDataModel/Actions/Document/DocumentDataAction.js'; export * from './DatabaseDataModel/Actions/Document/DocumentEditAction.js'; diff --git a/webapp/packages/plugin-data-viewer/src/manifest.ts b/webapp/packages/plugin-data-viewer/src/manifest.ts deleted file mode 100644 index 5153219921d..00000000000 --- a/webapp/packages/plugin-data-viewer/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const dataViewerManifest: PluginManifest = { - info: { - name: 'Data Editor Plugin', - }, -}; diff --git a/webapp/packages/plugin-data-viewer/src/module.ts b/webapp/packages/plugin-data-viewer/src/module.ts index 9339a593014..18a87935afd 100644 --- a/webapp/packages/plugin-data-viewer/src/module.ts +++ b/webapp/packages/plugin-data-viewer/src/module.ts @@ -29,7 +29,7 @@ import { DataViewerDataChangeConfirmationService } from './DataViewerDataChangeC import { DataViewerBootstrap } from './DataViewerBootstrap.js'; import { DataPresentationService } from './DataPresentationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-data-viewer', configure: serviceCollection => { diff --git a/webapp/packages/plugin-datasource-context-switch/package.json b/webapp/packages/plugin-datasource-context-switch/package.json index fbfbbb907cb..093057e9f28 100644 --- a/webapp/packages/plugin-datasource-context-switch/package.json +++ b/webapp/packages/plugin-datasource-context-switch/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -46,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-datasource-context-switch/src/index.ts b/webapp/packages/plugin-datasource-context-switch/src/index.ts index 862f3209c7a..ac17dd1a99d 100644 --- a/webapp/packages/plugin-datasource-context-switch/src/index.ts +++ b/webapp/packages/plugin-datasource-context-switch/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './ConnectionSchemaManager/ConnectionSchemaManagerBootstrap.js'; export * from './ConnectionSchemaManager/ConnectionSchemaManagerService.js'; diff --git a/webapp/packages/plugin-datasource-context-switch/src/manifest.ts b/webapp/packages/plugin-datasource-context-switch/src/manifest.ts deleted file mode 100644 index a356a9641dd..00000000000 --- a/webapp/packages/plugin-datasource-context-switch/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const datasourceContextSwitchPluginManifest: PluginManifest = { - info: { - name: 'Datasource context switch plugin', - }, -}; diff --git a/webapp/packages/plugin-datasource-context-switch/src/module.ts b/webapp/packages/plugin-datasource-context-switch/src/module.ts index 2023b82ebe2..7f826725a44 100644 --- a/webapp/packages/plugin-datasource-context-switch/src/module.ts +++ b/webapp/packages/plugin-datasource-context-switch/src/module.ts @@ -12,7 +12,7 @@ import { LocaleService } from './LocaleService.js'; import { ConnectionSchemaManagerService } from './ConnectionSchemaManager/ConnectionSchemaManagerService.js'; import { ConnectionSchemaManagerBootstrap } from './ConnectionSchemaManager/ConnectionSchemaManagerBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-datasource-context-switch', configure: serviceCollection => { diff --git a/webapp/packages/plugin-datasource-transaction-manager/package.json b/webapp/packages/plugin-datasource-transaction-manager/package.json index b0d7e7e83d8..24d5fc08c4c 100644 --- a/webapp/packages/plugin-datasource-transaction-manager/package.json +++ b/webapp/packages/plugin-datasource-transaction-manager/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -41,7 +42,7 @@ "@cloudbeaver/plugin-sql-editor-new": "workspace:*", "@cloudbeaver/plugin-tools-panel": "workspace:*", "@cloudbeaver/plugin-top-app-bar": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -52,6 +53,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-datasource-transaction-manager/src/index.ts b/webapp/packages/plugin-datasource-transaction-manager/src/index.ts index 07cd818ca55..ed809751f44 100644 --- a/webapp/packages/plugin-datasource-transaction-manager/src/index.ts +++ b/webapp/packages/plugin-datasource-transaction-manager/src/index.ts @@ -7,6 +7,5 @@ */ import './module.js'; -export { datasourceTransactionManagerPlugin } from './manifest.js'; export { TransactionManagerSettingsService } from './TransactionManagerSettingsService.js'; diff --git a/webapp/packages/plugin-datasource-transaction-manager/src/manifest.ts b/webapp/packages/plugin-datasource-transaction-manager/src/manifest.ts deleted file mode 100644 index 08455bba08a..00000000000 --- a/webapp/packages/plugin-datasource-transaction-manager/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const datasourceTransactionManagerPlugin: PluginManifest = { - info: { - name: 'Datasource transaction manager plugin', - }, -}; diff --git a/webapp/packages/plugin-datasource-transaction-manager/src/module.ts b/webapp/packages/plugin-datasource-transaction-manager/src/module.ts index 6628578ca64..d074e6c4a36 100644 --- a/webapp/packages/plugin-datasource-transaction-manager/src/module.ts +++ b/webapp/packages/plugin-datasource-transaction-manager/src/module.ts @@ -14,7 +14,7 @@ import { TransactionLogCountResource } from './TransactionLog/TransactionLogCoun import { LocaleService } from './LocaleService.js'; import { TransactionLogCountEventHandler } from './TransactionLog/TransactionLogCountEventHandler.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-datasource-transaction-manager', configure: serviceCollection => { diff --git a/webapp/packages/plugin-ddl-viewer/package.json b/webapp/packages/plugin-ddl-viewer/package.json index 88c85bac346..959257eff3e 100644 --- a/webapp/packages/plugin-ddl-viewer/package.json +++ b/webapp/packages/plugin-ddl-viewer/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -46,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-ddl-viewer/src/index.ts b/webapp/packages/plugin-ddl-viewer/src/index.ts index 0253432608a..c465e1ac538 100644 --- a/webapp/packages/plugin-ddl-viewer/src/index.ts +++ b/webapp/packages/plugin-ddl-viewer/src/index.ts @@ -7,8 +7,3 @@ */ import './module.js'; -import { manifest } from './manifest.js'; - -// All Services and Components that is provided by this plugin should be exported here - -export default manifest; diff --git a/webapp/packages/plugin-ddl-viewer/src/manifest.ts b/webapp/packages/plugin-ddl-viewer/src/manifest.ts deleted file mode 100644 index 0902701feeb..00000000000 --- a/webapp/packages/plugin-ddl-viewer/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'DDL Viewer Plugin', - }, -}; diff --git a/webapp/packages/plugin-ddl-viewer/src/module.ts b/webapp/packages/plugin-ddl-viewer/src/module.ts index 7fd86bd7e3f..31511d19d02 100644 --- a/webapp/packages/plugin-ddl-viewer/src/module.ts +++ b/webapp/packages/plugin-ddl-viewer/src/module.ts @@ -12,7 +12,7 @@ import { DdlViewerBootstrap } from './DdlViewerBootstrap.js'; import { DdlResource } from './DdlViewer/DdlResource.js'; import { DDLViewerFooterService } from './DdlViewer/DDLViewerFooterService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-ddl-viewer', configure: serviceCollection => { diff --git a/webapp/packages/plugin-devtools/package.json b/webapp/packages/plugin-devtools/package.json index ab8eb42b991..4ab45aca394 100644 --- a/webapp/packages/plugin-devtools/package.json +++ b/webapp/packages/plugin-devtools/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -41,6 +42,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "tslib": "^2", "typescript": "^5", "typescript-plugin-css-modules": "^5", diff --git a/webapp/packages/plugin-devtools/src/index.ts b/webapp/packages/plugin-devtools/src/index.ts index 0345e62ba6c..a00eb9d20be 100644 --- a/webapp/packages/plugin-devtools/src/index.ts +++ b/webapp/packages/plugin-devtools/src/index.ts @@ -7,9 +7,5 @@ */ import './module.js'; -import { devToolsPlugin } from './manifest.js'; - -export { devToolsPlugin }; -export default devToolsPlugin; export * from './DevToolsService.js'; diff --git a/webapp/packages/plugin-devtools/src/manifest.ts b/webapp/packages/plugin-devtools/src/manifest.ts deleted file mode 100644 index 79bf2e70e13..00000000000 --- a/webapp/packages/plugin-devtools/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const devToolsPlugin: PluginManifest = { - info: { - name: 'DevTools plugin', - }, -}; diff --git a/webapp/packages/plugin-devtools/src/menu/PluginSubMenuItem.ts b/webapp/packages/plugin-devtools/src/menu/PluginSubMenuItem.ts index 16bc269c248..f07696fb638 100644 --- a/webapp/packages/plugin-devtools/src/menu/PluginSubMenuItem.ts +++ b/webapp/packages/plugin-devtools/src/menu/PluginSubMenuItem.ts @@ -1,25 +1,25 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2024 DBeaver Corp and others + * Copyright (C) 2020-2025 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ -import type { PluginManifest } from '@cloudbeaver/core-di'; import { MenuSubMenuItem } from '@cloudbeaver/core-view'; import { MENU_PLUGIN } from './MENU_PLUGIN.js'; +import type { IModule } from '@cloudbeaver/core-di'; export class PluginSubMenuItem extends MenuSubMenuItem { - readonly plugin: PluginManifest; + readonly module: IModule; - constructor(plugin: PluginManifest) { - super({ menu: MENU_PLUGIN, label: plugin.info.name }); + constructor(module: IModule) { + super({ menu: MENU_PLUGIN, label: module.name }); - this.plugin = plugin; + this.module = module; Object.assign(this, { - id: plugin.info.name, + id: module.name, }); } } diff --git a/webapp/packages/plugin-devtools/src/module.ts b/webapp/packages/plugin-devtools/src/module.ts index e4fb3a72642..fdef7110a10 100644 --- a/webapp/packages/plugin-devtools/src/module.ts +++ b/webapp/packages/plugin-devtools/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; import { DevToolsService } from './DevToolsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-devtools', configure: serviceCollection => { diff --git a/webapp/packages/plugin-gis-viewer/package.json b/webapp/packages/plugin-gis-viewer/package.json index b1aaf156ce9..83579d0acb2 100644 --- a/webapp/packages/plugin-gis-viewer/package.json +++ b/webapp/packages/plugin-gis-viewer/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -45,6 +46,7 @@ "@types/react": "^19", "@types/wellknown": "^0", "leaflet": "^1", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-gis-viewer/src/index.ts b/webapp/packages/plugin-gis-viewer/src/index.ts index 32b2d29a8d0..2aa5af20b9c 100644 --- a/webapp/packages/plugin-gis-viewer/src/index.ts +++ b/webapp/packages/plugin-gis-viewer/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { manifest } from './manifest.js'; - -export default manifest; export * from './ResultSetGISAction.js'; diff --git a/webapp/packages/plugin-gis-viewer/src/manifest.ts b/webapp/packages/plugin-gis-viewer/src/manifest.ts deleted file mode 100644 index 1229ea70c1d..00000000000 --- a/webapp/packages/plugin-gis-viewer/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'GIS Viewer plugin', - }, -}; diff --git a/webapp/packages/plugin-gis-viewer/src/module.ts b/webapp/packages/plugin-gis-viewer/src/module.ts index af062472bda..f45b27f2eae 100644 --- a/webapp/packages/plugin-gis-viewer/src/module.ts +++ b/webapp/packages/plugin-gis-viewer/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { LocaleService } from './LocaleService.js'; import { GISViewerBootstrap } from './GISViewerBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-gis-viewer', configure: serviceCollection => { diff --git a/webapp/packages/plugin-help/package.json b/webapp/packages/plugin-help/package.json index f9f64c6741c..e4a4ab55e2a 100644 --- a/webapp/packages/plugin-help/package.json +++ b/webapp/packages/plugin-help/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -40,14 +41,18 @@ "@cloudbeaver/plugin-sql-editor": "workspace:*", "@cloudbeaver/plugin-sql-editor-navigation-tab-script": "workspace:*", "@cloudbeaver/plugin-top-app-bar": "workspace:*", + "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", + "react-dom": "^19", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "@types/react-dom": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-help/src/index.ts b/webapp/packages/plugin-help/src/index.ts index f4b014c1011..c465e1ac538 100644 --- a/webapp/packages/plugin-help/src/index.ts +++ b/webapp/packages/plugin-help/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { manifest } from './manifest.js'; - -export default manifest; diff --git a/webapp/packages/plugin-help/src/manifest.ts b/webapp/packages/plugin-help/src/manifest.ts deleted file mode 100644 index 09b43aa3881..00000000000 --- a/webapp/packages/plugin-help/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Help plugin', - }, -}; diff --git a/webapp/packages/plugin-help/src/module.ts b/webapp/packages/plugin-help/src/module.ts index e1fd51157b9..56941f786b2 100644 --- a/webapp/packages/plugin-help/src/module.ts +++ b/webapp/packages/plugin-help/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-help', configure: serviceCollection => { diff --git a/webapp/packages/plugin-holidays-administration/package.json b/webapp/packages/plugin-holidays-administration/package.json index 9aaa3443ba9..d53fe9db327 100644 --- a/webapp/packages/plugin-holidays-administration/package.json +++ b/webapp/packages/plugin-holidays-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-holidays-administration/src/index.ts b/webapp/packages/plugin-holidays-administration/src/index.ts index 0654a59d4f9..c465e1ac538 100644 --- a/webapp/packages/plugin-holidays-administration/src/index.ts +++ b/webapp/packages/plugin-holidays-administration/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { holidaysAdministrationPlugin } from './manifest.js'; - -export { holidaysAdministrationPlugin }; -export default holidaysAdministrationPlugin; diff --git a/webapp/packages/plugin-holidays-administration/src/manifest.ts b/webapp/packages/plugin-holidays-administration/src/manifest.ts deleted file mode 100644 index 90a4e08801f..00000000000 --- a/webapp/packages/plugin-holidays-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const holidaysAdministrationPlugin: PluginManifest = { - info: { - name: 'Holidays Administration plugin', - }, -}; diff --git a/webapp/packages/plugin-holidays-administration/src/module.ts b/webapp/packages/plugin-holidays-administration/src/module.ts index 0ef51134380..594133089d8 100644 --- a/webapp/packages/plugin-holidays-administration/src/module.ts +++ b/webapp/packages/plugin-holidays-administration/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { HolidayAdministrationBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-holidays-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-holidays/package.json b/webapp/packages/plugin-holidays/package.json index cc1aaed9149..25315077ca8 100644 --- a/webapp/packages/plugin-holidays/package.json +++ b/webapp/packages/plugin-holidays/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,6 +36,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-holidays/src/index.ts b/webapp/packages/plugin-holidays/src/index.ts index 7faf4100b1a..58710751902 100644 --- a/webapp/packages/plugin-holidays/src/index.ts +++ b/webapp/packages/plugin-holidays/src/index.ts @@ -7,10 +7,6 @@ */ import './module.js'; -import { holidaysPlugin } from './manifest.js'; export * from './HolidaysService.js'; export * from './HolidayActionButtonLazy.js'; - -export { holidaysPlugin }; -export default holidaysPlugin; diff --git a/webapp/packages/plugin-holidays/src/manifest.ts b/webapp/packages/plugin-holidays/src/manifest.ts deleted file mode 100644 index b1cb2c04e58..00000000000 --- a/webapp/packages/plugin-holidays/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const holidaysPlugin: PluginManifest = { - info: { - name: 'Holidays plugin', - }, -}; diff --git a/webapp/packages/plugin-holidays/src/module.ts b/webapp/packages/plugin-holidays/src/module.ts index 27397c12e61..951c1ac26c2 100644 --- a/webapp/packages/plugin-holidays/src/module.ts +++ b/webapp/packages/plugin-holidays/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry, proxy } from '@cloudbeaver/core-di'; import { HolidaysService } from './HolidaysService.js'; import { ChristmasService } from './Christmas/ChristmasService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-holidays', configure: serviceCollection => { diff --git a/webapp/packages/plugin-localization/package.json b/webapp/packages/plugin-localization/package.json index cb3441b0091..c2388d5b6c7 100644 --- a/webapp/packages/plugin-localization/package.json +++ b/webapp/packages/plugin-localization/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -30,6 +31,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-localization/src/index.ts b/webapp/packages/plugin-localization/src/index.ts index 4ef2c46d12b..c465e1ac538 100644 --- a/webapp/packages/plugin-localization/src/index.ts +++ b/webapp/packages/plugin-localization/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { localizationPlugin } from './manifest.js'; - -export default localizationPlugin; diff --git a/webapp/packages/plugin-localization/src/manifest.ts b/webapp/packages/plugin-localization/src/manifest.ts deleted file mode 100644 index 8a3692e387b..00000000000 --- a/webapp/packages/plugin-localization/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const localizationPlugin: PluginManifest = { - info: { name: 'Localization plugin' }, -}; diff --git a/webapp/packages/plugin-localization/src/module.ts b/webapp/packages/plugin-localization/src/module.ts index 98f6fbddd19..43a4b2df73e 100644 --- a/webapp/packages/plugin-localization/src/module.ts +++ b/webapp/packages/plugin-localization/src/module.ts @@ -9,7 +9,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-localization', configure: serviceCollection => { diff --git a/webapp/packages/plugin-log-viewer/package.json b/webapp/packages/plugin-log-viewer/package.json index 56f51a23adc..c218c11cc79 100644 --- a/webapp/packages/plugin-log-viewer/package.json +++ b/webapp/packages/plugin-log-viewer/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -43,8 +44,9 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/plugin-log-viewer/src/index.ts b/webapp/packages/plugin-log-viewer/src/index.ts index 06be0e5741f..bf090959e7c 100644 --- a/webapp/packages/plugin-log-viewer/src/index.ts +++ b/webapp/packages/plugin-log-viewer/src/index.ts @@ -7,11 +7,7 @@ */ import './module.js'; -import { logViewerPlugin } from './manifest.js'; export * from './LogViewer/LogViewerBootstrap.js'; export * from './LogViewer/LogViewerService.js'; export * from './LogViewer/LogViewerSettingsService.js'; - -export { logViewerPlugin }; -export default logViewerPlugin; diff --git a/webapp/packages/plugin-log-viewer/src/manifest.ts b/webapp/packages/plugin-log-viewer/src/manifest.ts deleted file mode 100644 index 79edb3f0dc7..00000000000 --- a/webapp/packages/plugin-log-viewer/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const logViewerPlugin: PluginManifest = { - info: { name: 'Log viewer plugin' }, -}; diff --git a/webapp/packages/plugin-log-viewer/src/module.ts b/webapp/packages/plugin-log-viewer/src/module.ts index cc878055020..f8d50c92947 100644 --- a/webapp/packages/plugin-log-viewer/src/module.ts +++ b/webapp/packages/plugin-log-viewer/src/module.ts @@ -14,7 +14,7 @@ import { LogViewerBootstrap } from './LogViewer/LogViewerBootstrap.js'; import { LogViewerSettingsService } from './LogViewer/LogViewerSettingsService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-log-viewer', configure: serviceCollection => { diff --git a/webapp/packages/plugin-navigation-tabs/package.json b/webapp/packages/plugin-navigation-tabs/package.json index d7b9fcb1d60..d26d3fa6a70 100644 --- a/webapp/packages/plugin-navigation-tabs/package.json +++ b/webapp/packages/plugin-navigation-tabs/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,7 +33,6 @@ "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-projects": "workspace:*", "@cloudbeaver/core-resource": "workspace:*", - "@cloudbeaver/core-root": "workspace:*", "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-storage": "workspace:*", "@cloudbeaver/core-ui": "workspace:*", @@ -48,6 +48,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-navigation-tabs/src/index.ts b/webapp/packages/plugin-navigation-tabs/src/index.ts index 74fe5490622..b11a98b1caa 100644 --- a/webapp/packages/plugin-navigation-tabs/src/index.ts +++ b/webapp/packages/plugin-navigation-tabs/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './NavigationTabs/NavigationTabsService.js'; export * from './NavigationTabs/TabNavigationContext.js'; diff --git a/webapp/packages/plugin-navigation-tabs/src/manifest.ts b/webapp/packages/plugin-navigation-tabs/src/manifest.ts deleted file mode 100644 index 1bf8077bed2..00000000000 --- a/webapp/packages/plugin-navigation-tabs/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const navigationTabsPlugin: PluginManifest = { - info: { name: 'Navigation tabs plugin' }, -}; diff --git a/webapp/packages/plugin-navigation-tabs/src/module.ts b/webapp/packages/plugin-navigation-tabs/src/module.ts index 458dcf76bc3..5c0a1f0f89a 100644 --- a/webapp/packages/plugin-navigation-tabs/src/module.ts +++ b/webapp/packages/plugin-navigation-tabs/src/module.ts @@ -12,7 +12,7 @@ import { NavigationTabsService } from './NavigationTabs/NavigationTabsService.js import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-navigation-tabs', configure: serviceCollection => { diff --git a/webapp/packages/plugin-navigation-tabs/tsconfig.json b/webapp/packages/plugin-navigation-tabs/tsconfig.json index 144bc6cb180..60859269f61 100644 --- a/webapp/packages/plugin-navigation-tabs/tsconfig.json +++ b/webapp/packages/plugin-navigation-tabs/tsconfig.json @@ -43,9 +43,6 @@ { "path": "../core-resource" }, - { - "path": "../core-root" - }, { "path": "../core-settings" }, diff --git a/webapp/packages/plugin-navigation-tree-filters/package.json b/webapp/packages/plugin-navigation-tree-filters/package.json index be264d3dd2a..9d0ff476d6d 100644 --- a/webapp/packages/plugin-navigation-tree-filters/package.json +++ b/webapp/packages/plugin-navigation-tree-filters/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -42,6 +43,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-navigation-tree-filters/src/index.ts b/webapp/packages/plugin-navigation-tree-filters/src/index.ts index 02b696f4c46..c465e1ac538 100644 --- a/webapp/packages/plugin-navigation-tree-filters/src/index.ts +++ b/webapp/packages/plugin-navigation-tree-filters/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { navigationTreeFiltersPlugin } from './manifest.js'; - -export { navigationTreeFiltersPlugin }; -export default navigationTreeFiltersPlugin; diff --git a/webapp/packages/plugin-navigation-tree-filters/src/manifest.ts b/webapp/packages/plugin-navigation-tree-filters/src/manifest.ts deleted file mode 100644 index 9b9deeb175d..00000000000 --- a/webapp/packages/plugin-navigation-tree-filters/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const navigationTreeFiltersPlugin: PluginManifest = { - info: { - name: 'Navigation tree filters plugin', - }, -}; diff --git a/webapp/packages/plugin-navigation-tree-filters/src/module.ts b/webapp/packages/plugin-navigation-tree-filters/src/module.ts index 166c43899d0..8e3b9345566 100644 --- a/webapp/packages/plugin-navigation-tree-filters/src/module.ts +++ b/webapp/packages/plugin-navigation-tree-filters/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { LocaleService } from './LocaleService.js'; import { NavigationTreeFiltersBootstrap } from './NavigationTreeFiltersBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-navigation-tree-filters', configure: serviceCollection => { diff --git a/webapp/packages/plugin-navigation-tree-rm/package.json b/webapp/packages/plugin-navigation-tree-rm/package.json index 45e0f37f376..dd827b3f4bc 100644 --- a/webapp/packages/plugin-navigation-tree-rm/package.json +++ b/webapp/packages/plugin-navigation-tree-rm/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -40,7 +41,7 @@ "@cloudbeaver/plugin-navigation-tree": "workspace:*", "@cloudbeaver/plugin-projects": "workspace:*", "@cloudbeaver/plugin-resource-manager": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -52,6 +53,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-navigation-tree-rm/src/index.ts b/webapp/packages/plugin-navigation-tree-rm/src/index.ts index 0bae883b3f4..9f53a429678 100644 --- a/webapp/packages/plugin-navigation-tree-rm/src/index.ts +++ b/webapp/packages/plugin-navigation-tree-rm/src/index.ts @@ -7,13 +7,9 @@ */ import './module.js'; -import { navigationTreeRMPlugin } from './manifest.js'; export * from './NavNodes/getResourceKeyFromNodeId.js'; export * from './NavNodes/getResourceNodeId.js'; export * from './NavNodes/getRmProjectNodeId.js'; export * from './Tree/ResourceManagerTree.js'; export * from './NavResourceNodeService.js'; - -export { navigationTreeRMPlugin }; -export default navigationTreeRMPlugin; diff --git a/webapp/packages/plugin-navigation-tree-rm/src/manifest.ts b/webapp/packages/plugin-navigation-tree-rm/src/manifest.ts deleted file mode 100644 index e313617e175..00000000000 --- a/webapp/packages/plugin-navigation-tree-rm/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const navigationTreeRMPlugin: PluginManifest = { - info: { name: 'Navigation Tree RM plugin' }, -}; diff --git a/webapp/packages/plugin-navigation-tree-rm/src/module.ts b/webapp/packages/plugin-navigation-tree-rm/src/module.ts index 4b65b64c18b..3033044eff4 100644 --- a/webapp/packages/plugin-navigation-tree-rm/src/module.ts +++ b/webapp/packages/plugin-navigation-tree-rm/src/module.ts @@ -12,7 +12,7 @@ import { NavTreeRMContextMenuBootstrap } from './NavTreeRMContextMenuBootstrap.j import { NavResourceNodeService } from './NavResourceNodeService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-navigation-tree-rm', configure: serviceCollection => { diff --git a/webapp/packages/plugin-navigation-tree/package.json b/webapp/packages/plugin-navigation-tree/package.json index 5a97eb10aa0..c233997858f 100644 --- a/webapp/packages/plugin-navigation-tree/package.json +++ b/webapp/packages/plugin-navigation-tree/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -38,7 +39,7 @@ "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/core-view": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -49,8 +50,9 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/plugin-navigation-tree/src/index.ts b/webapp/packages/plugin-navigation-tree/src/index.ts index f4eeb2494e2..c199ca2f653 100644 --- a/webapp/packages/plugin-navigation-tree/src/index.ts +++ b/webapp/packages/plugin-navigation-tree/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; export * from './NavigationTree/ElementsTree/ElementsTreeTools/NavigationTreeSettings/createElementsTreeSettings.js'; export * from './NavigationTree/ElementsTree/ElementsTreeTools/NavigationTreeSettings/DATA_CONTEXT_NAV_TREE_ROOT.js'; diff --git a/webapp/packages/plugin-navigation-tree/src/manifest.ts b/webapp/packages/plugin-navigation-tree/src/manifest.ts deleted file mode 100644 index 979e69e24fe..00000000000 --- a/webapp/packages/plugin-navigation-tree/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const navigationTreePlugin: PluginManifest = { - info: { name: 'Navigation Tree plugin' }, -}; diff --git a/webapp/packages/plugin-navigation-tree/src/module.ts b/webapp/packages/plugin-navigation-tree/src/module.ts index 7306bc1b5d9..55da2a38acb 100644 --- a/webapp/packages/plugin-navigation-tree/src/module.ts +++ b/webapp/packages/plugin-navigation-tree/src/module.ts @@ -18,7 +18,7 @@ import { ElementsTreeToolsMenuService } from './NavigationTree/ElementsTree/Elem import { ElementsTreeService } from './NavigationTree/ElementsTree/ElementsTreeService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-navigation-tree', configure: serviceCollection => { diff --git a/webapp/packages/plugin-object-viewer-nav-tree-link/package.json b/webapp/packages/plugin-object-viewer-nav-tree-link/package.json index 985bdad50df..12302e61f13 100644 --- a/webapp/packages/plugin-object-viewer-nav-tree-link/package.json +++ b/webapp/packages/plugin-object-viewer-nav-tree-link/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,6 +33,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-object-viewer-nav-tree-link/src/index.ts b/webapp/packages/plugin-object-viewer-nav-tree-link/src/index.ts index 69c951c6985..d8cc8d26503 100644 --- a/webapp/packages/plugin-object-viewer-nav-tree-link/src/index.ts +++ b/webapp/packages/plugin-object-viewer-nav-tree-link/src/index.ts @@ -9,6 +9,3 @@ import './module.js'; export * from './ACTION_LINK_OBJECT.js'; export * from './KEY_BINDING_LINK_OBJECT.js'; -import { objectViewerNavTreeLinkPlugin } from './manifest.js'; -export { objectViewerNavTreeLinkPlugin }; -export default objectViewerNavTreeLinkPlugin; diff --git a/webapp/packages/plugin-object-viewer-nav-tree-link/src/manifest.ts b/webapp/packages/plugin-object-viewer-nav-tree-link/src/manifest.ts deleted file mode 100644 index e1c383c8e4a..00000000000 --- a/webapp/packages/plugin-object-viewer-nav-tree-link/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const objectViewerNavTreeLinkPlugin: PluginManifest = { - info: { name: 'Object Viewer Nav Tree link' }, -}; diff --git a/webapp/packages/plugin-object-viewer-nav-tree-link/src/module.ts b/webapp/packages/plugin-object-viewer-nav-tree-link/src/module.ts index e59cd7bbd50..5520c7e7497 100644 --- a/webapp/packages/plugin-object-viewer-nav-tree-link/src/module.ts +++ b/webapp/packages/plugin-object-viewer-nav-tree-link/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { ObjectViewerNavTreeLinkMenuService } from './ObjectViewerNavTreeLinkMenuService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-object-viewer-nav-tree-link', configure: serviceCollection => { diff --git a/webapp/packages/plugin-object-viewer/package.json b/webapp/packages/plugin-object-viewer/package.json index 8dd2aff10f1..2d21e7f56b1 100644 --- a/webapp/packages/plugin-object-viewer/package.json +++ b/webapp/packages/plugin-object-viewer/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -39,7 +40,7 @@ "@cloudbeaver/plugin-data-grid": "workspace:*", "@cloudbeaver/plugin-navigation-tabs": "workspace:*", "@cloudbeaver/plugin-navigation-tree": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -51,6 +52,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-object-viewer/src/index.ts b/webapp/packages/plugin-object-viewer/src/index.ts index e77ee10de23..407005cc61e 100644 --- a/webapp/packages/plugin-object-viewer/src/index.ts +++ b/webapp/packages/plugin-object-viewer/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -export * from './manifest.js'; // All Services and Components that is provided by this plugin should be exported here export * from './ObjectPage/DBObjectPageService.js'; diff --git a/webapp/packages/plugin-object-viewer/src/manifest.ts b/webapp/packages/plugin-object-viewer/src/manifest.ts deleted file mode 100644 index 4bcafec20e5..00000000000 --- a/webapp/packages/plugin-object-viewer/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const objectViewerManifest: PluginManifest = { - info: { name: 'Object Viewer Plugin' }, -}; diff --git a/webapp/packages/plugin-object-viewer/src/module.ts b/webapp/packages/plugin-object-viewer/src/module.ts index 1f972022865..b15e3499133 100644 --- a/webapp/packages/plugin-object-viewer/src/module.ts +++ b/webapp/packages/plugin-object-viewer/src/module.ts @@ -16,7 +16,7 @@ import { NavNodeMetadataViewBootstrap } from './ObjectPropertiesPage/NavNodeView import { DBObjectPageService } from './ObjectPage/DBObjectPageService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-object-viewer', configure: serviceCollection => { diff --git a/webapp/packages/plugin-product-information-administration/package.json b/webapp/packages/plugin-product-information-administration/package.json index 9cac707229c..f3e65d54928 100644 --- a/webapp/packages/plugin-product-information-administration/package.json +++ b/webapp/packages/plugin-product-information-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -40,6 +41,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-product-information-administration/src/index.ts b/webapp/packages/plugin-product-information-administration/src/index.ts index e0315718ec7..75c6293f4f9 100644 --- a/webapp/packages/plugin-product-information-administration/src/index.ts +++ b/webapp/packages/plugin-product-information-administration/src/index.ts @@ -7,10 +7,6 @@ */ import './module.js'; -import { productInformationPlugin } from './manifest.js'; export * from './ProductInfoNavigationService.js'; export * from './ProductInfoService.js'; - -export { productInformationPlugin }; -export default productInformationPlugin; diff --git a/webapp/packages/plugin-product-information-administration/src/manifest.ts b/webapp/packages/plugin-product-information-administration/src/manifest.ts deleted file mode 100644 index 29acfd55ff8..00000000000 --- a/webapp/packages/plugin-product-information-administration/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const productInformationPlugin: PluginManifest = { - info: { name: 'Product administration plugin' }, -}; diff --git a/webapp/packages/plugin-product-information-administration/src/module.ts b/webapp/packages/plugin-product-information-administration/src/module.ts index 2e830279186..3cd2141ee17 100644 --- a/webapp/packages/plugin-product-information-administration/src/module.ts +++ b/webapp/packages/plugin-product-information-administration/src/module.ts @@ -11,7 +11,7 @@ import { ProductInfoService } from './ProductInfoService.js'; import { LocaleService } from './LocaleService.js'; import { ProductInfoNavigationService } from './ProductInfoNavigationService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-product-information-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-product/package.json b/webapp/packages/plugin-product/package.json index 28115f949bf..dd3ba23d927 100644 --- a/webapp/packages/plugin-product/package.json +++ b/webapp/packages/plugin-product/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -42,6 +43,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-product/src/index.ts b/webapp/packages/plugin-product/src/index.ts index 96c5ba3ef68..75e097e0cc4 100644 --- a/webapp/packages/plugin-product/src/index.ts +++ b/webapp/packages/plugin-product/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { productPlugin } from './manifest.js'; export { default as ProductInfoDialogStyles } from './ProductInfoDialog.module.css'; - -export default productPlugin; diff --git a/webapp/packages/plugin-product/src/manifest.ts b/webapp/packages/plugin-product/src/manifest.ts deleted file mode 100644 index 654554da9b1..00000000000 --- a/webapp/packages/plugin-product/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const productPlugin: PluginManifest = { - info: { name: 'Product plugin' }, -}; diff --git a/webapp/packages/plugin-product/src/module.ts b/webapp/packages/plugin-product/src/module.ts index 5826fca106e..bfe7433a627 100644 --- a/webapp/packages/plugin-product/src/module.ts +++ b/webapp/packages/plugin-product/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { ProductBootstrap } from './ProductBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-product', configure: serviceCollection => { diff --git a/webapp/packages/plugin-projects/package.json b/webapp/packages/plugin-projects/package.json index c6ca9833979..b26909036ef 100644 --- a/webapp/packages/plugin-projects/package.json +++ b/webapp/packages/plugin-projects/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -38,6 +39,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-projects/src/index.ts b/webapp/packages/plugin-projects/src/index.ts index f848df728dc..4bf852f5302 100644 --- a/webapp/packages/plugin-projects/src/index.ts +++ b/webapp/packages/plugin-projects/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { manifest } from './manifest.js'; export * from './FolderDialog.js'; export * from './ProjectSelect.js'; - -export default manifest; diff --git a/webapp/packages/plugin-projects/src/manifest.ts b/webapp/packages/plugin-projects/src/manifest.ts deleted file mode 100644 index ea6df8d9ccb..00000000000 --- a/webapp/packages/plugin-projects/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { - name: 'Projects plugin', - }, -}; diff --git a/webapp/packages/plugin-projects/src/module.ts b/webapp/packages/plugin-projects/src/module.ts index 320197eb140..5a2eaf93e44 100644 --- a/webapp/packages/plugin-projects/src/module.ts +++ b/webapp/packages/plugin-projects/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-projects', configure: serviceCollection => { diff --git a/webapp/packages/plugin-resource-manager-administration/package.json b/webapp/packages/plugin-resource-manager-administration/package.json index e6097687db3..c97ff520161 100644 --- a/webapp/packages/plugin-resource-manager-administration/package.json +++ b/webapp/packages/plugin-resource-manager-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -35,6 +36,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-resource-manager-administration/src/index.ts b/webapp/packages/plugin-resource-manager-administration/src/index.ts index 33b616d1a4e..c465e1ac538 100644 --- a/webapp/packages/plugin-resource-manager-administration/src/index.ts +++ b/webapp/packages/plugin-resource-manager-administration/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { resourceManagerAdministrationPlugin } from './manifest.js'; - -export default resourceManagerAdministrationPlugin; diff --git a/webapp/packages/plugin-resource-manager-administration/src/manifest.ts b/webapp/packages/plugin-resource-manager-administration/src/manifest.ts deleted file mode 100644 index ed399270359..00000000000 --- a/webapp/packages/plugin-resource-manager-administration/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const resourceManagerAdministrationPlugin: PluginManifest = { - info: { name: 'Resource manager administration plugin' }, -}; diff --git a/webapp/packages/plugin-resource-manager-administration/src/module.ts b/webapp/packages/plugin-resource-manager-administration/src/module.ts index 6c3aa00bf0b..cbd5c607454 100644 --- a/webapp/packages/plugin-resource-manager-administration/src/module.ts +++ b/webapp/packages/plugin-resource-manager-administration/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-resource-manager-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-resource-manager-scripts/package.json b/webapp/packages/plugin-resource-manager-scripts/package.json index 1c366e3c512..4d1f99d8483 100644 --- a/webapp/packages/plugin-resource-manager-scripts/package.json +++ b/webapp/packages/plugin-resource-manager-scripts/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -49,6 +50,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-resource-manager-scripts/src/index.ts b/webapp/packages/plugin-resource-manager-scripts/src/index.ts index 9f4c49f4c51..0caa06b5579 100644 --- a/webapp/packages/plugin-resource-manager-scripts/src/index.ts +++ b/webapp/packages/plugin-resource-manager-scripts/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { resourceManagerScriptsPlugin } from './manifest.js'; - -export default resourceManagerScriptsPlugin; export * from './ResourceManagerScriptsService.js'; export * from './SaveScriptDialog.js'; diff --git a/webapp/packages/plugin-resource-manager-scripts/src/manifest.ts b/webapp/packages/plugin-resource-manager-scripts/src/manifest.ts deleted file mode 100644 index 2161fb8264f..00000000000 --- a/webapp/packages/plugin-resource-manager-scripts/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const resourceManagerScriptsPlugin: PluginManifest = { - info: { name: 'Resource manager scripts plugin' }, -}; diff --git a/webapp/packages/plugin-resource-manager-scripts/src/module.ts b/webapp/packages/plugin-resource-manager-scripts/src/module.ts index cf75e81bca1..b21aef9fbea 100644 --- a/webapp/packages/plugin-resource-manager-scripts/src/module.ts +++ b/webapp/packages/plugin-resource-manager-scripts/src/module.ts @@ -12,7 +12,7 @@ import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; import { ResourceManagerScriptsService } from './ResourceManagerScriptsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-resource-manager-scripts', configure: serviceCollection => { diff --git a/webapp/packages/plugin-resource-manager/package.json b/webapp/packages/plugin-resource-manager/package.json index 904300b4ad7..2f5abec98e0 100644 --- a/webapp/packages/plugin-resource-manager/package.json +++ b/webapp/packages/plugin-resource-manager/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -39,7 +40,8 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/packages/plugin-resource-manager/src/index.ts b/webapp/packages/plugin-resource-manager/src/index.ts index 590ff84d4aa..76615f59f59 100644 --- a/webapp/packages/plugin-resource-manager/src/index.ts +++ b/webapp/packages/plugin-resource-manager/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { resourceManagerPlugin } from './manifest.js'; - -export default resourceManagerPlugin; export * from './ResourceManagerSettingsService.js'; export * from './RESOURCE_NAME_REGEX.js'; diff --git a/webapp/packages/plugin-resource-manager/src/manifest.ts b/webapp/packages/plugin-resource-manager/src/manifest.ts deleted file mode 100644 index 25eac95c8dd..00000000000 --- a/webapp/packages/plugin-resource-manager/src/manifest.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -// -export const resourceManagerPlugin: PluginManifest = { - info: { name: 'Resource manager plugin' }, -}; diff --git a/webapp/packages/plugin-resource-manager/src/module.ts b/webapp/packages/plugin-resource-manager/src/module.ts index c1b97bc330a..e549f6e8c5a 100644 --- a/webapp/packages/plugin-resource-manager/src/module.ts +++ b/webapp/packages/plugin-resource-manager/src/module.ts @@ -13,7 +13,7 @@ import { ResourceProjectsResource } from './ResourceProjectsResource.js'; import { ResourceManagerService } from './ResourceManagerService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-resource-manager', configure: serviceCollection => { diff --git a/webapp/packages/plugin-root/package.json b/webapp/packages/plugin-root/package.json index bf1a1b186e6..a93acb0d48c 100644 --- a/webapp/packages/plugin-root/package.json +++ b/webapp/packages/plugin-root/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -39,6 +40,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-root/src/index.ts b/webapp/packages/plugin-root/src/index.ts index e79eb260117..3f3a6789e2d 100644 --- a/webapp/packages/plugin-root/src/index.ts +++ b/webapp/packages/plugin-root/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { rootPlugin } from './manifest.js'; export { default as ServerNodeChangedDialogStyles } from './ServerNodeChangedDialog/ServerNodeChangedDialog.module.css'; - -export default rootPlugin; diff --git a/webapp/packages/plugin-root/src/manifest.ts b/webapp/packages/plugin-root/src/manifest.ts deleted file mode 100644 index 43b60a12300..00000000000 --- a/webapp/packages/plugin-root/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const rootPlugin: PluginManifest = { - info: { name: 'Root plugin' }, -}; diff --git a/webapp/packages/plugin-root/src/module.ts b/webapp/packages/plugin-root/src/module.ts index 42034380139..e4c2b30fb2a 100644 --- a/webapp/packages/plugin-root/src/module.ts +++ b/webapp/packages/plugin-root/src/module.ts @@ -13,7 +13,7 @@ import { NetworkStateNotificationBootstrap } from './NetworkStateNotification/Ne import { LocaleService } from './LocaleService.js'; import { DataSynchronizationResolverBootstrap } from './DataSynchronization/DataSynchronizationResolverBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-root', configure: serviceCollection => { diff --git a/webapp/packages/plugin-session-expiration/package.json b/webapp/packages/plugin-session-expiration/package.json index d2e6045050e..5330b56c49c 100644 --- a/webapp/packages/plugin-session-expiration/package.json +++ b/webapp/packages/plugin-session-expiration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -41,6 +42,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-session-expiration/src/index.ts b/webapp/packages/plugin-session-expiration/src/index.ts index 115e706aa2b..c465e1ac538 100644 --- a/webapp/packages/plugin-session-expiration/src/index.ts +++ b/webapp/packages/plugin-session-expiration/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { sessionExpirationPlugin } from './manifest.js'; - -export { sessionExpirationPlugin }; -export default sessionExpirationPlugin; diff --git a/webapp/packages/plugin-session-expiration/src/manifest.ts b/webapp/packages/plugin-session-expiration/src/manifest.ts deleted file mode 100644 index e79947d54d5..00000000000 --- a/webapp/packages/plugin-session-expiration/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sessionExpirationPlugin: PluginManifest = { - info: { name: 'Session Expiration plugin' }, -}; diff --git a/webapp/packages/plugin-session-expiration/src/module.ts b/webapp/packages/plugin-session-expiration/src/module.ts index a4dd1e92c98..345da4a1eaa 100644 --- a/webapp/packages/plugin-session-expiration/src/module.ts +++ b/webapp/packages/plugin-session-expiration/src/module.ts @@ -12,7 +12,7 @@ import { PluginBootstrap } from './PluginBootstrap.js'; import { SessionExpiredDialogBootstrap } from './SessionExpireDialog/SessionExpiredDialogBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-session-expiration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-set-common/.gitignore b/webapp/packages/plugin-set-common/.gitignore new file mode 100644 index 00000000000..15bc16c7c31 --- /dev/null +++ b/webapp/packages/plugin-set-common/.gitignore @@ -0,0 +1,17 @@ +# dependencies +/node_modules + +# testing +/coverage + +# production +/lib + +# misc +.DS_Store +.env* + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/webapp/packages/plugin-set-common/package.json b/webapp/packages/plugin-set-common/package.json new file mode 100644 index 00000000000..bc4c93ea696 --- /dev/null +++ b/webapp/packages/plugin-set-common/package.json @@ -0,0 +1,128 @@ +{ + "name": "@cloudbeaver/plugin-set-common", + "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", + "validate-dependencies": "core-cli-validate-dependencies" + }, + "dependencies": { + "@cloudbeaver/core-administration": "workspace:*", + "@cloudbeaver/core-app": "workspace:*", + "@cloudbeaver/core-authentication": "workspace:*", + "@cloudbeaver/core-blocks": "workspace:*", + "@cloudbeaver/core-browser": "workspace:*", + "@cloudbeaver/core-browser-cookies": "workspace:*", + "@cloudbeaver/core-browser-settings": "workspace:*", + "@cloudbeaver/core-client-activity": "workspace:*", + "@cloudbeaver/core-connections": "workspace:*", + "@cloudbeaver/core-dialogs": "workspace:*", + "@cloudbeaver/core-events": "workspace:*", + "@cloudbeaver/core-localization": "workspace:*", + "@cloudbeaver/core-navigation-tree": "workspace:*", + "@cloudbeaver/core-product": "workspace:*", + "@cloudbeaver/core-projects": "workspace:*", + "@cloudbeaver/core-resource-manager": "workspace:*", + "@cloudbeaver/core-root": "workspace:*", + "@cloudbeaver/core-routing": "workspace:*", + "@cloudbeaver/core-sdk": "workspace:*", + "@cloudbeaver/core-server-localization": "workspace:*", + "@cloudbeaver/core-session-localization": "workspace:*", + "@cloudbeaver/core-settings": "workspace:*", + "@cloudbeaver/core-settings-localization": "workspace:*", + "@cloudbeaver/core-settings-user": "workspace:*", + "@cloudbeaver/core-storage": "workspace:*", + "@cloudbeaver/core-task-manager": "workspace:*", + "@cloudbeaver/core-theming": "workspace:*", + "@cloudbeaver/core-ui": "workspace:*", + "@cloudbeaver/core-version": "workspace:*", + "@cloudbeaver/core-version-update": "workspace:*", + "@cloudbeaver/core-view": "workspace:*", + "@cloudbeaver/plugin-administration": "workspace:*", + "@cloudbeaver/plugin-app-logo": "workspace:*", + "@cloudbeaver/plugin-app-logo-administration": "workspace:*", + "@cloudbeaver/plugin-authentication": "workspace:*", + "@cloudbeaver/plugin-authentication-administration": "workspace:*", + "@cloudbeaver/plugin-browser": "workspace:*", + "@cloudbeaver/plugin-codemirror6": "workspace:*", + "@cloudbeaver/plugin-connection-custom": "workspace:*", + "@cloudbeaver/plugin-connection-search": "workspace:*", + "@cloudbeaver/plugin-connections": "workspace:*", + "@cloudbeaver/plugin-connections-administration": "workspace:*", + "@cloudbeaver/plugin-data-export": "workspace:*", + "@cloudbeaver/plugin-data-grid": "workspace:*", + "@cloudbeaver/plugin-data-import": "workspace:*", + "@cloudbeaver/plugin-data-spreadsheet-new": "workspace:*", + "@cloudbeaver/plugin-data-viewer": "workspace:*", + "@cloudbeaver/plugin-data-viewer-result-set-grouping": "workspace:*", + "@cloudbeaver/plugin-data-viewer-result-trace-details": "workspace:*", + "@cloudbeaver/plugin-datasource-context-switch": "workspace:*", + "@cloudbeaver/plugin-datasource-transaction-manager": "workspace:*", + "@cloudbeaver/plugin-ddl-viewer": "workspace:*", + "@cloudbeaver/plugin-devtools": "workspace:*", + "@cloudbeaver/plugin-gis-viewer": "workspace:*", + "@cloudbeaver/plugin-help": "workspace:*", + "@cloudbeaver/plugin-holidays": "workspace:*", + "@cloudbeaver/plugin-holidays-administration": "workspace:*", + "@cloudbeaver/plugin-localization": "workspace:*", + "@cloudbeaver/plugin-log-viewer": "workspace:*", + "@cloudbeaver/plugin-navigation-tabs": "workspace:*", + "@cloudbeaver/plugin-navigation-tree": "workspace:*", + "@cloudbeaver/plugin-navigation-tree-filters": "workspace:*", + "@cloudbeaver/plugin-navigation-tree-rm": "workspace:*", + "@cloudbeaver/plugin-object-viewer": "workspace:*", + "@cloudbeaver/plugin-object-viewer-nav-tree-link": "workspace:*", + "@cloudbeaver/plugin-product": "workspace:*", + "@cloudbeaver/plugin-product-information-administration": "workspace:*", + "@cloudbeaver/plugin-projects": "workspace:*", + "@cloudbeaver/plugin-resource-manager": "workspace:*", + "@cloudbeaver/plugin-resource-manager-administration": "workspace:*", + "@cloudbeaver/plugin-resource-manager-scripts": "workspace:*", + "@cloudbeaver/plugin-root": "workspace:*", + "@cloudbeaver/plugin-session-expiration": "workspace:*", + "@cloudbeaver/plugin-settings-administration": "workspace:*", + "@cloudbeaver/plugin-settings-default-administration": "workspace:*", + "@cloudbeaver/plugin-settings-menu": "workspace:*", + "@cloudbeaver/plugin-settings-menu-administration": "workspace:*", + "@cloudbeaver/plugin-settings-panel": "workspace:*", + "@cloudbeaver/plugin-sql-editor": "workspace:*", + "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*", + "@cloudbeaver/plugin-sql-editor-navigation-tab-script": "workspace:*", + "@cloudbeaver/plugin-sql-editor-new": "workspace:*", + "@cloudbeaver/plugin-sql-editor-screen": "workspace:*", + "@cloudbeaver/plugin-sql-generator": "workspace:*", + "@cloudbeaver/plugin-system-information-administration": "workspace:*", + "@cloudbeaver/plugin-task-manager": "workspace:*", + "@cloudbeaver/plugin-theme": "workspace:*", + "@cloudbeaver/plugin-tools-panel": "workspace:*", + "@cloudbeaver/plugin-top-app-bar": "workspace:*", + "@cloudbeaver/plugin-top-app-bar-administration": "workspace:*", + "@cloudbeaver/plugin-user-profile": "workspace:*", + "@cloudbeaver/plugin-user-profile-administration": "workspace:*", + "@cloudbeaver/plugin-user-profile-settings": "workspace:*", + "@cloudbeaver/plugin-version": "workspace:*", + "@cloudbeaver/plugin-version-update-administration": "workspace:*", + "tslib": "^2" + }, + "devDependencies": { + "@cloudbeaver/core-cli": "workspace:*", + "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", + "typescript": "^5" + } +} diff --git a/webapp/packages/plugin-set-common/src/index.ts b/webapp/packages/plugin-set-common/src/index.ts new file mode 100644 index 00000000000..892a2ae9891 --- /dev/null +++ b/webapp/packages/plugin-set-common/src/index.ts @@ -0,0 +1,206 @@ +/* + * CloudBeaver - Cloud Database Manager + * Copyright (C) 2020-2025 DBeaver Corp and others + * + * Licensed under the Apache License, Version 2.0. + * you may not use this file except in compliance with the License. + */ + +import coreAdministration from '@cloudbeaver/core-administration/module'; +import coreApp from '@cloudbeaver/core-app/module'; +import coreAuthentication from '@cloudbeaver/core-authentication/module'; +import coreBlocks from '@cloudbeaver/core-blocks/module'; +import coreBrowser from '@cloudbeaver/core-browser/module'; +import coreBrowserCookies from '@cloudbeaver/core-browser-cookies/module'; +import coreBrowserSettings from '@cloudbeaver/core-browser-settings/module'; +import coreClientActivity from '@cloudbeaver/core-client-activity/module'; +import coreConnections from '@cloudbeaver/core-connections/module'; +import coreDialogs from '@cloudbeaver/core-dialogs/module'; +import coreEvents from '@cloudbeaver/core-events/module'; +import coreLocalization from '@cloudbeaver/core-localization/module'; +import coreNavigationTree from '@cloudbeaver/core-navigation-tree/module'; +import coreProduct from '@cloudbeaver/core-product/module'; +import coreProjects from '@cloudbeaver/core-projects/module'; +import coreResourceManager from '@cloudbeaver/core-resource-manager/module'; +import coreRoot from '@cloudbeaver/core-root/module'; +import coreRouting from '@cloudbeaver/core-routing/module'; +import coreSdk from '@cloudbeaver/core-sdk/module'; +import coreServerLocalization from '@cloudbeaver/core-server-localization/module'; +import coreSessionLocalization from '@cloudbeaver/core-session-localization/module'; +import coreSettings from '@cloudbeaver/core-settings/module'; +import coreSettingsLocalization from '@cloudbeaver/core-settings-localization/module'; +import coreSettingsUser from '@cloudbeaver/core-settings-user/module'; +import coreStorage from '@cloudbeaver/core-storage/module'; +import coreTaskManager from '@cloudbeaver/core-task-manager/module'; +import coreTheming from '@cloudbeaver/core-theming/module'; +import coreUi from '@cloudbeaver/core-ui/module'; +import coreVersion from '@cloudbeaver/core-version/module'; +import coreVersionUpdate from '@cloudbeaver/core-version-update/module'; +import coreView from '@cloudbeaver/core-view/module'; + +import pluginAdministration from '@cloudbeaver/plugin-administration/module'; +import pluginAppLogo from '@cloudbeaver/plugin-app-logo/module'; +import pluginAppLogoAdministration from '@cloudbeaver/plugin-app-logo-administration/module'; +import pluginAuthentication from '@cloudbeaver/plugin-authentication/module'; +import pluginAuthenticationAdministration from '@cloudbeaver/plugin-authentication-administration/module'; +import pluginBrowser from '@cloudbeaver/plugin-browser/module'; +import pluginConnectionCustom from '@cloudbeaver/plugin-connection-custom/module'; +import pluginConnectionSearch from '@cloudbeaver/plugin-connection-search/module'; +import pluginConnections from '@cloudbeaver/plugin-connections/module'; +import pluginConnectionsAdministration from '@cloudbeaver/plugin-connections-administration/module'; +import pluginDataExport from '@cloudbeaver/plugin-data-export/module'; +import pluginDataGrid from '@cloudbeaver/plugin-data-grid/module'; +import pluginDataImport from '@cloudbeaver/plugin-data-import/module'; +import pluginDataSpreadSheetNew from '@cloudbeaver/plugin-data-spreadsheet-new/module'; +import pluginObjectViewerNavTreeLink from '@cloudbeaver/plugin-object-viewer-nav-tree-link/module'; +import pluginDataViewer from '@cloudbeaver/plugin-data-viewer/module'; +import pluginDataViewerResultSetGrouping from '@cloudbeaver/plugin-data-viewer-result-set-grouping/module'; +import pluginDataViewerResultTraceDetails from '@cloudbeaver/plugin-data-viewer-result-trace-details/module'; +import pluginDatasourceContextSwitch from '@cloudbeaver/plugin-datasource-context-switch/module'; +import pluginDatasourceTransactionManager from '@cloudbeaver/plugin-datasource-transaction-manager/module'; +import pluginDdlViewer from '@cloudbeaver/plugin-ddl-viewer/module'; +import pluginDevTools from '@cloudbeaver/plugin-devtools/module'; +import pluginGisViewer from '@cloudbeaver/plugin-gis-viewer/module'; +import pluginHelp from '@cloudbeaver/plugin-help/module'; +import pluginHolidays from '@cloudbeaver/plugin-holidays/module'; +import pluginHolidaysAdministration from '@cloudbeaver/plugin-holidays-administration/module'; +import pluginLocalization from '@cloudbeaver/plugin-localization/module'; +import pluginLogViewer from '@cloudbeaver/plugin-log-viewer/module'; +import pluginNavigationTabs from '@cloudbeaver/plugin-navigation-tabs/module'; +import pluginNavigationTree from '@cloudbeaver/plugin-navigation-tree/module'; +import pluginNavigationTreeFilters from '@cloudbeaver/plugin-navigation-tree-filters/module'; +import pluginNavigationTreeRm from '@cloudbeaver/plugin-navigation-tree-rm/module'; +import pluginObjectViewer from '@cloudbeaver/plugin-object-viewer/module'; +import pluginProduct from '@cloudbeaver/plugin-product/module'; +import pluginProductInformationAdministration from '@cloudbeaver/plugin-product-information-administration/module'; +import pluginProjects from '@cloudbeaver/plugin-projects/module'; +import pluginResourceManager from '@cloudbeaver/plugin-resource-manager/module'; +import pluginResourceManagerAdministration from '@cloudbeaver/plugin-resource-manager-administration/module'; +import pluginResourceManagerScripts from '@cloudbeaver/plugin-resource-manager-scripts/module'; +import pluginRoot from '@cloudbeaver/plugin-root/module'; +import pluginSessionExpiration from '@cloudbeaver/plugin-session-expiration/module'; +import pluginSettingsAdministration from '@cloudbeaver/plugin-settings-administration/module'; +import pluginSettingsMenu from '@cloudbeaver/plugin-settings-menu/module'; +import pluginSettingsMenuAdministration from '@cloudbeaver/plugin-settings-menu-administration/module'; +import pluginSettingsPanel from '@cloudbeaver/plugin-settings-panel/module'; +import pluginSqlEditor from '@cloudbeaver/plugin-sql-editor/module'; +import pluginSqlEditorNavigationTab from '@cloudbeaver/plugin-sql-editor-navigation-tab/module'; +import pluginSqlEditorNavigationTabScript from '@cloudbeaver/plugin-sql-editor-navigation-tab-script/module'; +import pluginSqlEditorNew from '@cloudbeaver/plugin-sql-editor-new/module'; +import pluginSqlEditorScreen from '@cloudbeaver/plugin-sql-editor-screen/module'; +import pluginSqlGenerator from '@cloudbeaver/plugin-sql-generator/module'; +import pluginTaskManager from '@cloudbeaver/plugin-task-manager/module'; +import pluginTheme from '@cloudbeaver/plugin-theme/module'; +import pluginToolsPanel from '@cloudbeaver/plugin-tools-panel/module'; +import pluginTopAppBar from '@cloudbeaver/plugin-top-app-bar/module'; +import pluginTopAppBarAdministration from '@cloudbeaver/plugin-top-app-bar-administration/module'; +import pluginUserProfile from '@cloudbeaver/plugin-user-profile/module'; +import pluginUserProfileAdministration from '@cloudbeaver/plugin-user-profile-administration/module'; +import pluginUserProfileSettings from '@cloudbeaver/plugin-user-profile-settings/module'; +import pluginVersion from '@cloudbeaver/plugin-version/module'; +import pluginVersionUpdateAdministration from '@cloudbeaver/plugin-version-update-administration/module'; +import pluginSystemInformationAdministration from '@cloudbeaver/plugin-system-information-administration/module'; +import pluginSettingsDefaultAdministration from '@cloudbeaver/plugin-settings-default-administration/module'; +import pluginCodemirror6 from '@cloudbeaver/plugin-codemirror6/module'; + +const core = [ + coreRouting, // important, should be first because the router starts in load phase first after all plugins register phase + coreBrowser, + coreTheming, + coreLocalization, + coreSettingsLocalization, + coreSessionLocalization, + coreServerLocalization, + coreBlocks, + coreSettings, + coreStorage, + coreEvents, + coreSdk, + coreRoot, + coreBrowserSettings, + coreBrowserCookies, + coreProduct, + coreProjects, + coreAuthentication, + coreUi, + coreView, + coreVersion, + coreVersionUpdate, + coreConnections, + coreAdministration, + coreDialogs, + coreResourceManager, + coreApp, + coreClientActivity, + coreNavigationTree, + coreSettingsUser, + coreTaskManager, +]; + +export const commonSet = [ + ...core, + pluginDevTools, + pluginProductInformationAdministration, + pluginAdministration, + pluginDataSpreadSheetNew, + pluginDataGrid, + pluginAuthentication, + pluginAuthenticationAdministration, + pluginTheme, + pluginLocalization, + pluginConnectionCustom, + pluginConnectionSearch, + pluginDataExport, + pluginDataImport, + pluginDataViewer, + pluginDataViewerResultTraceDetails, + pluginDataViewerResultSetGrouping, + pluginGisViewer, + pluginDdlViewer, + pluginObjectViewer, + pluginSqlEditor, + pluginSqlEditorNavigationTab, + pluginSqlEditorScreen, + pluginSqlEditorNew, + pluginSqlGenerator, + pluginUserProfile, + pluginUserProfileAdministration, + pluginObjectViewerNavTreeLink, + pluginConnections, + pluginConnectionsAdministration, + pluginVersionUpdateAdministration, + pluginProduct, + pluginSettingsMenu, + pluginSettingsMenuAdministration, + pluginSettingsPanel, + pluginHelp, + pluginResourceManager, + pluginResourceManagerAdministration, + pluginResourceManagerScripts, + pluginSqlEditorNavigationTabScript, + pluginLogViewer, + pluginNavigationTree, + pluginNavigationTreeRm, + pluginDatasourceContextSwitch, + pluginTopAppBar, + pluginTopAppBarAdministration, + pluginVersion, + pluginNavigationTabs, + pluginRoot, + pluginSessionExpiration, + pluginToolsPanel, + pluginDatasourceTransactionManager, + pluginProjects, + pluginBrowser, + pluginNavigationTreeFilters, + pluginTaskManager, + pluginSettingsAdministration, + pluginUserProfileSettings, + pluginHolidays, + pluginHolidaysAdministration, + pluginAppLogo, + pluginAppLogoAdministration, + pluginSystemInformationAdministration, + pluginSettingsDefaultAdministration, + pluginCodemirror6, +]; diff --git a/webapp/packages/plugin-set-common/tsconfig.json b/webapp/packages/plugin-set-common/tsconfig.json new file mode 100644 index 00000000000..e8eb0405753 --- /dev/null +++ b/webapp/packages/plugin-set-common/tsconfig.json @@ -0,0 +1,310 @@ +{ + "extends": "@cloudbeaver/tsconfig/tsconfig.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "lib", + "tsBuildInfoFile": "lib/tsconfig.tsbuildinfo", + "composite": true + }, + "references": [ + { + "path": "../core-administration" + }, + { + "path": "../core-app" + }, + { + "path": "../core-authentication" + }, + { + "path": "../core-blocks" + }, + { + "path": "../core-browser" + }, + { + "path": "../core-browser-cookies" + }, + { + "path": "../core-browser-settings" + }, + { + "path": "../core-cli" + }, + { + "path": "../core-client-activity" + }, + { + "path": "../core-connections" + }, + { + "path": "../core-dialogs" + }, + { + "path": "../core-events" + }, + { + "path": "../core-localization" + }, + { + "path": "../core-navigation-tree" + }, + { + "path": "../core-product" + }, + { + "path": "../core-projects" + }, + { + "path": "../core-resource-manager" + }, + { + "path": "../core-root" + }, + { + "path": "../core-routing" + }, + { + "path": "../core-sdk" + }, + { + "path": "../core-server-localization" + }, + { + "path": "../core-session-localization" + }, + { + "path": "../core-settings" + }, + { + "path": "../core-settings-localization" + }, + { + "path": "../core-settings-user" + }, + { + "path": "../core-storage" + }, + { + "path": "../core-task-manager" + }, + { + "path": "../core-theming" + }, + { + "path": "../core-ui" + }, + { + "path": "../core-version" + }, + { + "path": "../core-version-update" + }, + { + "path": "../core-view" + }, + { + "path": "../plugin-administration" + }, + { + "path": "../plugin-app-logo" + }, + { + "path": "../plugin-app-logo-administration" + }, + { + "path": "../plugin-authentication" + }, + { + "path": "../plugin-authentication-administration" + }, + { + "path": "../plugin-browser" + }, + { + "path": "../plugin-codemirror6" + }, + { + "path": "../plugin-connection-custom" + }, + { + "path": "../plugin-connection-search" + }, + { + "path": "../plugin-connections" + }, + { + "path": "../plugin-connections-administration" + }, + { + "path": "../plugin-data-export" + }, + { + "path": "../plugin-data-grid" + }, + { + "path": "../plugin-data-import" + }, + { + "path": "../plugin-data-spreadsheet-new" + }, + { + "path": "../plugin-data-viewer" + }, + { + "path": "../plugin-data-viewer-result-set-grouping" + }, + { + "path": "../plugin-data-viewer-result-trace-details" + }, + { + "path": "../plugin-datasource-context-switch" + }, + { + "path": "../plugin-datasource-transaction-manager" + }, + { + "path": "../plugin-ddl-viewer" + }, + { + "path": "../plugin-devtools" + }, + { + "path": "../plugin-gis-viewer" + }, + { + "path": "../plugin-help" + }, + { + "path": "../plugin-holidays" + }, + { + "path": "../plugin-holidays-administration" + }, + { + "path": "../plugin-localization" + }, + { + "path": "../plugin-log-viewer" + }, + { + "path": "../plugin-navigation-tabs" + }, + { + "path": "../plugin-navigation-tree" + }, + { + "path": "../plugin-navigation-tree-filters" + }, + { + "path": "../plugin-navigation-tree-rm" + }, + { + "path": "../plugin-object-viewer" + }, + { + "path": "../plugin-object-viewer-nav-tree-link" + }, + { + "path": "../plugin-product" + }, + { + "path": "../plugin-product-information-administration" + }, + { + "path": "../plugin-projects" + }, + { + "path": "../plugin-resource-manager" + }, + { + "path": "../plugin-resource-manager-administration" + }, + { + "path": "../plugin-resource-manager-scripts" + }, + { + "path": "../plugin-root" + }, + { + "path": "../plugin-session-expiration" + }, + { + "path": "../plugin-settings-administration" + }, + { + "path": "../plugin-settings-default-administration" + }, + { + "path": "../plugin-settings-menu" + }, + { + "path": "../plugin-settings-menu-administration" + }, + { + "path": "../plugin-settings-panel" + }, + { + "path": "../plugin-sql-editor" + }, + { + "path": "../plugin-sql-editor-navigation-tab" + }, + { + "path": "../plugin-sql-editor-navigation-tab-script" + }, + { + "path": "../plugin-sql-editor-new" + }, + { + "path": "../plugin-sql-editor-screen" + }, + { + "path": "../plugin-sql-generator" + }, + { + "path": "../plugin-system-information-administration" + }, + { + "path": "../plugin-task-manager" + }, + { + "path": "../plugin-theme" + }, + { + "path": "../plugin-tools-panel" + }, + { + "path": "../plugin-top-app-bar" + }, + { + "path": "../plugin-top-app-bar-administration" + }, + { + "path": "../plugin-user-profile" + }, + { + "path": "../plugin-user-profile-administration" + }, + { + "path": "../plugin-user-profile-settings" + }, + { + "path": "../plugin-version" + }, + { + "path": "../plugin-version-update-administration" + } + ], + "include": [ + "__custom_mocks__/**/*", + "src/**/*", + "src/**/*.json", + "src/**/*.css", + "src/**/*.scss" + ], + "exclude": [ + "**/node_modules", + "lib/**/*" + ] +} diff --git a/webapp/packages/plugin-settings-administration/package.json b/webapp/packages/plugin-settings-administration/package.json index 86185a1ab59..0a72d82de50 100644 --- a/webapp/packages/plugin-settings-administration/package.json +++ b/webapp/packages/plugin-settings-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,7 +28,6 @@ "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-events": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", - "@cloudbeaver/core-root": "workspace:*", "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-ui": "workspace:*", "@cloudbeaver/plugin-settings-panel": "workspace:*", @@ -42,6 +42,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-settings-administration/src/index.ts b/webapp/packages/plugin-settings-administration/src/index.ts index 2b73e66214f..57143a20335 100644 --- a/webapp/packages/plugin-settings-administration/src/index.ts +++ b/webapp/packages/plugin-settings-administration/src/index.ts @@ -7,8 +7,4 @@ */ import './module.js'; -import { settingsAdministrationPlugin } from './manifest.js'; export { SettingsAdministrationService } from './SettingsAdministrationService.js'; - -export { settingsAdministrationPlugin }; -export default settingsAdministrationPlugin; diff --git a/webapp/packages/plugin-settings-administration/src/manifest.ts b/webapp/packages/plugin-settings-administration/src/manifest.ts deleted file mode 100644 index ea492e168ba..00000000000 --- a/webapp/packages/plugin-settings-administration/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const settingsAdministrationPlugin: PluginManifest = { - info: { name: 'Settings Administration plugin' }, -}; diff --git a/webapp/packages/plugin-settings-administration/src/module.ts b/webapp/packages/plugin-settings-administration/src/module.ts index d0ae94df2f1..b59dbee5069 100644 --- a/webapp/packages/plugin-settings-administration/src/module.ts +++ b/webapp/packages/plugin-settings-administration/src/module.ts @@ -11,7 +11,7 @@ import { SettingsAdministrationService } from './SettingsAdministrationService.j import { SettingsAdministrationPluginBootstrap } from './SettingsAdministrationPluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-settings-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-settings-administration/tsconfig.json b/webapp/packages/plugin-settings-administration/tsconfig.json index af27ac81e1d..ba29c036f02 100644 --- a/webapp/packages/plugin-settings-administration/tsconfig.json +++ b/webapp/packages/plugin-settings-administration/tsconfig.json @@ -28,9 +28,6 @@ { "path": "../core-localization" }, - { - "path": "../core-root" - }, { "path": "../core-settings" }, diff --git a/webapp/packages/plugin-settings-default-administration/package.json b/webapp/packages/plugin-settings-default-administration/package.json index b43bbd8094b..0cb93f74f6c 100644 --- a/webapp/packages/plugin-settings-default-administration/package.json +++ b/webapp/packages/plugin-settings-default-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -21,19 +22,16 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-authentication": "workspace:*", "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-root": "workspace:*", - "@cloudbeaver/core-settings": "workspace:*", - "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/plugin-settings-administration": "workspace:*", - "mobx": "^6", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-settings-default-administration/src/index.ts b/webapp/packages/plugin-settings-default-administration/src/index.ts index 724ba305104..c465e1ac538 100644 --- a/webapp/packages/plugin-settings-default-administration/src/index.ts +++ b/webapp/packages/plugin-settings-default-administration/src/index.ts @@ -7,5 +7,3 @@ */ import './module.js'; - -export * from './manifest.js'; diff --git a/webapp/packages/plugin-settings-default-administration/src/manifest.ts b/webapp/packages/plugin-settings-default-administration/src/manifest.ts deleted file mode 100644 index 47ae89bc39a..00000000000 --- a/webapp/packages/plugin-settings-default-administration/src/manifest.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ - -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const pluginSettingsDefaultAdministrationManifest: PluginManifest = { - info: { - name: 'Plugin Default Settings Administration', - }, -}; diff --git a/webapp/packages/plugin-settings-default-administration/src/module.ts b/webapp/packages/plugin-settings-default-administration/src/module.ts index 08007941f4e..768cb76641b 100644 --- a/webapp/packages/plugin-settings-default-administration/src/module.ts +++ b/webapp/packages/plugin-settings-default-administration/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { SettingsDefaultAdministrationBootstrap } from './SettingsDefaultBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-settings-default-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-settings-default-administration/tsconfig.json b/webapp/packages/plugin-settings-default-administration/tsconfig.json index 165eaf39fb1..7398b0d8753 100644 --- a/webapp/packages/plugin-settings-default-administration/tsconfig.json +++ b/webapp/packages/plugin-settings-default-administration/tsconfig.json @@ -11,9 +11,6 @@ "lib/**/*" ], "references": [ - { - "path": "../core-authentication" - }, { "path": "../core-cli" }, @@ -26,12 +23,6 @@ { "path": "../core-root" }, - { - "path": "../core-settings" - }, - { - "path": "../core-utils" - }, { "path": "../plugin-settings-administration" } diff --git a/webapp/packages/plugin-settings-menu-administration/package.json b/webapp/packages/plugin-settings-menu-administration/package.json index 0943f079a25..862866341ae 100644 --- a/webapp/packages/plugin-settings-menu-administration/package.json +++ b/webapp/packages/plugin-settings-menu-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,6 +28,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-settings-menu-administration/src/index.ts b/webapp/packages/plugin-settings-menu-administration/src/index.ts index f9d153dfb2f..c465e1ac538 100644 --- a/webapp/packages/plugin-settings-menu-administration/src/index.ts +++ b/webapp/packages/plugin-settings-menu-administration/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { settingsMenuAdministrationPlugin } from './manifest.js'; - -export default settingsMenuAdministrationPlugin; diff --git a/webapp/packages/plugin-settings-menu-administration/src/manifest.ts b/webapp/packages/plugin-settings-menu-administration/src/manifest.ts deleted file mode 100644 index 583fb16f4fc..00000000000 --- a/webapp/packages/plugin-settings-menu-administration/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const settingsMenuAdministrationPlugin: PluginManifest = { - info: { name: 'Settings menu administration plugin' }, -}; diff --git a/webapp/packages/plugin-settings-menu-administration/src/module.ts b/webapp/packages/plugin-settings-menu-administration/src/module.ts index efcf4730f06..1e827d5b75e 100644 --- a/webapp/packages/plugin-settings-menu-administration/src/module.ts +++ b/webapp/packages/plugin-settings-menu-administration/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-settings-menu-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-settings-menu/package.json b/webapp/packages/plugin-settings-menu/package.json index 63ddd7d768f..57a60f89b61 100644 --- a/webapp/packages/plugin-settings-menu/package.json +++ b/webapp/packages/plugin-settings-menu/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -36,6 +37,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-settings-menu/src/index.ts b/webapp/packages/plugin-settings-menu/src/index.ts index abad824a841..0975c0798c6 100644 --- a/webapp/packages/plugin-settings-menu/src/index.ts +++ b/webapp/packages/plugin-settings-menu/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { settingsMenuPlugin } from './manifest.js'; - -export default settingsMenuPlugin; export * from './SettingsMenu/SettingsMenu.js'; export * from './SettingsMenu/TOP_NAV_BAR_SETTINGS_MENU.js'; diff --git a/webapp/packages/plugin-settings-menu/src/manifest.ts b/webapp/packages/plugin-settings-menu/src/manifest.ts deleted file mode 100644 index 010bc9c356f..00000000000 --- a/webapp/packages/plugin-settings-menu/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const settingsMenuPlugin: PluginManifest = { - info: { name: 'Settings menu plugin' }, -}; diff --git a/webapp/packages/plugin-settings-menu/src/module.ts b/webapp/packages/plugin-settings-menu/src/module.ts index e44b5171490..12ee0a3cb7f 100644 --- a/webapp/packages/plugin-settings-menu/src/module.ts +++ b/webapp/packages/plugin-settings-menu/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-settings-menu', configure: serviceCollection => { diff --git a/webapp/packages/plugin-settings-panel/package.json b/webapp/packages/plugin-settings-panel/package.json index 30abfd03793..9fd1ab29e9a 100644 --- a/webapp/packages/plugin-settings-panel/package.json +++ b/webapp/packages/plugin-settings-panel/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,8 +30,8 @@ "@cloudbeaver/core-settings": "workspace:*", "@cloudbeaver/core-utils": "workspace:*", "@cloudbeaver/plugin-navigation-tree": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", - "@dbeaver/ui-kit": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", + "@dbeaver/ui-kit": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -42,6 +43,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-settings-panel/src/index.ts b/webapp/packages/plugin-settings-panel/src/index.ts index 00aa527e514..47b574fe21a 100644 --- a/webapp/packages/plugin-settings-panel/src/index.ts +++ b/webapp/packages/plugin-settings-panel/src/index.ts @@ -7,7 +7,5 @@ */ import './module.js'; -import { settingsPanelPlugin } from './manifest.js'; export * from './SettingsPanel/SettingsLazy.js'; -export default settingsPanelPlugin; diff --git a/webapp/packages/plugin-settings-panel/src/manifest.ts b/webapp/packages/plugin-settings-panel/src/manifest.ts deleted file mode 100644 index 03ef9dc094f..00000000000 --- a/webapp/packages/plugin-settings-panel/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const settingsPanelPlugin: PluginManifest = { - info: { name: 'Settings panel plugin' }, -}; diff --git a/webapp/packages/plugin-settings-panel/src/module.ts b/webapp/packages/plugin-settings-panel/src/module.ts index 854c72b6f11..47cc2a2993d 100644 --- a/webapp/packages/plugin-settings-panel/src/module.ts +++ b/webapp/packages/plugin-settings-panel/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { SettingsPanelPluginBootstrap } from './SettingsPanelPluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-settings-panel', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-editor-navigation-tab-script/package.json b/webapp/packages/plugin-sql-editor-navigation-tab-script/package.json index 10ac7a2992d..b723beffa8b 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab-script/package.json +++ b/webapp/packages/plugin-sql-editor-navigation-tab-script/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -44,13 +45,14 @@ "@cloudbeaver/plugin-resource-manager-scripts": "workspace:*", "@cloudbeaver/plugin-sql-editor": "workspace:*", "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/index.ts b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/index.ts index 44c440ab03a..fafdefffdea 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/index.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/index.ts @@ -7,8 +7,5 @@ */ import './module.js'; -import { manifest } from './manifest.js'; export * from './KEY_BINDING_SQL_EDITOR_SAVE_AS_SCRIPT.js'; - -export default manifest; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/manifest.ts b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/manifest.ts deleted file mode 100644 index 08eb52e6f10..00000000000 --- a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const manifest: PluginManifest = { - info: { name: 'Sql Editor Script plugin' }, -}; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/module.ts b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/module.ts index ba0d39903b8..801f837462f 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/module.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/module.ts @@ -13,7 +13,7 @@ import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; import { ResourceEditorSettingsService } from './ResourceEditorSettingsService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-editor-navigation-tab-script', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/package.json b/webapp/packages/plugin-sql-editor-navigation-tab/package.json index 3135da75576..590dda12fbd 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/package.json +++ b/webapp/packages/plugin-sql-editor-navigation-tab/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -52,6 +53,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/index.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/index.ts index b20ed60f300..77414c2f6f0 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/index.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { sqlEditorTabPluginManifest } from './manifest.js'; - -export default sqlEditorTabPluginManifest; export { DATA_CONTEXT_SQL_EDITOR_TAB } from './DATA_CONTEXT_SQL_EDITOR_TAB.js'; export { ACTION_SQL_EDITOR_OPEN } from './ACTION_SQL_EDITOR_OPEN.js'; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/manifest.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/manifest.ts deleted file mode 100644 index 0b449632ff5..00000000000 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sqlEditorTabPluginManifest: PluginManifest = { - info: { - name: 'Sql Editor Navigation Tab Plugin', - }, -}; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/module.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/module.ts index 587c07b5809..94ff8b1390d 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/module.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/module.ts @@ -12,7 +12,7 @@ import { SqlEditorNavigatorService } from './SqlEditorNavigatorService.js'; import { SqlEditorBootstrap } from './SqlEditorBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-editor-navigation-tab', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-editor-new/package.json b/webapp/packages/plugin-sql-editor-new/package.json index 5c0bdda2e43..1a81cbc072f 100644 --- a/webapp/packages/plugin-sql-editor-new/package.json +++ b/webapp/packages/plugin-sql-editor-new/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -41,6 +42,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-sql-editor-new/src/index.ts b/webapp/packages/plugin-sql-editor-new/src/index.ts index ba870f16b54..faf7f7c5ab9 100644 --- a/webapp/packages/plugin-sql-editor-new/src/index.ts +++ b/webapp/packages/plugin-sql-editor-new/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { sqlEditorNewPlugin } from './manifest.js'; - -export default sqlEditorNewPlugin; export * from './SQLEditor/SQLCodeEditor/SQLCodeEditorLoader.js'; export * from './SQLEditor/useSqlDialectAutocompletion.js'; diff --git a/webapp/packages/plugin-sql-editor-new/src/manifest.ts b/webapp/packages/plugin-sql-editor-new/src/manifest.ts deleted file mode 100644 index f5e27c7649d..00000000000 --- a/webapp/packages/plugin-sql-editor-new/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sqlEditorNewPlugin: PluginManifest = { - info: { - name: 'Sql Editor New Plugin', - }, -}; diff --git a/webapp/packages/plugin-sql-editor-new/src/module.ts b/webapp/packages/plugin-sql-editor-new/src/module.ts index a94fb340c88..5ce999461d6 100644 --- a/webapp/packages/plugin-sql-editor-new/src/module.ts +++ b/webapp/packages/plugin-sql-editor-new/src/module.ts @@ -11,7 +11,7 @@ import { PluginBootstrap } from './PluginBootstrap.js'; import { SQLCodeEditorPanelService } from './SQLEditor/SQLCodeEditorPanel/SQLCodeEditorPanelService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-editor-new', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-editor-screen/package.json b/webapp/packages/plugin-sql-editor-screen/package.json index fe26262bf8b..406dfc8e2e6 100644 --- a/webapp/packages/plugin-sql-editor-screen/package.json +++ b/webapp/packages/plugin-sql-editor-screen/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -46,6 +47,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-sql-editor-screen/src/index.ts b/webapp/packages/plugin-sql-editor-screen/src/index.ts index a219ab52a77..c465e1ac538 100644 --- a/webapp/packages/plugin-sql-editor-screen/src/index.ts +++ b/webapp/packages/plugin-sql-editor-screen/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { sqlEditorPagePluginManifest } from './manifest.js'; - -export default sqlEditorPagePluginManifest; diff --git a/webapp/packages/plugin-sql-editor-screen/src/manifest.ts b/webapp/packages/plugin-sql-editor-screen/src/manifest.ts deleted file mode 100644 index e2079727ef0..00000000000 --- a/webapp/packages/plugin-sql-editor-screen/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sqlEditorPagePluginManifest: PluginManifest = { - info: { - name: 'Sql Editor Page plugin', - }, -}; diff --git a/webapp/packages/plugin-sql-editor-screen/src/module.ts b/webapp/packages/plugin-sql-editor-screen/src/module.ts index 46165c74e67..f74592bc322 100644 --- a/webapp/packages/plugin-sql-editor-screen/src/module.ts +++ b/webapp/packages/plugin-sql-editor-screen/src/module.ts @@ -13,7 +13,7 @@ import { SqlEditorScreenBootstrap } from './Screen/SqlEditorScreenBootstrap.js'; import { SqlEditorScreenService } from './Screen/SqlEditorScreenService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-editor-screen', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-editor/package.json b/webapp/packages/plugin-sql-editor/package.json index 723427b608b..2a689fb4bba 100644 --- a/webapp/packages/plugin-sql-editor/package.json +++ b/webapp/packages/plugin-sql-editor/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -54,8 +55,9 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", - "@dbeaver/react-tests": "workspace:^", + "@dbeaver/react-tests": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5", "vitest": "^3" diff --git a/webapp/packages/plugin-sql-editor/src/index.ts b/webapp/packages/plugin-sql-editor/src/index.ts index b371a69c732..1520eba7649 100644 --- a/webapp/packages/plugin-sql-editor/src/index.ts +++ b/webapp/packages/plugin-sql-editor/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -import { sqlEditorPluginManifest } from './manifest.js'; export * from './actions/bindings/KEY_BINDING_SQL_EDITOR_EXECUTE_NEW.js'; export * from './actions/bindings/KEY_BINDING_SQL_EDITOR_EXECUTE_SCRIPT.js'; @@ -52,5 +51,3 @@ export * from './SqlEditorService.js'; export * from './SqlEditorSettingsService.js'; export * from './SqlEditorView.js'; export * from './SqlResultTabs/SqlQueryService.js'; - -export default sqlEditorPluginManifest; diff --git a/webapp/packages/plugin-sql-editor/src/manifest.ts b/webapp/packages/plugin-sql-editor/src/manifest.ts deleted file mode 100644 index 8e704148a81..00000000000 --- a/webapp/packages/plugin-sql-editor/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sqlEditorPluginManifest: PluginManifest = { - info: { - name: 'Sql Editor Plugin', - }, -}; diff --git a/webapp/packages/plugin-sql-editor/src/module.ts b/webapp/packages/plugin-sql-editor/src/module.ts index c814d0a588b..b22d9308ea2 100644 --- a/webapp/packages/plugin-sql-editor/src/module.ts +++ b/webapp/packages/plugin-sql-editor/src/module.ts @@ -26,7 +26,7 @@ import { LocalStorageSqlDataSourceBootstrap } from './SqlDataSource/LocalStorage import { MenuBootstrap } from './MenuBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-editor', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sql-generator/package.json b/webapp/packages/plugin-sql-generator/package.json index 38f2b0ec76d..ae12573636f 100644 --- a/webapp/packages/plugin-sql-generator/package.json +++ b/webapp/packages/plugin-sql-generator/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -47,6 +48,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-sql-generator/src/index.ts b/webapp/packages/plugin-sql-generator/src/index.ts index b72a289d80e..324e0cbc943 100644 --- a/webapp/packages/plugin-sql-generator/src/index.ts +++ b/webapp/packages/plugin-sql-generator/src/index.ts @@ -7,11 +7,7 @@ */ import './module.js'; -import { sqlGeneratorPlugin } from './manifest.js'; export * from './SqlGenerators/SqlGeneratorsResource.js'; export * from './SqlGenerators/SqlGeneratorsBootstrap.js'; export * from './actions/ACTION_SQL_GENERATE.js'; - -export { sqlGeneratorPlugin }; -export default sqlGeneratorPlugin; diff --git a/webapp/packages/plugin-sql-generator/src/manifest.ts b/webapp/packages/plugin-sql-generator/src/manifest.ts deleted file mode 100644 index 60171cfb768..00000000000 --- a/webapp/packages/plugin-sql-generator/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const sqlGeneratorPlugin: PluginManifest = { - info: { - name: 'Sql Editor Generator plugin', - }, -}; diff --git a/webapp/packages/plugin-sql-generator/src/module.ts b/webapp/packages/plugin-sql-generator/src/module.ts index 1ab091d8b39..b9e35e0b1e9 100644 --- a/webapp/packages/plugin-sql-generator/src/module.ts +++ b/webapp/packages/plugin-sql-generator/src/module.ts @@ -13,7 +13,7 @@ import { ScriptPreviewService } from './ScriptPreview/ScriptPreviewService.js'; import { LocaleService } from './LocaleService.js'; import { GeneratorMenuBootstrap } from './GeneratorMenuBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-sql-generator', configure: serviceCollection => { diff --git a/webapp/packages/plugin-sso/package.json b/webapp/packages/plugin-sso/package.json index 8d7d3a6646b..6655cd9dc45 100644 --- a/webapp/packages/plugin-sso/package.json +++ b/webapp/packages/plugin-sso/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -21,12 +22,12 @@ "validate-dependencies": "core-cli-validate-dependencies" }, "dependencies": { - "@cloudbeaver/core-di": "workspace:*", "tslib": "^2" }, "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-sso/src/index.ts b/webapp/packages/plugin-sso/src/index.ts index 95c6997b759..801aab2c44d 100644 --- a/webapp/packages/plugin-sso/src/index.ts +++ b/webapp/packages/plugin-sso/src/index.ts @@ -5,5 +5,3 @@ * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ - -export * from './manifest.js'; diff --git a/webapp/packages/plugin-sso/src/manifest.ts b/webapp/packages/plugin-sso/src/manifest.ts deleted file mode 100644 index 782756d255e..00000000000 --- a/webapp/packages/plugin-sso/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const ssoPlugin: PluginManifest = { - info: { - name: 'SSO Plugin', - }, -}; diff --git a/webapp/packages/plugin-sso/tsconfig.json b/webapp/packages/plugin-sso/tsconfig.json index 9ec23da0a4e..b11e0d4e65f 100644 --- a/webapp/packages/plugin-sso/tsconfig.json +++ b/webapp/packages/plugin-sso/tsconfig.json @@ -9,9 +9,6 @@ "references": [ { "path": "../core-cli" - }, - { - "path": "../core-di" } ], "include": [ diff --git a/webapp/packages/plugin-system-information-administration/package.json b/webapp/packages/plugin-system-information-administration/package.json index 9caabf89a0d..da6077d8d54 100644 --- a/webapp/packages/plugin-system-information-administration/package.json +++ b/webapp/packages/plugin-system-information-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -42,7 +43,7 @@ "@cloudbeaver/tsconfig": "workspace:*", "@dbeaver/cli": "workspace:*", "@types/react": "^19", - "typescript": "^5", - "typescript-plugin-css-modules": "^5" + "rimraf": "^6", + "typescript": "^5" } } diff --git a/webapp/packages/plugin-system-information-administration/src/index.ts b/webapp/packages/plugin-system-information-administration/src/index.ts index ac3d7ce39f7..c465e1ac538 100644 --- a/webapp/packages/plugin-system-information-administration/src/index.ts +++ b/webapp/packages/plugin-system-information-administration/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { pluginSystemInformationAdministrationManifest } from './manifest.js'; - -export { pluginSystemInformationAdministrationManifest }; -export default pluginSystemInformationAdministrationManifest; diff --git a/webapp/packages/plugin-system-information-administration/src/manifest.ts b/webapp/packages/plugin-system-information-administration/src/manifest.ts deleted file mode 100644 index abb00de2f0c..00000000000 --- a/webapp/packages/plugin-system-information-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const pluginSystemInformationAdministrationManifest: PluginManifest = { - info: { - name: 'System Information Administration plugin', - }, -}; diff --git a/webapp/packages/plugin-system-information-administration/src/module.ts b/webapp/packages/plugin-system-information-administration/src/module.ts index 28fdf0d7ebf..05bf9e798aa 100644 --- a/webapp/packages/plugin-system-information-administration/src/module.ts +++ b/webapp/packages/plugin-system-information-administration/src/module.ts @@ -11,7 +11,7 @@ import { SystemInformationResource } from './SystemInformationResource.js'; import { SystemInformationBootstrap } from './SystemInformationBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-system-information-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-task-manager/package.json b/webapp/packages/plugin-task-manager/package.json index a46e46e5163..379adab9970 100644 --- a/webapp/packages/plugin-task-manager/package.json +++ b/webapp/packages/plugin-task-manager/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -31,6 +32,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-task-manager/src/index.ts b/webapp/packages/plugin-task-manager/src/index.ts index b68d82b94fc..c465e1ac538 100644 --- a/webapp/packages/plugin-task-manager/src/index.ts +++ b/webapp/packages/plugin-task-manager/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { taskManagerPluginManifest } from './manifest.js'; - -export { taskManagerPluginManifest }; -export default taskManagerPluginManifest; diff --git a/webapp/packages/plugin-task-manager/src/manifest.ts b/webapp/packages/plugin-task-manager/src/manifest.ts deleted file mode 100644 index 402711abbcb..00000000000 --- a/webapp/packages/plugin-task-manager/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const taskManagerPluginManifest: PluginManifest = { - info: { name: 'Task Manager plugin' }, -}; diff --git a/webapp/packages/plugin-task-manager/src/module.ts b/webapp/packages/plugin-task-manager/src/module.ts index 7333b4986cb..0ddcc1c7c6f 100644 --- a/webapp/packages/plugin-task-manager/src/module.ts +++ b/webapp/packages/plugin-task-manager/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { TaskManagerPluginBootstrap } from './TaskManagerPluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-task-manager', configure: serviceCollection => { diff --git a/webapp/packages/plugin-theme/package.json b/webapp/packages/plugin-theme/package.json index 65d7f319895..7f4f11dd050 100644 --- a/webapp/packages/plugin-theme/package.json +++ b/webapp/packages/plugin-theme/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,6 +28,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-theme/src/index.ts b/webapp/packages/plugin-theme/src/index.ts index 2f87759c928..c465e1ac538 100644 --- a/webapp/packages/plugin-theme/src/index.ts +++ b/webapp/packages/plugin-theme/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { themePlugin } from './manifest.js'; - -export default themePlugin; diff --git a/webapp/packages/plugin-theme/src/manifest.ts b/webapp/packages/plugin-theme/src/manifest.ts deleted file mode 100644 index a8666d84777..00000000000 --- a/webapp/packages/plugin-theme/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const themePlugin: PluginManifest = { - info: { name: 'Theme plugin' }, -}; diff --git a/webapp/packages/plugin-theme/src/module.ts b/webapp/packages/plugin-theme/src/module.ts index 5ced3b99a6f..31f692557ba 100644 --- a/webapp/packages/plugin-theme/src/module.ts +++ b/webapp/packages/plugin-theme/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-theme', configure: serviceCollection => { diff --git a/webapp/packages/plugin-tools-panel/package.json b/webapp/packages/plugin-tools-panel/package.json index 525ea291e4e..8b9c37d5494 100644 --- a/webapp/packages/plugin-tools-panel/package.json +++ b/webapp/packages/plugin-tools-panel/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -40,6 +41,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-tools-panel/src/index.ts b/webapp/packages/plugin-tools-panel/src/index.ts index 7037265a147..9382a2bac09 100644 --- a/webapp/packages/plugin-tools-panel/src/index.ts +++ b/webapp/packages/plugin-tools-panel/src/index.ts @@ -7,12 +7,9 @@ */ import './module.js'; -import { toolsPanelPlugin } from './manifest.js'; export * from './Menu/MENU_TOOLS.js'; export * from './ToolsPanel/ToolsPanelService.js'; export * from './ToolsPanel/ToolsPanelLazy.js'; export * from './ToolsPanelSettingsService.js'; export * from './TOOLS_PANEL_SETTINGS_GROUP.js'; - -export default toolsPanelPlugin; diff --git a/webapp/packages/plugin-tools-panel/src/manifest.ts b/webapp/packages/plugin-tools-panel/src/manifest.ts deleted file mode 100644 index 5c700172364..00000000000 --- a/webapp/packages/plugin-tools-panel/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const toolsPanelPlugin: PluginManifest = { - info: { name: 'Tools panel plugin' }, -}; diff --git a/webapp/packages/plugin-tools-panel/src/module.ts b/webapp/packages/plugin-tools-panel/src/module.ts index 80b22ede011..71a641fb221 100644 --- a/webapp/packages/plugin-tools-panel/src/module.ts +++ b/webapp/packages/plugin-tools-panel/src/module.ts @@ -12,7 +12,7 @@ import { PluginBootstrap } from './PluginBootstrap.js'; import { ToolsPanelService } from './ToolsPanel/ToolsPanelService.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-tools-panel', configure: serviceCollection => { diff --git a/webapp/packages/plugin-top-app-bar-administration/package.json b/webapp/packages/plugin-top-app-bar-administration/package.json index 1e6175fc6ab..32c7e286339 100644 --- a/webapp/packages/plugin-top-app-bar-administration/package.json +++ b/webapp/packages/plugin-top-app-bar-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -32,6 +33,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-top-app-bar-administration/src/index.ts b/webapp/packages/plugin-top-app-bar-administration/src/index.ts index 9a3c812fb1d..c465e1ac538 100644 --- a/webapp/packages/plugin-top-app-bar-administration/src/index.ts +++ b/webapp/packages/plugin-top-app-bar-administration/src/index.ts @@ -7,7 +7,3 @@ */ import './module.js'; -import { administrationTopAppBarPlugin } from './manifest.js'; - -export { administrationTopAppBarPlugin }; -export default administrationTopAppBarPlugin; diff --git a/webapp/packages/plugin-top-app-bar-administration/src/manifest.ts b/webapp/packages/plugin-top-app-bar-administration/src/manifest.ts deleted file mode 100644 index aa0b6422728..00000000000 --- a/webapp/packages/plugin-top-app-bar-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const administrationTopAppBarPlugin: PluginManifest = { - info: { - name: 'Administration Top App Bar plugin', - }, -}; diff --git a/webapp/packages/plugin-top-app-bar-administration/src/module.ts b/webapp/packages/plugin-top-app-bar-administration/src/module.ts index d92baa53b0c..4c66457e361 100644 --- a/webapp/packages/plugin-top-app-bar-administration/src/module.ts +++ b/webapp/packages/plugin-top-app-bar-administration/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-top-app-bar-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-top-app-bar/package.json b/webapp/packages/plugin-top-app-bar/package.json index a46dd494e47..fc3ed6012f2 100644 --- a/webapp/packages/plugin-top-app-bar/package.json +++ b/webapp/packages/plugin-top-app-bar/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -37,6 +38,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-top-app-bar/src/index.ts b/webapp/packages/plugin-top-app-bar/src/index.ts index c8ca5af16ab..1d1e8edc3aa 100644 --- a/webapp/packages/plugin-top-app-bar/src/index.ts +++ b/webapp/packages/plugin-top-app-bar/src/index.ts @@ -7,7 +7,6 @@ */ import './module.js'; -import { topAppBarPlugin } from './manifest.js'; export * from './TopNavBar/AppStateMenu/AppStateMenu.js'; export * from './TopNavBar/AppStateMenu/MENU_APP_STATE.js'; @@ -15,5 +14,3 @@ export * from './TopNavBar/MainMenu/MENU_APP_ACTIONS.js'; export * from './TopNavBar/TopNavService.js'; export * from './TopNavBar/TopNavBar.js'; export { default as TopMenuWrapperStyles } from './TopNavBar/shared/TopMenuWrapper.module.css'; - -export default topAppBarPlugin; diff --git a/webapp/packages/plugin-top-app-bar/src/manifest.ts b/webapp/packages/plugin-top-app-bar/src/manifest.ts deleted file mode 100644 index d310d99b2fb..00000000000 --- a/webapp/packages/plugin-top-app-bar/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const topAppBarPlugin: PluginManifest = { - info: { - name: 'Top App Bar plugin', - }, -}; diff --git a/webapp/packages/plugin-top-app-bar/src/module.ts b/webapp/packages/plugin-top-app-bar/src/module.ts index d15f60e37c5..8e5f8394ace 100644 --- a/webapp/packages/plugin-top-app-bar/src/module.ts +++ b/webapp/packages/plugin-top-app-bar/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { TopNavService } from './TopNavBar/TopNavService.js'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-top-app-bar', configure: serviceCollection => { diff --git a/webapp/packages/plugin-user-profile-administration/package.json b/webapp/packages/plugin-user-profile-administration/package.json index 302d3824eae..aa7f1bde0c6 100644 --- a/webapp/packages/plugin-user-profile-administration/package.json +++ b/webapp/packages/plugin-user-profile-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -29,6 +30,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-user-profile-administration/src/index.ts b/webapp/packages/plugin-user-profile-administration/src/index.ts index 9d783218f2d..c465e1ac538 100644 --- a/webapp/packages/plugin-user-profile-administration/src/index.ts +++ b/webapp/packages/plugin-user-profile-administration/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { userProfileAdministrationPlugin } from './manifest.js'; - -export default userProfileAdministrationPlugin; diff --git a/webapp/packages/plugin-user-profile-administration/src/manifest.ts b/webapp/packages/plugin-user-profile-administration/src/manifest.ts deleted file mode 100644 index a8807f31ee2..00000000000 --- a/webapp/packages/plugin-user-profile-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const userProfileAdministrationPlugin: PluginManifest = { - info: { - name: 'User profile administration plugin', - }, -}; diff --git a/webapp/packages/plugin-user-profile-administration/src/module.ts b/webapp/packages/plugin-user-profile-administration/src/module.ts index c13b6d6cc0d..cffead876b8 100644 --- a/webapp/packages/plugin-user-profile-administration/src/module.ts +++ b/webapp/packages/plugin-user-profile-administration/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-user-profile-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-user-profile-settings/package.json b/webapp/packages/plugin-user-profile-settings/package.json index 35a615a6c1c..fca6f7f4add 100644 --- a/webapp/packages/plugin-user-profile-settings/package.json +++ b/webapp/packages/plugin-user-profile-settings/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -43,6 +44,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-user-profile-settings/src/index.ts b/webapp/packages/plugin-user-profile-settings/src/index.ts index eaf15e0f2e6..c465e1ac538 100644 --- a/webapp/packages/plugin-user-profile-settings/src/index.ts +++ b/webapp/packages/plugin-user-profile-settings/src/index.ts @@ -7,4 +7,3 @@ */ import './module.js'; -export * from './manifest.js'; diff --git a/webapp/packages/plugin-user-profile-settings/src/manifest.ts b/webapp/packages/plugin-user-profile-settings/src/manifest.ts deleted file mode 100644 index ebc8569d0e3..00000000000 --- a/webapp/packages/plugin-user-profile-settings/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const userProfileSettingsPlugin: PluginManifest = { - info: { - name: 'User profile settings plugin', - }, -}; diff --git a/webapp/packages/plugin-user-profile-settings/src/module.ts b/webapp/packages/plugin-user-profile-settings/src/module.ts index a8674a5e56d..859d335aa38 100644 --- a/webapp/packages/plugin-user-profile-settings/src/module.ts +++ b/webapp/packages/plugin-user-profile-settings/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { UserProfileSettingsPluginBootstrap } from './UserProfileSettingsPluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-user-profile-settings', configure: serviceCollection => { diff --git a/webapp/packages/plugin-user-profile/package.json b/webapp/packages/plugin-user-profile/package.json index 15c9d9972c9..da1112b6133 100644 --- a/webapp/packages/plugin-user-profile/package.json +++ b/webapp/packages/plugin-user-profile/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -36,7 +37,7 @@ "@cloudbeaver/core-view": "workspace:*", "@cloudbeaver/plugin-authentication": "workspace:*", "@cloudbeaver/plugin-top-app-bar": "workspace:*", - "@dbeaver/js-helpers": "workspace:^", + "@dbeaver/js-helpers": "workspace:*", "mobx": "^6", "mobx-react-lite": "^4", "react": "^19", @@ -47,6 +48,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-user-profile/src/index.ts b/webapp/packages/plugin-user-profile/src/index.ts index 2ed48413817..e44c9fc6b08 100644 --- a/webapp/packages/plugin-user-profile/src/index.ts +++ b/webapp/packages/plugin-user-profile/src/index.ts @@ -7,9 +7,6 @@ */ import './module.js'; -import { userProfilePlugin } from './manifest.js'; - -export default userProfilePlugin; export * from './UserProfileTabsService.js'; export * from './UserProfileOptionsPanelService.js'; diff --git a/webapp/packages/plugin-user-profile/src/manifest.ts b/webapp/packages/plugin-user-profile/src/manifest.ts deleted file mode 100644 index b27705ba511..00000000000 --- a/webapp/packages/plugin-user-profile/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const userProfilePlugin: PluginManifest = { - info: { - name: 'User profile plugin', - }, -}; diff --git a/webapp/packages/plugin-user-profile/src/module.ts b/webapp/packages/plugin-user-profile/src/module.ts index e4872a78ee1..120ac781318 100644 --- a/webapp/packages/plugin-user-profile/src/module.ts +++ b/webapp/packages/plugin-user-profile/src/module.ts @@ -14,7 +14,7 @@ import { UserProfileFormAuthenticationPartBootstrap } from './UserProfileForm/Us import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-user-profile', configure: serviceCollection => { diff --git a/webapp/packages/plugin-version-update-administration/package.json b/webapp/packages/plugin-version-update-administration/package.json index 3c0691747d4..324eaa8a0ea 100644 --- a/webapp/packages/plugin-version-update-administration/package.json +++ b/webapp/packages/plugin-version-update-administration/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -42,6 +43,7 @@ "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "typescript-plugin-css-modules": "^5" } diff --git a/webapp/packages/plugin-version-update-administration/src/index.ts b/webapp/packages/plugin-version-update-administration/src/index.ts index 8fe348fffc7..f6b515d66df 100644 --- a/webapp/packages/plugin-version-update-administration/src/index.ts +++ b/webapp/packages/plugin-version-update-administration/src/index.ts @@ -9,10 +9,6 @@ import './module.js'; import { importLazyComponent } from '@cloudbeaver/core-blocks'; -import { versionUpdatePlugin } from './manifest.js'; - const VersionUpdate = importLazyComponent(() => import('./VersionUpdate.js').then(m => m.VersionUpdate)); export { VersionUpdate }; - -export default versionUpdatePlugin; diff --git a/webapp/packages/plugin-version-update-administration/src/manifest.ts b/webapp/packages/plugin-version-update-administration/src/manifest.ts deleted file mode 100644 index 4a9d5d2ac61..00000000000 --- a/webapp/packages/plugin-version-update-administration/src/manifest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const versionUpdatePlugin: PluginManifest = { - info: { - name: 'Version update plugin', - }, -}; diff --git a/webapp/packages/plugin-version-update-administration/src/module.ts b/webapp/packages/plugin-version-update-administration/src/module.ts index 72004c44771..1977ab3cd2e 100644 --- a/webapp/packages/plugin-version-update-administration/src/module.ts +++ b/webapp/packages/plugin-version-update-administration/src/module.ts @@ -10,7 +10,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-version-update-administration', configure: serviceCollection => { diff --git a/webapp/packages/plugin-version/package.json b/webapp/packages/plugin-version/package.json index 16177a44582..7e09b010803 100644 --- a/webapp/packages/plugin-version/package.json +++ b/webapp/packages/plugin-version/package.json @@ -12,7 +12,8 @@ "description": "", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,6 +28,7 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", + "rimraf": "^6", "typescript": "^5" } } diff --git a/webapp/packages/plugin-version/src/index.ts b/webapp/packages/plugin-version/src/index.ts index ec3b88d29d3..c465e1ac538 100644 --- a/webapp/packages/plugin-version/src/index.ts +++ b/webapp/packages/plugin-version/src/index.ts @@ -7,6 +7,3 @@ */ import './module.js'; -import { versionPlugin } from './manifest.js'; - -export default versionPlugin; diff --git a/webapp/packages/plugin-version/src/manifest.ts b/webapp/packages/plugin-version/src/manifest.ts deleted file mode 100644 index 4c931939417..00000000000 --- a/webapp/packages/plugin-version/src/manifest.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const versionPlugin: PluginManifest = { - info: { name: 'Version plugin' }, -}; diff --git a/webapp/packages/plugin-version/src/module.ts b/webapp/packages/plugin-version/src/module.ts index 46b3d8ca5d6..89b6c3064a7 100644 --- a/webapp/packages/plugin-version/src/module.ts +++ b/webapp/packages/plugin-version/src/module.ts @@ -9,7 +9,7 @@ import { Bootstrap, ModuleRegistry } from '@cloudbeaver/core-di'; import { PluginBootstrap } from './PluginBootstrap.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-version', configure: serviceCollection => { diff --git a/webapp/packages/product-base/package.json b/webapp/packages/product-base/package.json index 0a979960ff6..68b84cfce99 100644 --- a/webapp/packages/product-base/package.json +++ b/webapp/packages/product-base/package.json @@ -11,6 +11,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*.js": "./lib/*.js", "./*": "./*" }, @@ -26,13 +27,14 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", - "@tailwindcss/vite": "4.0.7", "@types/fs-extra": "^11", "@types/node": "^22", + "rimraf": "^6", "tslib": "^2", "typescript": "^5" }, "dependencies": { + "@tailwindcss/vite": "4.0.7", "@vitejs/plugin-react": "^5", "@wroud/vite-plugin-asset-resolver": "^0", "@wroud/vite-plugin-tsc": "^0", diff --git a/webapp/packages/product-default-impl/package.json b/webapp/packages/product-default-impl/package.json index 8c42aeca0fa..7bd6f21f71e 100644 --- a/webapp/packages/product-default-impl/package.json +++ b/webapp/packages/product-default-impl/package.json @@ -13,7 +13,8 @@ "description": "CloudBeaver Community", "license": "Apache-2.0", "exports": { - ".": "./lib/index.js" + ".": "./lib/index.js", + "./module": "./lib/module.js" }, "scripts": { "build": "tsc -b", @@ -27,72 +28,8 @@ "@cloudbeaver/core-di": "workspace:*", "@cloudbeaver/core-localization": "workspace:*", "@cloudbeaver/core-version-update": "workspace:*", - "@cloudbeaver/plugin-administration": "workspace:*", - "@cloudbeaver/plugin-app-logo": "workspace:*", - "@cloudbeaver/plugin-app-logo-administration": "workspace:*", - "@cloudbeaver/plugin-authentication": "workspace:*", - "@cloudbeaver/plugin-authentication-administration": "workspace:*", - "@cloudbeaver/plugin-browser": "workspace:*", - "@cloudbeaver/plugin-codemirror6": "workspace:*", - "@cloudbeaver/plugin-connection-custom": "workspace:*", - "@cloudbeaver/plugin-connection-search": "workspace:*", - "@cloudbeaver/plugin-connections": "workspace:*", - "@cloudbeaver/plugin-connections-administration": "workspace:*", "@cloudbeaver/plugin-data-editor-public-settings": "workspace:*", - "@cloudbeaver/plugin-data-export": "workspace:*", - "@cloudbeaver/plugin-data-grid": "workspace:*", - "@cloudbeaver/plugin-data-import": "workspace:*", - "@cloudbeaver/plugin-data-spreadsheet-new": "workspace:*", - "@cloudbeaver/plugin-data-viewer": "workspace:*", - "@cloudbeaver/plugin-data-viewer-result-set-grouping": "workspace:*", - "@cloudbeaver/plugin-data-viewer-result-trace-details": "workspace:*", - "@cloudbeaver/plugin-datasource-context-switch": "workspace:*", - "@cloudbeaver/plugin-datasource-transaction-manager": "workspace:*", - "@cloudbeaver/plugin-ddl-viewer": "workspace:*", - "@cloudbeaver/plugin-devtools": "workspace:*", - "@cloudbeaver/plugin-gis-viewer": "workspace:*", - "@cloudbeaver/plugin-help": "workspace:*", - "@cloudbeaver/plugin-holidays": "workspace:*", - "@cloudbeaver/plugin-holidays-administration": "workspace:*", - "@cloudbeaver/plugin-localization": "workspace:*", - "@cloudbeaver/plugin-log-viewer": "workspace:*", - "@cloudbeaver/plugin-navigation-tabs": "workspace:*", - "@cloudbeaver/plugin-navigation-tree": "workspace:*", - "@cloudbeaver/plugin-navigation-tree-filters": "workspace:*", - "@cloudbeaver/plugin-navigation-tree-rm": "workspace:*", - "@cloudbeaver/plugin-object-viewer": "workspace:*", - "@cloudbeaver/plugin-object-viewer-nav-tree-link": "workspace:*", - "@cloudbeaver/plugin-product": "workspace:*", - "@cloudbeaver/plugin-product-information-administration": "workspace:*", - "@cloudbeaver/plugin-projects": "workspace:*", - "@cloudbeaver/plugin-resource-manager": "workspace:*", - "@cloudbeaver/plugin-resource-manager-administration": "workspace:*", - "@cloudbeaver/plugin-resource-manager-scripts": "workspace:*", - "@cloudbeaver/plugin-root": "workspace:*", - "@cloudbeaver/plugin-session-expiration": "workspace:*", - "@cloudbeaver/plugin-settings-administration": "workspace:*", - "@cloudbeaver/plugin-settings-default-administration": "workspace:^", - "@cloudbeaver/plugin-settings-menu": "workspace:*", - "@cloudbeaver/plugin-settings-menu-administration": "workspace:*", - "@cloudbeaver/plugin-settings-panel": "workspace:*", - "@cloudbeaver/plugin-sql-editor": "workspace:*", - "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*", - "@cloudbeaver/plugin-sql-editor-navigation-tab-script": "workspace:*", - "@cloudbeaver/plugin-sql-editor-new": "workspace:*", - "@cloudbeaver/plugin-sql-editor-screen": "workspace:*", - "@cloudbeaver/plugin-sql-generator": "workspace:*", - "@cloudbeaver/plugin-sso": "workspace:*", - "@cloudbeaver/plugin-system-information-administration": "workspace:*", - "@cloudbeaver/plugin-task-manager": "workspace:*", - "@cloudbeaver/plugin-theme": "workspace:*", - "@cloudbeaver/plugin-tools-panel": "workspace:*", - "@cloudbeaver/plugin-top-app-bar": "workspace:*", - "@cloudbeaver/plugin-top-app-bar-administration": "workspace:*", - "@cloudbeaver/plugin-user-profile": "workspace:*", - "@cloudbeaver/plugin-user-profile-administration": "workspace:*", - "@cloudbeaver/plugin-user-profile-settings": "workspace:*", - "@cloudbeaver/plugin-version": "workspace:*", - "@cloudbeaver/plugin-version-update-administration": "workspace:*", + "@cloudbeaver/plugin-set-common": "workspace:*", "react": "^19", "tslib": "^2" }, diff --git a/webapp/packages/product-default-impl/src/index.ts b/webapp/packages/product-default-impl/src/index.ts index 753571e5f3c..e70b7fb616c 100644 --- a/webapp/packages/product-default-impl/src/index.ts +++ b/webapp/packages/product-default-impl/src/index.ts @@ -6,148 +6,17 @@ * you may not use this file except in compliance with the License. */ -import './module.js'; - import { bootstrap } from '@cloudbeaver/core-bootstrap'; -import type { PluginManifest } from '@cloudbeaver/core-di'; -import administration from '@cloudbeaver/plugin-administration'; -import appLogoPlugin from '@cloudbeaver/plugin-app-logo'; -import appLogoPluginAdministration from '@cloudbeaver/plugin-app-logo-administration'; -import authentication from '@cloudbeaver/plugin-authentication'; -import authenticationAdministration from '@cloudbeaver/plugin-authentication-administration'; -import { browserPlugin } from '@cloudbeaver/plugin-browser'; -import connectionCustom from '@cloudbeaver/plugin-connection-custom'; -import connectionSearch from '@cloudbeaver/plugin-connection-search'; -import { objectViewerNavTreeLinkPlugin } from '@cloudbeaver/plugin-object-viewer-nav-tree-link'; -import connectionPlugin from '@cloudbeaver/plugin-connections'; -import connectionAdministration from '@cloudbeaver/plugin-connections-administration'; -import { dataExportManifest } from '@cloudbeaver/plugin-data-export'; -import { dataGridPlugin } from '@cloudbeaver/plugin-data-grid'; -import { dataImportPluginManifest } from '@cloudbeaver/plugin-data-import'; -import { dataSpreadsheetNewManifest } from '@cloudbeaver/plugin-data-spreadsheet-new'; -import { dataViewerManifest } from '@cloudbeaver/plugin-data-viewer'; -import { dvResultSetGroupingPlugin } from '@cloudbeaver/plugin-data-viewer-result-set-grouping'; -import { dataViewerResultTraceDetailsPlugin } from '@cloudbeaver/plugin-data-viewer-result-trace-details'; -import { datasourceContextSwitchPluginManifest } from '@cloudbeaver/plugin-datasource-context-switch'; -import { datasourceTransactionManagerPlugin } from '@cloudbeaver/plugin-datasource-transaction-manager'; -import ddlViewer from '@cloudbeaver/plugin-ddl-viewer'; -import devTools from '@cloudbeaver/plugin-devtools'; -import gisViewer from '@cloudbeaver/plugin-gis-viewer'; -import help from '@cloudbeaver/plugin-help'; -import holidaysPlugin from '@cloudbeaver/plugin-holidays'; -import holidaysPluginAdministration from '@cloudbeaver/plugin-holidays-administration'; -import localization from '@cloudbeaver/plugin-localization'; -import logViewer from '@cloudbeaver/plugin-log-viewer'; -import { navigationTabsPlugin } from '@cloudbeaver/plugin-navigation-tabs'; -import { navigationTreePlugin } from '@cloudbeaver/plugin-navigation-tree'; -import navigationTreeFilters from '@cloudbeaver/plugin-navigation-tree-filters'; -import { navigationTreeRMPlugin } from '@cloudbeaver/plugin-navigation-tree-rm'; -import { objectViewerManifest } from '@cloudbeaver/plugin-object-viewer'; -import productPlugin from '@cloudbeaver/plugin-product'; -import { productInformationPlugin } from '@cloudbeaver/plugin-product-information-administration'; -import projects from '@cloudbeaver/plugin-projects'; -import resourceManager from '@cloudbeaver/plugin-resource-manager'; -import resourceManagerAdministration from '@cloudbeaver/plugin-resource-manager-administration'; -import resourceManagerScripts from '@cloudbeaver/plugin-resource-manager-scripts'; -import root from '@cloudbeaver/plugin-root'; -import { sessionExpirationPlugin } from '@cloudbeaver/plugin-session-expiration'; -import { settingsAdministrationPlugin } from '@cloudbeaver/plugin-settings-administration'; -import settingsMenu from '@cloudbeaver/plugin-settings-menu'; -import settingsMenuAdministration from '@cloudbeaver/plugin-settings-menu-administration'; -import settingsPanelPlugin from '@cloudbeaver/plugin-settings-panel'; -import sqlEditor from '@cloudbeaver/plugin-sql-editor'; -import sqlEditorTab from '@cloudbeaver/plugin-sql-editor-navigation-tab'; -import sqlEditorResource from '@cloudbeaver/plugin-sql-editor-navigation-tab-script'; -import sqlEditorNew from '@cloudbeaver/plugin-sql-editor-new'; -import sqlEditorScreen from '@cloudbeaver/plugin-sql-editor-screen'; -import { sqlGeneratorPlugin } from '@cloudbeaver/plugin-sql-generator'; -import { ssoPlugin } from '@cloudbeaver/plugin-sso'; -import { taskManagerPluginManifest } from '@cloudbeaver/plugin-task-manager'; -import theme from '@cloudbeaver/plugin-theme'; -import toolsPanel from '@cloudbeaver/plugin-tools-panel'; -import topAppBar from '@cloudbeaver/plugin-top-app-bar'; -import { administrationTopAppBarPlugin } from '@cloudbeaver/plugin-top-app-bar-administration'; -import userProfile from '@cloudbeaver/plugin-user-profile'; -import userProfileAdministration from '@cloudbeaver/plugin-user-profile-administration'; -import { userProfileSettingsPlugin } from '@cloudbeaver/plugin-user-profile-settings'; -import version from '@cloudbeaver/plugin-version'; -import versionUpdate from '@cloudbeaver/plugin-version-update-administration'; -import { pluginSystemInformationAdministrationManifest } from '@cloudbeaver/plugin-system-information-administration'; -import { pluginSettingsDefaultAdministrationManifest } from '@cloudbeaver/plugin-settings-default-administration'; -import { codemirror6Manifest } from '@cloudbeaver/plugin-codemirror6'; -import { defaultProductManifest } from './manifest.js'; -import pluginDataEditorPublicSettingsManifest from '@cloudbeaver/plugin-data-editor-public-settings'; +import pluginDataEditorPublicSettings from '@cloudbeaver/plugin-data-editor-public-settings/module'; +import productDefault from './module.js'; +import { commonSet } from '@cloudbeaver/plugin-set-common'; -const PLUGINS: PluginManifest[] = [ - ssoPlugin, - devTools, - productInformationPlugin, - administration, - dataSpreadsheetNewManifest, - dataGridPlugin, - authentication, - authenticationAdministration, - theme, - localization, - connectionCustom, - connectionSearch, - dataExportManifest, - dataImportPluginManifest, - pluginDataEditorPublicSettingsManifest, - dataViewerManifest, - dataViewerResultTraceDetailsPlugin, - dvResultSetGroupingPlugin, - gisViewer, - ddlViewer, - objectViewerManifest, - sqlEditor, - sqlEditorTab, - sqlEditorScreen, - sqlEditorNew, - sqlGeneratorPlugin, - userProfile, - userProfileAdministration, - objectViewerNavTreeLinkPlugin, - connectionPlugin, - connectionAdministration, - versionUpdate, - productPlugin, - settingsMenu, - settingsMenuAdministration, - settingsPanelPlugin, - help, - resourceManager, - resourceManagerAdministration, - resourceManagerScripts, - sqlEditorResource, - logViewer, - navigationTreePlugin, - navigationTreeRMPlugin, - datasourceContextSwitchPluginManifest, - topAppBar, - administrationTopAppBarPlugin, - version, - navigationTabsPlugin, - root, - sessionExpirationPlugin, - toolsPanel, - datasourceTransactionManagerPlugin, - projects, - browserPlugin, - navigationTreeFilters, - taskManagerPluginManifest, - settingsAdministrationPlugin, - userProfileSettingsPlugin, - holidaysPlugin, - holidaysPluginAdministration, - appLogoPlugin, - appLogoPluginAdministration, - pluginSystemInformationAdministrationManifest, - pluginSettingsDefaultAdministrationManifest, - codemirror6Manifest, +const PLUGINS = [ + ...commonSet, + pluginDataEditorPublicSettings, // must be las one to override all - defaultProductManifest, + productDefault, ]; bootstrap(PLUGINS); diff --git a/webapp/packages/product-default-impl/src/manifest.ts b/webapp/packages/product-default-impl/src/manifest.ts deleted file mode 100644 index 3b30e8864ff..00000000000 --- a/webapp/packages/product-default-impl/src/manifest.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others - * - * Licensed under the Apache License, Version 2.0. - * you may not use this file except in compliance with the License. - */ -import './module.js'; -import type { PluginManifest } from '@cloudbeaver/core-di'; - -export const defaultProductManifest: PluginManifest = { - info: { - name: 'Default Product', - }, -}; diff --git a/webapp/packages/product-default-impl/src/module.ts b/webapp/packages/product-default-impl/src/module.ts index 4c3f92ffd04..df43099fe13 100644 --- a/webapp/packages/product-default-impl/src/module.ts +++ b/webapp/packages/product-default-impl/src/module.ts @@ -10,7 +10,7 @@ import { ModuleRegistry, Bootstrap } from '@cloudbeaver/core-di'; import { ProductBootstrap } from './ProductBootstrap.js'; import { LocaleService } from './LocaleService.js'; -ModuleRegistry.add({ +export default ModuleRegistry.add({ name: '@cloudbeaver/product-default-impl', configure: serviceCollection => { diff --git a/webapp/packages/product-default-impl/tsconfig.json b/webapp/packages/product-default-impl/tsconfig.json index e49c91e519a..6d445e01b6c 100644 --- a/webapp/packages/product-default-impl/tsconfig.json +++ b/webapp/packages/product-default-impl/tsconfig.json @@ -25,203 +25,11 @@ { "path": "../core-version-update" }, - { - "path": "../plugin-administration" - }, - { - "path": "../plugin-app-logo" - }, - { - "path": "../plugin-app-logo-administration" - }, - { - "path": "../plugin-authentication" - }, - { - "path": "../plugin-authentication-administration" - }, - { - "path": "../plugin-browser" - }, - { - "path": "../plugin-codemirror6" - }, - { - "path": "../plugin-connection-custom" - }, - { - "path": "../plugin-connection-search" - }, - { - "path": "../plugin-connections" - }, - { - "path": "../plugin-connections-administration" - }, { "path": "../plugin-data-editor-public-settings" }, { - "path": "../plugin-data-export" - }, - { - "path": "../plugin-data-grid" - }, - { - "path": "../plugin-data-import" - }, - { - "path": "../plugin-data-spreadsheet-new" - }, - { - "path": "../plugin-data-viewer" - }, - { - "path": "../plugin-data-viewer-result-set-grouping" - }, - { - "path": "../plugin-data-viewer-result-trace-details" - }, - { - "path": "../plugin-datasource-context-switch" - }, - { - "path": "../plugin-datasource-transaction-manager" - }, - { - "path": "../plugin-ddl-viewer" - }, - { - "path": "../plugin-devtools" - }, - { - "path": "../plugin-gis-viewer" - }, - { - "path": "../plugin-help" - }, - { - "path": "../plugin-holidays" - }, - { - "path": "../plugin-holidays-administration" - }, - { - "path": "../plugin-localization" - }, - { - "path": "../plugin-log-viewer" - }, - { - "path": "../plugin-navigation-tabs" - }, - { - "path": "../plugin-navigation-tree" - }, - { - "path": "../plugin-navigation-tree-filters" - }, - { - "path": "../plugin-navigation-tree-rm" - }, - { - "path": "../plugin-object-viewer" - }, - { - "path": "../plugin-object-viewer-nav-tree-link" - }, - { - "path": "../plugin-product" - }, - { - "path": "../plugin-product-information-administration" - }, - { - "path": "../plugin-projects" - }, - { - "path": "../plugin-resource-manager" - }, - { - "path": "../plugin-resource-manager-administration" - }, - { - "path": "../plugin-resource-manager-scripts" - }, - { - "path": "../plugin-root" - }, - { - "path": "../plugin-session-expiration" - }, - { - "path": "../plugin-settings-administration" - }, - { - "path": "../plugin-settings-default-administration" - }, - { - "path": "../plugin-settings-menu" - }, - { - "path": "../plugin-settings-menu-administration" - }, - { - "path": "../plugin-settings-panel" - }, - { - "path": "../plugin-sql-editor" - }, - { - "path": "../plugin-sql-editor-navigation-tab" - }, - { - "path": "../plugin-sql-editor-navigation-tab-script" - }, - { - "path": "../plugin-sql-editor-new" - }, - { - "path": "../plugin-sql-editor-screen" - }, - { - "path": "../plugin-sql-generator" - }, - { - "path": "../plugin-sso" - }, - { - "path": "../plugin-system-information-administration" - }, - { - "path": "../plugin-task-manager" - }, - { - "path": "../plugin-theme" - }, - { - "path": "../plugin-tools-panel" - }, - { - "path": "../plugin-top-app-bar" - }, - { - "path": "../plugin-top-app-bar-administration" - }, - { - "path": "../plugin-user-profile" - }, - { - "path": "../plugin-user-profile-administration" - }, - { - "path": "../plugin-user-profile-settings" - }, - { - "path": "../plugin-version" - }, - { - "path": "../plugin-version-update-administration" + "path": "../plugin-set-common" } ], "include": [ diff --git a/webapp/packages/tests-runner/package.json b/webapp/packages/tests-runner/package.json index 48b8639b6df..355000fca4f 100644 --- a/webapp/packages/tests-runner/package.json +++ b/webapp/packages/tests-runner/package.json @@ -6,6 +6,7 @@ "license": "Apache-2.0", "exports": { ".": "./lib/index.js", + "./module": "./lib/module.js", "./*": "./lib/*.js" }, "scripts": { @@ -17,10 +18,15 @@ }, "dependencies": { "@cloudbeaver/core-di": "workspace:*", + "@dbeaver/react-tests": "workspace:*", + "@testing-library/dom": "^10", + "@testing-library/jest-dom": "^6", + "@testing-library/react": "^16", "mobx": "^6", "react": "^19", "react-dom": "^19", - "tslib": "^2" + "tslib": "^2", + "vitest": "^3" }, "sideEffects": [ "./lib/module.js", @@ -32,13 +38,11 @@ "devDependencies": { "@cloudbeaver/core-cli": "workspace:*", "@cloudbeaver/tsconfig": "workspace:*", - "@dbeaver/cli": "workspace:^", - "@dbeaver/react-tests": "workspace:^", - "@testing-library/dom": "^10", - "@testing-library/jest-dom": "^6", - "@testing-library/react": "^16", + "@dbeaver/cli": "workspace:*", + "@dbeaver/react-tests": "workspace:*", "@types/node": "^22", "@types/react": "^19", + "rimraf": "^6", "typescript": "^5", "vitest": "^3" } diff --git a/webapp/yarn.lock b/webapp/yarn.lock index cfd011197d7..c41587abfd8 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -1402,8 +1402,9 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1429,12 +1430,13 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/core-version": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/ui-kit": "workspace:^" + "@dbeaver/ui-kit": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -1460,8 +1462,8 @@ __metadata: "@cloudbeaver/tests-runner": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" msw: "npm:^2" rimraf: "npm:^6" @@ -1491,7 +1493,7 @@ __metadata: "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" "@dbeaver/js-helpers": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@dbeaver/ui-kit": "workspace:*" "@testing-library/jest-dom": "npm:^6" "@testing-library/react": "npm:^16" @@ -1506,6 +1508,7 @@ __metadata: react-minisearch: "npm:^7" reakit: "npm:^1" reakit-utils: "npm:^0" + rimraf: "npm:^6" subscript: "npm:^9" tslib: "npm:^2" typescript: "npm:^5" @@ -1518,48 +1521,18 @@ __metadata: version: 0.0.0-use.local resolution: "@cloudbeaver/core-bootstrap@workspace:packages/core-bootstrap" dependencies: - "@cloudbeaver/core-administration": "workspace:*" "@cloudbeaver/core-app": "workspace:*" - "@cloudbeaver/core-authentication": "workspace:*" "@cloudbeaver/core-blocks": "workspace:*" - "@cloudbeaver/core-browser": "workspace:*" - "@cloudbeaver/core-browser-cookies": "workspace:*" - "@cloudbeaver/core-browser-settings": "workspace:*" "@cloudbeaver/core-cli": "workspace:*" - "@cloudbeaver/core-client-activity": "workspace:*" - "@cloudbeaver/core-connections": "workspace:*" "@cloudbeaver/core-di": "workspace:*" - "@cloudbeaver/core-dialogs": "workspace:*" - "@cloudbeaver/core-events": "workspace:*" "@cloudbeaver/core-executor": "workspace:*" - "@cloudbeaver/core-links": "workspace:*" - "@cloudbeaver/core-localization": "workspace:*" - "@cloudbeaver/core-navigation-tree": "workspace:*" - "@cloudbeaver/core-product": "workspace:*" - "@cloudbeaver/core-projects": "workspace:*" - "@cloudbeaver/core-resource": "workspace:*" - "@cloudbeaver/core-resource-manager": "workspace:*" - "@cloudbeaver/core-root": "workspace:*" - "@cloudbeaver/core-routing": "workspace:*" - "@cloudbeaver/core-sdk": "workspace:*" - "@cloudbeaver/core-server-localization": "workspace:*" - "@cloudbeaver/core-session-localization": "workspace:*" - "@cloudbeaver/core-settings": "workspace:*" - "@cloudbeaver/core-settings-localization": "workspace:*" - "@cloudbeaver/core-settings-user": "workspace:*" - "@cloudbeaver/core-storage": "workspace:*" - "@cloudbeaver/core-task-manager": "workspace:*" - "@cloudbeaver/core-theming": "workspace:*" - "@cloudbeaver/core-ui": "workspace:*" - "@cloudbeaver/core-version": "workspace:*" - "@cloudbeaver/core-version-update": "workspace:*" - "@cloudbeaver/core-view": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@types/react": "npm:^19" "@types/react-dom": "npm:^19" mobx: "npm:^6" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -1575,6 +1548,7 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1591,7 +1565,8 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1610,6 +1585,7 @@ __metadata: "@dbeaver/cli": "workspace:*" dexie: "npm:^4" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vite: "npm:^7" @@ -1628,7 +1604,6 @@ __metadata: resolution: "@cloudbeaver/core-cli@workspace:packages/core-cli" dependencies: "@cloudbeaver/tsconfig": "workspace:*" - "@swc/core": "npm:^1" "@types/js-yaml": "npm:^4" "@types/node": "npm:^22" enquirer: "npm:^2" @@ -1657,8 +1632,9 @@ __metadata: "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1687,10 +1663,11 @@ __metadata: "@cloudbeaver/core-settings": "workspace:*" "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" react: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1707,6 +1684,7 @@ __metadata: "@types/react": "npm:^19" mobx: "npm:^6" react: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1720,12 +1698,12 @@ __metadata: "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@types/react": "npm:^19" - "@wroud/di": "npm:^0" + "@wroud/di": "npm:^0.18.3" "@wroud/di-react": "npm:^0" - mobx: "npm:^6" react: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1741,6 +1719,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1759,8 +1738,9 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1775,6 +1755,7 @@ __metadata: "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1786,6 +1767,7 @@ __metadata: dependencies: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1796,9 +1778,9 @@ __metadata: resolution: "@cloudbeaver/core-links@workspace:packages/core-links" dependencies: "@cloudbeaver/core-cli": "workspace:*" - "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1813,8 +1795,9 @@ __metadata: "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1839,12 +1822,12 @@ __metadata: "@cloudbeaver/core-settings": "workspace:*" "@cloudbeaver/core-ui": "workspace:*" "@cloudbeaver/core-utils": "workspace:*" - "@cloudbeaver/tests-runner": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1866,6 +1849,7 @@ __metadata: react: "npm:^19" react-dom: "npm:^19" reakit: "npm:^1" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -1881,6 +1865,7 @@ __metadata: "@cloudbeaver/core-settings": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1903,6 +1888,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1925,6 +1911,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -1935,13 +1922,13 @@ __metadata: resolution: "@cloudbeaver/core-resource@workspace:packages/core-resource" dependencies: "@cloudbeaver/core-cli": "workspace:*" - "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -1965,8 +1952,10 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tests-runner": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" msw: "npm:^2" + rimraf: "npm:^6" rxjs: "npm:^7" tslib: "npm:^2" typescript: "npm:^5" @@ -1984,6 +1973,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" router5: "npm:^8" router5-plugin-browser: "npm:^8" tslib: "npm:^2" @@ -2014,6 +2004,7 @@ __metadata: graphql-request: "npm:^7" graphql-tag: "npm:^2" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2029,6 +2020,7 @@ __metadata: "@cloudbeaver/core-root": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2045,6 +2037,7 @@ __metadata: "@cloudbeaver/core-settings-localization": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2061,8 +2054,9 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -2084,6 +2078,7 @@ __metadata: "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2101,9 +2096,10 @@ __metadata: "@cloudbeaver/tests-runner": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -2119,6 +2115,7 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2134,6 +2131,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2152,7 +2150,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@dbeaver/ui-kit": "workspace:^" "@fontsource/roboto": "npm:^5" "@material/button": "npm:^4" @@ -2165,6 +2163,7 @@ __metadata: "@material/theme": "npm:^4" "@material/typography": "npm:^4" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2188,7 +2187,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/core-view": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" @@ -2197,6 +2196,7 @@ __metadata: react-dnd-html5-backend: "npm:^16" react-dom: "npm:^19" reakit: "npm:^1" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2211,7 +2211,7 @@ __metadata: "@cloudbeaver/tests-runner": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@timohausmann/quadtree-ts": "npm:^2" "@types/md5": "npm:^2" "@types/underscore": "npm:^1" @@ -2220,6 +2220,7 @@ __metadata: fast-deep-equal: "npm:^3" md5: "npm:^2" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" underscore: "npm:^1" @@ -2244,6 +2245,7 @@ __metadata: "@types/react": "npm:^19" mobx: "npm:^6" react: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2264,6 +2266,7 @@ __metadata: "@types/semver": "npm:^7" mobx: "npm:^6" react: "npm:^19" + rimraf: "npm:^6" semver: "npm:^7" tslib: "npm:^2" typescript: "npm:^5" @@ -2282,12 +2285,13 @@ __metadata: "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2338,19 +2342,19 @@ __metadata: "@cloudbeaver/core-resource": "workspace:*" "@cloudbeaver/core-root": "workspace:*" "@cloudbeaver/core-routing": "workspace:*" - "@cloudbeaver/core-sdk": "workspace:*" "@cloudbeaver/core-ui": "workspace:*" "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/core-view": "workspace:*" "@cloudbeaver/plugin-settings-menu": "workspace:*" "@cloudbeaver/plugin-top-app-bar": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2366,6 +2370,7 @@ __metadata: "@cloudbeaver/plugin-administration": "workspace:*" "@cloudbeaver/plugin-app-logo": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2389,6 +2394,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2419,14 +2425,15 @@ __metadata: "@cloudbeaver/plugin-administration": "workspace:*" "@cloudbeaver/plugin-authentication": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/ui-kit": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/ui-kit": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" reakit: "npm:^1" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2460,6 +2467,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2475,6 +2483,7 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2503,7 +2512,7 @@ __metadata: "@codemirror/search": "npm:^6" "@codemirror/state": "npm:^6" "@codemirror/view": "npm:^6" - "@dbeaver/ui-kit": "workspace:^" + "@dbeaver/ui-kit": "workspace:*" "@lezer/common": "npm:^1" "@lezer/highlight": "npm:^1" "@types/react": "npm:^19" @@ -2512,6 +2521,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2546,6 +2556,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2579,6 +2590,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2606,12 +2618,12 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/plugin-connections": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2647,13 +2659,14 @@ __metadata: "@cloudbeaver/plugin-projects": "workspace:*" "@cloudbeaver/plugin-top-app-bar": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/jdbc-uri-parser": "workspace:^" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/jdbc-uri-parser": "workspace:*" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2665,13 +2678,13 @@ __metadata: resolution: "@cloudbeaver/plugin-d3js@workspace:packages/plugin-d3js" dependencies: "@cloudbeaver/core-cli": "workspace:*" - "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" "@types/d3": "npm:^7" "@types/d3-drag": "npm:^3" d3: "npm:^7" d3-drag: "npm:^3" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -2684,9 +2697,7 @@ __metadata: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" - "@cloudbeaver/core-root": "workspace:*" "@cloudbeaver/core-settings": "workspace:*" - "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/plugin-data-import": "workspace:*" "@cloudbeaver/plugin-data-viewer": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" @@ -2724,6 +2735,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2740,12 +2752,13 @@ __metadata: "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" "@dbeaver/react-data-grid": "workspace:*" - "@dbeaver/ui-kit": "workspace:^" + "@dbeaver/ui-kit": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2777,6 +2790,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2794,7 +2808,6 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-dialogs": "workspace:*" "@cloudbeaver/core-events": "workspace:*" - "@cloudbeaver/core-executor": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-sdk": "workspace:*" "@cloudbeaver/core-settings": "workspace:*" @@ -2805,18 +2818,16 @@ __metadata: "@cloudbeaver/plugin-data-viewer": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" - "@dbeaver/result-set-api": "workspace:^" - "@dbeaver/ui-kit": "workspace:^" - "@popperjs/core": "npm:^2" + "@dbeaver/react-tests": "workspace:*" + "@dbeaver/result-set-api": "workspace:*" + "@dbeaver/ui-kit": "workspace:*" "@types/react": "npm:^19" "@types/react-dom": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" - react-popper: "npm:^2" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2848,6 +2859,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2872,6 +2884,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2906,15 +2919,16 @@ __metadata: "@cloudbeaver/plugin-object-viewer": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" - "@dbeaver/result-set-api": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/react-tests": "workspace:*" + "@dbeaver/result-set-api": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" reflect-metadata: "npm:^0" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2948,6 +2962,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -2980,12 +2995,13 @@ __metadata: "@cloudbeaver/plugin-tools-panel": "workspace:*" "@cloudbeaver/plugin-top-app-bar": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3018,6 +3034,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3045,6 +3062,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3075,6 +3093,7 @@ __metadata: react: "npm:^19" react-dom: "npm:^19" react-leaflet: "npm:^5" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3108,8 +3127,12 @@ __metadata: "@cloudbeaver/plugin-top-app-bar": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@types/react": "npm:^19" + "@types/react-dom": "npm:^19" + mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" + react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3125,6 +3148,7 @@ __metadata: "@cloudbeaver/plugin-administration": "workspace:*" "@cloudbeaver/plugin-holidays": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3145,6 +3169,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3161,6 +3186,7 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3184,12 +3210,13 @@ __metadata: "@cloudbeaver/plugin-tools-panel": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3213,7 +3240,6 @@ __metadata: "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-projects": "workspace:*" "@cloudbeaver/core-resource": "workspace:*" - "@cloudbeaver/core-root": "workspace:*" "@cloudbeaver/core-settings": "workspace:*" "@cloudbeaver/core-storage": "workspace:*" "@cloudbeaver/core-ui": "workspace:*" @@ -3225,6 +3251,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3252,6 +3279,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3283,12 +3311,13 @@ __metadata: "@cloudbeaver/plugin-resource-manager": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3318,13 +3347,14 @@ __metadata: "@cloudbeaver/core-view": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/react-tests": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3344,6 +3374,7 @@ __metadata: "@cloudbeaver/plugin-datasource-context-switch": "workspace:*" "@cloudbeaver/plugin-navigation-tree": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3373,13 +3404,14 @@ __metadata: "@cloudbeaver/plugin-navigation-tabs": "workspace:*" "@cloudbeaver/plugin-navigation-tree": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" reakit: "npm:^1" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3406,6 +3438,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3434,6 +3467,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3458,6 +3492,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3479,6 +3514,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3513,6 +3549,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3535,8 +3572,9 @@ __metadata: "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -3562,6 +3600,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3589,6 +3628,114 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" + tslib: "npm:^2" + typescript: "npm:^5" + languageName: unknown + linkType: soft + +"@cloudbeaver/plugin-set-common@workspace:*, @cloudbeaver/plugin-set-common@workspace:packages/plugin-set-common": + version: 0.0.0-use.local + resolution: "@cloudbeaver/plugin-set-common@workspace:packages/plugin-set-common" + dependencies: + "@cloudbeaver/core-administration": "workspace:*" + "@cloudbeaver/core-app": "workspace:*" + "@cloudbeaver/core-authentication": "workspace:*" + "@cloudbeaver/core-blocks": "workspace:*" + "@cloudbeaver/core-browser": "workspace:*" + "@cloudbeaver/core-browser-cookies": "workspace:*" + "@cloudbeaver/core-browser-settings": "workspace:*" + "@cloudbeaver/core-cli": "workspace:*" + "@cloudbeaver/core-client-activity": "workspace:*" + "@cloudbeaver/core-connections": "workspace:*" + "@cloudbeaver/core-dialogs": "workspace:*" + "@cloudbeaver/core-events": "workspace:*" + "@cloudbeaver/core-localization": "workspace:*" + "@cloudbeaver/core-navigation-tree": "workspace:*" + "@cloudbeaver/core-product": "workspace:*" + "@cloudbeaver/core-projects": "workspace:*" + "@cloudbeaver/core-resource-manager": "workspace:*" + "@cloudbeaver/core-root": "workspace:*" + "@cloudbeaver/core-routing": "workspace:*" + "@cloudbeaver/core-sdk": "workspace:*" + "@cloudbeaver/core-server-localization": "workspace:*" + "@cloudbeaver/core-session-localization": "workspace:*" + "@cloudbeaver/core-settings": "workspace:*" + "@cloudbeaver/core-settings-localization": "workspace:*" + "@cloudbeaver/core-settings-user": "workspace:*" + "@cloudbeaver/core-storage": "workspace:*" + "@cloudbeaver/core-task-manager": "workspace:*" + "@cloudbeaver/core-theming": "workspace:*" + "@cloudbeaver/core-ui": "workspace:*" + "@cloudbeaver/core-version": "workspace:*" + "@cloudbeaver/core-version-update": "workspace:*" + "@cloudbeaver/core-view": "workspace:*" + "@cloudbeaver/plugin-administration": "workspace:*" + "@cloudbeaver/plugin-app-logo": "workspace:*" + "@cloudbeaver/plugin-app-logo-administration": "workspace:*" + "@cloudbeaver/plugin-authentication": "workspace:*" + "@cloudbeaver/plugin-authentication-administration": "workspace:*" + "@cloudbeaver/plugin-browser": "workspace:*" + "@cloudbeaver/plugin-codemirror6": "workspace:*" + "@cloudbeaver/plugin-connection-custom": "workspace:*" + "@cloudbeaver/plugin-connection-search": "workspace:*" + "@cloudbeaver/plugin-connections": "workspace:*" + "@cloudbeaver/plugin-connections-administration": "workspace:*" + "@cloudbeaver/plugin-data-export": "workspace:*" + "@cloudbeaver/plugin-data-grid": "workspace:*" + "@cloudbeaver/plugin-data-import": "workspace:*" + "@cloudbeaver/plugin-data-spreadsheet-new": "workspace:*" + "@cloudbeaver/plugin-data-viewer": "workspace:*" + "@cloudbeaver/plugin-data-viewer-result-set-grouping": "workspace:*" + "@cloudbeaver/plugin-data-viewer-result-trace-details": "workspace:*" + "@cloudbeaver/plugin-datasource-context-switch": "workspace:*" + "@cloudbeaver/plugin-datasource-transaction-manager": "workspace:*" + "@cloudbeaver/plugin-ddl-viewer": "workspace:*" + "@cloudbeaver/plugin-devtools": "workspace:*" + "@cloudbeaver/plugin-gis-viewer": "workspace:*" + "@cloudbeaver/plugin-help": "workspace:*" + "@cloudbeaver/plugin-holidays": "workspace:*" + "@cloudbeaver/plugin-holidays-administration": "workspace:*" + "@cloudbeaver/plugin-localization": "workspace:*" + "@cloudbeaver/plugin-log-viewer": "workspace:*" + "@cloudbeaver/plugin-navigation-tabs": "workspace:*" + "@cloudbeaver/plugin-navigation-tree": "workspace:*" + "@cloudbeaver/plugin-navigation-tree-filters": "workspace:*" + "@cloudbeaver/plugin-navigation-tree-rm": "workspace:*" + "@cloudbeaver/plugin-object-viewer": "workspace:*" + "@cloudbeaver/plugin-object-viewer-nav-tree-link": "workspace:*" + "@cloudbeaver/plugin-product": "workspace:*" + "@cloudbeaver/plugin-product-information-administration": "workspace:*" + "@cloudbeaver/plugin-projects": "workspace:*" + "@cloudbeaver/plugin-resource-manager": "workspace:*" + "@cloudbeaver/plugin-resource-manager-administration": "workspace:*" + "@cloudbeaver/plugin-resource-manager-scripts": "workspace:*" + "@cloudbeaver/plugin-root": "workspace:*" + "@cloudbeaver/plugin-session-expiration": "workspace:*" + "@cloudbeaver/plugin-settings-administration": "workspace:*" + "@cloudbeaver/plugin-settings-default-administration": "workspace:*" + "@cloudbeaver/plugin-settings-menu": "workspace:*" + "@cloudbeaver/plugin-settings-menu-administration": "workspace:*" + "@cloudbeaver/plugin-settings-panel": "workspace:*" + "@cloudbeaver/plugin-sql-editor": "workspace:*" + "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*" + "@cloudbeaver/plugin-sql-editor-navigation-tab-script": "workspace:*" + "@cloudbeaver/plugin-sql-editor-new": "workspace:*" + "@cloudbeaver/plugin-sql-editor-screen": "workspace:*" + "@cloudbeaver/plugin-sql-generator": "workspace:*" + "@cloudbeaver/plugin-system-information-administration": "workspace:*" + "@cloudbeaver/plugin-task-manager": "workspace:*" + "@cloudbeaver/plugin-theme": "workspace:*" + "@cloudbeaver/plugin-tools-panel": "workspace:*" + "@cloudbeaver/plugin-top-app-bar": "workspace:*" + "@cloudbeaver/plugin-top-app-bar-administration": "workspace:*" + "@cloudbeaver/plugin-user-profile": "workspace:*" + "@cloudbeaver/plugin-user-profile-administration": "workspace:*" + "@cloudbeaver/plugin-user-profile-settings": "workspace:*" + "@cloudbeaver/plugin-version": "workspace:*" + "@cloudbeaver/plugin-version-update-administration": "workspace:*" + "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3604,7 +3751,6 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-events": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" - "@cloudbeaver/core-root": "workspace:*" "@cloudbeaver/core-settings": "workspace:*" "@cloudbeaver/core-ui": "workspace:*" "@cloudbeaver/plugin-settings-panel": "workspace:*" @@ -3615,25 +3761,23 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown linkType: soft -"@cloudbeaver/plugin-settings-default-administration@workspace:^, @cloudbeaver/plugin-settings-default-administration@workspace:packages/plugin-settings-default-administration": +"@cloudbeaver/plugin-settings-default-administration@workspace:*, @cloudbeaver/plugin-settings-default-administration@workspace:packages/plugin-settings-default-administration": version: 0.0.0-use.local resolution: "@cloudbeaver/plugin-settings-default-administration@workspace:packages/plugin-settings-default-administration" dependencies: - "@cloudbeaver/core-authentication": "workspace:*" "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-root": "workspace:*" - "@cloudbeaver/core-settings": "workspace:*" - "@cloudbeaver/core-utils": "workspace:*" "@cloudbeaver/plugin-settings-administration": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3646,6 +3790,7 @@ __metadata: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3667,6 +3812,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3686,13 +3832,14 @@ __metadata: "@cloudbeaver/plugin-navigation-tree": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" - "@dbeaver/ui-kit": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" + "@dbeaver/ui-kit": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3728,8 +3875,9 @@ __metadata: "@cloudbeaver/plugin-sql-editor": "workspace:*" "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" mobx: "npm:^6" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3767,6 +3915,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3794,6 +3943,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3826,6 +3976,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3860,12 +4011,13 @@ __metadata: "@cloudbeaver/plugin-navigation-tabs": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@dbeaver/cli": "workspace:*" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/react-tests": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3899,6 +4051,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -3910,8 +4063,8 @@ __metadata: resolution: "@cloudbeaver/plugin-sso@workspace:packages/plugin-sso" dependencies: "@cloudbeaver/core-cli": "workspace:*" - "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3938,9 +4091,9 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" - typescript-plugin-css-modules: "npm:^5" languageName: unknown linkType: soft @@ -3955,6 +4108,7 @@ __metadata: "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-task-manager": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3967,6 +4121,7 @@ __metadata: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -3992,6 +4147,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -4010,6 +4166,7 @@ __metadata: "@cloudbeaver/tsconfig": "workspace:*" "@types/react": "npm:^19" react: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -4032,6 +4189,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -4047,6 +4205,7 @@ __metadata: "@cloudbeaver/plugin-administration": "workspace:*" "@cloudbeaver/plugin-user-profile": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -4075,6 +4234,7 @@ __metadata: mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -4101,12 +4261,13 @@ __metadata: "@cloudbeaver/plugin-authentication": "workspace:*" "@cloudbeaver/plugin-top-app-bar": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/js-helpers": "workspace:^" + "@dbeaver/js-helpers": "workspace:*" "@types/react": "npm:^19" mobx: "npm:^6" mobx-react-lite: "npm:^4" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -4135,6 +4296,7 @@ __metadata: react: "npm:^19" react-dom: "npm:^19" react-markdown: "npm:^10" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" typescript-plugin-css-modules: "npm:^5" @@ -4148,6 +4310,7 @@ __metadata: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" languageName: unknown @@ -4166,6 +4329,7 @@ __metadata: "@wroud/vite-plugin-asset-resolver": "npm:^0" "@wroud/vite-plugin-tsc": "npm:^0" fs-extra: "npm:^11" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vite: "npm:^7" @@ -4184,72 +4348,8 @@ __metadata: "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/core-localization": "workspace:*" "@cloudbeaver/core-version-update": "workspace:*" - "@cloudbeaver/plugin-administration": "workspace:*" - "@cloudbeaver/plugin-app-logo": "workspace:*" - "@cloudbeaver/plugin-app-logo-administration": "workspace:*" - "@cloudbeaver/plugin-authentication": "workspace:*" - "@cloudbeaver/plugin-authentication-administration": "workspace:*" - "@cloudbeaver/plugin-browser": "workspace:*" - "@cloudbeaver/plugin-codemirror6": "workspace:*" - "@cloudbeaver/plugin-connection-custom": "workspace:*" - "@cloudbeaver/plugin-connection-search": "workspace:*" - "@cloudbeaver/plugin-connections": "workspace:*" - "@cloudbeaver/plugin-connections-administration": "workspace:*" "@cloudbeaver/plugin-data-editor-public-settings": "workspace:*" - "@cloudbeaver/plugin-data-export": "workspace:*" - "@cloudbeaver/plugin-data-grid": "workspace:*" - "@cloudbeaver/plugin-data-import": "workspace:*" - "@cloudbeaver/plugin-data-spreadsheet-new": "workspace:*" - "@cloudbeaver/plugin-data-viewer": "workspace:*" - "@cloudbeaver/plugin-data-viewer-result-set-grouping": "workspace:*" - "@cloudbeaver/plugin-data-viewer-result-trace-details": "workspace:*" - "@cloudbeaver/plugin-datasource-context-switch": "workspace:*" - "@cloudbeaver/plugin-datasource-transaction-manager": "workspace:*" - "@cloudbeaver/plugin-ddl-viewer": "workspace:*" - "@cloudbeaver/plugin-devtools": "workspace:*" - "@cloudbeaver/plugin-gis-viewer": "workspace:*" - "@cloudbeaver/plugin-help": "workspace:*" - "@cloudbeaver/plugin-holidays": "workspace:*" - "@cloudbeaver/plugin-holidays-administration": "workspace:*" - "@cloudbeaver/plugin-localization": "workspace:*" - "@cloudbeaver/plugin-log-viewer": "workspace:*" - "@cloudbeaver/plugin-navigation-tabs": "workspace:*" - "@cloudbeaver/plugin-navigation-tree": "workspace:*" - "@cloudbeaver/plugin-navigation-tree-filters": "workspace:*" - "@cloudbeaver/plugin-navigation-tree-rm": "workspace:*" - "@cloudbeaver/plugin-object-viewer": "workspace:*" - "@cloudbeaver/plugin-object-viewer-nav-tree-link": "workspace:*" - "@cloudbeaver/plugin-product": "workspace:*" - "@cloudbeaver/plugin-product-information-administration": "workspace:*" - "@cloudbeaver/plugin-projects": "workspace:*" - "@cloudbeaver/plugin-resource-manager": "workspace:*" - "@cloudbeaver/plugin-resource-manager-administration": "workspace:*" - "@cloudbeaver/plugin-resource-manager-scripts": "workspace:*" - "@cloudbeaver/plugin-root": "workspace:*" - "@cloudbeaver/plugin-session-expiration": "workspace:*" - "@cloudbeaver/plugin-settings-administration": "workspace:*" - "@cloudbeaver/plugin-settings-default-administration": "workspace:^" - "@cloudbeaver/plugin-settings-menu": "workspace:*" - "@cloudbeaver/plugin-settings-menu-administration": "workspace:*" - "@cloudbeaver/plugin-settings-panel": "workspace:*" - "@cloudbeaver/plugin-sql-editor": "workspace:*" - "@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*" - "@cloudbeaver/plugin-sql-editor-navigation-tab-script": "workspace:*" - "@cloudbeaver/plugin-sql-editor-new": "workspace:*" - "@cloudbeaver/plugin-sql-editor-screen": "workspace:*" - "@cloudbeaver/plugin-sql-generator": "workspace:*" - "@cloudbeaver/plugin-sso": "workspace:*" - "@cloudbeaver/plugin-system-information-administration": "workspace:*" - "@cloudbeaver/plugin-task-manager": "workspace:*" - "@cloudbeaver/plugin-theme": "workspace:*" - "@cloudbeaver/plugin-tools-panel": "workspace:*" - "@cloudbeaver/plugin-top-app-bar": "workspace:*" - "@cloudbeaver/plugin-top-app-bar-administration": "workspace:*" - "@cloudbeaver/plugin-user-profile": "workspace:*" - "@cloudbeaver/plugin-user-profile-administration": "workspace:*" - "@cloudbeaver/plugin-user-profile-settings": "workspace:*" - "@cloudbeaver/plugin-version": "workspace:*" - "@cloudbeaver/plugin-version-update-administration": "workspace:*" + "@cloudbeaver/plugin-set-common": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" "@types/react": "npm:^19" react: "npm:^19" @@ -4291,8 +4391,8 @@ __metadata: "@cloudbeaver/core-cli": "workspace:*" "@cloudbeaver/core-di": "workspace:*" "@cloudbeaver/tsconfig": "workspace:*" - "@dbeaver/cli": "workspace:^" - "@dbeaver/react-tests": "workspace:^" + "@dbeaver/cli": "workspace:*" + "@dbeaver/react-tests": "workspace:*" "@testing-library/dom": "npm:^10" "@testing-library/jest-dom": "npm:^6" "@testing-library/react": "npm:^16" @@ -4301,6 +4401,7 @@ __metadata: mobx: "npm:^6" react: "npm:^19" react-dom: "npm:^19" + rimraf: "npm:^6" tslib: "npm:^2" typescript: "npm:^5" vitest: "npm:^3" @@ -4516,7 +4617,7 @@ __metadata: languageName: unknown linkType: soft -"@dbeaver/jdbc-uri-parser@workspace:^, @dbeaver/jdbc-uri-parser@workspace:common-typescript/@dbeaver/jdbc-uri-parser": +"@dbeaver/jdbc-uri-parser@workspace:*, @dbeaver/jdbc-uri-parser@workspace:common-typescript/@dbeaver/jdbc-uri-parser": version: 0.0.0-use.local resolution: "@dbeaver/jdbc-uri-parser@workspace:common-typescript/@dbeaver/jdbc-uri-parser" dependencies: @@ -4527,7 +4628,7 @@ __metadata: languageName: unknown linkType: soft -"@dbeaver/js-helpers@workspace:*, @dbeaver/js-helpers@workspace:^, @dbeaver/js-helpers@workspace:common-typescript/@dbeaver/js-helpers": +"@dbeaver/js-helpers@workspace:*, @dbeaver/js-helpers@workspace:common-typescript/@dbeaver/js-helpers": version: 0.0.0-use.local resolution: "@dbeaver/js-helpers@workspace:common-typescript/@dbeaver/js-helpers" dependencies: @@ -4581,7 +4682,7 @@ __metadata: languageName: unknown linkType: soft -"@dbeaver/react-tests@workspace:^, @dbeaver/react-tests@workspace:common-react/@dbeaver/react-tests": +"@dbeaver/react-tests@workspace:*, @dbeaver/react-tests@workspace:^, @dbeaver/react-tests@workspace:common-react/@dbeaver/react-tests": version: 0.0.0-use.local resolution: "@dbeaver/react-tests@workspace:common-react/@dbeaver/react-tests" dependencies: @@ -4599,7 +4700,7 @@ __metadata: languageName: unknown linkType: soft -"@dbeaver/result-set-api@workspace:^, @dbeaver/result-set-api@workspace:common-typescript/@dbeaver/result-set-api": +"@dbeaver/result-set-api@workspace:*, @dbeaver/result-set-api@workspace:common-typescript/@dbeaver/result-set-api": version: 0.0.0-use.local resolution: "@dbeaver/result-set-api@workspace:common-typescript/@dbeaver/result-set-api" dependencies: @@ -6574,7 +6675,7 @@ __metadata: languageName: node linkType: hard -"@popperjs/core@npm:^2, @popperjs/core@npm:^2.5.4": +"@popperjs/core@npm:^2.5.4": version: 2.11.8 resolution: "@popperjs/core@npm:2.11.8" checksum: 10c0/4681e682abc006d25eb380d0cf3efc7557043f53b6aea7a5057d0d1e7df849a00e281cd8ea79c902a35a414d7919621fc2ba293ecec05f413598e0b23d5a1e63 @@ -7119,7 +7220,7 @@ __metadata: languageName: node linkType: hard -"@swc/core@npm:^1, @swc/core@npm:^1.12.11": +"@swc/core@npm:^1.12.11": version: 1.13.5 resolution: "@swc/core@npm:1.13.5" dependencies: @@ -8383,10 +8484,10 @@ __metadata: languageName: node linkType: hard -"@wroud/di@npm:^0": - version: 0.18.2 - resolution: "@wroud/di@npm:0.18.2" - checksum: 10c0/1c5e80e398e1931163b6f095acc797056aecaf8740254c0ddcbf5850671d311c92bc1e6f3e3c4ac3c754e710dcd2e7c1ee1b1ba022edec66ca5beba061b2d8e0 +"@wroud/di@npm:^0, @wroud/di@npm:^0.18.3": + version: 0.18.3 + resolution: "@wroud/di@npm:0.18.3" + checksum: 10c0/88f806e0c18ea0d4330c0db13bff65287471e7a568f969ecf52383def3804c6deac7332f4b28c3b4d1ec7d13d0c2869ce06b231a04861106d175f6419107b468 languageName: node linkType: hard @@ -15784,13 +15885,6 @@ __metadata: languageName: node linkType: hard -"react-fast-compare@npm:^3.0.1": - version: 3.2.2 - resolution: "react-fast-compare@npm:3.2.2" - checksum: 10c0/0bbd2f3eb41ab2ff7380daaa55105db698d965c396df73e6874831dbafec8c4b5b08ba36ff09df01526caa3c61595247e3269558c284e37646241cba2b90a367 - languageName: node - linkType: hard - "react-hotkeys-hook@npm:^4.6.1": version: 4.6.2 resolution: "react-hotkeys-hook@npm:4.6.2" @@ -15879,20 +15973,6 @@ __metadata: languageName: node linkType: hard -"react-popper@npm:^2": - version: 2.3.0 - resolution: "react-popper@npm:2.3.0" - dependencies: - react-fast-compare: "npm:^3.0.1" - warning: "npm:^4.0.2" - peerDependencies: - "@popperjs/core": ^2.0.0 - react: ^16.8.0 || ^17 || ^18 - react-dom: ^16.8.0 || ^17 || ^18 - checksum: 10c0/23f93540537ca4c035425bb8d5e51b11131fbc921d7ac1d041d0ae557feac8c877f3a012d36b94df8787803f52ed81e6df9257ac9e58719875f7805518d6db3f - languageName: node - linkType: hard - "react-refresh@npm:^0.17.0": version: 0.17.0 resolution: "react-refresh@npm:0.17.0" @@ -18733,15 +18813,6 @@ __metadata: languageName: node linkType: hard -"warning@npm:^4.0.2": - version: 4.0.3 - resolution: "warning@npm:4.0.3" - dependencies: - loose-envify: "npm:^1.0.0" - checksum: 10c0/aebab445129f3e104c271f1637fa38e55eb25f968593e3825bd2f7a12bd58dc3738bb70dc8ec85826621d80b4acfed5a29ebc9da17397c6125864d72301b937e - languageName: node - linkType: hard - "watchpack@npm:^2.4.2": version: 2.4.4 resolution: "watchpack@npm:2.4.4"