From 199ce36bd921d43d4a402db53fc94a7d6afe4773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=9D=A4=EF=B8=8F=20=E2=98=AE=EF=B8=8F=20=E2=9C=8B?= <6723574+louisgv@users.noreply.github.com> Date: Wed, 28 Jun 2023 20:43:38 -0700 Subject: [PATCH] chore: update project structure --- .gitmodules | 8 +- {packages => api}/messaging/.gitignore | 0 {packages => api}/messaging/LICENSE | 0 {packages => api}/messaging/jest.config.mjs | 0 {packages => api}/messaging/package.json | 0 {packages => api}/messaging/src/background.ts | 0 {packages => api}/messaging/src/hook.ts | 0 {packages => api}/messaging/src/index.ts | 0 {packages => api}/messaging/src/message.ts | 0 {packages => api}/messaging/src/port.ts | 0 {packages => api}/messaging/src/pub-sub.ts | 0 {packages => api}/messaging/src/relay.test.ts | 0 {packages => api}/messaging/src/relay.ts | 0 {packages => api}/messaging/src/types.ts | 0 {packages => api}/messaging/src/utils.ts | 0 {packages => api}/messaging/tsconfig.json | 0 {packages => api}/persistent/.gitignore | 0 {packages => api}/persistent/LICENSE | 0 {packages => api}/persistent/README.md | 0 {packages => api}/persistent/package.json | 0 .../persistent/src/background.ts | 0 {packages => api}/persistent/src/index.ts | 0 {packages => api}/persistent/tsconfig.json | 0 {packages => api}/persistent/tsup.config.ts | 0 {packages => api}/selector/.gitignore | 0 {packages => api}/selector/LICENSE | 0 {packages => api}/selector/package.json | 0 {packages => api}/selector/src/background.ts | 0 {packages => api}/selector/src/hook.ts | 0 {packages => api}/selector/src/index.ts | 0 {packages => api}/selector/src/monitor.ts | 0 {packages => api}/selector/src/types.ts | 0 {packages => api}/selector/tsconfig.json | 0 {packages => api}/selector/tsup.config.ts | 0 {packages => api}/storage | 0 {packages => core}/parcel-bundler/.gitignore | 0 .../parcel-bundler/package.json | 0 .../parcel-bundler/src/bit-set.ts | 0 .../parcel-bundler/src/can-merge.ts | 0 .../parcel-bundler/src/create-bundle.ts | 0 .../parcel-bundler/src/create-ideal-graph.ts | 0 .../src/decorate-legacy-graph.ts | 0 .../parcel-bundler/src/get-entry-by-target.ts | 0 .../src/get-reachable-bundle-root.ts | 0 .../parcel-bundler/src/index.ts | 0 .../parcel-bundler/src/remove-bundle.ts | 0 .../parcel-bundler/src/types.ts | 0 .../parcel-bundler/tsconfig.json | 0 .../parcel-compressor-utf8/.gitignore | 0 .../parcel-compressor-utf8/package.json | 0 .../parcel-compressor-utf8/src/index.ts | 0 .../src/utf8-transform.ts | 0 .../parcel-compressor-utf8/tsconfig.json | 0 .../parcel-compressor-utf8/tsup.config.ts | 0 {packages => core}/parcel-config/.gitignore | 0 {packages => core}/parcel-config/index.json | 0 {packages => core}/parcel-config/package.json | 0 {packages => core}/parcel-core/.gitignore | 0 {packages => core}/parcel-core/package.json | 0 {packages => core}/parcel-core/src/index.ts | 0 .../parcel-core/src/resolve-options.ts | 0 {packages => core}/parcel-core/src/types.ts | 0 {packages => core}/parcel-core/tsconfig.json | 0 {packages => core}/parcel-core/tsup.config.ts | 0 .../parcel-namer-manifest/.gitignore | 0 .../parcel-namer-manifest/package.json | 0 .../parcel-namer-manifest/src/index.ts | 0 .../parcel-namer-manifest/tsconfig.json | 0 .../parcel-optimizer-encapsulate/.gitignore | 0 .../parcel-optimizer-encapsulate/package.json | 0 .../parcel-optimizer-encapsulate/src/index.ts | 0 .../tsconfig.json | 0 .../tsup.config.ts | 0 .../parcel-optimizer-es/.gitignore | 0 .../parcel-optimizer-es/package.json | 0 .../parcel-optimizer-es/src/blob-to-string.ts | 0 .../parcel-optimizer-es/src/index.ts | 0 .../parcel-optimizer-es/tsconfig.json | 0 .../parcel-optimizer-es/tsup.config.ts | 0 {packages => core}/parcel-packager/.gitignore | 0 .../parcel-packager/package.json | 0 .../src/get-web-accessible-resources.ts | 0 .../parcel-packager/src/index.ts | 0 .../parcel-packager/src/utils.ts | 0 .../parcel-packager/tsconfig.json | 0 .../parcel-resolver-post/.gitignore | 0 .../parcel-resolver-post/package.json | 0 .../src/handle-module-exports.ts | 0 .../src/handle-ts-path.ts | 0 .../parcel-resolver-post/src/index.ts | 0 .../parcel-resolver-post/src/shared.ts | 0 .../parcel-resolver-post/src/utils.ts | 0 .../parcel-resolver-post/tsconfig.json | 0 {packages => core}/parcel-resolver/.gitignore | 0 {packages => core}/parcel-resolver/index.mjs | 0 .../parcel-resolver/package.json | 0 .../src/dev-polyfills/react-refresh.ts | 0 .../dev-polyfills/react-refresh/runtime.ts | 0 .../src/handle-absolute-root.ts | 0 .../parcel-resolver/src/handle-alias.ts | 0 .../src/handle-plasmo-internal.ts | 0 .../parcel-resolver/src/handle-polyfill.ts | 0 .../src/handle-remote-caching.ts | 0 .../parcel-resolver/src/handle-tilde-src.ts | 0 .../parcel-resolver/src/index.ts | 0 .../parcel-resolver/src/polyfills/assert.ts | 0 .../parcel-resolver/src/polyfills/buffer.ts | 0 .../parcel-resolver/src/polyfills/console.ts | 0 .../src/polyfills/constants.ts | 0 .../parcel-resolver/src/polyfills/crc-32.ts | 0 .../src/polyfills/crc-32/crc32c.ts | 0 .../parcel-resolver/src/polyfills/crypto.ts | 0 .../parcel-resolver/src/polyfills/domain.ts | 0 .../parcel-resolver/src/polyfills/events.ts | 0 .../parcel-resolver/src/polyfills/http.ts | 0 .../parcel-resolver/src/polyfills/https.ts | 0 .../parcel-resolver/src/polyfills/os.ts | 0 .../parcel-resolver/src/polyfills/path.ts | 0 .../parcel-resolver/src/polyfills/process.ts | 0 .../parcel-resolver/src/polyfills/punycode.ts | 0 .../src/polyfills/querystring.ts | 0 .../parcel-resolver/src/polyfills/stream.ts | 0 .../src/polyfills/string_decoder.ts | 0 .../parcel-resolver/src/polyfills/sys.ts | 0 .../parcel-resolver/src/polyfills/timers.ts | 0 .../parcel-resolver/src/polyfills/tty.ts | 0 .../parcel-resolver/src/polyfills/url.ts | 0 .../parcel-resolver/src/polyfills/util.ts | 0 .../parcel-resolver/src/polyfills/vm.ts | 0 .../parcel-resolver/src/polyfills/zlib.ts | 0 .../parcel-resolver/src/shared.ts | 0 .../parcel-resolver/tsconfig.json | 0 {packages => core}/parcel-runtime/.gitignore | 0 .../parcel-runtime/package.json | 0 .../parcel-runtime/src/index.ts | 0 .../runtimes/background-service-runtime.ts | 0 .../src/runtimes/page-runtime.ts | 0 .../src/runtimes/script-runtime.ts | 0 .../parcel-runtime/src/types.ts | 0 .../src/utils/0-patch-module.ts | 0 .../parcel-runtime/src/utils/bgsw.ts | 0 .../parcel-runtime/src/utils/hmr-check.ts | 0 .../parcel-runtime/src/utils/hmr-utils.ts | 0 .../parcel-runtime/src/utils/inject-socket.ts | 0 .../src/utils/loading-indicator.ts | 0 .../parcel-runtime/src/utils/react-refresh.ts | 0 .../parcel-runtime/tsconfig.json | 0 .../parcel-runtime/tsup.config.ts | 0 .../parcel-transformer-inject-env/.gitignore | 0 .../package.json | 0 .../src/index.ts | 0 .../tsconfig.json | 0 .../parcel-transformer-inline-css/.gitignore | 0 .../package.json | 0 .../src/get-tagets.ts | 0 .../src/index.ts | 0 .../tsconfig.json | 0 .../parcel-transformer-lab/.gitignore | 0 .../parcel-transformer-lab/package.json | 0 .../parcel-transformer-lab/src/index.ts | 0 .../parcel-transformer-lab/src/state.ts | 0 .../parcel-transformer-lab/tsconfig.json | 0 .../parcel-transformer-manifest/.gitignore | 0 .../parcel-transformer-manifest/package.json | 0 .../runtime/plasmo-default-background.ts | 0 .../src/csp-patch-hmr.ts | 0 .../src/handle-action.ts | 0 .../src/handle-background.ts | 0 .../src/handle-content-scripts.ts | 0 .../src/handle-declarative-net-request.ts | 0 .../src/handle-deep-loc.ts | 0 .../src/handle-dictionaries.ts | 0 .../src/handle-locales.ts | 0 .../src/handle-sandboxes.ts | 0 .../src/handle-tabs.ts | 0 .../parcel-transformer-manifest/src/index.ts | 0 .../src/normalize-manifest.ts | 0 .../parcel-transformer-manifest/src/schema.ts | 0 .../parcel-transformer-manifest/src/state.ts | 0 .../parcel-transformer-manifest/src/utils.ts | 0 .../src/validate-version.ts | 0 .../parcel-transformer-manifest/tsconfig.json | 0 .../parcel-transformer-svelte3/.gitignore | 0 .../parcel-transformer-svelte3/package.json | 0 .../src/convert-error.ts | 0 .../src/convert-loc.ts | 0 .../parcel-transformer-svelte3/src/index.ts | 0 .../src/source-map.ts | 0 .../parcel-transformer-svelte3/src/types.ts | 0 .../parcel-transformer-svelte3/tsconfig.json | 0 .../parcel-transformer-vue3/.gitignore | 0 .../parcel-transformer-vue3/package.json | 0 .../parcel-transformer-vue3/src/index.ts | 0 .../parcel-transformer-vue3/tsconfig.json | 0 package.json | 5 +- pnpm-lock.yaml | 3572 ++++++++--------- pnpm-workspace.yaml | 2 + 197 files changed, 1781 insertions(+), 1806 deletions(-) rename {packages => api}/messaging/.gitignore (100%) rename {packages => api}/messaging/LICENSE (100%) rename {packages => api}/messaging/jest.config.mjs (100%) rename {packages => api}/messaging/package.json (100%) rename {packages => api}/messaging/src/background.ts (100%) rename {packages => api}/messaging/src/hook.ts (100%) rename {packages => api}/messaging/src/index.ts (100%) rename {packages => api}/messaging/src/message.ts (100%) rename {packages => api}/messaging/src/port.ts (100%) rename {packages => api}/messaging/src/pub-sub.ts (100%) rename {packages => api}/messaging/src/relay.test.ts (100%) rename {packages => api}/messaging/src/relay.ts (100%) rename {packages => api}/messaging/src/types.ts (100%) rename {packages => api}/messaging/src/utils.ts (100%) rename {packages => api}/messaging/tsconfig.json (100%) rename {packages => api}/persistent/.gitignore (100%) rename {packages => api}/persistent/LICENSE (100%) rename {packages => api}/persistent/README.md (100%) rename {packages => api}/persistent/package.json (100%) rename {packages => api}/persistent/src/background.ts (100%) rename {packages => api}/persistent/src/index.ts (100%) rename {packages => api}/persistent/tsconfig.json (100%) rename {packages => api}/persistent/tsup.config.ts (100%) rename {packages => api}/selector/.gitignore (100%) rename {packages => api}/selector/LICENSE (100%) rename {packages => api}/selector/package.json (100%) rename {packages => api}/selector/src/background.ts (100%) rename {packages => api}/selector/src/hook.ts (100%) rename {packages => api}/selector/src/index.ts (100%) rename {packages => api}/selector/src/monitor.ts (100%) rename {packages => api}/selector/src/types.ts (100%) rename {packages => api}/selector/tsconfig.json (100%) rename {packages => api}/selector/tsup.config.ts (100%) rename {packages => api}/storage (100%) rename {packages => core}/parcel-bundler/.gitignore (100%) rename {packages => core}/parcel-bundler/package.json (100%) rename {packages => core}/parcel-bundler/src/bit-set.ts (100%) rename {packages => core}/parcel-bundler/src/can-merge.ts (100%) rename {packages => core}/parcel-bundler/src/create-bundle.ts (100%) rename {packages => core}/parcel-bundler/src/create-ideal-graph.ts (100%) rename {packages => core}/parcel-bundler/src/decorate-legacy-graph.ts (100%) rename {packages => core}/parcel-bundler/src/get-entry-by-target.ts (100%) rename {packages => core}/parcel-bundler/src/get-reachable-bundle-root.ts (100%) rename {packages => core}/parcel-bundler/src/index.ts (100%) rename {packages => core}/parcel-bundler/src/remove-bundle.ts (100%) rename {packages => core}/parcel-bundler/src/types.ts (100%) rename {packages => core}/parcel-bundler/tsconfig.json (100%) rename {packages => core}/parcel-compressor-utf8/.gitignore (100%) rename {packages => core}/parcel-compressor-utf8/package.json (100%) rename {packages => core}/parcel-compressor-utf8/src/index.ts (100%) rename {packages => core}/parcel-compressor-utf8/src/utf8-transform.ts (100%) rename {packages => core}/parcel-compressor-utf8/tsconfig.json (100%) rename {packages => core}/parcel-compressor-utf8/tsup.config.ts (100%) rename {packages => core}/parcel-config/.gitignore (100%) rename {packages => core}/parcel-config/index.json (100%) rename {packages => core}/parcel-config/package.json (100%) rename {packages => core}/parcel-core/.gitignore (100%) rename {packages => core}/parcel-core/package.json (100%) rename {packages => core}/parcel-core/src/index.ts (100%) rename {packages => core}/parcel-core/src/resolve-options.ts (100%) rename {packages => core}/parcel-core/src/types.ts (100%) rename {packages => core}/parcel-core/tsconfig.json (100%) rename {packages => core}/parcel-core/tsup.config.ts (100%) rename {packages => core}/parcel-namer-manifest/.gitignore (100%) rename {packages => core}/parcel-namer-manifest/package.json (100%) rename {packages => core}/parcel-namer-manifest/src/index.ts (100%) rename {packages => core}/parcel-namer-manifest/tsconfig.json (100%) rename {packages => core}/parcel-optimizer-encapsulate/.gitignore (100%) rename {packages => core}/parcel-optimizer-encapsulate/package.json (100%) rename {packages => core}/parcel-optimizer-encapsulate/src/index.ts (100%) rename {packages => core}/parcel-optimizer-encapsulate/tsconfig.json (100%) rename {packages => core}/parcel-optimizer-encapsulate/tsup.config.ts (100%) rename {packages => core}/parcel-optimizer-es/.gitignore (100%) rename {packages => core}/parcel-optimizer-es/package.json (100%) rename {packages => core}/parcel-optimizer-es/src/blob-to-string.ts (100%) rename {packages => core}/parcel-optimizer-es/src/index.ts (100%) rename {packages => core}/parcel-optimizer-es/tsconfig.json (100%) rename {packages => core}/parcel-optimizer-es/tsup.config.ts (100%) rename {packages => core}/parcel-packager/.gitignore (100%) rename {packages => core}/parcel-packager/package.json (100%) rename {packages => core}/parcel-packager/src/get-web-accessible-resources.ts (100%) rename {packages => core}/parcel-packager/src/index.ts (100%) rename {packages => core}/parcel-packager/src/utils.ts (100%) rename {packages => core}/parcel-packager/tsconfig.json (100%) rename {packages => core}/parcel-resolver-post/.gitignore (100%) rename {packages => core}/parcel-resolver-post/package.json (100%) rename {packages => core}/parcel-resolver-post/src/handle-module-exports.ts (100%) rename {packages => core}/parcel-resolver-post/src/handle-ts-path.ts (100%) rename {packages => core}/parcel-resolver-post/src/index.ts (100%) rename {packages => core}/parcel-resolver-post/src/shared.ts (100%) rename {packages => core}/parcel-resolver-post/src/utils.ts (100%) rename {packages => core}/parcel-resolver-post/tsconfig.json (100%) rename {packages => core}/parcel-resolver/.gitignore (100%) rename {packages => core}/parcel-resolver/index.mjs (100%) rename {packages => core}/parcel-resolver/package.json (100%) rename {packages => core}/parcel-resolver/src/dev-polyfills/react-refresh.ts (100%) rename {packages => core}/parcel-resolver/src/dev-polyfills/react-refresh/runtime.ts (100%) rename {packages => core}/parcel-resolver/src/handle-absolute-root.ts (100%) rename {packages => core}/parcel-resolver/src/handle-alias.ts (100%) rename {packages => core}/parcel-resolver/src/handle-plasmo-internal.ts (100%) rename {packages => core}/parcel-resolver/src/handle-polyfill.ts (100%) rename {packages => core}/parcel-resolver/src/handle-remote-caching.ts (100%) rename {packages => core}/parcel-resolver/src/handle-tilde-src.ts (100%) rename {packages => core}/parcel-resolver/src/index.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/assert.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/buffer.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/console.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/constants.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/crc-32.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/crc-32/crc32c.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/crypto.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/domain.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/events.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/http.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/https.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/os.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/path.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/process.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/punycode.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/querystring.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/stream.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/string_decoder.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/sys.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/timers.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/tty.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/url.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/util.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/vm.ts (100%) rename {packages => core}/parcel-resolver/src/polyfills/zlib.ts (100%) rename {packages => core}/parcel-resolver/src/shared.ts (100%) rename {packages => core}/parcel-resolver/tsconfig.json (100%) rename {packages => core}/parcel-runtime/.gitignore (100%) rename {packages => core}/parcel-runtime/package.json (100%) rename {packages => core}/parcel-runtime/src/index.ts (100%) rename {packages => core}/parcel-runtime/src/runtimes/background-service-runtime.ts (100%) rename {packages => core}/parcel-runtime/src/runtimes/page-runtime.ts (100%) rename {packages => core}/parcel-runtime/src/runtimes/script-runtime.ts (100%) rename {packages => core}/parcel-runtime/src/types.ts (100%) rename {packages => core}/parcel-runtime/src/utils/0-patch-module.ts (100%) rename {packages => core}/parcel-runtime/src/utils/bgsw.ts (100%) rename {packages => core}/parcel-runtime/src/utils/hmr-check.ts (100%) rename {packages => core}/parcel-runtime/src/utils/hmr-utils.ts (100%) rename {packages => core}/parcel-runtime/src/utils/inject-socket.ts (100%) rename {packages => core}/parcel-runtime/src/utils/loading-indicator.ts (100%) rename {packages => core}/parcel-runtime/src/utils/react-refresh.ts (100%) rename {packages => core}/parcel-runtime/tsconfig.json (100%) rename {packages => core}/parcel-runtime/tsup.config.ts (100%) rename {packages => core}/parcel-transformer-inject-env/.gitignore (100%) rename {packages => core}/parcel-transformer-inject-env/package.json (100%) rename {packages => core}/parcel-transformer-inject-env/src/index.ts (100%) rename {packages => core}/parcel-transformer-inject-env/tsconfig.json (100%) rename {packages => core}/parcel-transformer-inline-css/.gitignore (100%) rename {packages => core}/parcel-transformer-inline-css/package.json (100%) rename {packages => core}/parcel-transformer-inline-css/src/get-tagets.ts (100%) rename {packages => core}/parcel-transformer-inline-css/src/index.ts (100%) rename {packages => core}/parcel-transformer-inline-css/tsconfig.json (100%) rename {packages => core}/parcel-transformer-lab/.gitignore (100%) rename {packages => core}/parcel-transformer-lab/package.json (100%) rename {packages => core}/parcel-transformer-lab/src/index.ts (100%) rename {packages => core}/parcel-transformer-lab/src/state.ts (100%) rename {packages => core}/parcel-transformer-lab/tsconfig.json (100%) rename {packages => core}/parcel-transformer-manifest/.gitignore (100%) rename {packages => core}/parcel-transformer-manifest/package.json (100%) rename {packages => core}/parcel-transformer-manifest/runtime/plasmo-default-background.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/csp-patch-hmr.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-action.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-background.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-content-scripts.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-declarative-net-request.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-deep-loc.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-dictionaries.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-locales.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-sandboxes.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/handle-tabs.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/index.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/normalize-manifest.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/schema.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/state.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/utils.ts (100%) rename {packages => core}/parcel-transformer-manifest/src/validate-version.ts (100%) rename {packages => core}/parcel-transformer-manifest/tsconfig.json (100%) rename {packages => core}/parcel-transformer-svelte3/.gitignore (100%) rename {packages => core}/parcel-transformer-svelte3/package.json (100%) rename {packages => core}/parcel-transformer-svelte3/src/convert-error.ts (100%) rename {packages => core}/parcel-transformer-svelte3/src/convert-loc.ts (100%) rename {packages => core}/parcel-transformer-svelte3/src/index.ts (100%) rename {packages => core}/parcel-transformer-svelte3/src/source-map.ts (100%) rename {packages => core}/parcel-transformer-svelte3/src/types.ts (100%) rename {packages => core}/parcel-transformer-svelte3/tsconfig.json (100%) rename {packages => core}/parcel-transformer-vue3/.gitignore (100%) rename {packages => core}/parcel-transformer-vue3/package.json (100%) rename {packages => core}/parcel-transformer-vue3/src/index.ts (100%) rename {packages => core}/parcel-transformer-vue3/tsconfig.json (100%) diff --git a/.gitmodules b/.gitmodules index e5c2d031a..d8d0a03ff 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,10 +14,6 @@ path = packages/use-hashed-state url = git@github.com:PlasmoHQ/use-hashed-state.git branch = main -[submodule "packages/storage"] - path = packages/storage - url = git@github.com:PlasmoHQ/storage.git - branch = main [submodule "examples"] path = examples url = git@github.com:PlasmoHQ/examples.git @@ -36,3 +32,7 @@ [submodule "packages/prettier-plugin-sort-imports"] path = packages/prettier-plugin-sort-imports url = https://github.com/PlasmoHQ/prettier-plugin-sort-imports.git +[submodule "api/storage"] + path = api/storage + url = git@github.com:PlasmoHQ/storage.git + branch = main diff --git a/packages/messaging/.gitignore b/api/messaging/.gitignore similarity index 100% rename from packages/messaging/.gitignore rename to api/messaging/.gitignore diff --git a/packages/messaging/LICENSE b/api/messaging/LICENSE similarity index 100% rename from packages/messaging/LICENSE rename to api/messaging/LICENSE diff --git a/packages/messaging/jest.config.mjs b/api/messaging/jest.config.mjs similarity index 100% rename from packages/messaging/jest.config.mjs rename to api/messaging/jest.config.mjs diff --git a/packages/messaging/package.json b/api/messaging/package.json similarity index 100% rename from packages/messaging/package.json rename to api/messaging/package.json diff --git a/packages/messaging/src/background.ts b/api/messaging/src/background.ts similarity index 100% rename from packages/messaging/src/background.ts rename to api/messaging/src/background.ts diff --git a/packages/messaging/src/hook.ts b/api/messaging/src/hook.ts similarity index 100% rename from packages/messaging/src/hook.ts rename to api/messaging/src/hook.ts diff --git a/packages/messaging/src/index.ts b/api/messaging/src/index.ts similarity index 100% rename from packages/messaging/src/index.ts rename to api/messaging/src/index.ts diff --git a/packages/messaging/src/message.ts b/api/messaging/src/message.ts similarity index 100% rename from packages/messaging/src/message.ts rename to api/messaging/src/message.ts diff --git a/packages/messaging/src/port.ts b/api/messaging/src/port.ts similarity index 100% rename from packages/messaging/src/port.ts rename to api/messaging/src/port.ts diff --git a/packages/messaging/src/pub-sub.ts b/api/messaging/src/pub-sub.ts similarity index 100% rename from packages/messaging/src/pub-sub.ts rename to api/messaging/src/pub-sub.ts diff --git a/packages/messaging/src/relay.test.ts b/api/messaging/src/relay.test.ts similarity index 100% rename from packages/messaging/src/relay.test.ts rename to api/messaging/src/relay.test.ts diff --git a/packages/messaging/src/relay.ts b/api/messaging/src/relay.ts similarity index 100% rename from packages/messaging/src/relay.ts rename to api/messaging/src/relay.ts diff --git a/packages/messaging/src/types.ts b/api/messaging/src/types.ts similarity index 100% rename from packages/messaging/src/types.ts rename to api/messaging/src/types.ts diff --git a/packages/messaging/src/utils.ts b/api/messaging/src/utils.ts similarity index 100% rename from packages/messaging/src/utils.ts rename to api/messaging/src/utils.ts diff --git a/packages/messaging/tsconfig.json b/api/messaging/tsconfig.json similarity index 100% rename from packages/messaging/tsconfig.json rename to api/messaging/tsconfig.json diff --git a/packages/persistent/.gitignore b/api/persistent/.gitignore similarity index 100% rename from packages/persistent/.gitignore rename to api/persistent/.gitignore diff --git a/packages/persistent/LICENSE b/api/persistent/LICENSE similarity index 100% rename from packages/persistent/LICENSE rename to api/persistent/LICENSE diff --git a/packages/persistent/README.md b/api/persistent/README.md similarity index 100% rename from packages/persistent/README.md rename to api/persistent/README.md diff --git a/packages/persistent/package.json b/api/persistent/package.json similarity index 100% rename from packages/persistent/package.json rename to api/persistent/package.json diff --git a/packages/persistent/src/background.ts b/api/persistent/src/background.ts similarity index 100% rename from packages/persistent/src/background.ts rename to api/persistent/src/background.ts diff --git a/packages/persistent/src/index.ts b/api/persistent/src/index.ts similarity index 100% rename from packages/persistent/src/index.ts rename to api/persistent/src/index.ts diff --git a/packages/persistent/tsconfig.json b/api/persistent/tsconfig.json similarity index 100% rename from packages/persistent/tsconfig.json rename to api/persistent/tsconfig.json diff --git a/packages/persistent/tsup.config.ts b/api/persistent/tsup.config.ts similarity index 100% rename from packages/persistent/tsup.config.ts rename to api/persistent/tsup.config.ts diff --git a/packages/selector/.gitignore b/api/selector/.gitignore similarity index 100% rename from packages/selector/.gitignore rename to api/selector/.gitignore diff --git a/packages/selector/LICENSE b/api/selector/LICENSE similarity index 100% rename from packages/selector/LICENSE rename to api/selector/LICENSE diff --git a/packages/selector/package.json b/api/selector/package.json similarity index 100% rename from packages/selector/package.json rename to api/selector/package.json diff --git a/packages/selector/src/background.ts b/api/selector/src/background.ts similarity index 100% rename from packages/selector/src/background.ts rename to api/selector/src/background.ts diff --git a/packages/selector/src/hook.ts b/api/selector/src/hook.ts similarity index 100% rename from packages/selector/src/hook.ts rename to api/selector/src/hook.ts diff --git a/packages/selector/src/index.ts b/api/selector/src/index.ts similarity index 100% rename from packages/selector/src/index.ts rename to api/selector/src/index.ts diff --git a/packages/selector/src/monitor.ts b/api/selector/src/monitor.ts similarity index 100% rename from packages/selector/src/monitor.ts rename to api/selector/src/monitor.ts diff --git a/packages/selector/src/types.ts b/api/selector/src/types.ts similarity index 100% rename from packages/selector/src/types.ts rename to api/selector/src/types.ts diff --git a/packages/selector/tsconfig.json b/api/selector/tsconfig.json similarity index 100% rename from packages/selector/tsconfig.json rename to api/selector/tsconfig.json diff --git a/packages/selector/tsup.config.ts b/api/selector/tsup.config.ts similarity index 100% rename from packages/selector/tsup.config.ts rename to api/selector/tsup.config.ts diff --git a/packages/storage b/api/storage similarity index 100% rename from packages/storage rename to api/storage diff --git a/packages/parcel-bundler/.gitignore b/core/parcel-bundler/.gitignore similarity index 100% rename from packages/parcel-bundler/.gitignore rename to core/parcel-bundler/.gitignore diff --git a/packages/parcel-bundler/package.json b/core/parcel-bundler/package.json similarity index 100% rename from packages/parcel-bundler/package.json rename to core/parcel-bundler/package.json diff --git a/packages/parcel-bundler/src/bit-set.ts b/core/parcel-bundler/src/bit-set.ts similarity index 100% rename from packages/parcel-bundler/src/bit-set.ts rename to core/parcel-bundler/src/bit-set.ts diff --git a/packages/parcel-bundler/src/can-merge.ts b/core/parcel-bundler/src/can-merge.ts similarity index 100% rename from packages/parcel-bundler/src/can-merge.ts rename to core/parcel-bundler/src/can-merge.ts diff --git a/packages/parcel-bundler/src/create-bundle.ts b/core/parcel-bundler/src/create-bundle.ts similarity index 100% rename from packages/parcel-bundler/src/create-bundle.ts rename to core/parcel-bundler/src/create-bundle.ts diff --git a/packages/parcel-bundler/src/create-ideal-graph.ts b/core/parcel-bundler/src/create-ideal-graph.ts similarity index 100% rename from packages/parcel-bundler/src/create-ideal-graph.ts rename to core/parcel-bundler/src/create-ideal-graph.ts diff --git a/packages/parcel-bundler/src/decorate-legacy-graph.ts b/core/parcel-bundler/src/decorate-legacy-graph.ts similarity index 100% rename from packages/parcel-bundler/src/decorate-legacy-graph.ts rename to core/parcel-bundler/src/decorate-legacy-graph.ts diff --git a/packages/parcel-bundler/src/get-entry-by-target.ts b/core/parcel-bundler/src/get-entry-by-target.ts similarity index 100% rename from packages/parcel-bundler/src/get-entry-by-target.ts rename to core/parcel-bundler/src/get-entry-by-target.ts diff --git a/packages/parcel-bundler/src/get-reachable-bundle-root.ts b/core/parcel-bundler/src/get-reachable-bundle-root.ts similarity index 100% rename from packages/parcel-bundler/src/get-reachable-bundle-root.ts rename to core/parcel-bundler/src/get-reachable-bundle-root.ts diff --git a/packages/parcel-bundler/src/index.ts b/core/parcel-bundler/src/index.ts similarity index 100% rename from packages/parcel-bundler/src/index.ts rename to core/parcel-bundler/src/index.ts diff --git a/packages/parcel-bundler/src/remove-bundle.ts b/core/parcel-bundler/src/remove-bundle.ts similarity index 100% rename from packages/parcel-bundler/src/remove-bundle.ts rename to core/parcel-bundler/src/remove-bundle.ts diff --git a/packages/parcel-bundler/src/types.ts b/core/parcel-bundler/src/types.ts similarity index 100% rename from packages/parcel-bundler/src/types.ts rename to core/parcel-bundler/src/types.ts diff --git a/packages/parcel-bundler/tsconfig.json b/core/parcel-bundler/tsconfig.json similarity index 100% rename from packages/parcel-bundler/tsconfig.json rename to core/parcel-bundler/tsconfig.json diff --git a/packages/parcel-compressor-utf8/.gitignore b/core/parcel-compressor-utf8/.gitignore similarity index 100% rename from packages/parcel-compressor-utf8/.gitignore rename to core/parcel-compressor-utf8/.gitignore diff --git a/packages/parcel-compressor-utf8/package.json b/core/parcel-compressor-utf8/package.json similarity index 100% rename from packages/parcel-compressor-utf8/package.json rename to core/parcel-compressor-utf8/package.json diff --git a/packages/parcel-compressor-utf8/src/index.ts b/core/parcel-compressor-utf8/src/index.ts similarity index 100% rename from packages/parcel-compressor-utf8/src/index.ts rename to core/parcel-compressor-utf8/src/index.ts diff --git a/packages/parcel-compressor-utf8/src/utf8-transform.ts b/core/parcel-compressor-utf8/src/utf8-transform.ts similarity index 100% rename from packages/parcel-compressor-utf8/src/utf8-transform.ts rename to core/parcel-compressor-utf8/src/utf8-transform.ts diff --git a/packages/parcel-compressor-utf8/tsconfig.json b/core/parcel-compressor-utf8/tsconfig.json similarity index 100% rename from packages/parcel-compressor-utf8/tsconfig.json rename to core/parcel-compressor-utf8/tsconfig.json diff --git a/packages/parcel-compressor-utf8/tsup.config.ts b/core/parcel-compressor-utf8/tsup.config.ts similarity index 100% rename from packages/parcel-compressor-utf8/tsup.config.ts rename to core/parcel-compressor-utf8/tsup.config.ts diff --git a/packages/parcel-config/.gitignore b/core/parcel-config/.gitignore similarity index 100% rename from packages/parcel-config/.gitignore rename to core/parcel-config/.gitignore diff --git a/packages/parcel-config/index.json b/core/parcel-config/index.json similarity index 100% rename from packages/parcel-config/index.json rename to core/parcel-config/index.json diff --git a/packages/parcel-config/package.json b/core/parcel-config/package.json similarity index 100% rename from packages/parcel-config/package.json rename to core/parcel-config/package.json diff --git a/packages/parcel-core/.gitignore b/core/parcel-core/.gitignore similarity index 100% rename from packages/parcel-core/.gitignore rename to core/parcel-core/.gitignore diff --git a/packages/parcel-core/package.json b/core/parcel-core/package.json similarity index 100% rename from packages/parcel-core/package.json rename to core/parcel-core/package.json diff --git a/packages/parcel-core/src/index.ts b/core/parcel-core/src/index.ts similarity index 100% rename from packages/parcel-core/src/index.ts rename to core/parcel-core/src/index.ts diff --git a/packages/parcel-core/src/resolve-options.ts b/core/parcel-core/src/resolve-options.ts similarity index 100% rename from packages/parcel-core/src/resolve-options.ts rename to core/parcel-core/src/resolve-options.ts diff --git a/packages/parcel-core/src/types.ts b/core/parcel-core/src/types.ts similarity index 100% rename from packages/parcel-core/src/types.ts rename to core/parcel-core/src/types.ts diff --git a/packages/parcel-core/tsconfig.json b/core/parcel-core/tsconfig.json similarity index 100% rename from packages/parcel-core/tsconfig.json rename to core/parcel-core/tsconfig.json diff --git a/packages/parcel-core/tsup.config.ts b/core/parcel-core/tsup.config.ts similarity index 100% rename from packages/parcel-core/tsup.config.ts rename to core/parcel-core/tsup.config.ts diff --git a/packages/parcel-namer-manifest/.gitignore b/core/parcel-namer-manifest/.gitignore similarity index 100% rename from packages/parcel-namer-manifest/.gitignore rename to core/parcel-namer-manifest/.gitignore diff --git a/packages/parcel-namer-manifest/package.json b/core/parcel-namer-manifest/package.json similarity index 100% rename from packages/parcel-namer-manifest/package.json rename to core/parcel-namer-manifest/package.json diff --git a/packages/parcel-namer-manifest/src/index.ts b/core/parcel-namer-manifest/src/index.ts similarity index 100% rename from packages/parcel-namer-manifest/src/index.ts rename to core/parcel-namer-manifest/src/index.ts diff --git a/packages/parcel-namer-manifest/tsconfig.json b/core/parcel-namer-manifest/tsconfig.json similarity index 100% rename from packages/parcel-namer-manifest/tsconfig.json rename to core/parcel-namer-manifest/tsconfig.json diff --git a/packages/parcel-optimizer-encapsulate/.gitignore b/core/parcel-optimizer-encapsulate/.gitignore similarity index 100% rename from packages/parcel-optimizer-encapsulate/.gitignore rename to core/parcel-optimizer-encapsulate/.gitignore diff --git a/packages/parcel-optimizer-encapsulate/package.json b/core/parcel-optimizer-encapsulate/package.json similarity index 100% rename from packages/parcel-optimizer-encapsulate/package.json rename to core/parcel-optimizer-encapsulate/package.json diff --git a/packages/parcel-optimizer-encapsulate/src/index.ts b/core/parcel-optimizer-encapsulate/src/index.ts similarity index 100% rename from packages/parcel-optimizer-encapsulate/src/index.ts rename to core/parcel-optimizer-encapsulate/src/index.ts diff --git a/packages/parcel-optimizer-encapsulate/tsconfig.json b/core/parcel-optimizer-encapsulate/tsconfig.json similarity index 100% rename from packages/parcel-optimizer-encapsulate/tsconfig.json rename to core/parcel-optimizer-encapsulate/tsconfig.json diff --git a/packages/parcel-optimizer-encapsulate/tsup.config.ts b/core/parcel-optimizer-encapsulate/tsup.config.ts similarity index 100% rename from packages/parcel-optimizer-encapsulate/tsup.config.ts rename to core/parcel-optimizer-encapsulate/tsup.config.ts diff --git a/packages/parcel-optimizer-es/.gitignore b/core/parcel-optimizer-es/.gitignore similarity index 100% rename from packages/parcel-optimizer-es/.gitignore rename to core/parcel-optimizer-es/.gitignore diff --git a/packages/parcel-optimizer-es/package.json b/core/parcel-optimizer-es/package.json similarity index 100% rename from packages/parcel-optimizer-es/package.json rename to core/parcel-optimizer-es/package.json diff --git a/packages/parcel-optimizer-es/src/blob-to-string.ts b/core/parcel-optimizer-es/src/blob-to-string.ts similarity index 100% rename from packages/parcel-optimizer-es/src/blob-to-string.ts rename to core/parcel-optimizer-es/src/blob-to-string.ts diff --git a/packages/parcel-optimizer-es/src/index.ts b/core/parcel-optimizer-es/src/index.ts similarity index 100% rename from packages/parcel-optimizer-es/src/index.ts rename to core/parcel-optimizer-es/src/index.ts diff --git a/packages/parcel-optimizer-es/tsconfig.json b/core/parcel-optimizer-es/tsconfig.json similarity index 100% rename from packages/parcel-optimizer-es/tsconfig.json rename to core/parcel-optimizer-es/tsconfig.json diff --git a/packages/parcel-optimizer-es/tsup.config.ts b/core/parcel-optimizer-es/tsup.config.ts similarity index 100% rename from packages/parcel-optimizer-es/tsup.config.ts rename to core/parcel-optimizer-es/tsup.config.ts diff --git a/packages/parcel-packager/.gitignore b/core/parcel-packager/.gitignore similarity index 100% rename from packages/parcel-packager/.gitignore rename to core/parcel-packager/.gitignore diff --git a/packages/parcel-packager/package.json b/core/parcel-packager/package.json similarity index 100% rename from packages/parcel-packager/package.json rename to core/parcel-packager/package.json diff --git a/packages/parcel-packager/src/get-web-accessible-resources.ts b/core/parcel-packager/src/get-web-accessible-resources.ts similarity index 100% rename from packages/parcel-packager/src/get-web-accessible-resources.ts rename to core/parcel-packager/src/get-web-accessible-resources.ts diff --git a/packages/parcel-packager/src/index.ts b/core/parcel-packager/src/index.ts similarity index 100% rename from packages/parcel-packager/src/index.ts rename to core/parcel-packager/src/index.ts diff --git a/packages/parcel-packager/src/utils.ts b/core/parcel-packager/src/utils.ts similarity index 100% rename from packages/parcel-packager/src/utils.ts rename to core/parcel-packager/src/utils.ts diff --git a/packages/parcel-packager/tsconfig.json b/core/parcel-packager/tsconfig.json similarity index 100% rename from packages/parcel-packager/tsconfig.json rename to core/parcel-packager/tsconfig.json diff --git a/packages/parcel-resolver-post/.gitignore b/core/parcel-resolver-post/.gitignore similarity index 100% rename from packages/parcel-resolver-post/.gitignore rename to core/parcel-resolver-post/.gitignore diff --git a/packages/parcel-resolver-post/package.json b/core/parcel-resolver-post/package.json similarity index 100% rename from packages/parcel-resolver-post/package.json rename to core/parcel-resolver-post/package.json diff --git a/packages/parcel-resolver-post/src/handle-module-exports.ts b/core/parcel-resolver-post/src/handle-module-exports.ts similarity index 100% rename from packages/parcel-resolver-post/src/handle-module-exports.ts rename to core/parcel-resolver-post/src/handle-module-exports.ts diff --git a/packages/parcel-resolver-post/src/handle-ts-path.ts b/core/parcel-resolver-post/src/handle-ts-path.ts similarity index 100% rename from packages/parcel-resolver-post/src/handle-ts-path.ts rename to core/parcel-resolver-post/src/handle-ts-path.ts diff --git a/packages/parcel-resolver-post/src/index.ts b/core/parcel-resolver-post/src/index.ts similarity index 100% rename from packages/parcel-resolver-post/src/index.ts rename to core/parcel-resolver-post/src/index.ts diff --git a/packages/parcel-resolver-post/src/shared.ts b/core/parcel-resolver-post/src/shared.ts similarity index 100% rename from packages/parcel-resolver-post/src/shared.ts rename to core/parcel-resolver-post/src/shared.ts diff --git a/packages/parcel-resolver-post/src/utils.ts b/core/parcel-resolver-post/src/utils.ts similarity index 100% rename from packages/parcel-resolver-post/src/utils.ts rename to core/parcel-resolver-post/src/utils.ts diff --git a/packages/parcel-resolver-post/tsconfig.json b/core/parcel-resolver-post/tsconfig.json similarity index 100% rename from packages/parcel-resolver-post/tsconfig.json rename to core/parcel-resolver-post/tsconfig.json diff --git a/packages/parcel-resolver/.gitignore b/core/parcel-resolver/.gitignore similarity index 100% rename from packages/parcel-resolver/.gitignore rename to core/parcel-resolver/.gitignore diff --git a/packages/parcel-resolver/index.mjs b/core/parcel-resolver/index.mjs similarity index 100% rename from packages/parcel-resolver/index.mjs rename to core/parcel-resolver/index.mjs diff --git a/packages/parcel-resolver/package.json b/core/parcel-resolver/package.json similarity index 100% rename from packages/parcel-resolver/package.json rename to core/parcel-resolver/package.json diff --git a/packages/parcel-resolver/src/dev-polyfills/react-refresh.ts b/core/parcel-resolver/src/dev-polyfills/react-refresh.ts similarity index 100% rename from packages/parcel-resolver/src/dev-polyfills/react-refresh.ts rename to core/parcel-resolver/src/dev-polyfills/react-refresh.ts diff --git a/packages/parcel-resolver/src/dev-polyfills/react-refresh/runtime.ts b/core/parcel-resolver/src/dev-polyfills/react-refresh/runtime.ts similarity index 100% rename from packages/parcel-resolver/src/dev-polyfills/react-refresh/runtime.ts rename to core/parcel-resolver/src/dev-polyfills/react-refresh/runtime.ts diff --git a/packages/parcel-resolver/src/handle-absolute-root.ts b/core/parcel-resolver/src/handle-absolute-root.ts similarity index 100% rename from packages/parcel-resolver/src/handle-absolute-root.ts rename to core/parcel-resolver/src/handle-absolute-root.ts diff --git a/packages/parcel-resolver/src/handle-alias.ts b/core/parcel-resolver/src/handle-alias.ts similarity index 100% rename from packages/parcel-resolver/src/handle-alias.ts rename to core/parcel-resolver/src/handle-alias.ts diff --git a/packages/parcel-resolver/src/handle-plasmo-internal.ts b/core/parcel-resolver/src/handle-plasmo-internal.ts similarity index 100% rename from packages/parcel-resolver/src/handle-plasmo-internal.ts rename to core/parcel-resolver/src/handle-plasmo-internal.ts diff --git a/packages/parcel-resolver/src/handle-polyfill.ts b/core/parcel-resolver/src/handle-polyfill.ts similarity index 100% rename from packages/parcel-resolver/src/handle-polyfill.ts rename to core/parcel-resolver/src/handle-polyfill.ts diff --git a/packages/parcel-resolver/src/handle-remote-caching.ts b/core/parcel-resolver/src/handle-remote-caching.ts similarity index 100% rename from packages/parcel-resolver/src/handle-remote-caching.ts rename to core/parcel-resolver/src/handle-remote-caching.ts diff --git a/packages/parcel-resolver/src/handle-tilde-src.ts b/core/parcel-resolver/src/handle-tilde-src.ts similarity index 100% rename from packages/parcel-resolver/src/handle-tilde-src.ts rename to core/parcel-resolver/src/handle-tilde-src.ts diff --git a/packages/parcel-resolver/src/index.ts b/core/parcel-resolver/src/index.ts similarity index 100% rename from packages/parcel-resolver/src/index.ts rename to core/parcel-resolver/src/index.ts diff --git a/packages/parcel-resolver/src/polyfills/assert.ts b/core/parcel-resolver/src/polyfills/assert.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/assert.ts rename to core/parcel-resolver/src/polyfills/assert.ts diff --git a/packages/parcel-resolver/src/polyfills/buffer.ts b/core/parcel-resolver/src/polyfills/buffer.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/buffer.ts rename to core/parcel-resolver/src/polyfills/buffer.ts diff --git a/packages/parcel-resolver/src/polyfills/console.ts b/core/parcel-resolver/src/polyfills/console.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/console.ts rename to core/parcel-resolver/src/polyfills/console.ts diff --git a/packages/parcel-resolver/src/polyfills/constants.ts b/core/parcel-resolver/src/polyfills/constants.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/constants.ts rename to core/parcel-resolver/src/polyfills/constants.ts diff --git a/packages/parcel-resolver/src/polyfills/crc-32.ts b/core/parcel-resolver/src/polyfills/crc-32.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/crc-32.ts rename to core/parcel-resolver/src/polyfills/crc-32.ts diff --git a/packages/parcel-resolver/src/polyfills/crc-32/crc32c.ts b/core/parcel-resolver/src/polyfills/crc-32/crc32c.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/crc-32/crc32c.ts rename to core/parcel-resolver/src/polyfills/crc-32/crc32c.ts diff --git a/packages/parcel-resolver/src/polyfills/crypto.ts b/core/parcel-resolver/src/polyfills/crypto.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/crypto.ts rename to core/parcel-resolver/src/polyfills/crypto.ts diff --git a/packages/parcel-resolver/src/polyfills/domain.ts b/core/parcel-resolver/src/polyfills/domain.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/domain.ts rename to core/parcel-resolver/src/polyfills/domain.ts diff --git a/packages/parcel-resolver/src/polyfills/events.ts b/core/parcel-resolver/src/polyfills/events.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/events.ts rename to core/parcel-resolver/src/polyfills/events.ts diff --git a/packages/parcel-resolver/src/polyfills/http.ts b/core/parcel-resolver/src/polyfills/http.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/http.ts rename to core/parcel-resolver/src/polyfills/http.ts diff --git a/packages/parcel-resolver/src/polyfills/https.ts b/core/parcel-resolver/src/polyfills/https.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/https.ts rename to core/parcel-resolver/src/polyfills/https.ts diff --git a/packages/parcel-resolver/src/polyfills/os.ts b/core/parcel-resolver/src/polyfills/os.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/os.ts rename to core/parcel-resolver/src/polyfills/os.ts diff --git a/packages/parcel-resolver/src/polyfills/path.ts b/core/parcel-resolver/src/polyfills/path.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/path.ts rename to core/parcel-resolver/src/polyfills/path.ts diff --git a/packages/parcel-resolver/src/polyfills/process.ts b/core/parcel-resolver/src/polyfills/process.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/process.ts rename to core/parcel-resolver/src/polyfills/process.ts diff --git a/packages/parcel-resolver/src/polyfills/punycode.ts b/core/parcel-resolver/src/polyfills/punycode.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/punycode.ts rename to core/parcel-resolver/src/polyfills/punycode.ts diff --git a/packages/parcel-resolver/src/polyfills/querystring.ts b/core/parcel-resolver/src/polyfills/querystring.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/querystring.ts rename to core/parcel-resolver/src/polyfills/querystring.ts diff --git a/packages/parcel-resolver/src/polyfills/stream.ts b/core/parcel-resolver/src/polyfills/stream.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/stream.ts rename to core/parcel-resolver/src/polyfills/stream.ts diff --git a/packages/parcel-resolver/src/polyfills/string_decoder.ts b/core/parcel-resolver/src/polyfills/string_decoder.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/string_decoder.ts rename to core/parcel-resolver/src/polyfills/string_decoder.ts diff --git a/packages/parcel-resolver/src/polyfills/sys.ts b/core/parcel-resolver/src/polyfills/sys.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/sys.ts rename to core/parcel-resolver/src/polyfills/sys.ts diff --git a/packages/parcel-resolver/src/polyfills/timers.ts b/core/parcel-resolver/src/polyfills/timers.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/timers.ts rename to core/parcel-resolver/src/polyfills/timers.ts diff --git a/packages/parcel-resolver/src/polyfills/tty.ts b/core/parcel-resolver/src/polyfills/tty.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/tty.ts rename to core/parcel-resolver/src/polyfills/tty.ts diff --git a/packages/parcel-resolver/src/polyfills/url.ts b/core/parcel-resolver/src/polyfills/url.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/url.ts rename to core/parcel-resolver/src/polyfills/url.ts diff --git a/packages/parcel-resolver/src/polyfills/util.ts b/core/parcel-resolver/src/polyfills/util.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/util.ts rename to core/parcel-resolver/src/polyfills/util.ts diff --git a/packages/parcel-resolver/src/polyfills/vm.ts b/core/parcel-resolver/src/polyfills/vm.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/vm.ts rename to core/parcel-resolver/src/polyfills/vm.ts diff --git a/packages/parcel-resolver/src/polyfills/zlib.ts b/core/parcel-resolver/src/polyfills/zlib.ts similarity index 100% rename from packages/parcel-resolver/src/polyfills/zlib.ts rename to core/parcel-resolver/src/polyfills/zlib.ts diff --git a/packages/parcel-resolver/src/shared.ts b/core/parcel-resolver/src/shared.ts similarity index 100% rename from packages/parcel-resolver/src/shared.ts rename to core/parcel-resolver/src/shared.ts diff --git a/packages/parcel-resolver/tsconfig.json b/core/parcel-resolver/tsconfig.json similarity index 100% rename from packages/parcel-resolver/tsconfig.json rename to core/parcel-resolver/tsconfig.json diff --git a/packages/parcel-runtime/.gitignore b/core/parcel-runtime/.gitignore similarity index 100% rename from packages/parcel-runtime/.gitignore rename to core/parcel-runtime/.gitignore diff --git a/packages/parcel-runtime/package.json b/core/parcel-runtime/package.json similarity index 100% rename from packages/parcel-runtime/package.json rename to core/parcel-runtime/package.json diff --git a/packages/parcel-runtime/src/index.ts b/core/parcel-runtime/src/index.ts similarity index 100% rename from packages/parcel-runtime/src/index.ts rename to core/parcel-runtime/src/index.ts diff --git a/packages/parcel-runtime/src/runtimes/background-service-runtime.ts b/core/parcel-runtime/src/runtimes/background-service-runtime.ts similarity index 100% rename from packages/parcel-runtime/src/runtimes/background-service-runtime.ts rename to core/parcel-runtime/src/runtimes/background-service-runtime.ts diff --git a/packages/parcel-runtime/src/runtimes/page-runtime.ts b/core/parcel-runtime/src/runtimes/page-runtime.ts similarity index 100% rename from packages/parcel-runtime/src/runtimes/page-runtime.ts rename to core/parcel-runtime/src/runtimes/page-runtime.ts diff --git a/packages/parcel-runtime/src/runtimes/script-runtime.ts b/core/parcel-runtime/src/runtimes/script-runtime.ts similarity index 100% rename from packages/parcel-runtime/src/runtimes/script-runtime.ts rename to core/parcel-runtime/src/runtimes/script-runtime.ts diff --git a/packages/parcel-runtime/src/types.ts b/core/parcel-runtime/src/types.ts similarity index 100% rename from packages/parcel-runtime/src/types.ts rename to core/parcel-runtime/src/types.ts diff --git a/packages/parcel-runtime/src/utils/0-patch-module.ts b/core/parcel-runtime/src/utils/0-patch-module.ts similarity index 100% rename from packages/parcel-runtime/src/utils/0-patch-module.ts rename to core/parcel-runtime/src/utils/0-patch-module.ts diff --git a/packages/parcel-runtime/src/utils/bgsw.ts b/core/parcel-runtime/src/utils/bgsw.ts similarity index 100% rename from packages/parcel-runtime/src/utils/bgsw.ts rename to core/parcel-runtime/src/utils/bgsw.ts diff --git a/packages/parcel-runtime/src/utils/hmr-check.ts b/core/parcel-runtime/src/utils/hmr-check.ts similarity index 100% rename from packages/parcel-runtime/src/utils/hmr-check.ts rename to core/parcel-runtime/src/utils/hmr-check.ts diff --git a/packages/parcel-runtime/src/utils/hmr-utils.ts b/core/parcel-runtime/src/utils/hmr-utils.ts similarity index 100% rename from packages/parcel-runtime/src/utils/hmr-utils.ts rename to core/parcel-runtime/src/utils/hmr-utils.ts diff --git a/packages/parcel-runtime/src/utils/inject-socket.ts b/core/parcel-runtime/src/utils/inject-socket.ts similarity index 100% rename from packages/parcel-runtime/src/utils/inject-socket.ts rename to core/parcel-runtime/src/utils/inject-socket.ts diff --git a/packages/parcel-runtime/src/utils/loading-indicator.ts b/core/parcel-runtime/src/utils/loading-indicator.ts similarity index 100% rename from packages/parcel-runtime/src/utils/loading-indicator.ts rename to core/parcel-runtime/src/utils/loading-indicator.ts diff --git a/packages/parcel-runtime/src/utils/react-refresh.ts b/core/parcel-runtime/src/utils/react-refresh.ts similarity index 100% rename from packages/parcel-runtime/src/utils/react-refresh.ts rename to core/parcel-runtime/src/utils/react-refresh.ts diff --git a/packages/parcel-runtime/tsconfig.json b/core/parcel-runtime/tsconfig.json similarity index 100% rename from packages/parcel-runtime/tsconfig.json rename to core/parcel-runtime/tsconfig.json diff --git a/packages/parcel-runtime/tsup.config.ts b/core/parcel-runtime/tsup.config.ts similarity index 100% rename from packages/parcel-runtime/tsup.config.ts rename to core/parcel-runtime/tsup.config.ts diff --git a/packages/parcel-transformer-inject-env/.gitignore b/core/parcel-transformer-inject-env/.gitignore similarity index 100% rename from packages/parcel-transformer-inject-env/.gitignore rename to core/parcel-transformer-inject-env/.gitignore diff --git a/packages/parcel-transformer-inject-env/package.json b/core/parcel-transformer-inject-env/package.json similarity index 100% rename from packages/parcel-transformer-inject-env/package.json rename to core/parcel-transformer-inject-env/package.json diff --git a/packages/parcel-transformer-inject-env/src/index.ts b/core/parcel-transformer-inject-env/src/index.ts similarity index 100% rename from packages/parcel-transformer-inject-env/src/index.ts rename to core/parcel-transformer-inject-env/src/index.ts diff --git a/packages/parcel-transformer-inject-env/tsconfig.json b/core/parcel-transformer-inject-env/tsconfig.json similarity index 100% rename from packages/parcel-transformer-inject-env/tsconfig.json rename to core/parcel-transformer-inject-env/tsconfig.json diff --git a/packages/parcel-transformer-inline-css/.gitignore b/core/parcel-transformer-inline-css/.gitignore similarity index 100% rename from packages/parcel-transformer-inline-css/.gitignore rename to core/parcel-transformer-inline-css/.gitignore diff --git a/packages/parcel-transformer-inline-css/package.json b/core/parcel-transformer-inline-css/package.json similarity index 100% rename from packages/parcel-transformer-inline-css/package.json rename to core/parcel-transformer-inline-css/package.json diff --git a/packages/parcel-transformer-inline-css/src/get-tagets.ts b/core/parcel-transformer-inline-css/src/get-tagets.ts similarity index 100% rename from packages/parcel-transformer-inline-css/src/get-tagets.ts rename to core/parcel-transformer-inline-css/src/get-tagets.ts diff --git a/packages/parcel-transformer-inline-css/src/index.ts b/core/parcel-transformer-inline-css/src/index.ts similarity index 100% rename from packages/parcel-transformer-inline-css/src/index.ts rename to core/parcel-transformer-inline-css/src/index.ts diff --git a/packages/parcel-transformer-inline-css/tsconfig.json b/core/parcel-transformer-inline-css/tsconfig.json similarity index 100% rename from packages/parcel-transformer-inline-css/tsconfig.json rename to core/parcel-transformer-inline-css/tsconfig.json diff --git a/packages/parcel-transformer-lab/.gitignore b/core/parcel-transformer-lab/.gitignore similarity index 100% rename from packages/parcel-transformer-lab/.gitignore rename to core/parcel-transformer-lab/.gitignore diff --git a/packages/parcel-transformer-lab/package.json b/core/parcel-transformer-lab/package.json similarity index 100% rename from packages/parcel-transformer-lab/package.json rename to core/parcel-transformer-lab/package.json diff --git a/packages/parcel-transformer-lab/src/index.ts b/core/parcel-transformer-lab/src/index.ts similarity index 100% rename from packages/parcel-transformer-lab/src/index.ts rename to core/parcel-transformer-lab/src/index.ts diff --git a/packages/parcel-transformer-lab/src/state.ts b/core/parcel-transformer-lab/src/state.ts similarity index 100% rename from packages/parcel-transformer-lab/src/state.ts rename to core/parcel-transformer-lab/src/state.ts diff --git a/packages/parcel-transformer-lab/tsconfig.json b/core/parcel-transformer-lab/tsconfig.json similarity index 100% rename from packages/parcel-transformer-lab/tsconfig.json rename to core/parcel-transformer-lab/tsconfig.json diff --git a/packages/parcel-transformer-manifest/.gitignore b/core/parcel-transformer-manifest/.gitignore similarity index 100% rename from packages/parcel-transformer-manifest/.gitignore rename to core/parcel-transformer-manifest/.gitignore diff --git a/packages/parcel-transformer-manifest/package.json b/core/parcel-transformer-manifest/package.json similarity index 100% rename from packages/parcel-transformer-manifest/package.json rename to core/parcel-transformer-manifest/package.json diff --git a/packages/parcel-transformer-manifest/runtime/plasmo-default-background.ts b/core/parcel-transformer-manifest/runtime/plasmo-default-background.ts similarity index 100% rename from packages/parcel-transformer-manifest/runtime/plasmo-default-background.ts rename to core/parcel-transformer-manifest/runtime/plasmo-default-background.ts diff --git a/packages/parcel-transformer-manifest/src/csp-patch-hmr.ts b/core/parcel-transformer-manifest/src/csp-patch-hmr.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/csp-patch-hmr.ts rename to core/parcel-transformer-manifest/src/csp-patch-hmr.ts diff --git a/packages/parcel-transformer-manifest/src/handle-action.ts b/core/parcel-transformer-manifest/src/handle-action.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-action.ts rename to core/parcel-transformer-manifest/src/handle-action.ts diff --git a/packages/parcel-transformer-manifest/src/handle-background.ts b/core/parcel-transformer-manifest/src/handle-background.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-background.ts rename to core/parcel-transformer-manifest/src/handle-background.ts diff --git a/packages/parcel-transformer-manifest/src/handle-content-scripts.ts b/core/parcel-transformer-manifest/src/handle-content-scripts.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-content-scripts.ts rename to core/parcel-transformer-manifest/src/handle-content-scripts.ts diff --git a/packages/parcel-transformer-manifest/src/handle-declarative-net-request.ts b/core/parcel-transformer-manifest/src/handle-declarative-net-request.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-declarative-net-request.ts rename to core/parcel-transformer-manifest/src/handle-declarative-net-request.ts diff --git a/packages/parcel-transformer-manifest/src/handle-deep-loc.ts b/core/parcel-transformer-manifest/src/handle-deep-loc.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-deep-loc.ts rename to core/parcel-transformer-manifest/src/handle-deep-loc.ts diff --git a/packages/parcel-transformer-manifest/src/handle-dictionaries.ts b/core/parcel-transformer-manifest/src/handle-dictionaries.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-dictionaries.ts rename to core/parcel-transformer-manifest/src/handle-dictionaries.ts diff --git a/packages/parcel-transformer-manifest/src/handle-locales.ts b/core/parcel-transformer-manifest/src/handle-locales.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-locales.ts rename to core/parcel-transformer-manifest/src/handle-locales.ts diff --git a/packages/parcel-transformer-manifest/src/handle-sandboxes.ts b/core/parcel-transformer-manifest/src/handle-sandboxes.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-sandboxes.ts rename to core/parcel-transformer-manifest/src/handle-sandboxes.ts diff --git a/packages/parcel-transformer-manifest/src/handle-tabs.ts b/core/parcel-transformer-manifest/src/handle-tabs.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/handle-tabs.ts rename to core/parcel-transformer-manifest/src/handle-tabs.ts diff --git a/packages/parcel-transformer-manifest/src/index.ts b/core/parcel-transformer-manifest/src/index.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/index.ts rename to core/parcel-transformer-manifest/src/index.ts diff --git a/packages/parcel-transformer-manifest/src/normalize-manifest.ts b/core/parcel-transformer-manifest/src/normalize-manifest.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/normalize-manifest.ts rename to core/parcel-transformer-manifest/src/normalize-manifest.ts diff --git a/packages/parcel-transformer-manifest/src/schema.ts b/core/parcel-transformer-manifest/src/schema.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/schema.ts rename to core/parcel-transformer-manifest/src/schema.ts diff --git a/packages/parcel-transformer-manifest/src/state.ts b/core/parcel-transformer-manifest/src/state.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/state.ts rename to core/parcel-transformer-manifest/src/state.ts diff --git a/packages/parcel-transformer-manifest/src/utils.ts b/core/parcel-transformer-manifest/src/utils.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/utils.ts rename to core/parcel-transformer-manifest/src/utils.ts diff --git a/packages/parcel-transformer-manifest/src/validate-version.ts b/core/parcel-transformer-manifest/src/validate-version.ts similarity index 100% rename from packages/parcel-transformer-manifest/src/validate-version.ts rename to core/parcel-transformer-manifest/src/validate-version.ts diff --git a/packages/parcel-transformer-manifest/tsconfig.json b/core/parcel-transformer-manifest/tsconfig.json similarity index 100% rename from packages/parcel-transformer-manifest/tsconfig.json rename to core/parcel-transformer-manifest/tsconfig.json diff --git a/packages/parcel-transformer-svelte3/.gitignore b/core/parcel-transformer-svelte3/.gitignore similarity index 100% rename from packages/parcel-transformer-svelte3/.gitignore rename to core/parcel-transformer-svelte3/.gitignore diff --git a/packages/parcel-transformer-svelte3/package.json b/core/parcel-transformer-svelte3/package.json similarity index 100% rename from packages/parcel-transformer-svelte3/package.json rename to core/parcel-transformer-svelte3/package.json diff --git a/packages/parcel-transformer-svelte3/src/convert-error.ts b/core/parcel-transformer-svelte3/src/convert-error.ts similarity index 100% rename from packages/parcel-transformer-svelte3/src/convert-error.ts rename to core/parcel-transformer-svelte3/src/convert-error.ts diff --git a/packages/parcel-transformer-svelte3/src/convert-loc.ts b/core/parcel-transformer-svelte3/src/convert-loc.ts similarity index 100% rename from packages/parcel-transformer-svelte3/src/convert-loc.ts rename to core/parcel-transformer-svelte3/src/convert-loc.ts diff --git a/packages/parcel-transformer-svelte3/src/index.ts b/core/parcel-transformer-svelte3/src/index.ts similarity index 100% rename from packages/parcel-transformer-svelte3/src/index.ts rename to core/parcel-transformer-svelte3/src/index.ts diff --git a/packages/parcel-transformer-svelte3/src/source-map.ts b/core/parcel-transformer-svelte3/src/source-map.ts similarity index 100% rename from packages/parcel-transformer-svelte3/src/source-map.ts rename to core/parcel-transformer-svelte3/src/source-map.ts diff --git a/packages/parcel-transformer-svelte3/src/types.ts b/core/parcel-transformer-svelte3/src/types.ts similarity index 100% rename from packages/parcel-transformer-svelte3/src/types.ts rename to core/parcel-transformer-svelte3/src/types.ts diff --git a/packages/parcel-transformer-svelte3/tsconfig.json b/core/parcel-transformer-svelte3/tsconfig.json similarity index 100% rename from packages/parcel-transformer-svelte3/tsconfig.json rename to core/parcel-transformer-svelte3/tsconfig.json diff --git a/packages/parcel-transformer-vue3/.gitignore b/core/parcel-transformer-vue3/.gitignore similarity index 100% rename from packages/parcel-transformer-vue3/.gitignore rename to core/parcel-transformer-vue3/.gitignore diff --git a/packages/parcel-transformer-vue3/package.json b/core/parcel-transformer-vue3/package.json similarity index 100% rename from packages/parcel-transformer-vue3/package.json rename to core/parcel-transformer-vue3/package.json diff --git a/packages/parcel-transformer-vue3/src/index.ts b/core/parcel-transformer-vue3/src/index.ts similarity index 100% rename from packages/parcel-transformer-vue3/src/index.ts rename to core/parcel-transformer-vue3/src/index.ts diff --git a/packages/parcel-transformer-vue3/tsconfig.json b/core/parcel-transformer-vue3/tsconfig.json similarity index 100% rename from packages/parcel-transformer-vue3/tsconfig.json rename to core/parcel-transformer-vue3/tsconfig.json diff --git a/package.json b/package.json index 8e80ccf05..5ac5b392c 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "private": true, "workspaces": [ "cli/*", + "api/*", + "core/*", "packages/*", "examples/*" ], @@ -20,7 +22,8 @@ "format": "prettier --write \"**/*.{ts,tsx,md}\"", "### version script usage example": "pnpm v:cli patch", "v:packages": "pnpm --filter \"./packages/**\" --parallel -r exec pnpm version --commit-hooks false --git-tag-version false --workspaces-update", - "v:parcel": "pnpm --filter \"./packages/parcel-*\" --parallel -r exec pnpm version --commit-hooks false --git-tag-version false --workspaces-update", + "v:core": "pnpm --filter \"./core/**\" --parallel -r exec pnpm version --commit-hooks false --git-tag-version false --workspaces-update", + "v:api": "pnpm --filter \"./core/api-*\" --parallel -r exec pnpm version --commit-hooks false --git-tag-version false --workspaces-update", "v:cli": "pnpm --filter \"./cli/*\" --parallel -r exec pnpm version --commit-hooks false --git-tag-version false --workspaces-update" }, "pnpm": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 150321755..fa6d69248 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + overrides: '@parcel/source-map': 2.1.1 react-refresh: 0.14.0 @@ -72,6 +76,203 @@ importers: specifier: 1.10.6 version: 1.10.6 + api/messaging: + dependencies: + nanoid: + specifier: 4.0.2 + version: 4.0.2 + devDependencies: + '@jest/globals': + specifier: 29.5.0 + version: 29.5.0 + '@jest/types': + specifier: 29.5.0 + version: 29.5.0 + '@testing-library/react': + specifier: 14.0.0 + version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + cross-env: + specifier: 7.0.3 + version: 7.0.3 + jest: + specifier: 29.5.0 + version: 29.5.0(@types/node@20.3.2) + jest-environment-jsdom: + specifier: 29.5.0 + version: 29.5.0 + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + rimraf: + specifier: 5.0.1 + version: 5.0.1 + ts-jest: + specifier: 29.1.0 + version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) + tsup: + specifier: 7.1.0 + version: 7.1.0(typescript@5.1.6) + typescript: + specifier: 5.1.6 + version: 5.1.6 + + api/persistent: + devDependencies: + '@jest/globals': + specifier: 29.5.0 + version: 29.5.0 + '@jest/types': + specifier: 29.5.0 + version: 29.5.0 + '@plasmo/config': + specifier: workspace:* + version: link:../../packages/config + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + cross-env: + specifier: 7.0.3 + version: 7.0.3 + jest: + specifier: 29.5.0 + version: 29.5.0(@types/node@20.3.2) + jest-environment-jsdom: + specifier: 29.5.0 + version: 29.5.0 + ts-jest: + specifier: 29.1.0 + version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) + tsup: + specifier: 7.1.0 + version: 7.1.0(typescript@5.1.6) + typescript: + specifier: 5.1.6 + version: 5.1.6 + + api/selector: + devDependencies: + '@jest/globals': + specifier: 29.5.0 + version: 29.5.0 + '@jest/types': + specifier: 29.5.0 + version: 29.5.0 + '@testing-library/react': + specifier: 14.0.0 + version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + cross-env: + specifier: 7.0.3 + version: 7.0.3 + jest: + specifier: 29.5.0 + version: 29.5.0(@types/node@20.3.2) + jest-environment-jsdom: + specifier: 29.5.0 + version: 29.5.0 + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + rimraf: + specifier: 5.0.1 + version: 5.0.1 + ts-jest: + specifier: 29.1.0 + version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) + tsup: + specifier: 7.1.0 + version: 7.1.0(typescript@5.1.6) + typescript: + specifier: 5.1.6 + version: 5.1.6 + + api/storage: + dependencies: + pify: + specifier: 6.1.0 + version: 6.1.0 + devDependencies: + '@jest/globals': + specifier: 29.5.0 + version: 29.5.0 + '@jest/types': + specifier: 29.5.0 + version: 29.5.0 + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@plasmohq/rps': + specifier: workspace:* + version: link:../../packages/rps + '@testing-library/react': + specifier: 14.0.0 + version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + cross-env: + specifier: 7.0.3 + version: 7.0.3 + jest: + specifier: 29.5.0 + version: 29.5.0(@types/node@20.3.2) + jest-environment-jsdom: + specifier: 29.5.0 + version: 29.5.0 + prettier: + specifier: 2.8.8 + version: 2.8.8 + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + rimraf: + specifier: 5.0.1 + version: 5.0.1 + ts-jest: + specifier: 29.1.0 + version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) + tsup: + specifier: 7.1.0 + version: 7.1.0(typescript@5.1.6) + typescript: + specifier: 5.1.6 + version: 5.1.6 + cli/create-plasmo: dependencies: '@plasmohq/init': @@ -116,10 +317,10 @@ importers: version: link:../../packages/init '@plasmohq/parcel-config': specifier: workspace:* - version: link:../../packages/parcel-config + version: link:../../core/parcel-config '@plasmohq/parcel-core': specifier: workspace:* - version: link:../../packages/parcel-core + version: link:../../core/parcel-core archiver: specifier: 5.3.1 version: 5.3.1 @@ -203,766 +404,714 @@ importers: specifier: workspace:* version: link:../../packages/utils - examples/with-antd: + core/parcel-bundler: dependencies: - '@ant-design/cssinjs': - specifier: 1.10.1 - version: 1.10.1(react-dom@18.2.0)(react@18.2.0) - antd: - specifier: 5.6.3 - version: 5.6.3(react-dom@18.2.0)(react@18.2.0) - plasmo: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/graph': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/hash': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 + devDependencies: + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@plasmo/config': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + + core/parcel-compressor-utf8: + dependencies: + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-background: - dependencies: - bip39: - specifier: 3.1.0 - version: 3.1.0 - buffer: - specifier: 6.0.3 - version: 6.0.3 - events: - specifier: 3.3.0 - version: 3.3.0 - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - process: - specifier: 0.11.10 - version: 0.11.10 - stream-browserify: - specifier: 3.0.0 - version: 3.0.0 - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': - specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-content-script: - dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': - specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-content-scripts-ui: - dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': - specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-css-modules: - dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../../packages/config + '@plasmo/utils': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-declarative-net-request: + core/parcel-config: dependencies: - plasmo: + '@parcel/compressor-raw': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/config-default': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/optimizer-data-url': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/reporter-bundle-buddy': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/resolver-default': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/runtime-js': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/runtime-service-worker': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/transformer-babel': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-css': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-graphql': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-inline-string': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-js': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-less': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-postcss': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-raw': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-react-refresh-wrap': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-sass': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-svg-react': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-worklet': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@plasmohq/parcel-bundler': specifier: workspace:* - version: link:../../cli/plasmo - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-bundler + '@plasmohq/parcel-compressor-utf8': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-devtools: - dependencies: - plasmo: + version: link:../parcel-compressor-utf8 + '@plasmohq/parcel-namer-manifest': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-namer-manifest + '@plasmohq/parcel-optimizer-encapsulate': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-emotion: - dependencies: - '@emotion/cache': - specifier: 11.11.0 - version: 11.11.0 - '@emotion/react': - specifier: 11.11.1 - version: 11.11.1(@types/react@18.2.14)(react@18.2.0) - '@emotion/styled': - specifier: 11.11.0 - version: 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.14)(react@18.2.0) - plasmo: + version: link:../parcel-optimizer-encapsulate + '@plasmohq/parcel-optimizer-es': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@babel/core': - specifier: 7.22.5 - version: 7.22.5 - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-optimizer-es + '@plasmohq/parcel-packager': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-env: - dependencies: - plasmo: + version: link:../parcel-packager + '@plasmohq/parcel-resolver': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-resolver + '@plasmohq/parcel-resolver-post': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-firebase-auth: - dependencies: - firebase: - specifier: 9.23.0 - version: 9.23.0 - plasmo: + version: link:../parcel-resolver-post + '@plasmohq/parcel-runtime': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-runtime + '@plasmohq/parcel-transformer-inject-env': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 - - examples/with-firebase-fcm: - dependencies: - '@plasmohq/storage': + version: link:../parcel-transformer-inject-env + '@plasmohq/parcel-transformer-inline-css': specifier: workspace:* - version: link:../../packages/storage - firebase: - specifier: 9.23.0 - version: 9.23.0 - plasmo: + version: link:../parcel-transformer-inline-css + '@plasmohq/parcel-transformer-manifest': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + version: link:../parcel-transformer-manifest + '@plasmohq/parcel-transformer-svelte3': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../parcel-transformer-svelte3 + '@plasmohq/parcel-transformer-vue3': + specifier: workspace:* + version: link:../parcel-transformer-vue3 - examples/with-google-analytics: + core/parcel-core: dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/cache': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/events': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/fs': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/graph': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/hash': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/logger': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/package-manager': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/watcher': + specifier: 2.1.0 + version: 2.1.0 + '@parcel/workers': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + abortcontroller-polyfill: + specifier: 1.7.5 + version: 1.7.5 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-inbox-sdk: + core/parcel-namer-manifest: dependencies: - '@inboxsdk/core': - specifier: 1.2.1 - version: 1.2.1(kefir@3.8.8) - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/inboxsdk': - specifier: 2.0.10 - version: 2.0.10 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - kefir: - specifier: 3.8.8 - version: 3.8.8 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-jest: + core/parcel-optimizer-encapsulate: dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) devDependencies: - '@jest/globals': - specifier: 29.5.0 - version: 29.5.0 - '@jest/types': - specifier: 29.5.0 - version: 29.5.0 - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@testing-library/react': - specifier: 14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - jest: - specifier: 29.5.0 - version: 29.5.0(@types/node@20.3.2) - jest-environment-jsdom: - specifier: 29.5.0 - version: 29.5.0 - jest-webextension-mock: - specifier: 3.8.9 - version: 3.8.9 - prettier: - specifier: 2.8.8 - version: 2.8.8 - ts-jest: - specifier: 29.1.0 - version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-jotai: + core/parcel-optimizer-es: dependencies: - jotai: - specifier: 2.2.1 - version: 2.2.1(react@18.2.0) - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + '@swc/core': + specifier: 1.3.66 + version: 1.3.66 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-locales-i18n: + core/parcel-packager: dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + '@plasmo/constants': + specifier: workspace:* + version: link:../../packages/constants + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-main-world: + core/parcel-resolver: dependencies: - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/hash': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + fast-glob: + specifier: 3.2.12 + version: 3.2.12 + fs-extra: + specifier: 11.1.1 + version: 11.1.1 + got: + specifier: 13.0.0 + version: 13.0.0 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + '@plasmohq/rps': + specifier: workspace:* + version: link:../../packages/rps + assert: + specifier: 2.0.0 + version: 2.0.0 + browserify-zlib: + specifier: 0.2.0 + version: 0.2.0 + buffer: + specifier: 6.0.3 + version: 6.0.3 + console-browserify: + specifier: 1.2.0 + version: 1.2.0 + constants-browserify: + specifier: 1.0.0 + version: 1.0.0 + crc-32: + specifier: 1.2.2 + version: 1.2.2 + crypto-browserify: + specifier: 3.12.0 + version: 3.12.0 + domain-browser: + specifier: 4.22.0 + version: 4.22.0 + esbuild: + specifier: 0.18.10 + version: 0.18.10 + events: + specifier: 3.3.0 + version: 3.3.0 + https-browserify: + specifier: 1.0.0 + version: 1.0.0 + os-browserify: + specifier: 0.3.0 + version: 0.3.0 + path-browserify: + specifier: 1.0.1 + version: 1.0.1 + process: + specifier: 0.11.10 + version: 0.11.10 + punycode: + specifier: 2.3.0 + version: 2.3.0 + querystring-es3: + specifier: 0.2.1 + version: 0.2.1 + react-refresh: + specifier: 0.14.0 + version: 0.14.0 + stream-browserify: + specifier: 3.0.0 + version: 3.0.0 + stream-http: + specifier: 3.2.0 + version: 3.2.0 + string_decoder: + specifier: 1.3.0 + version: 1.3.0 + timers-browserify: + specifier: 2.0.12 + version: 2.0.12 + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + tty-browserify: + specifier: 0.0.1 + version: 0.0.1 + url: + specifier: 0.11.1 + version: 0.11.1 + util: + specifier: 0.12.5 + version: 0.12.5 + vm-browserify: + specifier: 1.1.2 + version: 1.1.2 + + core/parcel-resolver-post: + dependencies: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/hash': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + tsup: + specifier: 7.1.0 + version: 7.1.0(typescript@5.1.6) typescript: specifier: 5.1.6 version: 5.1.6 + devDependencies: + '@plasmo/config': + specifier: workspace:* + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils - examples/with-mantine: + core/parcel-runtime: dependencies: - '@emotion/react': - specifier: 11.11.1 - version: 11.11.1(@types/react@18.2.14)(react@18.2.0) - '@mantine/core': - specifier: 6.0.15 - version: 6.0.15(@emotion/react@11.11.1)(@mantine/hooks@6.0.15)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': - specifier: 6.0.15 - version: 6.0.15(react@18.2.0) - plasmo: - specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + react-refresh: + specifier: 0.14.0 + version: 0.14.0 devDependencies: - '@babel/core': - specifier: 7.22.5 - version: 7.22.5 - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports + version: link:../../packages/config + '@plasmo/framework-shared': + specifier: workspace:* + version: link:../../packages/framework-shared + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + '@plasmohq/persistent': + specifier: workspace:* + version: link:../../api/persistent '@types/chrome': specifier: 0.0.239 version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-many-content-scripts: + core/parcel-transformer-inject-env: dependencies: - plasmo: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + devDependencies: + '@plasmo/config': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + + core/parcel-transformer-inline-css: + dependencies: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + browserslist: + specifier: 4.21.9 + version: 4.21.9 + lightningcss: + specifier: 1.21.1 + version: 1.21.1 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) - examples/with-many-targets: + core/parcel-transformer-lab: dependencies: - plasmo: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/fs': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + devDependencies: + '@plasmo/config': specifier: workspace:* - version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + + core/parcel-transformer-manifest: + dependencies: + '@mischnic/json-sourcemap': + specifier: 0.1.0 + version: 0.1.0 + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/fs': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + content-security-policy-parser: + specifier: 0.4.1 + version: 0.4.1 + json-schema-to-ts: + specifier: 2.9.1 + version: 2.9.1 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 + devDependencies: + '@plasmo/config': + specifier: workspace:* + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + + core/parcel-transformer-svelte3: + dependencies: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + devDependencies: + '@plasmo/config': + specifier: workspace:* + version: link:../../packages/config + svelte: + specifier: 4.0.0 + version: 4.0.0 + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + + core/parcel-transformer-vue3: + dependencies: + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/diagnostic': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/plugin': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/source-map': + specifier: 2.1.1 + version: 2.1.1 + '@parcel/types': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/utils': + specifier: 2.9.3 + version: 2.9.3 + '@plasmohq/consolidate': + specifier: 0.17.0 + version: 0.17.0 + '@vue/compiler-sfc': + specifier: 3.3.4 + version: 3.3.4 + nullthrows: + specifier: 1.1.1 + version: 1.1.1 + semver: + specifier: 7.5.3 + version: 7.5.3 devDependencies: - '@plasmohq/prettier-plugin-sort-imports': - specifier: workspace:* - version: link:../../packages/prettier-plugin-sort-imports - '@plasmohq/rps': + '@plasmo/config': specifier: workspace:* - version: link:../../packages/rps - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 - prettier: - specifier: 2.8.8 - version: 2.8.8 - typescript: - specifier: 5.1.6 - version: 5.1.6 + version: link:../../packages/config + tsup: + specifier: 7.1.0 + version: 7.1.0(@swc/core@1.3.66) + vue: + specifier: 3.3.4 + version: 3.3.4 - examples/with-messaging: + examples/with-antd: dependencies: - '@plasmohq/messaging': - specifier: workspace:* - version: link:../../packages/messaging - next: - specifier: 13.4.7 - version: 13.4.7(react-dom@18.2.0)(react@18.2.0) + '@ant-design/cssinjs': + specifier: 1.10.1 + version: 1.10.1(react-dom@18.2.0)(react@18.2.0) + antd: + specifier: 5.6.3 + version: 5.6.3(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -976,9 +1125,6 @@ importers: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports - '@plasmohq/rps': - specifier: workspace:* - version: link:../../packages/rps '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -998,33 +1144,27 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-mui: + examples/with-background: dependencies: - '@emotion/cache': - specifier: 11.11.0 - version: 11.11.0 - '@emotion/react': - specifier: 11.11.1 - version: 11.11.1(@types/react@18.2.14)(react@18.2.0) - '@emotion/styled': - specifier: 11.11.0 - version: 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.14)(react@18.2.0) - '@mui/material': - specifier: 5.13.6 - version: 5.13.6(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0) + bip39: + specifier: 3.1.0 + version: 3.1.0 + buffer: + specifier: 6.0.3 + version: 6.0.3 + events: + specifier: 3.3.0 + version: 3.3.0 plasmo: specifier: workspace:* version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) + process: + specifier: 0.11.10 + version: 0.11.10 + stream-browserify: + specifier: 3.0.0 + version: 3.0.0 devDependencies: - '@babel/core': - specifier: 7.22.5 - version: 7.22.5 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports @@ -1047,7 +1187,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-multiple-tailwindcss: + examples/with-content-script: dependencies: plasmo: specifier: workspace:* @@ -1058,9 +1198,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - tailwindcss: - specifier: 3.3.2 - version: 3.3.2 devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1077,12 +1214,6 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 - autoprefixer: - specifier: 10.4.14 - version: 10.4.14(postcss@8.4.24) - postcss: - specifier: 8.4.24 - version: 8.4.24 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1090,7 +1221,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-newtab: + examples/with-content-scripts-ui: dependencies: plasmo: specifier: workspace:* @@ -1124,11 +1255,8 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-nextjs: + examples/with-css-modules: dependencies: - next: - specifier: 13.4.7 - version: 13.4.7(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1142,12 +1270,6 @@ importers: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports - '@plasmohq/rps': - specifier: workspace:* - version: link:../../packages/rps - '@plasmohq/storage': - specifier: workspace:* - version: link:../../packages/storage '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1167,17 +1289,11 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-options-ui: + examples/with-declarative-net-request: dependencies: plasmo: specifier: workspace:* version: link:../../cli/plasmo - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1188,12 +1304,6 @@ importers: '@types/node': specifier: 20.3.2 version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1201,11 +1311,8 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-permission-ui: + examples/with-devtools: dependencies: - '@plasmohq/permission-ui': - specifier: workspace:* - version: link:../../packages/permission-ui plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1238,8 +1345,17 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-popup: + examples/with-emotion: dependencies: + '@emotion/cache': + specifier: 11.11.0 + version: 11.11.0 + '@emotion/react': + specifier: 11.11.1 + version: 11.11.1(@types/react@18.2.14)(react@18.2.0) + '@emotion/styled': + specifier: 11.11.0 + version: 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.14)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1250,6 +1366,9 @@ importers: specifier: 18.2.0 version: 18.2.0(react@18.2.0) devDependencies: + '@babel/core': + specifier: 7.22.5 + version: 7.22.5 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports @@ -1272,17 +1391,8 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-propelauth: + examples/with-env: dependencies: - '@plasmohq/messaging': - specifier: workspace:* - version: link:../../packages/messaging - '@propelauth/javascript': - specifier: 2.0.5 - version: 2.0.5 - '@propelauth/react': - specifier: 2.0.9 - version: 2.0.9(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1315,8 +1425,11 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-react-native: + examples/with-firebase-auth: dependencies: + firebase: + specifier: 9.23.0 + version: 9.23.0 plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1326,19 +1439,7 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - react-native: - specifier: 0.72.0 - version: 0.72.0(@babel/core@7.22.5)(@babel/preset-env@7.22.5)(react@18.2.0) - react-native-web: - specifier: 0.19.6 - version: 0.19.6(react-dom@18.2.0)(react@18.2.0) devDependencies: - '@babel/core': - specifier: 7.22.5 - version: 7.22.5 - '@babel/preset-env': - specifier: 7.22.5 - version: 7.22.5(@babel/core@7.22.5) '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports @@ -1361,14 +1462,14 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-react-query: + examples/with-firebase-fcm: dependencies: - '@tanstack/react-query': - specifier: 4.29.19 - version: 4.29.19(react-dom@18.2.0)(react@18.2.0) - '@tanstack/react-query-devtools': - specifier: 4.29.19 - version: 4.29.19(@tanstack/react-query@4.29.19)(react-dom@18.2.0)(react@18.2.0) + '@plasmohq/storage': + specifier: workspace:* + version: link:../../api/storage + firebase: + specifier: 9.23.0 + version: 9.23.0 plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1401,7 +1502,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-react-router: + examples/with-google-analytics: dependencies: plasmo: specifier: workspace:* @@ -1412,9 +1513,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - react-router-dom: - specifier: 6.14.0 - version: 6.14.0(react-dom@18.2.0)(react@18.2.0) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1438,17 +1536,11 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-redux: + examples/with-inbox-sdk: dependencies: - '@plasmohq/redux-persist': - specifier: 6.1.0 - version: 6.1.0(redux@4.2.1) - '@plasmohq/storage': - specifier: workspace:* - version: link:../../packages/storage - '@reduxjs/toolkit': - specifier: 1.9.5 - version: 1.9.5(react-redux@8.1.1)(react@18.2.0) + '@inboxsdk/core': + specifier: 1.2.1 + version: 1.2.1(kefir@3.8.8) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1458,18 +1550,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - react-redux: - specifier: 8.1.1 - version: 8.1.1(@types/react-dom@18.2.6)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) - redux: - specifier: 4.2.1 - version: 4.2.1 - redux-persist-webextension-storage: - specifier: 1.0.2 - version: 1.0.2 - redux-thunk: - specifier: 2.4.2 - version: 2.4.2(redux@4.2.1) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1477,9 +1557,9 @@ importers: '@types/chrome': specifier: 0.0.239 version: 0.0.239 - '@types/jest': - specifier: 29.5.2 - version: 29.5.2 + '@types/inboxsdk': + specifier: 2.0.10 + version: 2.0.10 '@types/node': specifier: 20.3.2 version: 20.3.2 @@ -1489,6 +1569,9 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 + kefir: + specifier: 3.8.8 + version: 3.8.8 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1496,11 +1579,8 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-selector: - dependencies: - '@plasmohq/selector': - specifier: workspace:* - version: link:../../packages/selector + examples/with-jest: + dependencies: plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1511,9 +1591,18 @@ importers: specifier: 18.2.0 version: 18.2.0(react@18.2.0) devDependencies: + '@jest/globals': + specifier: 29.5.0 + version: 29.5.0 + '@jest/types': + specifier: 29.5.0 + version: 29.5.0 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports + '@testing-library/react': + specifier: 14.0.0 + version: 14.0.0(react-dom@18.2.0)(react@18.2.0) '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1526,18 +1615,30 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 + jest: + specifier: 29.5.0 + version: 29.5.0(@types/node@20.3.2) + jest-environment-jsdom: + specifier: 29.5.0 + version: 29.5.0 + jest-webextension-mock: + specifier: 3.8.9 + version: 3.8.9 prettier: specifier: 2.8.8 version: 2.8.8 + ts-jest: + specifier: 29.1.0 + version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) typescript: specifier: 5.1.6 version: 5.1.6 - examples/with-sentry: + examples/with-jotai: dependencies: - '@sentry/react': - specifier: 7.57.0 - version: 7.57.0(react@18.2.0) + jotai: + specifier: 2.2.1 + version: 2.2.1(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1570,7 +1671,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-slate: + examples/with-locales-i18n: dependencies: plasmo: specifier: workspace:* @@ -1581,15 +1682,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - slate: - specifier: 0.94.1 - version: 0.94.1 - slate-history: - specifier: 0.93.0 - version: 0.93.0(slate@0.94.1) - slate-react: - specifier: 0.97.1 - version: 0.97.1(react-dom@18.2.0)(react@18.2.0)(slate@0.94.1) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1613,7 +1705,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-src: + examples/with-main-world: dependencies: plasmo: specifier: workspace:* @@ -1647,11 +1739,17 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-storage: + examples/with-mantine: dependencies: - '@plasmohq/storage': - specifier: workspace:* - version: link:../../packages/storage + '@emotion/react': + specifier: 11.11.1 + version: 11.11.1(@types/react@18.2.14)(react@18.2.0) + '@mantine/core': + specifier: 6.0.15 + version: 6.0.15(@emotion/react@11.11.1)(@mantine/hooks@6.0.15)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': + specifier: 6.0.15 + version: 6.0.15(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1662,6 +1760,9 @@ importers: specifier: 18.2.0 version: 18.2.0(react@18.2.0) devDependencies: + '@babel/core': + specifier: 7.22.5 + version: 7.22.5 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports @@ -1684,39 +1785,21 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-stripe: + examples/with-many-content-scripts: dependencies: - google-auth-library: - specifier: 8.8.0 - version: 8.8.0 - next: - specifier: 13.4.7 - version: 13.4.7(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo - puro: - specifier: workspace:* - version: link:../../packages/puro react: specifier: 18.2.0 version: 18.2.0 react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - stripe: - specifier: 12.10.0 - version: 12.10.0 - swr: - specifier: 2.2.0 - version: 2.2.0(react@18.2.0) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports - '@plasmohq/rps': - specifier: workspace:* - version: link:../../packages/rps '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1736,7 +1819,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-styled-components: + examples/with-many-targets: dependencies: plasmo: specifier: workspace:* @@ -1747,16 +1830,13 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - styled-components: - specifier: 6.0.1 - version: 6.0.1(react-dom@18.2.0)(react@18.2.0) devDependencies: - '@babel/core': - specifier: 7.22.5 - version: 7.22.5 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports + '@plasmohq/rps': + specifier: workspace:* + version: link:../../packages/rps '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1776,17 +1856,14 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-supabase: + examples/with-messaging: dependencies: '@plasmohq/messaging': specifier: workspace:* - version: link:../../packages/messaging - '@plasmohq/storage': - specifier: workspace:* - version: link:../../packages/storage - '@supabase/supabase-js': - specifier: 2.26.0 - version: 2.26.0 + version: link:../../api/messaging + next: + specifier: 13.4.7 + version: 13.4.7(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1800,6 +1877,9 @@ importers: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports + '@plasmohq/rps': + specifier: workspace:* + version: link:../../packages/rps '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1819,18 +1899,33 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-svelte: + examples/with-mui: dependencies: + '@emotion/cache': + specifier: 11.11.0 + version: 11.11.0 + '@emotion/react': + specifier: 11.11.1 + version: 11.11.1(@types/react@18.2.14)(react@18.2.0) + '@emotion/styled': + specifier: 11.11.0 + version: 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.14)(react@18.2.0) + '@mui/material': + specifier: 5.13.6 + version: 5.13.6(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo - svelte: - specifier: 4.0.0 - version: 4.0.0 - svelte-preprocess: - specifier: 5.0.4 - version: 5.0.4(svelte@4.0.0)(typescript@5.1.6) + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: + '@babel/core': + specifier: 7.22.5 + version: 7.22.5 '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports @@ -1840,6 +1935,12 @@ importers: '@types/node': specifier: 20.3.2 version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1847,7 +1948,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-tabs: + examples/with-multiple-tailwindcss: dependencies: plasmo: specifier: workspace:* @@ -1858,6 +1959,9 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) + tailwindcss: + specifier: 3.3.2 + version: 3.3.2 devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1874,6 +1978,12 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 + autoprefixer: + specifier: 10.4.14 + version: 10.4.14(postcss@8.4.24) + postcss: + specifier: 8.4.24 + version: 8.4.24 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1881,7 +1991,7 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-tailwindcss: + examples/with-newtab: dependencies: plasmo: specifier: workspace:* @@ -1892,9 +2002,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - tailwindcss: - specifier: 3.3.2 - version: 3.3.2 devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1911,9 +2018,6 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 - postcss: - specifier: 8.4.24 - version: 8.4.24 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1921,8 +2025,11 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-tw-radix: + examples/with-nextjs: dependencies: + next: + specifier: 13.4.7 + version: 13.4.7(react-dom@18.2.0)(react@18.2.0) plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -1936,9 +2043,12 @@ importers: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../../packages/prettier-plugin-sort-imports - '@radix-ui/colors': - specifier: 1.0.0 - version: 1.0.0 + '@plasmohq/rps': + specifier: workspace:* + version: link:../../packages/rps + '@plasmohq/storage': + specifier: workspace:* + version: link:../../api/storage '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -1951,30 +2061,24 @@ importers: '@types/react-dom': specifier: 18.2.6 version: 18.2.6 - postcss: - specifier: 8.4.24 - version: 8.4.24 prettier: specifier: 2.8.8 version: 2.8.8 - tailwindcss: - specifier: 3.3.2 - version: 3.3.2 typescript: specifier: 5.1.6 version: 5.1.6 - windy-radix-palette: - specifier: 0.6.1 - version: 0.6.1(@radix-ui/colors@1.0.0)(tailwindcss@3.3.2) - examples/with-vue: + examples/with-options-ui: dependencies: plasmo: specifier: workspace:* version: link:../../cli/plasmo - vue: - specifier: 3.3.4 - version: 3.3.4 + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* @@ -1985,6 +2089,12 @@ importers: '@types/node': specifier: 20.3.2 version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 prettier: specifier: 2.8.8 version: 2.8.8 @@ -1992,8 +2102,11 @@ importers: specifier: 5.1.6 version: 5.1.6 - examples/with-web-accessible-resources: + examples/with-permission-ui: dependencies: + '@plasmohq/permission-ui': + specifier: workspace:* + version: link:../../packages/permission-ui plasmo: specifier: workspace:* version: link:../../cli/plasmo @@ -2026,99 +2139,64 @@ importers: specifier: 5.1.6 version: 5.1.6 - packages/config: {} - - packages/constants: - devDependencies: - '@parcel/watcher': - specifier: 2.1.0 - version: 2.1.0 - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': - specifier: workspace:* - version: link:../utils - - packages/framework-shared: - dependencies: - ws: - specifier: 8.13.0 - version: 8.13.0 - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': - specifier: workspace:* - version: link:../utils - - packages/gcp-refresh-token: + examples/with-popup: dependencies: - get-port: - specifier: 7.0.0 - version: 7.0.0 - google-auth-library: - specifier: 8.8.0 - version: 8.8.0 - open: - specifier: 9.1.0 - version: 9.1.0 - devDependencies: - '@jest/globals': - specifier: 29.5.0 - version: 29.5.0 - '@jest/types': - specifier: 29.5.0 - version: 29.5.0 - '@plasmo/config': + plasmo: specifier: workspace:* - version: link:../config + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../prettier-plugin-sort-imports - '@plasmohq/rps': - specifier: workspace:* - version: link:../rps + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 '@types/node': specifier: 20.3.2 version: 20.3.2 - cross-env: - specifier: 7.0.3 - version: 7.0.3 - jest: - specifier: 29.5.0 - version: 29.5.0(@types/node@20.3.2) + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 prettier: specifier: 2.8.8 version: 2.8.8 - ts-jest: - specifier: 29.1.0 - version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) - tsup: - specifier: 7.1.0 - version: 7.1.0(typescript@5.1.6) typescript: specifier: 5.1.6 version: 5.1.6 - packages/init: {} - - packages/messaging: + examples/with-propelauth: dependencies: - nanoid: - specifier: 4.0.2 - version: 4.0.2 + '@plasmohq/messaging': + specifier: workspace:* + version: link:../../api/messaging + '@propelauth/javascript': + specifier: 2.0.5 + version: 2.0.5 + '@propelauth/react': + specifier: 2.0.9 + version: 2.0.9(react-dom@18.2.0)(react@18.2.0) + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: - '@jest/globals': - specifier: 29.5.0 - version: 29.5.0 - '@jest/types': - specifier: 29.5.0 - version: 29.5.0 - '@testing-library/react': - specifier: 14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports '@types/chrome': specifier: 0.0.239 version: 0.0.239 @@ -2128,735 +2206,765 @@ importers: '@types/react': specifier: 18.2.14 version: 18.2.14 - cross-env: - specifier: 7.0.3 - version: 7.0.3 - jest: - specifier: 29.5.0 - version: 29.5.0(@types/node@20.3.2) - jest-environment-jsdom: - specifier: 29.5.0 - version: 29.5.0 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-react-native: + dependencies: + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo react: specifier: 18.2.0 version: 18.2.0 react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - rimraf: - specifier: 5.0.1 - version: 5.0.1 - ts-jest: - specifier: 29.1.0 - version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) - tsup: - specifier: 7.1.0 - version: 7.1.0(typescript@5.1.6) + react-native: + specifier: 0.72.0 + version: 0.72.0(@babel/core@7.22.5)(@babel/preset-env@7.22.5)(react@18.2.0) + react-native-web: + specifier: 0.19.6 + version: 0.19.6(react-dom@18.2.0)(react@18.2.0) + devDependencies: + '@babel/core': + specifier: 7.22.5 + version: 7.22.5 + '@babel/preset-env': + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 typescript: specifier: 5.1.6 version: 5.1.6 - packages/parcel-bundler: - dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/graph': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/hash': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 - devDependencies: - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': - specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - - packages/parcel-compressor-utf8: - dependencies: - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': - specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - - packages/parcel-config: + examples/with-react-query: dependencies: - '@parcel/compressor-raw': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/config-default': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/optimizer-data-url': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/reporter-bundle-buddy': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/resolver-default': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/runtime-js': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/runtime-service-worker': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/transformer-babel': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-css': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-graphql': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-inline-string': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-js': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-less': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-postcss': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-raw': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-react-refresh-wrap': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-sass': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-svg-react': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-worklet': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@plasmohq/parcel-bundler': - specifier: workspace:* - version: link:../parcel-bundler - '@plasmohq/parcel-compressor-utf8': - specifier: workspace:* - version: link:../parcel-compressor-utf8 - '@plasmohq/parcel-namer-manifest': - specifier: workspace:* - version: link:../parcel-namer-manifest - '@plasmohq/parcel-optimizer-encapsulate': - specifier: workspace:* - version: link:../parcel-optimizer-encapsulate - '@plasmohq/parcel-optimizer-es': + '@tanstack/react-query': + specifier: 4.29.19 + version: 4.29.19(react-dom@18.2.0)(react@18.2.0) + '@tanstack/react-query-devtools': + specifier: 4.29.19 + version: 4.29.19(@tanstack/react-query@4.29.19)(react-dom@18.2.0)(react@18.2.0) + plasmo: specifier: workspace:* - version: link:../parcel-optimizer-es - '@plasmohq/parcel-packager': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../parcel-packager - '@plasmohq/parcel-resolver': + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-react-router: + dependencies: + plasmo: specifier: workspace:* - version: link:../parcel-resolver - '@plasmohq/parcel-resolver-post': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + react-router-dom: + specifier: 6.14.0 + version: 6.14.0(react-dom@18.2.0)(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../parcel-resolver-post - '@plasmohq/parcel-runtime': + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-redux: + dependencies: + '@plasmohq/redux-persist': + specifier: 6.1.0 + version: 6.1.0(redux@4.2.1) + '@plasmohq/storage': specifier: workspace:* - version: link:../parcel-runtime - '@plasmohq/parcel-transformer-inject-env': + version: link:../../api/storage + '@reduxjs/toolkit': + specifier: 1.9.5 + version: 1.9.5(react-redux@8.1.1)(react@18.2.0) + plasmo: specifier: workspace:* - version: link:../parcel-transformer-inject-env - '@plasmohq/parcel-transformer-inline-css': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + react-redux: + specifier: 8.1.1 + version: 8.1.1(@types/react-dom@18.2.6)(@types/react@18.2.14)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) + redux: + specifier: 4.2.1 + version: 4.2.1 + redux-persist-webextension-storage: + specifier: 1.0.2 + version: 1.0.2 + redux-thunk: + specifier: 2.4.2 + version: 2.4.2(redux@4.2.1) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../parcel-transformer-inline-css - '@plasmohq/parcel-transformer-manifest': + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/jest': + specifier: 29.5.2 + version: 29.5.2 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-selector: + dependencies: + '@plasmohq/selector': specifier: workspace:* - version: link:../parcel-transformer-manifest - '@plasmohq/parcel-transformer-svelte3': + version: link:../../api/selector + plasmo: specifier: workspace:* - version: link:../parcel-transformer-svelte3 - '@plasmohq/parcel-transformer-vue3': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../parcel-transformer-vue3 + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-core: + examples/with-sentry: dependencies: - '@parcel/cache': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/events': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/fs': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/graph': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/hash': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/logger': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/package-manager': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/watcher': - specifier: 2.1.0 - version: 2.1.0 - '@parcel/workers': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - abortcontroller-polyfill: - specifier: 1.7.5 - version: 1.7.5 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 + '@sentry/react': + specifier: 7.57.0 + version: 7.57.0(react@18.2.0) + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-slate: + dependencies: + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + slate: + specifier: 0.94.1 + version: 0.94.1 + slate-history: + specifier: 0.93.0 + version: 0.93.0(slate@0.94.1) + slate-react: + specifier: 0.97.1 + version: 0.97.1(react-dom@18.2.0)(react@18.2.0)(slate@0.94.1) devDependencies: - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - '@plasmo/utils': + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-src: + dependencies: + plasmo: specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-namer-manifest: + examples/with-storage: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 + '@plasmohq/storage': + specifier: workspace:* + version: link:../../api/storage + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-optimizer-encapsulate: + examples/with-stripe: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) + google-auth-library: + specifier: 8.8.0 + version: 8.8.0 + next: + specifier: 13.4.7 + version: 13.4.7(react-dom@18.2.0)(react@18.2.0) + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + puro: + specifier: workspace:* + version: link:../../packages/puro + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + stripe: + specifier: 12.10.0 + version: 12.10.0 + swr: + specifier: 2.2.0 + version: 2.2.0(react@18.2.0) devDependencies: - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - '@plasmo/utils': + version: link:../../packages/prettier-plugin-sort-imports + '@plasmohq/rps': specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../packages/rps + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-optimizer-es: + examples/with-styled-components: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - '@swc/core': - specifier: 1.3.66 - version: 1.3.66 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 - devDependencies: - '@plasmo/config': + plasmo: specifier: workspace:* - version: link:../config - '@plasmo/utils': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + styled-components: + specifier: 6.0.1 + version: 6.0.1(react-dom@18.2.0)(react@18.2.0) + devDependencies: + '@babel/core': + specifier: 7.22.5 + version: 7.22.5 + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-packager: + examples/with-supabase: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 - devDependencies: - '@plasmo/config': + '@plasmohq/messaging': specifier: workspace:* - version: link:../config - '@plasmo/constants': + version: link:../../api/messaging + '@plasmohq/storage': specifier: workspace:* - version: link:../constants - '@plasmo/utils': + version: link:../../api/storage + '@supabase/supabase-js': + specifier: 2.26.0 + version: 2.26.0 + plasmo: specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-resolver: + examples/with-svelte: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/hash': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - fast-glob: - specifier: 3.2.12 - version: 3.2.12 - fs-extra: - specifier: 11.1.1 - version: 11.1.1 - got: - specifier: 13.0.0 - version: 13.0.0 + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + svelte: + specifier: 4.0.0 + version: 4.0.0 + svelte-preprocess: + specifier: 5.0.4 + version: 5.0.4(svelte@4.0.0)(typescript@5.1.6) devDependencies: - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - '@plasmo/utils': + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + examples/with-tabs: + dependencies: + plasmo: specifier: workspace:* - version: link:../utils - '@plasmohq/rps': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../rps - assert: - specifier: 2.0.0 - version: 2.0.0 - browserify-zlib: - specifier: 0.2.0 - version: 0.2.0 - buffer: - specifier: 6.0.3 - version: 6.0.3 - console-browserify: - specifier: 1.2.0 - version: 1.2.0 - constants-browserify: - specifier: 1.0.0 - version: 1.0.0 - crc-32: - specifier: 1.2.2 - version: 1.2.2 - crypto-browserify: - specifier: 3.12.0 - version: 3.12.0 - domain-browser: - specifier: 4.22.0 - version: 4.22.0 - esbuild: - specifier: 0.18.10 - version: 0.18.10 - events: - specifier: 3.3.0 - version: 3.3.0 - https-browserify: - specifier: 1.0.0 - version: 1.0.0 - os-browserify: - specifier: 0.3.0 - version: 0.3.0 - path-browserify: - specifier: 1.0.1 - version: 1.0.1 - process: - specifier: 0.11.10 - version: 0.11.10 - punycode: - specifier: 2.3.0 - version: 2.3.0 - querystring-es3: - specifier: 0.2.1 - version: 0.2.1 - react-refresh: - specifier: 0.14.0 - version: 0.14.0 - stream-browserify: - specifier: 3.0.0 - version: 3.0.0 - stream-http: - specifier: 3.2.0 - version: 3.2.0 - string_decoder: - specifier: 1.3.0 - version: 1.3.0 - timers-browserify: - specifier: 2.0.12 - version: 2.0.12 - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - tty-browserify: - specifier: 0.0.1 - version: 0.0.1 - url: - specifier: 0.11.1 - version: 0.11.1 - util: - specifier: 0.12.5 - version: 0.12.5 - vm-browserify: - specifier: 1.1.2 - version: 1.1.2 + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-resolver-post: + examples/with-tailwindcss: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/hash': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - tsup: - specifier: 7.1.0 - version: 7.1.0(typescript@5.1.6) + plasmo: + specifier: workspace:* + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + tailwindcss: + specifier: 3.3.2 + version: 3.3.2 + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': + specifier: workspace:* + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + postcss: + specifier: 8.4.24 + version: 8.4.24 + prettier: + specifier: 2.8.8 + version: 2.8.8 typescript: specifier: 5.1.6 version: 5.1.6 - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': - specifier: workspace:* - version: link:../utils - packages/parcel-runtime: + examples/with-tw-radix: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - react-refresh: - specifier: 0.14.0 - version: 0.14.0 - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/framework-shared': - specifier: workspace:* - version: link:../framework-shared - '@plasmo/utils': + plasmo: specifier: workspace:* - version: link:../utils - '@plasmohq/persistent': + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../persistent + version: link:../../packages/prettier-plugin-sort-imports + '@radix-ui/colors': + specifier: 1.0.0 + version: 1.0.0 '@types/chrome': specifier: 0.0.239 version: 0.0.239 - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + postcss: + specifier: 8.4.24 + version: 8.4.24 + prettier: + specifier: 2.8.8 + version: 2.8.8 + tailwindcss: + specifier: 3.3.2 + version: 3.3.2 + typescript: + specifier: 5.1.6 + version: 5.1.6 + windy-radix-palette: + specifier: 0.6.1 + version: 0.6.1(@radix-ui/colors@1.0.0)(tailwindcss@3.3.2) - packages/parcel-transformer-inject-env: + examples/with-vue: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': + plasmo: specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - - packages/parcel-transformer-inline-css: - dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - browserslist: - specifier: 4.21.9 - version: 4.21.9 - lightningcss: - specifier: 1.21.1 - version: 1.21.1 + version: link:../../cli/plasmo + vue: + specifier: 3.3.4 + version: 3.3.4 devDependencies: - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 - packages/parcel-transformer-lab: + examples/with-web-accessible-resources: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/fs': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': + plasmo: specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - - packages/parcel-transformer-manifest: - dependencies: - '@mischnic/json-sourcemap': - specifier: 0.1.0 - version: 0.1.0 - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/fs': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - content-security-policy-parser: - specifier: 0.4.1 - version: 0.4.1 - json-schema-to-ts: - specifier: 2.9.1 - version: 2.9.1 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 + version: link:../../cli/plasmo + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: - '@plasmo/config': - specifier: workspace:* - version: link:../config - '@plasmo/utils': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../utils - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - - packages/parcel-transformer-svelte3: - dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 + version: link:../../packages/prettier-plugin-sort-imports + '@types/chrome': + specifier: 0.0.239 + version: 0.0.239 + '@types/node': + specifier: 20.3.2 + version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 + '@types/react-dom': + specifier: 18.2.6 + version: 18.2.6 + prettier: + specifier: 2.8.8 + version: 2.8.8 + typescript: + specifier: 5.1.6 + version: 5.1.6 + + packages/config: {} + + packages/constants: devDependencies: + '@parcel/watcher': + specifier: 2.1.0 + version: 2.1.0 '@plasmo/config': specifier: workspace:* version: link:../config - svelte: - specifier: 4.0.0 - version: 4.0.0 - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) + '@plasmo/utils': + specifier: workspace:* + version: link:../utils - packages/parcel-transformer-vue3: + packages/framework-shared: dependencies: - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/diagnostic': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/plugin': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/source-map': - specifier: 2.1.1 - version: 2.1.1 - '@parcel/types': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/utils': - specifier: 2.9.3 - version: 2.9.3 - '@plasmohq/consolidate': - specifier: 0.17.0 - version: 0.17.0 - '@vue/compiler-sfc': - specifier: 3.3.4 - version: 3.3.4 - nullthrows: - specifier: 1.1.1 - version: 1.1.1 - semver: - specifier: 7.5.3 - version: 7.5.3 + ws: + specifier: 8.13.0 + version: 8.13.0 devDependencies: '@plasmo/config': specifier: workspace:* version: link:../config - tsup: - specifier: 7.1.0 - version: 7.1.0(@swc/core@1.3.66) - vue: - specifier: 3.3.4 - version: 3.3.4 + '@plasmo/utils': + specifier: workspace:* + version: link:../utils - packages/permission-ui: + packages/gcp-refresh-token: + dependencies: + get-port: + specifier: 7.0.0 + version: 7.0.0 + google-auth-library: + specifier: 8.8.0 + version: 8.8.0 + open: + specifier: 9.1.0 + version: 9.1.0 devDependencies: '@jest/globals': specifier: 29.5.0 @@ -2864,18 +2972,18 @@ importers: '@jest/types': specifier: 29.5.0 version: 29.5.0 + '@plasmo/config': + specifier: workspace:* + version: link:../config '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* version: link:../prettier-plugin-sort-imports - '@plasmohq/storage': + '@plasmohq/rps': specifier: workspace:* - version: link:../storage + version: link:../rps '@types/node': specifier: 20.3.2 version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 cross-env: specifier: 7.0.3 version: 7.0.3 @@ -2885,9 +2993,6 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - react: - specifier: 18.2.0 - version: 18.2.0 ts-jest: specifier: 29.1.0 version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) @@ -2898,7 +3003,9 @@ importers: specifier: 5.1.6 version: 5.1.6 - packages/persistent: + packages/init: {} + + packages/permission-ui: devDependencies: '@jest/globals': specifier: 29.5.0 @@ -2906,24 +3013,30 @@ importers: '@jest/types': specifier: 29.5.0 version: 29.5.0 - '@plasmo/config': + '@plasmohq/prettier-plugin-sort-imports': specifier: workspace:* - version: link:../config - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 + version: link:../prettier-plugin-sort-imports + '@plasmohq/storage': + specifier: workspace:* + version: link:../../api/storage '@types/node': specifier: 20.3.2 version: 20.3.2 + '@types/react': + specifier: 18.2.14 + version: 18.2.14 cross-env: specifier: 7.0.3 version: 7.0.3 jest: specifier: 29.5.0 version: 29.5.0(@types/node@20.3.2) - jest-environment-jsdom: - specifier: 29.5.0 - version: 29.5.0 + prettier: + specifier: 2.8.8 + version: 2.8.8 + react: + specifier: 18.2.0 + version: 18.2.0 ts-jest: specifier: 29.1.0 version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) @@ -3062,115 +3175,6 @@ importers: specifier: 5.1.6 version: 5.1.6 - packages/selector: - devDependencies: - '@jest/globals': - specifier: 29.5.0 - version: 29.5.0 - '@jest/types': - specifier: 29.5.0 - version: 29.5.0 - '@testing-library/react': - specifier: 14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - cross-env: - specifier: 7.0.3 - version: 7.0.3 - jest: - specifier: 29.5.0 - version: 29.5.0(@types/node@20.3.2) - jest-environment-jsdom: - specifier: 29.5.0 - version: 29.5.0 - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - rimraf: - specifier: 5.0.1 - version: 5.0.1 - ts-jest: - specifier: 29.1.0 - version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) - tsup: - specifier: 7.1.0 - version: 7.1.0(typescript@5.1.6) - typescript: - specifier: 5.1.6 - version: 5.1.6 - - packages/storage: - dependencies: - pify: - specifier: 6.1.0 - version: 6.1.0 - devDependencies: - '@jest/globals': - specifier: 29.5.0 - version: 29.5.0 - '@jest/types': - specifier: 29.5.0 - version: 29.5.0 - '@plasmohq/prettier-plugin-sort-imports': - specifier: workspace:* - version: link:../prettier-plugin-sort-imports - '@plasmohq/rps': - specifier: workspace:* - version: link:../rps - '@testing-library/react': - specifier: 14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) - '@types/chrome': - specifier: 0.0.239 - version: 0.0.239 - '@types/node': - specifier: 20.3.2 - version: 20.3.2 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - cross-env: - specifier: 7.0.3 - version: 7.0.3 - jest: - specifier: 29.5.0 - version: 29.5.0(@types/node@20.3.2) - jest-environment-jsdom: - specifier: 29.5.0 - version: 29.5.0 - prettier: - specifier: 2.8.8 - version: 2.8.8 - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - rimraf: - specifier: 5.0.1 - version: 5.0.1 - ts-jest: - specifier: 29.1.0 - version: 29.1.0(@babel/core@7.22.5)(@jest/types@29.5.0)(esbuild@0.18.10)(jest@29.5.0)(typescript@5.1.6) - tsup: - specifier: 7.1.0 - version: 7.1.0(typescript@5.1.6) - typescript: - specifier: 5.1.6 - version: 5.1.6 - packages/use-hashed-state: dependencies: node-object-hash: @@ -3188,7 +3192,7 @@ importers: version: link:../prettier-plugin-sort-imports '@plasmohq/storage': specifier: workspace:* - version: link:../storage + version: link:../../api/storage '@testing-library/react': specifier: 14.0.0 version: 14.0.0(react-dom@18.2.0)(react@18.2.0) @@ -3609,13 +3613,6 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 - /@babel/parser@7.22.0: - resolution: {integrity: sha512-DA65VCJRetcFmJnt9/hEmRvXNCwk0V86dxG6p6N13hzDazaLRjGdTGPGgjxZOtLuFgWzOSRX4grybmRXwQ9bSg==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.22.5 - /@babel/parser@7.22.5: resolution: {integrity: sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==} engines: {node: '>=6.0.0'} @@ -5962,7 +5959,7 @@ packages: jest-regex-util: 29.4.3 jest-util: 29.5.0 micromatch: 4.0.5 - pirates: 4.0.5 + pirates: 4.0.6 slash: 3.0.0 write-file-atomic: 4.0.2 transitivePeerDependencies: @@ -8375,7 +8372,7 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@babel/runtime': 7.22.0 + '@babel/runtime': 7.22.5 '@testing-library/dom': 9.3.0 '@types/react-dom': 18.2.6 react: 18.2.0 @@ -8708,7 +8705,7 @@ packages: /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: - '@babel/parser': 7.22.0 + '@babel/parser': 7.22.5 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 @@ -8722,7 +8719,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.22.0 + '@babel/parser': 7.22.5 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -8742,7 +8739,7 @@ packages: /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: - '@babel/parser': 7.22.0 + '@babel/parser': 7.22.5 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 @@ -9131,7 +9128,7 @@ packages: peerDependencies: postcss: ^8.1.0 dependencies: - browserslist: 4.21.5 + browserslist: 4.21.9 caniuse-lite: 1.0.30001489 fraction.js: 4.2.0 normalize-range: 0.1.2 @@ -9457,17 +9454,6 @@ packages: pako: 1.0.11 dev: true - /browserslist@4.21.5: - resolution: {integrity: sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001489 - electron-to-chromium: 1.4.422 - node-releases: 2.0.12 - update-browserslist-db: 1.0.11(browserslist@4.21.5) - dev: true - /browserslist@4.21.9: resolution: {integrity: sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} @@ -10555,10 +10541,6 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.422: - resolution: {integrity: sha512-OQMid0IRbJv27BhlPiBK8CfGzjeq4ZCBSmpwNi1abyS8w17/BajOUu7hBI49ptDTBCz9NRFbORhWvt41dF7dwg==} - dev: true - /electron-to-chromium@1.4.445: resolution: {integrity: sha512-++DB+9VK8SBJwC+X1zlMfJ1tMA3F0ipi39GdEp+x3cV2TyBihqAgad8cNMWtLDEkbH39nlDQP7PfGrDr3Dr7HA==} @@ -12902,7 +12884,7 @@ packages: resolution: {integrity: sha512-8MNpRGERlCUWYeJwsWkMrJ0MWzBz49dfqpG+n9viiIlP4othaahbiaNQZuBzmPxRLUhOv1QJMCzW5WE8nHFGIQ==} engines: {node: '>=16'} dependencies: - '@babel/runtime': 7.22.0 + '@babel/runtime': 7.22.5 '@types/json-schema': 7.0.12 ts-algebra: 1.2.0 dev: false @@ -14500,7 +14482,6 @@ packages: /pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} - dev: false /pkg-dir@3.0.0: resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} @@ -17283,17 +17264,6 @@ packages: engines: {node: '>=8'} dev: false - /update-browserslist-db@1.0.11(browserslist@4.21.5): - resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.21.5 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - /update-browserslist-db@1.0.11(browserslist@4.21.9): resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5a7ec51e2..d862d5c75 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,5 @@ packages: - "cli/*" - "packages/*" - "examples/*" + - "api/*" + - "core/*"