extension-develop 2.1.3 → 3.0.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -25
- package/dist/930.js +44 -0
- package/dist/add-centralized-logger-script-background.js +220 -0
- package/dist/add-centralized-logger-script-content.js +172 -0
- package/dist/add-centralized-logger-script.js +332 -0
- package/dist/add-hmr-accept-code.js +5 -11
- package/dist/content-script-wrapper.js +166 -0
- package/dist/ensure-hmr-for-scripts.js +30 -11
- package/dist/minimum-chromium-file.js +6 -20
- package/dist/minimum-firefox-file.js +6 -12
- package/dist/module.js +12030 -9529
- package/dist/resolve-paths-loader.js +1391 -0
- package/dist/warn-no-default-export.js +121 -0
- package/package.json +21 -35
- package/dist/add-content-script-wrapper.js +0 -1789
- package/dist/build.d.ts +0 -2
- package/dist/cleanup.d.ts +0 -1
- package/dist/deprecated-shadow-root.js +0 -135
- package/dist/dev.d.ts +0 -2
- package/dist/develop-lib/config-types.d.ts +0 -86
- package/dist/develop-lib/extract-from-zip.d.ts +0 -1
- package/dist/develop-lib/find-nearest-package.d.ts +0 -2
- package/dist/develop-lib/generate-extension-types.d.ts +0 -1
- package/dist/develop-lib/generate-zip.d.ts +0 -2
- package/dist/develop-lib/get-extension-config.d.ts +0 -6
- package/dist/develop-lib/get-project-path.d.ts +0 -6
- package/dist/develop-lib/install-dependencies.d.ts +0 -2
- package/dist/develop-lib/messages.d.ts +0 -36
- package/dist/develop-lib/validate-user-dependencies.d.ts +0 -1
- package/dist/extensions/chrome-manager-extension/background.js +0 -84
- package/dist/extensions/chrome-manager-extension/define-initial-tab.js +0 -77
- package/dist/extensions/chrome-manager-extension/images/logo.png +0 -0
- package/dist/extensions/chrome-manager-extension/manifest.json +0 -17
- package/dist/extensions/chrome-manager-extension/pages/sakura-dark.css +0 -268
- package/dist/extensions/chrome-manager-extension/pages/sakura.css +0 -267
- package/dist/extensions/chrome-manager-extension/pages/welcome.html +0 -46
- package/dist/extensions/chrome-manager-extension/pages/welcome.js +0 -34
- package/dist/extensions/chrome-manager-extension/reload-service.js +0 -319
- package/dist/extensions/chromium-based-manager-extension/background.js +0 -84
- package/dist/extensions/chromium-based-manager-extension/define-initial-tab.js +0 -77
- package/dist/extensions/chromium-based-manager-extension/images/logo.png +0 -0
- package/dist/extensions/chromium-based-manager-extension/manifest.json +0 -17
- package/dist/extensions/chromium-based-manager-extension/pages/sakura-dark.css +0 -268
- package/dist/extensions/chromium-based-manager-extension/pages/sakura.css +0 -267
- package/dist/extensions/chromium-based-manager-extension/pages/welcome.html +0 -46
- package/dist/extensions/chromium-based-manager-extension/pages/welcome.js +0 -34
- package/dist/extensions/chromium-based-manager-extension/reload-service.js +0 -324
- package/dist/extensions/edge-manager-extension/background.js +0 -82
- package/dist/extensions/edge-manager-extension/define-initial-tab.js +0 -77
- package/dist/extensions/edge-manager-extension/images/logo.png +0 -0
- package/dist/extensions/edge-manager-extension/manifest.json +0 -17
- package/dist/extensions/edge-manager-extension/pages/sakura-dark.css +0 -268
- package/dist/extensions/edge-manager-extension/pages/sakura.css +0 -267
- package/dist/extensions/edge-manager-extension/pages/welcome.html +0 -46
- package/dist/extensions/edge-manager-extension/pages/welcome.js +0 -34
- package/dist/extensions/edge-manager-extension/reload-service.js +0 -321
- package/dist/extensions/firefox-manager-extension/background.js +0 -85
- package/dist/extensions/firefox-manager-extension/define-initial-tab.js +0 -64
- package/dist/extensions/firefox-manager-extension/images/logo.png +0 -0
- package/dist/extensions/firefox-manager-extension/manifest.json +0 -15
- package/dist/extensions/firefox-manager-extension/pages/sakura-dark.css +0 -268
- package/dist/extensions/firefox-manager-extension/pages/sakura.css +0 -267
- package/dist/extensions/firefox-manager-extension/pages/welcome.html +0 -46
- package/dist/extensions/firefox-manager-extension/pages/welcome.js +0 -34
- package/dist/extensions/firefox-manager-extension/reload-service.js +0 -178
- package/dist/extensions/gecko-based-manager-extension/background.js +0 -67
- package/dist/extensions/gecko-based-manager-extension/define-initial-tab.js +0 -69
- package/dist/extensions/gecko-based-manager-extension/images/logo.png +0 -0
- package/dist/extensions/gecko-based-manager-extension/manifest.json +0 -16
- package/dist/extensions/gecko-based-manager-extension/pages/sakura-dark.css +0 -268
- package/dist/extensions/gecko-based-manager-extension/pages/sakura.css +0 -267
- package/dist/extensions/gecko-based-manager-extension/pages/welcome.html +0 -46
- package/dist/extensions/gecko-based-manager-extension/pages/welcome.js +0 -34
- package/dist/extensions/gecko-based-manager-extension/reload-service.js +0 -171
- package/dist/inject-chromium-client-loader.js +0 -176
- package/dist/inject-firefox-client-loader.js +0 -169
- package/dist/minimum-content-file.js +0 -5
- package/dist/module.d.ts +0 -8
- package/dist/preview.d.ts +0 -2
- package/dist/rslib.config.d.ts +0 -3
- package/dist/start.d.ts +0 -2
- package/dist/types.d.ts +0 -11
- package/dist/vitest.config.d.mts +0 -2
- package/dist/webpack/dev-server.d.ts +0 -3
- package/dist/webpack/plugin-browsers/browsers-lib/add-progress-bar.d.ts +0 -1
- package/dist/webpack/plugin-browsers/browsers-lib/constants.d.ts +0 -5
- package/dist/webpack/plugin-browsers/browsers-lib/dynamic-extension-manager.d.ts +0 -35
- package/dist/webpack/plugin-browsers/browsers-lib/html-merge.d.ts +0 -1
- package/dist/webpack/plugin-browsers/browsers-lib/instance-manager.d.ts +0 -74
- package/dist/webpack/plugin-browsers/browsers-lib/messages.d.ts +0 -164
- package/dist/webpack/plugin-browsers/browsers-lib/rdp-wire.d.ts +0 -7
- package/dist/webpack/plugin-browsers/browsers-lib/shared-utils.d.ts +0 -16
- package/dist/webpack/plugin-browsers/browsers-types.d.ts +0 -131
- package/dist/webpack/plugin-browsers/index.d.ts +0 -41
- package/dist/webpack/plugin-browsers/run-chromium/browser-config.d.ts +0 -3
- package/dist/webpack/plugin-browsers/run-chromium/create-profile.d.ts +0 -10
- package/dist/webpack/plugin-browsers/run-chromium/index.d.ts +0 -28
- package/dist/webpack/plugin-browsers/run-chromium/master-preferences.d.ts +0 -161
- package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/cdp-client.d.ts +0 -29
- package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/index.d.ts +0 -25
- package/dist/webpack/plugin-browsers/run-firefox/firefox/binary-detector.d.ts +0 -15
- package/dist/webpack/plugin-browsers/run-firefox/firefox/browser-config.d.ts +0 -7
- package/dist/webpack/plugin-browsers/run-firefox/firefox/create-profile.d.ts +0 -13
- package/dist/webpack/plugin-browsers/run-firefox/firefox/master-preferences.d.ts +0 -95
- package/dist/webpack/plugin-browsers/run-firefox/index.d.ts +0 -26
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/index.d.ts +0 -13
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/message-utils.d.ts +0 -2
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/messaging-client.d.ts +0 -42
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/setup-firefox-inspection.d.ts +0 -31
- package/dist/webpack/plugin-compatibility/feature-browser-specific-fields.d.ts +0 -9
- package/dist/webpack/plugin-compatibility/feature-polyfill.d.ts +0 -12
- package/dist/webpack/plugin-compatibility/index.d.ts +0 -13
- package/dist/webpack/plugin-compilation/clean-dist.d.ts +0 -8
- package/dist/webpack/plugin-compilation/env.d.ts +0 -9
- package/dist/webpack/plugin-compilation/index.d.ts +0 -12
- package/dist/webpack/plugin-css/common-style-loaders.d.ts +0 -8
- package/dist/webpack/plugin-css/css-in-content-script-loader.d.ts +0 -11
- package/dist/webpack/plugin-css/css-in-html-loader.d.ts +0 -8
- package/dist/webpack/plugin-css/css-tools/less.d.ts +0 -4
- package/dist/webpack/plugin-css/css-tools/postcss.d.ts +0 -3
- package/dist/webpack/plugin-css/css-tools/sass.d.ts +0 -4
- package/dist/webpack/plugin-css/css-tools/stylelint.d.ts +0 -4
- package/dist/webpack/plugin-css/css-tools/tailwind.d.ts +0 -2
- package/dist/webpack/plugin-css/index.d.ts +0 -9
- package/dist/webpack/plugin-css/is-content-script.d.ts +0 -1
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/background.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/browser_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/chrome_url_overrides.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/devtools_page.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/options_ui.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/page_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sandbox.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/side_panel.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sidebar_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.theme_icons.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/icons.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/normalize.d.ts +0 -6
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/page_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/sidebar_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/index.d.ts +0 -19
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/declarative_net_request.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/storage.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/locales-fields/index.d.ts +0 -1
- package/dist/webpack/plugin-extension/data/manifest-fields/normalize.d.ts +0 -10
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/background.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/content_scripts.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/service_worker.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/user_scripts.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/manifest-fields/web-resources-fields/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/data/special-folders/generate-entries.d.ts +0 -4
- package/dist/webpack/plugin-extension/data/special-folders/index.d.ts +0 -12
- package/dist/webpack/plugin-extension/feature-html/__spec__/html-lib/test-utils.d.ts +0 -18
- package/dist/webpack/plugin-extension/feature-html/html-lib/parse-html.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-html/html-lib/patch-html.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-html/html-lib/utils.d.ts +0 -18
- package/dist/webpack/plugin-extension/feature-html/index.d.ts +0 -37
- package/dist/webpack/plugin-extension/feature-html/steps/add-assets-to-compilation.d.ts +0 -11
- package/dist/webpack/plugin-extension/feature-html/steps/add-scripts-and-styles-to-compilation.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-html/steps/add-to-file-dependencies.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-html/steps/emit-html-file.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-html/steps/ensure-hmr-for-scripts.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-html/steps/handle-common-errors.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-html/steps/minimum-script-file.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-html/steps/throw-if-recompile-is-needed.d.ts +0 -13
- package/dist/webpack/plugin-extension/feature-html/steps/update-html-file.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-icons/index.d.ts +0 -25
- package/dist/webpack/plugin-extension/feature-icons/steps/add-to-file-dependencies.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-icons/steps/emit-file.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-json/index.d.ts +0 -18
- package/dist/webpack/plugin-extension/feature-locales/get-locales.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-locales/index.d.ts +0 -13
- package/dist/webpack/plugin-extension/feature-manifest/index.d.ts +0 -23
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/background.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/chrome_url_overrides.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/commands.d.ts +0 -16
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_scripts.d.ts +0 -7
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_security_policy.d.ts +0 -4
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/devtools_page.d.ts +0 -4
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/icons.d.ts +0 -6
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/omnibox.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_page.d.ts +0 -4
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_ui.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/page_action.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/permissions.d.ts +0 -4
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sandbox.d.ts +0 -7
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sidebar_action.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/storage.d.ts +0 -6
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/theme.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/user_scripts.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/web_accessible_resources.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/background.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/browser_action.d.ts +0 -12
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/chrome_settings_overrides.d.ts +0 -24
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/page_action.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/sidebar_action.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/theme_experiment.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/action.d.ts +0 -8
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/background.d.ts +0 -10
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/declarative_net_request.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/host_permissions.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/index.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/side_panel.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-manifest/steps/add-dependencies.d.ts +0 -6
- package/dist/webpack/plugin-extension/feature-manifest/steps/check-manifest-files.d.ts +0 -17
- package/dist/webpack/plugin-extension/feature-manifest/steps/emit-manifest.d.ts +0 -7
- package/dist/webpack/plugin-extension/feature-manifest/steps/throw-if-recompile.d.ts +0 -11
- package/dist/webpack/plugin-extension/feature-manifest/steps/update-manifest.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-scripts/index.d.ts +0 -27
- package/dist/webpack/plugin-extension/feature-scripts/scripts-lib/utils.d.ts +0 -3
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-content-script-wrapper.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-hmr-accept-code.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-for-main-world.d.ts +0 -11
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-runtime-module.d.ts +0 -4
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-scripts.d.ts +0 -9
- package/dist/webpack/plugin-extension/feature-scripts/steps/deprecated-shadow-root.d.ts +0 -2
- package/dist/webpack/plugin-extension/feature-scripts/steps/javascript-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-scripts/steps/minimum-content-file.d.ts +0 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/preact-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-scripts/steps/react-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-scripts/steps/svelte-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-scripts/steps/typescript-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-scripts/steps/vue-content-script-wrapper.d.ts +0 -1
- package/dist/webpack/plugin-extension/feature-special-folders/copy-public-folder.d.ts +0 -14
- package/dist/webpack/plugin-extension/feature-special-folders/index.d.ts +0 -19
- package/dist/webpack/plugin-extension/feature-special-folders/warn-upon-folder-changes.d.ts +0 -7
- package/dist/webpack/plugin-extension/feature-web-resources/clean-matches.d.ts +0 -7
- package/dist/webpack/plugin-extension/feature-web-resources/index.d.ts +0 -18
- package/dist/webpack/plugin-extension/index.d.ts +0 -10
- package/dist/webpack/plugin-js-frameworks/index.d.ts +0 -13
- package/dist/webpack/plugin-js-frameworks/js-tools/babel.d.ts +0 -16
- package/dist/webpack/plugin-js-frameworks/js-tools/preact.d.ts +0 -3
- package/dist/webpack/plugin-js-frameworks/js-tools/react.d.ts +0 -3
- package/dist/webpack/plugin-js-frameworks/js-tools/svelte.d.ts +0 -3
- package/dist/webpack/plugin-js-frameworks/js-tools/typescript.d.ts +0 -36
- package/dist/webpack/plugin-js-frameworks/js-tools/vue.d.ts +0 -3
- package/dist/webpack/plugin-js-frameworks/load-loader-options.d.ts +0 -1
- package/dist/webpack/plugin-reload/index.d.ts +0 -13
- package/dist/webpack/plugin-reload/reload-lib/messages.d.ts +0 -106
- package/dist/webpack/plugin-reload/reload-types.d.ts +0 -14
- package/dist/webpack/plugin-reload/start-server.d.ts +0 -4
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/index.d.ts +0 -14
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/broadcast-message.d.ts +0 -2
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/message-dispatcher.d.ts +0 -2
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/servers.d.ts +0 -2
- package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/index.d.ts +0 -3
- package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/inject-chromium-client-loader.d.ts +0 -9
- package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/minimum-chromium-file.d.ts +0 -0
- package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/index.d.ts +0 -3
- package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/inject-firefox-client-loader.d.ts +0 -9
- package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/minimum-firefox-file.d.ts +0 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/index.d.ts +0 -9
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-background.d.ts +0 -15
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-csp.d.ts +0 -5
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-externally-connectable.d.ts +0 -10
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-web-resources.d.ts +0 -10
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/generate-manager-extension.d.ts +0 -15
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/index.d.ts +0 -10
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/target-web-extension-plugin/index.d.ts +0 -13
- package/dist/webpack/plugin-static-assets/index.d.ts +0 -12
- package/dist/webpack/webpack-config.d.ts +0 -14
- package/dist/webpack/webpack-lib/auto-exit.d.ts +0 -1
- package/dist/webpack/webpack-lib/constants.d.ts +0 -4
- package/dist/webpack/webpack-lib/messages.d.ts +0 -121
- package/dist/webpack/webpack-lib/port-manager.d.ts +0 -27
- package/dist/webpack/webpack-lib/utils.d.ts +0 -23
- package/dist/webpack/webpack-types.d.ts +0 -49
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type RspackPluginInstance } from '@rspack/core';
|
|
2
|
-
export declare function getStylelintConfigFile(projectPath: string): string | undefined;
|
|
3
|
-
export declare function isUsingStylelint(projectPath: string): boolean;
|
|
4
|
-
export declare function maybeUseStylelint(projectPath: string): Promise<RspackPluginInstance[]>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { PluginInterface } from '../webpack-types';
|
|
3
|
-
export declare class CssPlugin {
|
|
4
|
-
static readonly name: string;
|
|
5
|
-
readonly manifestPath: string;
|
|
6
|
-
constructor(options: PluginInterface);
|
|
7
|
-
private configureOptions;
|
|
8
|
-
apply(compiler: Compiler): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isContentScriptEntry(absolutePath: string, manifestPath: string): boolean;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Normalize a manifest-declared icon path so that leading "public/" segments
|
|
3
|
-
* are removed. This allows users on Windows who may specify "./public/..."
|
|
4
|
-
* to work consistently on macOS/Linux where the public folder resolves to "/".
|
|
5
|
-
*/
|
|
6
|
-
export declare function resolveIconPath(context: string, relativePath: string): string;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type PluginInterface } from '../../../webpack-types';
|
|
2
|
-
export interface ManifestFields {
|
|
3
|
-
html: Record<string, any>;
|
|
4
|
-
icons: Record<string, any>;
|
|
5
|
-
json: Record<string, any>;
|
|
6
|
-
scripts: Record<string, any>;
|
|
7
|
-
web_accessible_resources: Record<string, any>;
|
|
8
|
-
}
|
|
9
|
-
export declare function getManifestFieldsData({ manifestPath, browser }: PluginInterface): {
|
|
10
|
-
html: Record<string, string | undefined>;
|
|
11
|
-
icons: Record<string, string | string[] | import("../../../webpack-types").ThemeIcon[] | undefined>;
|
|
12
|
-
json: Record<string, string | undefined>;
|
|
13
|
-
locales: string[] | undefined;
|
|
14
|
-
scripts: Record<string, string | string[] | undefined>;
|
|
15
|
-
web_accessible_resources: (string[] & {
|
|
16
|
-
resources: string[];
|
|
17
|
-
matches: string[];
|
|
18
|
-
}[]) | undefined;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function localesFields(context: string, manifestPath: string): string[] | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolve a manifest-declared path to an absolute filesystem path.
|
|
3
|
-
* Handles public-root style inputs consistently across OS/runners:
|
|
4
|
-
* - '/foo' => '<context>/public/foo'
|
|
5
|
-
* - '/public/foo' => '<context>/public/foo'
|
|
6
|
-
* - 'public/foo' => '<context>/public/foo'
|
|
7
|
-
* - './public/foo' => '<context>/public/foo'
|
|
8
|
-
* - 'foo/bar' => '<context>/foo/bar'
|
|
9
|
-
*/
|
|
10
|
-
export declare function resolveManifestPath(context: string, relativePath: string): string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function scanFilesInFolder(dirPath: string, filter: (name: string) => boolean): string[];
|
|
2
|
-
type IncludeList = Record<string, string>;
|
|
3
|
-
export declare function generateEntries(projectPath: string, includes: string[] | undefined, folderName?: string): IncludeList;
|
|
4
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PluginInterface } from '../../../webpack-types';
|
|
2
|
-
export declare function getSpecialFoldersData({ manifestPath }: PluginInterface): {
|
|
3
|
-
public: {
|
|
4
|
-
[x: string]: string;
|
|
5
|
-
};
|
|
6
|
-
pages: {
|
|
7
|
-
[x: string]: string;
|
|
8
|
-
};
|
|
9
|
-
scripts: {
|
|
10
|
-
[x: string]: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface HtmlNode {
|
|
2
|
-
nodeName: string;
|
|
3
|
-
attrs: Array<{
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}>;
|
|
7
|
-
childNodes: HtmlNode[];
|
|
8
|
-
value?: string;
|
|
9
|
-
data?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function createHtmlNode(options: Partial<HtmlNode>): HtmlNode;
|
|
12
|
-
export declare function createHtmlDocument(childNodes: HtmlNode[]): HtmlNode;
|
|
13
|
-
export declare function createScriptNode(src: string): HtmlNode;
|
|
14
|
-
export declare function createLinkNode(href: string, rel?: string): HtmlNode;
|
|
15
|
-
export declare function createImageNode(src: string): HtmlNode;
|
|
16
|
-
export declare function createAnchorNode(href: string): HtmlNode;
|
|
17
|
-
export declare function createCommentNode(text: string): HtmlNode;
|
|
18
|
-
export declare function createTextNode(text: string): HtmlNode;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as parse5utilities from 'parse5-utilities';
|
|
2
|
-
interface OnResourceFoundOptions {
|
|
3
|
-
filePath: string;
|
|
4
|
-
childNode: ReturnType<typeof parse5utilities.createNode>;
|
|
5
|
-
assetType: 'script' | 'css' | 'staticSrc' | 'staticHref';
|
|
6
|
-
}
|
|
7
|
-
export declare function parseHtml(node: ReturnType<typeof parse5utilities.createNode>, onResourceFound: (options: OnResourceFoundOptions) => void): void;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Compilation } from '@rspack/core';
|
|
2
|
-
import { type FilepathList } from '../../../webpack-types';
|
|
3
|
-
export declare function patchHtml(compilation: Compilation, feature: string, htmlEntry: string, includeList: FilepathList, excludeList: FilepathList): string;
|
|
4
|
-
/**
|
|
5
|
-
* Patches a nested HTML: preserve original script/link tags,
|
|
6
|
-
* only rewrite static assets, and warn about missing public-root assets.
|
|
7
|
-
*/
|
|
8
|
-
export declare function patchHtmlNested(compilation: Compilation, htmlEntry: string, excludeList: FilepathList): string;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type FilepathList } from '../../../webpack-types';
|
|
2
|
-
export interface ParsedHtmlAsset {
|
|
3
|
-
css?: string[];
|
|
4
|
-
js?: string[];
|
|
5
|
-
static?: string[];
|
|
6
|
-
}
|
|
7
|
-
export declare function getAssetsFromHtml(htmlFilePath: string | undefined, htmlContent?: string, publicPath?: string): ParsedHtmlAsset;
|
|
8
|
-
export declare function getHtmlPageDeclaredAssetPath(filepathList: FilepathList, filePath: string, extension: string): string;
|
|
9
|
-
export declare function getExtname(filePath: string): string;
|
|
10
|
-
export declare function getFilePath(filePath: string, extension: string, isPublic: boolean): string;
|
|
11
|
-
export declare function isFromIncludeList(filePath: string, includeList?: FilepathList): boolean;
|
|
12
|
-
export declare function isUrl(src: string): boolean;
|
|
13
|
-
export declare function cleanAssetUrl(url: string): {
|
|
14
|
-
cleanPath: string;
|
|
15
|
-
hash: string;
|
|
16
|
-
search: string;
|
|
17
|
-
};
|
|
18
|
-
export declare function getBaseHref(htmlDocument: any): string | undefined;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../webpack-types';
|
|
3
|
-
/**
|
|
4
|
-
* HtmlPlugin is responsible for handling the HTML file
|
|
5
|
-
* defined in the manifest.json. Static assets and CSS files
|
|
6
|
-
* within the HTML file are added to the compilation. JS files
|
|
7
|
-
* are added as webpack entrypoints. It also supports ecxtra
|
|
8
|
-
* html files defined via this.include option. These extra
|
|
9
|
-
* html files are added to the compilation and are also HMR
|
|
10
|
-
* enabled. They are useful for adding extra pages to the
|
|
11
|
-
* extension runtime that are not defined in manifest.
|
|
12
|
-
*
|
|
13
|
-
* The plugin also has a guard against recompiling entrypoints
|
|
14
|
-
* at runtime, throwing an error if any of those files change.
|
|
15
|
-
*
|
|
16
|
-
* Features supported:
|
|
17
|
-
* action.default_popup - HMR enabled
|
|
18
|
-
* background.page - HMR enabled
|
|
19
|
-
* chrome_settings_overrides.homepage - HMR enabled
|
|
20
|
-
* chrome_url_overrides.newtab - HMR enabled
|
|
21
|
-
* chrome_url_overrides.history - HMR enabled
|
|
22
|
-
* chrome_url_overrides.bookmarks - HMR enabled
|
|
23
|
-
* devtools_page - HMR enabled
|
|
24
|
-
* options_ui.page - HMR enabled
|
|
25
|
-
* page_action.default_popup - HMR enabled
|
|
26
|
-
* sandbox.page - HMR enabled
|
|
27
|
-
* side_panel.default_panel - HMR enabled
|
|
28
|
-
* sidebar_action.default_panel - HMR enabled
|
|
29
|
-
*/
|
|
30
|
-
export declare class HtmlPlugin {
|
|
31
|
-
readonly manifestPath: string;
|
|
32
|
-
readonly includeList?: FilepathList;
|
|
33
|
-
readonly excludeList?: FilepathList;
|
|
34
|
-
private readonly browser;
|
|
35
|
-
constructor(options: PluginInterface);
|
|
36
|
-
apply(compiler: Compiler): void;
|
|
37
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class AddAssetsToCompilation {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
constructor(options: PluginInterface);
|
|
9
|
-
private normalizePublicPath;
|
|
10
|
-
apply(compiler: Compiler): void;
|
|
11
|
-
}
|
package/dist/webpack/plugin-extension/feature-html/steps/add-scripts-and-styles-to-compilation.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class AddScriptsAndStylesToCompilation {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
constructor(options: PluginInterface);
|
|
9
|
-
apply(compiler: Compiler): void;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class AddToFileDependencies {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
constructor(options: PluginInterface);
|
|
9
|
-
apply(compiler: Compiler): void;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class EmitHtmlFile {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
constructor(options: PluginInterface);
|
|
8
|
-
apply(compiler: Compiler): void;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class HandleCommonErrors {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
constructor(options: PluginInterface);
|
|
9
|
-
apply(compiler: Compiler): void;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/** Nothing to see here. */
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class ThrowIfRecompileIsNeeded {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
private initialHtmlAssets;
|
|
9
|
-
constructor(options: PluginInterface);
|
|
10
|
-
private hasEntriesChanged;
|
|
11
|
-
private storeInitialHtmlAssets;
|
|
12
|
-
apply(compiler: Compiler): void;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class UpdateHtmlFile {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
readonly browser?: string;
|
|
8
|
-
constructor(options: PluginInterface);
|
|
9
|
-
apply(compiler: Compiler): void;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { ThemeIcon, type FilepathList, type PluginInterface } from '../../webpack-types';
|
|
3
|
-
/**
|
|
4
|
-
* IconsPlugin is responsible for handling the icon files defined
|
|
5
|
-
* in the manifest.json. It emits the icon files to the output
|
|
6
|
-
* directory and adds them to the file dependencies of the compilation.
|
|
7
|
-
*
|
|
8
|
-
* Features supported:
|
|
9
|
-
* action.default_icon
|
|
10
|
-
* browser_action.default_icon
|
|
11
|
-
* icons
|
|
12
|
-
* page_action.default_icon
|
|
13
|
-
* sidebar_action.default_icon
|
|
14
|
-
*/
|
|
15
|
-
export declare class IconsPlugin {
|
|
16
|
-
readonly manifestPath: string;
|
|
17
|
-
readonly includeList?: FilepathList | {
|
|
18
|
-
[x: string]: ThemeIcon;
|
|
19
|
-
};
|
|
20
|
-
readonly excludeList?: FilepathList | {
|
|
21
|
-
[x: string]: ThemeIcon;
|
|
22
|
-
};
|
|
23
|
-
constructor(options: PluginInterface);
|
|
24
|
-
apply(compiler: Compiler): void;
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class AddToFileDependencies {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
constructor(options: PluginInterface);
|
|
8
|
-
apply(compiler: Compiler): void;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../../webpack-types';
|
|
3
|
-
export declare class EmitFile {
|
|
4
|
-
readonly manifestPath: string;
|
|
5
|
-
readonly includeList?: FilepathList;
|
|
6
|
-
readonly excludeList?: FilepathList;
|
|
7
|
-
constructor(options: PluginInterface);
|
|
8
|
-
apply(compiler: Compiler): void;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../webpack-types';
|
|
3
|
-
/**
|
|
4
|
-
* JsonPlugin is responsible for handling the JSON files defined
|
|
5
|
-
* in the manifest.json. It emits the JSON files to the output
|
|
6
|
-
* directory and adds them to the file dependencies of the compilation.
|
|
7
|
-
*
|
|
8
|
-
* Features supported:
|
|
9
|
-
* - declarative_net_request.ruleset
|
|
10
|
-
* - storage.managed_schema
|
|
11
|
-
*/
|
|
12
|
-
export declare class JsonPlugin {
|
|
13
|
-
readonly manifestPath: string;
|
|
14
|
-
readonly includeList?: FilepathList;
|
|
15
|
-
readonly excludeList?: FilepathList;
|
|
16
|
-
constructor(options: PluginInterface);
|
|
17
|
-
apply(compiler: Compiler): void;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getLocales(manifestPath: string): string[] | undefined;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../webpack-types';
|
|
3
|
-
/**
|
|
4
|
-
* LocalesPlugin is responsible for emitting the locales files
|
|
5
|
-
* to the output directory.
|
|
6
|
-
*/
|
|
7
|
-
export declare class LocalesPlugin {
|
|
8
|
-
readonly manifestPath: string;
|
|
9
|
-
readonly includeList?: FilepathList;
|
|
10
|
-
readonly excludeList?: FilepathList;
|
|
11
|
-
constructor(options: PluginInterface);
|
|
12
|
-
apply(compiler: Compiler): void;
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Compiler } from '@rspack/core';
|
|
2
|
-
import { type FilepathList, type PluginInterface } from '../../webpack-types';
|
|
3
|
-
import { DevOptions } from '../../../develop-lib/config-types';
|
|
4
|
-
/**
|
|
5
|
-
* ManifestPlugin is responsible for handling the manifest.json file.
|
|
6
|
-
* It ensures that the files defined in the manifest have valid paths,
|
|
7
|
-
* throwing errors if they don't. It also ensures the manifest is emitted
|
|
8
|
-
* to the assets bundle, so other plugins can modify it, and stored
|
|
9
|
-
* as file dependency so webpack can watch and trigger changes.
|
|
10
|
-
*
|
|
11
|
-
* The plugin also has a guard against recompiling entrypoints
|
|
12
|
-
* at runtime, throwing an error if any of those files change.
|
|
13
|
-
*/
|
|
14
|
-
export declare class ManifestPlugin {
|
|
15
|
-
readonly manifestPath: string;
|
|
16
|
-
readonly browser: DevOptions['browser'];
|
|
17
|
-
readonly includeList?: FilepathList;
|
|
18
|
-
readonly excludeList?: FilepathList;
|
|
19
|
-
constructor(options: PluginInterface & {
|
|
20
|
-
browser: DevOptions['browser'];
|
|
21
|
-
});
|
|
22
|
-
apply(compiler: Compiler): void;
|
|
23
|
-
}
|
package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/background.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Manifest, type FilepathList } from '../../../../webpack-types';
|
|
2
|
-
export declare function backgroundPage(manifest: Manifest, excludeList: FilepathList): "" | {
|
|
3
|
-
background: {
|
|
4
|
-
page?: string | undefined;
|
|
5
|
-
scripts?: string[] | undefined;
|
|
6
|
-
persistent?: boolean | undefined;
|
|
7
|
-
service_worker: string;
|
|
8
|
-
type?: "module";
|
|
9
|
-
};
|
|
10
|
-
} | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Manifest, type FilepathList } from '../../../../webpack-types';
|
|
2
|
-
export declare function chromeUrlOverrides(manifest: Manifest, excludeList: FilepathList): {
|
|
3
|
-
chrome_url_overrides: {
|
|
4
|
-
newtab?: string | undefined;
|
|
5
|
-
history?: string | undefined;
|
|
6
|
-
bookmarks?: string | undefined;
|
|
7
|
-
};
|
|
8
|
-
} | undefined;
|
package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/commands.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type Manifest } from '../../../../webpack-types';
|
|
2
|
-
export declare function commands(manifest: Manifest): {
|
|
3
|
-
commands: {
|
|
4
|
-
[name: string]: {
|
|
5
|
-
suggested_key?: {
|
|
6
|
-
default?: string | undefined;
|
|
7
|
-
windows?: string | undefined;
|
|
8
|
-
mac?: string | undefined;
|
|
9
|
-
chromeos?: string | undefined;
|
|
10
|
-
linux?: string | undefined;
|
|
11
|
-
} | undefined;
|
|
12
|
-
description?: string | undefined;
|
|
13
|
-
global?: boolean | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
} | undefined;
|