@webhikers/cli 1.1.23 → 1.1.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhikers/cli",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "CLI for creating and deploying webhikers projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -191,14 +191,6 @@ export async function createCommand(name) {
191
191
  const guard = JSON.parse(readFileSync(guardPath, "utf-8"));
192
192
  guard.fileGuard = true;
193
193
  guard.syncGuard = true;
194
-
195
- // Lock template packages — read from package.json at project creation time
196
- const pkg = JSON.parse(readFileSync(resolve(projectDir, "package.json"), "utf-8"));
197
- guard.protectedPackages = [
198
- ...Object.keys(pkg.dependencies || {}),
199
- ...Object.keys(pkg.devDependencies || {}),
200
- ];
201
-
202
194
  writeFileSync(guardPath, JSON.stringify(guard, null, 2) + "\n", "utf-8");
203
195
  run(`git add .deploy.json .claude-guard.json && git commit -m "Enable guards + deploy config" && git push`, { cwd: projectDir });
204
196
  console.log(c.green(" ✓ .deploy.json + guards written"));