creght-cli 0.6.0 → 0.7.0

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/README.md CHANGED
@@ -158,6 +158,28 @@ paths starting with `/` are always workspace-root paths. When the discovered
158
158
  workspace root differs from the current directory, commands print
159
159
  `workspace: <root>` before doing anything.
160
160
 
161
+ ### Ignoring workspace files
162
+
163
+ Add a `.creghtignore` file at the workspace root to exclude local and remote
164
+ paths from `pull`, `diff`, and `push`. Ignored remote files are left untouched,
165
+ including when using `push --delete` or `push --force`. The `.creghtignore`
166
+ file itself is always local and is never synced.
167
+
168
+ The syntax follows common gitignore conventions: blank lines, `#` comments,
169
+ `!` negation, root-relative patterns, directory patterns, and `*`, `?`, and
170
+ `**` wildcards. For example:
171
+
172
+ ```gitignore
173
+ # Ignore generated files
174
+ generated/*
175
+
176
+ # Keep one generated file in sync
177
+ !generated/keep.ts
178
+
179
+ *.local.ts
180
+ /scratch/
181
+ ```
182
+
161
183
  ## Local Vite Preview
162
184
 
163
185
  Creght projects pulled by the CLI usually do not have their own `package.json`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creght-cli",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Creght CLI for syncing local site code with Creght.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/creght-dev/creght-cli#readme",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file