diff --git a/examples/basic/packages/ui/package.json b/examples/basic/packages/ui/package.json index 4d5e99ef7783a..680a1e70da4aa 100644 --- a/examples/basic/packages/ui/package.json +++ b/examples/basic/packages/ui/package.json @@ -20,7 +20,9 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/basic/pnpm-lock.yaml b/examples/basic/pnpm-lock.yaml index fa6dde603c617..4cf3daead838a 100644 --- a/examples/basic/pnpm-lock.yaml +++ b/examples/basic/pnpm-lock.yaml @@ -125,6 +125,10 @@ importers: packages/typescript-config: {} packages/ui: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -150,9 +154,6 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - react: - specifier: ^18.2.0 - version: 18.2.0 typescript: specifier: ^5.3.3 version: 5.3.3 diff --git a/examples/kitchen-sink/packages/ui/package.json b/examples/kitchen-sink/packages/ui/package.json index fa04f8385ff54..488e6a543e21a 100644 --- a/examples/kitchen-sink/packages/ui/package.json +++ b/examples/kitchen-sink/packages/ui/package.json @@ -30,9 +30,11 @@ "@types/react": "^18.2.62", "@types/react-dom": "^18.2.19", "jest": "^29.7.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", "tsup": "^8.0.2", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0", + "react-dom": "^18.2.0" } -} \ No newline at end of file +} diff --git a/examples/kitchen-sink/pnpm-lock.yaml b/examples/kitchen-sink/pnpm-lock.yaml index a627943bc5d6a..10acf19120ec6 100644 --- a/examples/kitchen-sink/pnpm-lock.yaml +++ b/examples/kitchen-sink/pnpm-lock.yaml @@ -257,6 +257,13 @@ importers: version: 5.3.3 packages/ui: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -282,12 +289,6 @@ importers: jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.11.24) - react: - specifier: ^18.2.0 - version: 18.2.0 - react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) tsup: specifier: ^8.0.2 version: 8.0.2(typescript@5.3.3) @@ -8416,6 +8417,7 @@ packages: loose-envify: 1.4.0 react: 18.2.0 scheduler: 0.23.0 + dev: false /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -8457,6 +8459,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: false /read-package-json-fast@3.0.2: resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} @@ -8794,6 +8797,7 @@ packages: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: loose-envify: 1.4.0 + dev: false /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} diff --git a/examples/with-berry/packages/ui/package.json b/examples/with-berry/packages/ui/package.json index 3323d7d077b88..fc14c67e016f0 100644 --- a/examples/with-berry/packages/ui/package.json +++ b/examples/with-berry/packages/ui/package.json @@ -14,7 +14,9 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/with-changesets/packages/acme-core/package.json b/examples/with-changesets/packages/acme-core/package.json index 3f1330bef3c7c..d465d4ca05354 100644 --- a/examples/with-changesets/packages/acme-core/package.json +++ b/examples/with-changesets/packages/acme-core/package.json @@ -21,10 +21,12 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "@acme/eslint-config": "workspace:*", - "react": "^18.2.0", "tsup": "^8.0.2", "typescript": "^5.3.3" }, + "dependencies": { + "react": "^18.2.0" + }, "publishConfig": { "access": "public" } diff --git a/examples/with-changesets/packages/acme-utils/package.json b/examples/with-changesets/packages/acme-utils/package.json index d642382db2c64..0a3ca2d7bb06f 100644 --- a/examples/with-changesets/packages/acme-utils/package.json +++ b/examples/with-changesets/packages/acme-utils/package.json @@ -21,10 +21,12 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "@acme/eslint-config": "workspace:*", - "react": "^18.2.0", "tsup": "^8.0.2", "typescript": "^5.3.3" }, + "dependencies": { + "react": "^18.2.0" + }, "publishConfig": { "access": "public" } diff --git a/examples/with-changesets/pnpm-lock.yaml b/examples/with-changesets/pnpm-lock.yaml index 1a774cd5654aa..0d331e1804ad6 100644 --- a/examples/with-changesets/pnpm-lock.yaml +++ b/examples/with-changesets/pnpm-lock.yaml @@ -65,6 +65,10 @@ importers: version: 5.3.3 packages/acme-core: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 devDependencies: '@acme/eslint-config': specifier: workspace:* @@ -81,9 +85,6 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - react: - specifier: ^18.2.0 - version: 18.2.0 tsup: specifier: ^8.0.2 version: 8.0.2(typescript@5.3.3) @@ -94,6 +95,10 @@ importers: packages/acme-tsconfig: {} packages/acme-utils: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 devDependencies: '@acme/eslint-config': specifier: workspace:* @@ -110,9 +115,6 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - react: - specifier: ^18.2.0 - version: 18.2.0 tsup: specifier: ^8.0.2 version: 8.0.2(typescript@5.3.3) @@ -4156,6 +4158,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: false /read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} diff --git a/examples/with-docker/packages/ui/package.json b/examples/with-docker/packages/ui/package.json index 6e3546b8371f8..656892bb5e021 100644 --- a/examples/with-docker/packages/ui/package.json +++ b/examples/with-docker/packages/ui/package.json @@ -12,8 +12,10 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "@repo/eslint-config": "*", - "react": "^18.2.0", "@repo/typescript-config": "*", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/with-gatsby/packages/ui/package.json b/examples/with-gatsby/packages/ui/package.json index 4d8f7dc961813..4a432bd58cc73 100644 --- a/examples/with-gatsby/packages/ui/package.json +++ b/examples/with-gatsby/packages/ui/package.json @@ -13,7 +13,9 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/with-gatsby/pnpm-lock.yaml b/examples/with-gatsby/pnpm-lock.yaml index db669177083ba..dc50e8a1297a6 100644 --- a/examples/with-gatsby/pnpm-lock.yaml +++ b/examples/with-gatsby/pnpm-lock.yaml @@ -125,6 +125,10 @@ importers: packages/typescript-config: {} packages/ui: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -141,9 +145,6 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - react: - specifier: ^18.2.0 - version: 18.2.0 typescript: specifier: ^5.3.3 version: 5.4.4 @@ -9923,6 +9924,7 @@ packages: /string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + requiresBuild: true dependencies: safe-buffer: 5.2.1 diff --git a/examples/with-npm/package-lock.json b/examples/with-npm/package-lock.json index 99b05c340aac0..47f0f8b06e236 100644 --- a/examples/with-npm/package-lock.json +++ b/examples/with-npm/package-lock.json @@ -8591,6 +8591,9 @@ "packages/ui": { "name": "@repo/ui", "version": "0.0.0", + "dependencies": { + "react": "^18.2.0" + }, "devDependencies": { "@repo/eslint-config": "*", "@repo/typescript-config": "*", @@ -8600,7 +8603,6 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" } } diff --git a/examples/with-npm/packages/ui/package.json b/examples/with-npm/packages/ui/package.json index cd61216f9c2ed..c93c6d97805c5 100644 --- a/examples/with-npm/packages/ui/package.json +++ b/examples/with-npm/packages/ui/package.json @@ -19,7 +19,9 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/with-rollup/packages/ui/package.json b/examples/with-rollup/packages/ui/package.json index dcc0c47b13202..48d50820c3af9 100644 --- a/examples/with-rollup/packages/ui/package.json +++ b/examples/with-rollup/packages/ui/package.json @@ -24,8 +24,10 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "rollup": "^4.12.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } } diff --git a/examples/with-rollup/pnpm-lock.yaml b/examples/with-rollup/pnpm-lock.yaml index 315947f53d220..608bb0d950df8 100644 --- a/examples/with-rollup/pnpm-lock.yaml +++ b/examples/with-rollup/pnpm-lock.yaml @@ -85,6 +85,10 @@ importers: packages/config-typescript: {} packages/ui: + dependencies: + react: + specifier: ^18.2.0 + version: 18.3.1 devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -104,9 +108,6 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - react: - specifier: ^18.2.0 - version: 18.3.1 rollup: specifier: ^4.12.0 version: 4.18.0 @@ -3276,6 +3277,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: false /read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} diff --git a/examples/with-tailwind/packages/ui/package.json b/examples/with-tailwind/packages/ui/package.json index 27ffe0c1a7e0d..205a9c54941ef 100644 --- a/examples/with-tailwind/packages/ui/package.json +++ b/examples/with-tailwind/packages/ui/package.json @@ -25,8 +25,7 @@ "@types/react": "^18.2.61", "autoprefixer": "^10.4.18", "postcss": "^8.4.35", - "react": "^18.2.0", "tailwindcss": "^3.4.1", "typescript": "^5.3.3" } -} \ No newline at end of file +} diff --git a/examples/with-tailwind/pnpm-lock.yaml b/examples/with-tailwind/pnpm-lock.yaml index b6bc8b259c3d4..b72964ace8a15 100644 --- a/examples/with-tailwind/pnpm-lock.yaml +++ b/examples/with-tailwind/pnpm-lock.yaml @@ -143,6 +143,10 @@ importers: packages/config-typescript: {} packages/ui: + dependencies: + react: + specifier: ^18.2.0 + version: 18.2.0 devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -162,9 +166,6 @@ importers: postcss: specifier: ^8.4.35 version: 8.4.35 - react: - specifier: ^18.2.0 - version: 18.2.0 tailwindcss: specifier: ^3.4.1 version: 3.4.1 @@ -3379,6 +3380,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: false /read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} diff --git a/examples/with-yarn/packages/ui/package.json b/examples/with-yarn/packages/ui/package.json index 69e2940df458b..4ecb4b6a89190 100644 --- a/examples/with-yarn/packages/ui/package.json +++ b/examples/with-yarn/packages/ui/package.json @@ -19,7 +19,9 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", - "react": "^18.2.0", "typescript": "^5.3.3" + }, + "dependencies": { + "react": "^18.2.0" } }