@andrestobelem/clone 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +18 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Run a local issue and project workspace without installing Python.
4
4
 
5
- Website: <https://clone-andrestobelem-prod.web.app>
5
+ Website: <https://clone.andrestobelem.dev>
6
6
 
7
7
  ```sh
8
8
  npx @andrestobelem/clone
@@ -22,7 +22,23 @@ npx @andrestobelem/clone --help
22
22
 
23
23
  Use `--no-open` with `start` to keep the browser closed. Set `CLONE_DATA_DIR` to select another data directory.
24
24
 
25
- `--local` stores the workspace in `.clone/` in the current directory. Add `.clone/` to the repository's `.gitignore` unless you have a specific backup workflow. `--data-dir PATH` selects an explicit directory.
25
+ ## Use one workspace per repository
26
+
27
+ Open a terminal in the repository that the workspace belongs to. Then run:
28
+
29
+ ```sh
30
+ npx @andrestobelem/clone --local
31
+ ```
32
+
33
+ With `--local`, the current directory determines where Clone stores data. Clone creates `.clone/` there and stores `workspace.sqlite3`, snapshots, attachments, and backups inside it. Running the same command from another repository creates a separate workspace.
34
+
35
+ Add the directory to that repository's `.gitignore` unless you have a specific backup workflow:
36
+
37
+ ```gitignore
38
+ .clone/
39
+ ```
40
+
41
+ Always run the command from the same repository to reopen that workspace. `--local` does not copy or move records from the operating system's user data directory. `--data-dir PATH` selects an explicit directory.
26
42
 
27
43
  ## Data locations
28
44
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@andrestobelem/clone",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Run the Clone issue and project workspace locally.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/andrestobelem/clone.git"
9
9
  },
10
- "homepage": "https://clone-andrestobelem-prod.web.app",
10
+ "homepage": "https://clone.andrestobelem.dev",
11
11
  "bugs": "https://github.com/andrestobelem/clone/issues",
12
12
  "type": "commonjs",
13
13
  "bin": {