@datamitsu/datamitsu-darwin-arm64 0.0.3-alpha-5 → 0.0.3-alpha-7
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 +6 -4
- package/datamitsu +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ Tool arguments and paths in configurations support template placeholders that ar
|
|
|
105
105
|
| ------------- | --------------------------------------- | --------------------------- |
|
|
106
106
|
| `{cwd}` | Per-project working directory | `"{cwd}/src"` |
|
|
107
107
|
| `{root}` | Git repository root | `"{root}/.config"` |
|
|
108
|
-
| `{toolCache}` |
|
|
108
|
+
| `{toolCache}` | Per-project, per-tool cache directory | `"{toolCache}/tsbuildinfo"` |
|
|
109
109
|
| `{file}` | Single file path (per-file scope tools) | `"{file}"` |
|
|
110
110
|
| `{files}` | Space-separated file list | `"{files}"` |
|
|
111
111
|
|
|
@@ -134,9 +134,11 @@ tsc: {
|
|
|
134
134
|
|
|
135
135
|
This ensures that:
|
|
136
136
|
|
|
137
|
-
1. Tool caches are
|
|
138
|
-
2.
|
|
139
|
-
3.
|
|
137
|
+
1. Tool caches are isolated per project and per tool (`~/.cache/datamitsu/projects/{hash}/cache/{projectPath}/{toolName}/`)
|
|
138
|
+
2. In monorepos, each project gets its own cache namespace (e.g., `cache/packages/frontend/tsc/`, `cache/packages/backend/tsc/`)
|
|
139
|
+
3. Repository-scope tools use `cache/{toolName}/` (no project path component)
|
|
140
|
+
4. `cache clear` correctly cleans up tool caches alongside lint/fix results
|
|
141
|
+
5. Tool caches don't pollute `node_modules` or other project directories
|
|
140
142
|
|
|
141
143
|
### Facts API vs Templates
|
|
142
144
|
|
package/datamitsu
CHANGED
|
Binary file
|
package/package.json
CHANGED