mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
use pnpm
This commit is contained in:
@@ -30,7 +30,7 @@ node scripts/prepare-standalone.js [--install]
|
|||||||
|
|
||||||
- Copies `package.standalone.json` → `package.json`
|
- Copies `package.standalone.json` → `package.json`
|
||||||
- Confirms all configurations are unified and ready for standalone use
|
- Confirms all configurations are unified and ready for standalone use
|
||||||
- Optionally runs `npm install`
|
- Optionally runs `pnpm install`
|
||||||
|
|
||||||
## 🚀 **Simplified Approach**
|
## 🚀 **Simplified Approach**
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ git clone <standalone-repo>
|
|||||||
node scripts/prepare-standalone.js --install
|
node scripts/prepare-standalone.js --install
|
||||||
|
|
||||||
# 3. Start developing
|
# 3. Start developing
|
||||||
npm run dev
|
pnpm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔧 **Usage for Maintainers**
|
## 🔧 **Usage for Maintainers**
|
||||||
|
@@ -39,24 +39,21 @@ async function prepareStandalone() {
|
|||||||
if (shouldInstall) {
|
if (shouldInstall) {
|
||||||
console.log('\n📥 Installing dependencies...');
|
console.log('\n📥 Installing dependencies...');
|
||||||
try {
|
try {
|
||||||
execSync('npm install', { stdio: 'inherit' });
|
execSync('pnpm install', { stdio: 'inherit' });
|
||||||
console.log(' ✅ Dependencies installed successfully');
|
console.log(' ✅ Dependencies installed successfully');
|
||||||
} catch (error) {
|
} 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🎉 Standalone preparation complete!');
|
||||||
console.log('\n📋 Next steps:');
|
console.log('\n📋 Next steps:');
|
||||||
if (!shouldInstall) {
|
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(' 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) {
|
} catch (error) {
|
||||||
console.error('\n❌ Failed to prepare standalone version:', error.message);
|
console.error('\n❌ Failed to prepare standalone version:', error.message);
|
||||||
console.error('Please check the error above and try again.\n');
|
console.error('Please check the error above and try again.\n');
|
||||||
|
24
login/pnpm-lock.yaml
generated
24
login/pnpm-lock.yaml
generated
@@ -197,7 +197,7 @@ importers:
|
|||||||
version: 3.4.14
|
version: 3.4.14
|
||||||
ts-proto:
|
ts-proto:
|
||||||
specifier: ^2.7.0
|
specifier: ^2.7.0
|
||||||
version: 2.7.0
|
version: 2.7.5
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5.8.3
|
specifier: ^5.8.3
|
||||||
version: 5.8.3
|
version: 5.8.3
|
||||||
@@ -3466,8 +3466,8 @@ packages:
|
|||||||
enquirer:
|
enquirer:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
listr2@8.3.2:
|
listr2@8.3.3:
|
||||||
resolution: {integrity: sha512-vsBzcU4oE+v0lj4FhVLzr9dBTv4/fHIa57l+GCwovP8MoFNZJTOhGU8PXd4v2VJCbECAaijBiHntiekFMLvo0g==}
|
resolution: {integrity: sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
load-tsconfig@0.2.5:
|
load-tsconfig@0.2.5:
|
||||||
@@ -4718,14 +4718,14 @@ packages:
|
|||||||
ts-interface-checker@0.1.13:
|
ts-interface-checker@0.1.13:
|
||||||
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
||||||
|
|
||||||
ts-poet@6.11.0:
|
ts-poet@6.12.0:
|
||||||
resolution: {integrity: sha512-r5AGF8vvb+GjBsnqiTqbLhN1/U2FJt6BI+k0dfCrkKzWvUhNlwMmq9nDHuucHs45LomgHjZPvYj96dD3JawjJA==}
|
resolution: {integrity: sha512-xo+iRNMWqyvXpFTaOAvLPA5QAWO6TZrSUs5s4Odaya3epqofBu/fMLHEWl8jPmjhA0s9sgj9sNvF1BmaQlmQkA==}
|
||||||
|
|
||||||
ts-proto-descriptors@2.0.0:
|
ts-proto-descriptors@2.0.0:
|
||||||
resolution: {integrity: sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==}
|
resolution: {integrity: sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==}
|
||||||
|
|
||||||
ts-proto@2.7.0:
|
ts-proto@2.7.5:
|
||||||
resolution: {integrity: sha512-BGHjse2wTOeswOqnnPKinpxmbaRd882so/e1En6ww59YMG7AO9Kg4vPpJcbVfrpBixPRDqHafXD/RDyd2T99GA==}
|
resolution: {integrity: sha512-FoRxSaNW+P3m+GiXIZjUjhaHXT67Ah4zMGKzn4yklbGRQTS+PqpUhKo5AJnwfUDUByjEUG7ch36byFUYWRH9Nw==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
tsconfck@3.1.5:
|
tsconfck@3.1.5:
|
||||||
@@ -8704,7 +8704,7 @@ snapshots:
|
|||||||
debug: 4.4.0(supports-color@5.5.0)
|
debug: 4.4.0(supports-color@5.5.0)
|
||||||
execa: 8.0.1
|
execa: 8.0.1
|
||||||
lilconfig: 3.1.3
|
lilconfig: 3.1.3
|
||||||
listr2: 8.3.2
|
listr2: 8.3.3
|
||||||
micromatch: 4.0.8
|
micromatch: 4.0.8
|
||||||
pidtree: 0.6.0
|
pidtree: 0.6.0
|
||||||
string-argv: 0.3.2
|
string-argv: 0.3.2
|
||||||
@@ -8725,7 +8725,7 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
enquirer: 2.4.1
|
enquirer: 2.4.1
|
||||||
|
|
||||||
listr2@8.3.2:
|
listr2@8.3.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
cli-truncate: 4.0.0
|
cli-truncate: 4.0.0
|
||||||
colorette: 2.0.20
|
colorette: 2.0.20
|
||||||
@@ -9972,7 +9972,7 @@ snapshots:
|
|||||||
|
|
||||||
ts-interface-checker@0.1.13: {}
|
ts-interface-checker@0.1.13: {}
|
||||||
|
|
||||||
ts-poet@6.11.0:
|
ts-poet@6.12.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
dprint-node: 1.0.8
|
dprint-node: 1.0.8
|
||||||
|
|
||||||
@@ -9980,11 +9980,11 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@bufbuild/protobuf': 2.2.5
|
'@bufbuild/protobuf': 2.2.5
|
||||||
|
|
||||||
ts-proto@2.7.0:
|
ts-proto@2.7.5:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@bufbuild/protobuf': 2.2.5
|
'@bufbuild/protobuf': 2.2.5
|
||||||
case-anything: 2.1.13
|
case-anything: 2.1.13
|
||||||
ts-poet: 6.11.0
|
ts-poet: 6.12.0
|
||||||
ts-proto-descriptors: 2.0.0
|
ts-proto-descriptors: 2.0.0
|
||||||
|
|
||||||
tsconfck@3.1.5(typescript@5.8.3):
|
tsconfck@3.1.5(typescript@5.8.3):
|
||||||
|
Reference in New Issue
Block a user