This commit is contained in:
Max Peintner
2025-07-10 15:52:03 +02:00
parent b30823bf38
commit 1ec8c6adc4
3 changed files with 18 additions and 21 deletions

View File

@@ -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 <standalone-repo>
node scripts/prepare-standalone.js --install
# 3. Start developing
npm run dev
pnpm run dev
```
## 🔧 **Usage for Maintainers**

View File

@@ -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');

24
login/pnpm-lock.yaml generated
View File

@@ -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):