agent-stage 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/dev/init.js +3 -19
- package/package.json +1 -1
- package/template/package.json +6 -6
|
@@ -209,23 +209,7 @@ async function configurePackageJson(targetDir) {
|
|
|
209
209
|
await writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
210
210
|
}
|
|
211
211
|
async function installDependencies(targetDir) {
|
|
212
|
-
//
|
|
213
|
-
//
|
|
214
|
-
|
|
215
|
-
const localBridgePath = resolve(join(dirname(currentFilePath), '..', '..', '..', '..', 'bridge'));
|
|
216
|
-
const isDev = existsSync(localBridgePath);
|
|
217
|
-
if (isDev) {
|
|
218
|
-
// In development mode (monorepo), use pnpm
|
|
219
|
-
try {
|
|
220
|
-
await execa('pnpm', ['install'], { cwd: targetDir, stdio: 'pipe' });
|
|
221
|
-
}
|
|
222
|
-
catch {
|
|
223
|
-
// Fallback to npm if pnpm is not available
|
|
224
|
-
await execa('npm', ['install'], { cwd: targetDir, stdio: 'pipe' });
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
// In production, use npm
|
|
229
|
-
await execa('npm', ['install'], { cwd: targetDir, stdio: 'pipe' });
|
|
230
|
-
}
|
|
212
|
+
// Use npm with --legacy-peer-deps to resolve peer dependency conflicts
|
|
213
|
+
// This is needed because @json-render packages have strict peer deps
|
|
214
|
+
await execa('npm', ['install', '--legacy-peer-deps'], { cwd: targetDir, stdio: 'pipe' });
|
|
231
215
|
}
|
package/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"class-variance-authority": "^0.7.0",
|
|
19
19
|
"clsx": "^2.1.0",
|
|
20
20
|
"lucide-react": "^0.564.0",
|
|
21
|
-
"react": "^
|
|
22
|
-
"react-dom": "^
|
|
21
|
+
"react": "^19.0.0",
|
|
22
|
+
"react-dom": "^19.0.0",
|
|
23
23
|
"tailwind-merge": "^2.2.0",
|
|
24
24
|
"tailwindcss-animate": "^1.0.7",
|
|
25
25
|
"zod": "^3.23.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"@radix-ui/react-slot": "^1.0.2",
|
|
30
30
|
"@tanstack/router-generator": "^1.114.3",
|
|
31
31
|
"@tanstack/router-plugin": "^1.114.3",
|
|
32
|
-
"@types/react": "^
|
|
33
|
-
"@types/react-dom": "^
|
|
32
|
+
"@types/react": "^19.0.0",
|
|
33
|
+
"@types/react-dom": "^19.0.0",
|
|
34
34
|
"@vitejs/plugin-react": "^4.2.1",
|
|
35
35
|
"autoprefixer": "^10.4.17",
|
|
36
|
-
"postcss": "^8.
|
|
37
|
-
"tailwindcss": "^
|
|
36
|
+
"postcss": "^8.5.0",
|
|
37
|
+
"tailwindcss": "^4.0.0",
|
|
38
38
|
"typescript": "^5.2.2",
|
|
39
39
|
"vite": "^5.4.21"
|
|
40
40
|
}
|