@webhikers/cli 1.1.19 → 1.1.20

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.19",
3
+ "version": "1.1.20",
4
4
  "description": "CLI for creating and deploying webhikers projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -188,12 +188,12 @@ export async function createCommand(name) {
188
188
  "utf-8"
189
189
  );
190
190
  writeFileSync(
191
- resolve(projectDir, ".sync-guard.json"),
192
- JSON.stringify({ enabled: true, lastPull: null }, null, 2) + "\n",
191
+ resolve(projectDir, ".claude-guard.json"),
192
+ JSON.stringify({ fileGuard: true, syncGuard: true, lastPull: null, allowedPaths: ["src/", "seed.ts"] }, null, 2) + "\n",
193
193
  "utf-8"
194
194
  );
195
- run(`git add .deploy.json .sync-guard.json && git commit -m "Enable sync guard + deploy config" && git push`, { cwd: projectDir });
196
- console.log(c.green(" ✓ .deploy.json + sync guard written"));
195
+ run(`git add .deploy.json .claude-guard.json && git commit -m "Enable guards + deploy config" && git push`, { cwd: projectDir });
196
+ console.log(c.green(" ✓ .deploy.json + guards written"));
197
197
 
198
198
  // --- 8. Summary ---
199
199
  console.log("\n" + c.green("═══════════════════════════════════════════"));