From 1ec8c6adc410d5cb0b8046bb51e02feb1a4cb24b Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Thu, 10 Jul 2025 15:52:03 +0200 Subject: [PATCH] use pnpm --- login/apps/login/scripts/README.md | 4 ++-- .../apps/login/scripts/prepare-standalone.js | 11 ++++----- login/pnpm-lock.yaml | 24 +++++++++---------- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/login/apps/login/scripts/README.md b/login/apps/login/scripts/README.md index 774a09872a..52e8007e90 100644 --- a/login/apps/login/scripts/README.md +++ b/login/apps/login/scripts/README.md @@ -30,7 +30,7 @@ node scripts/prepare-standalone.js [--install] - Copies `package.standalone.json` → `package.json` - Confirms all configurations are unified and ready for standalone use -- Optionally runs `npm install` +- Optionally runs `pnpm install` ## šŸš€ **Simplified Approach** @@ -51,7 +51,7 @@ git clone node scripts/prepare-standalone.js --install # 3. Start developing -npm run dev +pnpm run dev ``` ## šŸ”§ **Usage for Maintainers** diff --git a/login/apps/login/scripts/prepare-standalone.js b/login/apps/login/scripts/prepare-standalone.js index f827151afe..427219cdd8 100644 --- a/login/apps/login/scripts/prepare-standalone.js +++ b/login/apps/login/scripts/prepare-standalone.js @@ -39,24 +39,21 @@ async function prepareStandalone() { if (shouldInstall) { console.log('\nšŸ“„ Installing dependencies...'); try { - execSync('npm install', { stdio: 'inherit' }); + execSync('pnpm install', { stdio: 'inherit' }); console.log(' āœ… Dependencies installed successfully'); } catch (error) { - console.warn(' āš ļø npm install failed, you may need to run it manually'); + console.warn(' āš ļø pnpm install failed, you may need to run it manually'); } } console.log('\nšŸŽ‰ Standalone preparation complete!'); console.log('\nšŸ“‹ Next steps:'); if (!shouldInstall) { - console.log(' 1. Run: npm install'); + console.log(' 1. Run: pnpm install'); } - console.log(' 2. Run: npm run dev'); + console.log(' 2. Run: pnpm run dev'); console.log(' 3. Start developing!\n'); - console.log('ā„¹ļø Note: ESLint, Prettier, and Tailwind configs are now unified'); - console.log(' - No separate standalone config files needed!'); - } catch (error) { console.error('\nāŒ Failed to prepare standalone version:', error.message); console.error('Please check the error above and try again.\n'); diff --git a/login/pnpm-lock.yaml b/login/pnpm-lock.yaml index 78e78c7230..3cc3af0374 100644 --- a/login/pnpm-lock.yaml +++ b/login/pnpm-lock.yaml @@ -197,7 +197,7 @@ importers: version: 3.4.14 ts-proto: specifier: ^2.7.0 - version: 2.7.0 + version: 2.7.5 typescript: specifier: ^5.8.3 version: 5.8.3 @@ -3466,8 +3466,8 @@ packages: enquirer: optional: true - listr2@8.3.2: - resolution: {integrity: sha512-vsBzcU4oE+v0lj4FhVLzr9dBTv4/fHIa57l+GCwovP8MoFNZJTOhGU8PXd4v2VJCbECAaijBiHntiekFMLvo0g==} + listr2@8.3.3: + resolution: {integrity: sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==} engines: {node: '>=18.0.0'} load-tsconfig@0.2.5: @@ -4718,14 +4718,14 @@ packages: ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - ts-poet@6.11.0: - resolution: {integrity: sha512-r5AGF8vvb+GjBsnqiTqbLhN1/U2FJt6BI+k0dfCrkKzWvUhNlwMmq9nDHuucHs45LomgHjZPvYj96dD3JawjJA==} + ts-poet@6.12.0: + resolution: {integrity: sha512-xo+iRNMWqyvXpFTaOAvLPA5QAWO6TZrSUs5s4Odaya3epqofBu/fMLHEWl8jPmjhA0s9sgj9sNvF1BmaQlmQkA==} ts-proto-descriptors@2.0.0: resolution: {integrity: sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==} - ts-proto@2.7.0: - resolution: {integrity: sha512-BGHjse2wTOeswOqnnPKinpxmbaRd882so/e1En6ww59YMG7AO9Kg4vPpJcbVfrpBixPRDqHafXD/RDyd2T99GA==} + ts-proto@2.7.5: + resolution: {integrity: sha512-FoRxSaNW+P3m+GiXIZjUjhaHXT67Ah4zMGKzn4yklbGRQTS+PqpUhKo5AJnwfUDUByjEUG7ch36byFUYWRH9Nw==} hasBin: true tsconfck@3.1.5: @@ -8704,7 +8704,7 @@ snapshots: debug: 4.4.0(supports-color@5.5.0) execa: 8.0.1 lilconfig: 3.1.3 - listr2: 8.3.2 + listr2: 8.3.3 micromatch: 4.0.8 pidtree: 0.6.0 string-argv: 0.3.2 @@ -8725,7 +8725,7 @@ snapshots: optionalDependencies: enquirer: 2.4.1 - listr2@8.3.2: + listr2@8.3.3: dependencies: cli-truncate: 4.0.0 colorette: 2.0.20 @@ -9972,7 +9972,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-poet@6.11.0: + ts-poet@6.12.0: dependencies: dprint-node: 1.0.8 @@ -9980,11 +9980,11 @@ snapshots: dependencies: '@bufbuild/protobuf': 2.2.5 - ts-proto@2.7.0: + ts-proto@2.7.5: dependencies: '@bufbuild/protobuf': 2.2.5 case-anything: 2.1.13 - ts-poet: 6.11.0 + ts-poet: 6.12.0 ts-proto-descriptors: 2.0.0 tsconfck@3.1.5(typescript@5.8.3):