diff --git a/.meta-updater/src/index.ts b/.meta-updater/src/index.ts index e4ef2ce1a7..1a94f55ecf 100644 --- a/.meta-updater/src/index.ts +++ b/.meta-updater/src/index.ts @@ -361,6 +361,7 @@ async function updateManifest (workspaceDir: string, manifest: ProjectManifest, }) } return sortKeysInManifest({ + type: 'commonjs', ...manifest, bugs: { url: 'https://github.com/pnpm/pnpm/issues', diff --git a/cache/api/package.json b/cache/api/package.json index daf1ecd5df..0634b14981 100644 --- a/cache/api/package.json +++ b/cache/api/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cache/commands/package.json b/cache/commands/package.json index 07ef164e41..b6f97a92fa 100644 --- a/cache/commands/package.json +++ b/cache/commands/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/catalogs/config/package.json b/catalogs/config/package.json index be9804154b..6c44995baf 100644 --- a/catalogs/config/package.json +++ b/catalogs/config/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/catalogs/protocol-parser/package.json b/catalogs/protocol-parser/package.json index 12e373176a..24b326aefe 100644 --- a/catalogs/protocol-parser/package.json +++ b/catalogs/protocol-parser/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/catalogs/resolver/package.json b/catalogs/resolver/package.json index 04c4f8a505..472d108435 100644 --- a/catalogs/resolver/package.json +++ b/catalogs/resolver/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/catalogs/types/package.json b/catalogs/types/package.json index e1c9eb03d4..aca05e4bf2 100644 --- a/catalogs/types/package.json +++ b/catalogs/types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/cli-meta/package.json b/cli/cli-meta/package.json index ccb73f823b..12b57f541c 100644 --- a/cli/cli-meta/package.json +++ b/cli/cli-meta/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/cli-utils/package.json b/cli/cli-utils/package.json index db943f682d..b75ffce370 100644 --- a/cli/cli-utils/package.json +++ b/cli/cli-utils/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/command/package.json b/cli/command/package.json index e895d221b1..35300baf99 100644 --- a/cli/command/package.json +++ b/cli/command/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/common-cli-options-help/package.json b/cli/common-cli-options-help/package.json index 14ecab3b52..e8f2eb64a3 100644 --- a/cli/common-cli-options-help/package.json +++ b/cli/common-cli-options-help/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/default-reporter/package.json b/cli/default-reporter/package.json index dc4542cc75..184d4d1adf 100644 --- a/cli/default-reporter/package.json +++ b/cli/default-reporter/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/cli/parse-cli-args/package.json b/cli/parse-cli-args/package.json index 8a6179911b..b42b765124 100644 --- a/cli/parse-cli-args/package.json +++ b/cli/parse-cli-args/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/completion/plugin-commands-completion/package.json b/completion/plugin-commands-completion/package.json index 1304cecbcb..2278a48c97 100644 --- a/completion/plugin-commands-completion/package.json +++ b/completion/plugin-commands-completion/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/config-writer/package.json b/config/config-writer/package.json index 21a5b167a4..c1f0d91526 100644 --- a/config/config-writer/package.json +++ b/config/config-writer/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/config/package.json b/config/config/package.json index 46e317d0f3..4ae870928f 100644 --- a/config/config/package.json +++ b/config/config/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/deps-installer/package.json b/config/deps-installer/package.json index d57fc32bca..1c52572a76 100644 --- a/config/deps-installer/package.json +++ b/config/deps-installer/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/matcher/package.json b/config/matcher/package.json index df0da55857..725b008297 100644 --- a/config/matcher/package.json +++ b/config/matcher/package.json @@ -16,6 +16,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/normalize-registries/package.json b/config/normalize-registries/package.json index 56e3509c2b..ac5b4333c5 100644 --- a/config/normalize-registries/package.json +++ b/config/normalize-registries/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/package-is-installable/package.json b/config/package-is-installable/package.json index f55b2cbef3..e5f177e838 100644 --- a/config/package-is-installable/package.json +++ b/config/package-is-installable/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/parse-overrides/package.json b/config/parse-overrides/package.json index 1ef042ce4f..21e906597d 100644 --- a/config/parse-overrides/package.json +++ b/config/parse-overrides/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/pick-registry-for-package/package.json b/config/pick-registry-for-package/package.json index bb714850bc..21153c839c 100644 --- a/config/pick-registry-for-package/package.json +++ b/config/pick-registry-for-package/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/config/plugin-commands-config/package.json b/config/plugin-commands-config/package.json index e0730b9235..2bb841c6f0 100644 --- a/config/plugin-commands-config/package.json +++ b/config/plugin-commands-config/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/crypto/hash/package.json b/crypto/hash/package.json index 9ba8207a2e..67440863f8 100644 --- a/crypto/hash/package.json +++ b/crypto/hash/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/crypto/object-hasher/package.json b/crypto/object-hasher/package.json index f41f27b548..f03fd3bca1 100644 --- a/crypto/object-hasher/package.json +++ b/crypto/object-hasher/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/crypto/polyfill/package.json b/crypto/polyfill/package.json index 405ec246d9..f6a62e6abe 100644 --- a/crypto/polyfill/package.json +++ b/crypto/polyfill/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/crypto/shasums-file/package.json b/crypto/shasums-file/package.json index 377e00f95d..7840977e66 100644 --- a/crypto/shasums-file/package.json +++ b/crypto/shasums-file/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/dedupe/check/package.json b/dedupe/check/package.json index fd25d8cd26..d8a593ee4c 100644 --- a/dedupe/check/package.json +++ b/dedupe/check/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/dedupe/issues-renderer/package.json b/dedupe/issues-renderer/package.json index 6da48bc8e9..cd6e304405 100644 --- a/dedupe/issues-renderer/package.json +++ b/dedupe/issues-renderer/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/dedupe/types/package.json b/dedupe/types/package.json index 7dddb668ce..54accdc4f4 100644 --- a/dedupe/types/package.json +++ b/dedupe/types/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/deps/graph-builder/package.json b/deps/graph-builder/package.json index a2c4d5fcd1..ae9b8e37c8 100644 --- a/deps/graph-builder/package.json +++ b/deps/graph-builder/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/deps/graph-sequencer/package.json b/deps/graph-sequencer/package.json index 68a4323f55..c082415a8e 100644 --- a/deps/graph-sequencer/package.json +++ b/deps/graph-sequencer/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/deps/status/package.json b/deps/status/package.json index f7c64c2e72..d92b1f5ca1 100644 --- a/deps/status/package.json +++ b/deps/status/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/env/node.fetcher/package.json b/env/node.fetcher/package.json index 61bb554041..e7181b322c 100644 --- a/env/node.fetcher/package.json +++ b/env/node.fetcher/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/env/node.resolver/package.json b/env/node.resolver/package.json index 72f716733a..49410e131f 100644 --- a/env/node.resolver/package.json +++ b/env/node.resolver/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/env/path/package.json b/env/path/package.json index 1a2926331b..70f867f576 100644 --- a/env/path/package.json +++ b/env/path/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/env/plugin-commands-env/package.json b/env/plugin-commands-env/package.json index 4d680a17c6..720f88c504 100644 --- a/env/plugin-commands-env/package.json +++ b/env/plugin-commands-env/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/env/system-node-version/package.json b/env/system-node-version/package.json index 0721c7859d..a2c82215df 100644 --- a/env/system-node-version/package.json +++ b/env/system-node-version/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/build-commands/package.json b/exec/build-commands/package.json index 523e51965e..4120ebf53c 100644 --- a/exec/build-commands/package.json +++ b/exec/build-commands/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/build-modules/package.json b/exec/build-modules/package.json index 23dfd85b97..fec60931ba 100644 --- a/exec/build-modules/package.json +++ b/exec/build-modules/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/lifecycle/package.json b/exec/lifecycle/package.json index 159bedc2f9..8839ae3e96 100644 --- a/exec/lifecycle/package.json +++ b/exec/lifecycle/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/pkg-requires-build/package.json b/exec/pkg-requires-build/package.json index e310ae6dc1..8d2b19cd02 100644 --- a/exec/pkg-requires-build/package.json +++ b/exec/pkg-requires-build/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/plugin-commands-rebuild/package.json b/exec/plugin-commands-rebuild/package.json index d1b90b868f..8b72be620a 100644 --- a/exec/plugin-commands-rebuild/package.json +++ b/exec/plugin-commands-rebuild/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/plugin-commands-script-runners/package.json b/exec/plugin-commands-script-runners/package.json index be1daef985..9997a8ae20 100644 --- a/exec/plugin-commands-script-runners/package.json +++ b/exec/plugin-commands-script-runners/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/pnpm-cli-runner/package.json b/exec/pnpm-cli-runner/package.json index e72455ecfc..5acaa53865 100644 --- a/exec/pnpm-cli-runner/package.json +++ b/exec/pnpm-cli-runner/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/prepare-package/package.json b/exec/prepare-package/package.json index c61f48130e..f2babe2dfa 100644 --- a/exec/prepare-package/package.json +++ b/exec/prepare-package/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/exec/run-npm/package.json b/exec/run-npm/package.json index d3fb3e7d91..eaf31369d1 100644 --- a/exec/run-npm/package.json +++ b/exec/run-npm/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fetching/directory-fetcher/package.json b/fetching/directory-fetcher/package.json index 10431141f5..2c78e9f069 100644 --- a/fetching/directory-fetcher/package.json +++ b/fetching/directory-fetcher/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fetching/fetcher-base/package.json b/fetching/fetcher-base/package.json index 154f13e37f..5b0ae1223f 100644 --- a/fetching/fetcher-base/package.json +++ b/fetching/fetcher-base/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fetching/git-fetcher/package.json b/fetching/git-fetcher/package.json index 279e143f76..4989a8450b 100644 --- a/fetching/git-fetcher/package.json +++ b/fetching/git-fetcher/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fetching/pick-fetcher/package.json b/fetching/pick-fetcher/package.json index 3481d4992a..6e142e0ef3 100644 --- a/fetching/pick-fetcher/package.json +++ b/fetching/pick-fetcher/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fetching/tarball-fetcher/package.json b/fetching/tarball-fetcher/package.json index 2ef1e207cc..ab1db2a19a 100644 --- a/fetching/tarball-fetcher/package.json +++ b/fetching/tarball-fetcher/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/find-packages/package.json b/fs/find-packages/package.json index 3137fc26ef..ef1f17fbc8 100644 --- a/fs/find-packages/package.json +++ b/fs/find-packages/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/graceful-fs/package.json b/fs/graceful-fs/package.json index 618c538221..643b38c610 100644 --- a/fs/graceful-fs/package.json +++ b/fs/graceful-fs/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/hard-link-dir/package.json b/fs/hard-link-dir/package.json index 187f83b185..e22a0a32b1 100644 --- a/fs/hard-link-dir/package.json +++ b/fs/hard-link-dir/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/indexed-pkg-importer/package.json b/fs/indexed-pkg-importer/package.json index b19979e2e3..e2952be64e 100644 --- a/fs/indexed-pkg-importer/package.json +++ b/fs/indexed-pkg-importer/package.json @@ -20,6 +20,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/is-empty-dir-or-nothing/package.json b/fs/is-empty-dir-or-nothing/package.json index 0ff82202b0..10fdac0111 100644 --- a/fs/is-empty-dir-or-nothing/package.json +++ b/fs/is-empty-dir-or-nothing/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/packlist/package.json b/fs/packlist/package.json index 9794c66719..40141b53ad 100644 --- a/fs/packlist/package.json +++ b/fs/packlist/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/read-modules-dir/package.json b/fs/read-modules-dir/package.json index cd543b3bdc..d1bbc76a5e 100644 --- a/fs/read-modules-dir/package.json +++ b/fs/read-modules-dir/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/fs/symlink-dependency/package.json b/fs/symlink-dependency/package.json index 359cad21dd..d193fd6526 100644 --- a/fs/symlink-dependency/package.json +++ b/fs/symlink-dependency/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/hooks/pnpmfile/package.json b/hooks/pnpmfile/package.json index d1c83b92bb..5f9e03654b 100644 --- a/hooks/pnpmfile/package.json +++ b/hooks/pnpmfile/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/hooks/read-package-hook/package.json b/hooks/read-package-hook/package.json index beec5cfa7b..a04db1b2cf 100644 --- a/hooks/read-package-hook/package.json +++ b/hooks/read-package-hook/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/hooks/types/package.json b/hooks/types/package.json index 0ab373f0a4..a01547ffd1 100644 --- a/hooks/types/package.json +++ b/hooks/types/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/audit/package.json b/lockfile/audit/package.json index f3a1832d9c..70cd77d099 100644 --- a/lockfile/audit/package.json +++ b/lockfile/audit/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/detect-dep-types/package.json b/lockfile/detect-dep-types/package.json index 282589477e..de75c6d8f5 100644 --- a/lockfile/detect-dep-types/package.json +++ b/lockfile/detect-dep-types/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/filtering/package.json b/lockfile/filtering/package.json index 61c7485619..f6a204acc3 100644 --- a/lockfile/filtering/package.json +++ b/lockfile/filtering/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/fs/package.json b/lockfile/fs/package.json index f9751e378e..046a5a95c2 100644 --- a/lockfile/fs/package.json +++ b/lockfile/fs/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/lockfile-to-pnp/package.json b/lockfile/lockfile-to-pnp/package.json index 38c3ff47f7..8f1726d49e 100644 --- a/lockfile/lockfile-to-pnp/package.json +++ b/lockfile/lockfile-to-pnp/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/merger/package.json b/lockfile/merger/package.json index 9f67c37454..077e0a2977 100644 --- a/lockfile/merger/package.json +++ b/lockfile/merger/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/plugin-commands-audit/package.json b/lockfile/plugin-commands-audit/package.json index 748e5ee8d6..aaff98d512 100644 --- a/lockfile/plugin-commands-audit/package.json +++ b/lockfile/plugin-commands-audit/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/preferred-versions/package.json b/lockfile/preferred-versions/package.json index f75f561f1b..8df29bd57a 100644 --- a/lockfile/preferred-versions/package.json +++ b/lockfile/preferred-versions/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/pruner/package.json b/lockfile/pruner/package.json index 306621de20..01021ed1a3 100644 --- a/lockfile/pruner/package.json +++ b/lockfile/pruner/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/settings-checker/package.json b/lockfile/settings-checker/package.json index bc888dcf69..b60bda4810 100644 --- a/lockfile/settings-checker/package.json +++ b/lockfile/settings-checker/package.json @@ -16,6 +16,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/types/package.json b/lockfile/types/package.json index 3fb2a3a209..64d75ae0ae 100644 --- a/lockfile/types/package.json +++ b/lockfile/types/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/utils/package.json b/lockfile/utils/package.json index 2695474452..d8d056328d 100644 --- a/lockfile/utils/package.json +++ b/lockfile/utils/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/verification/package.json b/lockfile/verification/package.json index 5ba801a212..b5a6a90de0 100644 --- a/lockfile/verification/package.json +++ b/lockfile/verification/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/lockfile/walker/package.json b/lockfile/walker/package.json index 9bde052473..d600234594 100644 --- a/lockfile/walker/package.json +++ b/lockfile/walker/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/modules-mounter/daemon/package.json b/modules-mounter/daemon/package.json index a2341a286a..c5f0ce2e9d 100644 --- a/modules-mounter/daemon/package.json +++ b/modules-mounter/daemon/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/network/auth-header/package.json b/network/auth-header/package.json index fdea24b8a0..8374157ae7 100644 --- a/network/auth-header/package.json +++ b/network/auth-header/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/network/fetch/package.json b/network/fetch/package.json index e6b56f0896..02c2faf523 100644 --- a/network/fetch/package.json +++ b/network/fetch/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/network/fetching-types/package.json b/network/fetching-types/package.json index 23c70fccf1..3b068b5002 100644 --- a/network/fetching-types/package.json +++ b/network/fetching-types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/object/key-sorting/package.json b/object/key-sorting/package.json index f6ce9b6c25..b2c01a18d3 100644 --- a/object/key-sorting/package.json +++ b/object/key-sorting/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/calc-dep-state/package.json b/packages/calc-dep-state/package.json index 286786456b..3cf79d0eb0 100644 --- a/packages/calc-dep-state/package.json +++ b/packages/calc-dep-state/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/constants/package.json b/packages/constants/package.json index cb6a6c7753..7d05df156c 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/core-loggers/package.json b/packages/core-loggers/package.json index d3db37220a..15734b05ee 100644 --- a/packages/core-loggers/package.json +++ b/packages/core-loggers/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/dependency-path/package.json b/packages/dependency-path/package.json index 44ab357659..e3961b72fb 100644 --- a/packages/dependency-path/package.json +++ b/packages/dependency-path/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/error/package.json b/packages/error/package.json index f346b8c5c0..db0a2c70ba 100644 --- a/packages/error/package.json +++ b/packages/error/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/git-utils/package.json b/packages/git-utils/package.json index 64115defe8..3b5edd5717 100644 --- a/packages/git-utils/package.json +++ b/packages/git-utils/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/logger/package.json b/packages/logger/package.json index f7975aada8..2993f45a73 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/make-dedicated-lockfile/package.json b/packages/make-dedicated-lockfile/package.json index ceb989fd48..16dc8e4593 100644 --- a/packages/make-dedicated-lockfile/package.json +++ b/packages/make-dedicated-lockfile/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/parse-wanted-dependency/package.json b/packages/parse-wanted-dependency/package.json index ad076dbdc4..bc64b36284 100644 --- a/packages/parse-wanted-dependency/package.json +++ b/packages/parse-wanted-dependency/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/plugin-commands-doctor/package.json b/packages/plugin-commands-doctor/package.json index 561b4bacb3..5fe27b8d79 100644 --- a/packages/plugin-commands-doctor/package.json +++ b/packages/plugin-commands-doctor/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/plugin-commands-init/package.json b/packages/plugin-commands-init/package.json index 0910cfd3b6..0eae0105a1 100644 --- a/packages/plugin-commands-init/package.json +++ b/packages/plugin-commands-init/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/plugin-commands-setup/package.json b/packages/plugin-commands-setup/package.json index 282d987e12..770afa29de 100644 --- a/packages/plugin-commands-setup/package.json +++ b/packages/plugin-commands-setup/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/render-peer-issues/package.json b/packages/render-peer-issues/package.json index a366e87ae7..8a6966f982 100644 --- a/packages/render-peer-issues/package.json +++ b/packages/render-peer-issues/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/types/package.json b/packages/types/package.json index e2cb8a10ea..947cf6d75f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/patching/apply-patch/package.json b/patching/apply-patch/package.json index f9ce8a4f05..dbedb14c2c 100644 --- a/patching/apply-patch/package.json +++ b/patching/apply-patch/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/patching/config/package.json b/patching/config/package.json index a68771ab26..3ae3b28bc2 100644 --- a/patching/config/package.json +++ b/patching/config/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/patching/plugin-commands-patching/package.json b/patching/plugin-commands-patching/package.json index f8a57d8fe3..04c27a7bed 100644 --- a/patching/plugin-commands-patching/package.json +++ b/patching/plugin-commands-patching/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/patching/types/package.json b/patching/types/package.json index 09545bf1df..7201ef05b9 100644 --- a/patching/types/package.json +++ b/patching/types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/client/package.json b/pkg-manager/client/package.json index 9aad337255..c4d2dbf2ab 100644 --- a/pkg-manager/client/package.json +++ b/pkg-manager/client/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/core/package.json b/pkg-manager/core/package.json index 7769711cd9..cb28f58053 100644 --- a/pkg-manager/core/package.json +++ b/pkg-manager/core/package.json @@ -33,6 +33,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/direct-dep-linker/package.json b/pkg-manager/direct-dep-linker/package.json index b82d7774f0..098b508f45 100644 --- a/pkg-manager/direct-dep-linker/package.json +++ b/pkg-manager/direct-dep-linker/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/get-context/package.json b/pkg-manager/get-context/package.json index 9118cf660f..cf77ca5f5a 100644 --- a/pkg-manager/get-context/package.json +++ b/pkg-manager/get-context/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/headless/package.json b/pkg-manager/headless/package.json index 9de2db5237..79eaf1bc1b 100644 --- a/pkg-manager/headless/package.json +++ b/pkg-manager/headless/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/hoist/package.json b/pkg-manager/hoist/package.json index a81ab34c00..c7c1109b8c 100644 --- a/pkg-manager/hoist/package.json +++ b/pkg-manager/hoist/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/link-bins/package.json b/pkg-manager/link-bins/package.json index b16647a3f7..513438ce0a 100644 --- a/pkg-manager/link-bins/package.json +++ b/pkg-manager/link-bins/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/modules-cleaner/package.json b/pkg-manager/modules-cleaner/package.json index dcfe2a49c6..b10446b1f8 100644 --- a/pkg-manager/modules-cleaner/package.json +++ b/pkg-manager/modules-cleaner/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/modules-yaml/package.json b/pkg-manager/modules-yaml/package.json index 20676a226f..7c439dc1da 100644 --- a/pkg-manager/modules-yaml/package.json +++ b/pkg-manager/modules-yaml/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/package-bins/package.json b/pkg-manager/package-bins/package.json index d2bf844141..590a381da5 100644 --- a/pkg-manager/package-bins/package.json +++ b/pkg-manager/package-bins/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/package-requester/package.json b/pkg-manager/package-requester/package.json index de186c41bd..2ce3267cf2 100644 --- a/pkg-manager/package-requester/package.json +++ b/pkg-manager/package-requester/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/plugin-commands-installation/package.json b/pkg-manager/plugin-commands-installation/package.json index 7716299ae9..16adcf2e27 100644 --- a/pkg-manager/plugin-commands-installation/package.json +++ b/pkg-manager/plugin-commands-installation/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/read-projects-context/package.json b/pkg-manager/read-projects-context/package.json index f39a62d8fe..1883cd386f 100644 --- a/pkg-manager/read-projects-context/package.json +++ b/pkg-manager/read-projects-context/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/real-hoist/package.json b/pkg-manager/real-hoist/package.json index 81eba697cd..3a5805aa91 100644 --- a/pkg-manager/real-hoist/package.json +++ b/pkg-manager/real-hoist/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/remove-bins/package.json b/pkg-manager/remove-bins/package.json index 2b9748cae8..a170dfd99e 100644 --- a/pkg-manager/remove-bins/package.json +++ b/pkg-manager/remove-bins/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manager/resolve-dependencies/package.json b/pkg-manager/resolve-dependencies/package.json index 0291a678be..b9a86b81b2 100644 --- a/pkg-manager/resolve-dependencies/package.json +++ b/pkg-manager/resolve-dependencies/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manifest/exportable-manifest/package.json b/pkg-manifest/exportable-manifest/package.json index ec26ebb7fb..d5643e9ecb 100644 --- a/pkg-manifest/exportable-manifest/package.json +++ b/pkg-manifest/exportable-manifest/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manifest/manifest-utils/package.json b/pkg-manifest/manifest-utils/package.json index 9c1f8b9f66..9918b28178 100644 --- a/pkg-manifest/manifest-utils/package.json +++ b/pkg-manifest/manifest-utils/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manifest/read-package-json/package.json b/pkg-manifest/read-package-json/package.json index 35251c873e..c59edcec65 100644 --- a/pkg-manifest/read-package-json/package.json +++ b/pkg-manifest/read-package-json/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manifest/read-project-manifest/package.json b/pkg-manifest/read-project-manifest/package.json index b77c1063e1..362db26497 100644 --- a/pkg-manifest/read-project-manifest/package.json +++ b/pkg-manifest/read-project-manifest/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pkg-manifest/write-project-manifest/package.json b/pkg-manifest/write-project-manifest/package.json index 490ab7c8fe..5b569e520c 100644 --- a/pkg-manifest/write-project-manifest/package.json +++ b/pkg-manifest/write-project-manifest/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/pnpm/package.json b/pnpm/package.json index 63fecd833a..0213928c84 100644 --- a/pnpm/package.json +++ b/pnpm/package.json @@ -40,6 +40,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "bin/pnpm.cjs", "exports": { ".": "./package.json" diff --git a/releasing/plugin-commands-deploy/package.json b/releasing/plugin-commands-deploy/package.json index 1e94e0a637..5d354e9f12 100644 --- a/releasing/plugin-commands-deploy/package.json +++ b/releasing/plugin-commands-deploy/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/releasing/plugin-commands-publishing/package.json b/releasing/plugin-commands-publishing/package.json index 22a832862b..cd9e122568 100644 --- a/releasing/plugin-commands-publishing/package.json +++ b/releasing/plugin-commands-publishing/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/default-resolver/package.json b/resolving/default-resolver/package.json index 0f9a3077ca..04fc290dd6 100644 --- a/resolving/default-resolver/package.json +++ b/resolving/default-resolver/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/git-resolver/package.json b/resolving/git-resolver/package.json index b88be66157..a103999087 100644 --- a/resolving/git-resolver/package.json +++ b/resolving/git-resolver/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/jsr-specifier-parser/package.json b/resolving/jsr-specifier-parser/package.json index 54f72faba7..cc471b449b 100644 --- a/resolving/jsr-specifier-parser/package.json +++ b/resolving/jsr-specifier-parser/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/local-resolver/package.json b/resolving/local-resolver/package.json index 30524b169b..203e4bdadb 100644 --- a/resolving/local-resolver/package.json +++ b/resolving/local-resolver/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/npm-resolver/package.json b/resolving/npm-resolver/package.json index 96a2e3c93a..8ff149b7c3 100644 --- a/resolving/npm-resolver/package.json +++ b/resolving/npm-resolver/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/resolver-base/package.json b/resolving/resolver-base/package.json index 27eec295d9..fcfb923406 100644 --- a/resolving/resolver-base/package.json +++ b/resolving/resolver-base/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/resolving/tarball-resolver/package.json b/resolving/tarball-resolver/package.json index 56af7f5ee1..906067bb41 100644 --- a/resolving/tarball-resolver/package.json +++ b/resolving/tarball-resolver/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/dependencies-hierarchy/package.json b/reviewing/dependencies-hierarchy/package.json index d99c427428..501744b5b4 100644 --- a/reviewing/dependencies-hierarchy/package.json +++ b/reviewing/dependencies-hierarchy/package.json @@ -16,6 +16,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/license-scanner/package.json b/reviewing/license-scanner/package.json index a4de304c6f..875f96c74a 100644 --- a/reviewing/license-scanner/package.json +++ b/reviewing/license-scanner/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/list/package.json b/reviewing/list/package.json index 8e56cd1a7a..625c06a936 100644 --- a/reviewing/list/package.json +++ b/reviewing/list/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/outdated/package.json b/reviewing/outdated/package.json index 91258cecc6..b168060d17 100644 --- a/reviewing/outdated/package.json +++ b/reviewing/outdated/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/plugin-commands-licenses/package.json b/reviewing/plugin-commands-licenses/package.json index 76f23975f7..d897b6e231 100644 --- a/reviewing/plugin-commands-licenses/package.json +++ b/reviewing/plugin-commands-licenses/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/plugin-commands-listing/package.json b/reviewing/plugin-commands-listing/package.json index 7051c3f978..f8426705ad 100644 --- a/reviewing/plugin-commands-listing/package.json +++ b/reviewing/plugin-commands-listing/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/reviewing/plugin-commands-outdated/package.json b/reviewing/plugin-commands-outdated/package.json index ed6277347d..8358a4fb77 100644 --- a/reviewing/plugin-commands-outdated/package.json +++ b/reviewing/plugin-commands-outdated/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/semver/peer-range/package.json b/semver/peer-range/package.json index 3f9a19b882..1ab7eb69db 100644 --- a/semver/peer-range/package.json +++ b/semver/peer-range/package.json @@ -15,6 +15,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/cafs-types/package.json b/store/cafs-types/package.json index 92b78e3a69..b26b4d4e11 100644 --- a/store/cafs-types/package.json +++ b/store/cafs-types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/cafs/package.json b/store/cafs/package.json index fe0af69ddb..4ddd9c9878 100644 --- a/store/cafs/package.json +++ b/store/cafs/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/create-cafs-store/package.json b/store/create-cafs-store/package.json index f68f1faa0b..75a3dae4e5 100644 --- a/store/create-cafs-store/package.json +++ b/store/create-cafs-store/package.json @@ -20,6 +20,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/package-store/package.json b/store/package-store/package.json index 4b0a5b22bc..4216598239 100644 --- a/store/package-store/package.json +++ b/store/package-store/package.json @@ -20,6 +20,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/plugin-commands-server/package.json b/store/plugin-commands-server/package.json index 96e0be3696..ea21de12d9 100644 --- a/store/plugin-commands-server/package.json +++ b/store/plugin-commands-server/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/plugin-commands-store-inspecting/package.json b/store/plugin-commands-store-inspecting/package.json index 854ddabf3e..d275f28975 100644 --- a/store/plugin-commands-store-inspecting/package.json +++ b/store/plugin-commands-store-inspecting/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/plugin-commands-store/package.json b/store/plugin-commands-store/package.json index 77e87081a5..5138ec87da 100644 --- a/store/plugin-commands-store/package.json +++ b/store/plugin-commands-store/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/server/package.json b/store/server/package.json index f7ef73579d..9600477b53 100644 --- a/store/server/package.json +++ b/store/server/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/store-connection-manager/package.json b/store/store-connection-manager/package.json index 35747dbf37..4443f33de2 100644 --- a/store/store-connection-manager/package.json +++ b/store/store-connection-manager/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/store-controller-types/package.json b/store/store-controller-types/package.json index 6ae358e79e..2a46231e8a 100644 --- a/store/store-controller-types/package.json +++ b/store/store-controller-types/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/store/store-path/package.json b/store/store-path/package.json index 423a6cccc4..36c04df6f7 100644 --- a/store/store-path/package.json +++ b/store/store-path/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "exports": { ".": "./lib/index.js" diff --git a/testing/temp-store/package.json b/testing/temp-store/package.json index 6a43af7bb0..3d2b5b8794 100644 --- a/testing/temp-store/package.json +++ b/testing/temp-store/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/text/comments-parser/package.json b/text/comments-parser/package.json index 8777eccc79..caf5b87192 100644 --- a/text/comments-parser/package.json +++ b/text/comments-parser/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/tools/path/package.json b/tools/path/package.json index cb356706e4..c3af7f4d24 100644 --- a/tools/path/package.json +++ b/tools/path/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/tools/plugin-commands-self-updater/package.json b/tools/plugin-commands-self-updater/package.json index c2edbc4480..622d1208fd 100644 --- a/tools/plugin-commands-self-updater/package.json +++ b/tools/plugin-commands-self-updater/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/worker/package.json b/worker/package.json index 4424e97c9f..21d2356c2a 100644 --- a/worker/package.json +++ b/worker/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/filter-packages-from-dir/package.json b/workspace/filter-packages-from-dir/package.json index 4666b5160f..97174e4626 100644 --- a/workspace/filter-packages-from-dir/package.json +++ b/workspace/filter-packages-from-dir/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/filter-workspace-packages/package.json b/workspace/filter-workspace-packages/package.json index 1f9b1b326c..4c805486ec 100644 --- a/workspace/filter-workspace-packages/package.json +++ b/workspace/filter-workspace-packages/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/find-packages/package.json b/workspace/find-packages/package.json index b326d41390..7600555f38 100644 --- a/workspace/find-packages/package.json +++ b/workspace/find-packages/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/find-workspace-dir/package.json b/workspace/find-workspace-dir/package.json index e6bbbab66f..e0f10e0089 100644 --- a/workspace/find-workspace-dir/package.json +++ b/workspace/find-workspace-dir/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/injected-deps-syncer/package.json b/workspace/injected-deps-syncer/package.json index 6d9154b866..f0512e74e9 100644 --- a/workspace/injected-deps-syncer/package.json +++ b/workspace/injected-deps-syncer/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/manifest-writer/package.json b/workspace/manifest-writer/package.json index 298804abac..0944b56ddc 100644 --- a/workspace/manifest-writer/package.json +++ b/workspace/manifest-writer/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/pkgs-graph/package.json b/workspace/pkgs-graph/package.json index 6cc3a98019..e9e96a8e7a 100644 --- a/workspace/pkgs-graph/package.json +++ b/workspace/pkgs-graph/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/read-manifest/package.json b/workspace/read-manifest/package.json index cb0da944ec..4860e80ff2 100644 --- a/workspace/read-manifest/package.json +++ b/workspace/read-manifest/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/resolve-workspace-range/package.json b/workspace/resolve-workspace-range/package.json index b657da0d95..f727c42ff9 100644 --- a/workspace/resolve-workspace-range/package.json +++ b/workspace/resolve-workspace-range/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/sort-packages/package.json b/workspace/sort-packages/package.json index 98afd5dfc0..85366e2392 100644 --- a/workspace/sort-packages/package.json +++ b/workspace/sort-packages/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/spec-parser/package.json b/workspace/spec-parser/package.json index 18f365a544..2ebde01fc7 100644 --- a/workspace/spec-parser/package.json +++ b/workspace/spec-parser/package.json @@ -13,6 +13,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/workspace/state/package.json b/workspace/state/package.json index 74de8082dd..594e3fc6ca 100644 --- a/workspace/state/package.json +++ b/workspace/state/package.json @@ -14,6 +14,7 @@ "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, + "type": "commonjs", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": {