@front-ops/domino 1.4.3 → 2.0.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 +2 -0
- package/index.d.ts +0 -3
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ domino is a drop-in replacement for the TypeScript version of [traf](https://git
|
|
|
20
20
|
- **Lockfile Change Detection**: Detects dependency version changes in npm, yarn, pnpm, and bun lockfiles and traces affected projects
|
|
21
21
|
- **Fast Oxc Parser**: 3-5x faster than TypeScript's compiler API
|
|
22
22
|
- **Workspace Support**: Works with Nx, Turborepo, and generic npm/yarn/pnpm/bun workspaces
|
|
23
|
+
- **Global Invalidation**: Honors Nx `namedInputs` workspace-root patterns (e.g. `sharedGlobals`) and Turborepo `globalDependencies` from `turbo.json` / `turbo.jsonc`, so a change to a shared root file marks every project affected
|
|
23
24
|
- **Module Resolution**: Uses oxc_resolver (same as Rolldown and Nova) for accurate module resolution
|
|
24
25
|
|
|
25
26
|
## Quick Start
|
|
@@ -160,6 +161,7 @@ domino affected --lockfile-strategy full
|
|
|
160
161
|
4. **Reference Finding**: Recursively finds all cross-file references to those symbols
|
|
161
162
|
5. **Lockfile Analysis**: Detects dependency version changes and traces affected imports
|
|
162
163
|
6. **Project Mapping**: Maps affected files to their owning projects
|
|
164
|
+
7. **Implicit Dependencies**: Expands Nx `implicitDependencies` against known project **names**, including glob patterns (`app-*`, `integration-*-module`) and `!` exclusions — same idea as Nx/minimatch, not path globs
|
|
163
165
|
|
|
164
166
|
## Performance
|
|
165
167
|
|
package/index.d.ts
CHANGED
|
@@ -15,10 +15,7 @@ export interface FindAffectedOptions {
|
|
|
15
15
|
base: string
|
|
16
16
|
/** Head commit to compare (defaults to working tree) */
|
|
17
17
|
head?: string
|
|
18
|
-
rootTsConfig?: string
|
|
19
18
|
projects: Array<NapiProject>
|
|
20
|
-
include?: Array<string>
|
|
21
|
-
ignoredPaths?: Array<string>
|
|
22
19
|
enableProfiling?: boolean
|
|
23
20
|
/** Lockfile change detection strategy: "none", "direct", "full" (default: "direct") */
|
|
24
21
|
lockfileStrategy?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@front-ops/domino",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "True Affected - Semantic change detection for monorepos",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -80,13 +80,13 @@
|
|
|
80
80
|
"typescript": "^5.9.2"
|
|
81
81
|
},
|
|
82
82
|
"optionalDependencies": {
|
|
83
|
-
"@front-ops/domino-win32-x64-msvc": "
|
|
84
|
-
"@front-ops/domino-darwin-x64": "
|
|
85
|
-
"@front-ops/domino-linux-x64-gnu": "
|
|
86
|
-
"@front-ops/domino-linux-x64-musl": "
|
|
87
|
-
"@front-ops/domino-darwin-arm64": "
|
|
88
|
-
"@front-ops/domino-linux-arm64-musl": "
|
|
89
|
-
"@front-ops/domino-linux-arm64-gnu": "
|
|
83
|
+
"@front-ops/domino-win32-x64-msvc": "2.0.0",
|
|
84
|
+
"@front-ops/domino-darwin-x64": "2.0.0",
|
|
85
|
+
"@front-ops/domino-linux-x64-gnu": "2.0.0",
|
|
86
|
+
"@front-ops/domino-linux-x64-musl": "2.0.0",
|
|
87
|
+
"@front-ops/domino-darwin-arm64": "2.0.0",
|
|
88
|
+
"@front-ops/domino-linux-arm64-musl": "2.0.0",
|
|
89
|
+
"@front-ops/domino-linux-arm64-gnu": "2.0.0"
|
|
90
90
|
},
|
|
91
91
|
"lint-staged": {
|
|
92
92
|
"*.@(js|ts|tsx)": [
|