Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/deslop-engine-in-core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"deslop-js": patch
---

Restructure internally: the deslop analysis engine now lives in `@react-doctor/core` (under `src/deslop`, exposed via the `@react-doctor/core/deslop` subpath) and `deslop-js` is a thin facade that re-exports it. `vp pack` still bundles the engine into this package's `dist` (CJS + ESM) alongside the sibling `parse-worker.mjs`, so the published tarball stays self-contained and runtime-dependency-free beyond the existing `oxc-parser`/`oxc-resolver`/`fast-glob`/`minimatch` externals. The public API (`analyze`, `defineConfig`, `isOxcAstNode`, and every exported type) is unchanged.
5 changes: 5 additions & 0 deletions .changeset/deslop-export-oxc-ast-node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"deslop-js": patch
---

Expose the `isOxcAstNode` type guard and its `OxcAstNode` interface from the package entry. These were already internal utilities; publishing them lets consumers walk oxc ASTs without re-declaring the same guard. No runtime behavior changes.
5 changes: 5 additions & 0 deletions .changeset/scramble-diagnostic-snippets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-doctor": patch
---

Ship anonymized diagnostic snippets to telemetry. When Sentry tracing is enabled, each scan now emits a small, deduplicated, capped sample of the structural shapes that rules fire on — identifiers and literals are blinded, only the AST structure is preserved — as child spans of the run trace. No real source, names, paths, or literals leave the machine, and the pass is a no-op when telemetry is off.
1 change: 1 addition & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"dependencies": {
"@react-doctor/core": "workspace:*",
"deslop-js": "workspace:*",
"effect": "4.0.0-beta.70"
},
"devDependencies": {
Expand Down
14 changes: 12 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"./schemas": {
"types": "./dist/schemas.d.ts",
"default": "./dist/schemas.js"
},
"./deslop": {
"types": "./dist/deslop.d.ts",
"default": "./dist/deslop.js"
}
},
"scripts": {
Expand All @@ -23,11 +27,15 @@
},
"dependencies": {
"@effect/platform-node-shared": "4.0.0-beta.70",
"@oxc-project/types": "^0.132.0",
"confbox": "^0.2.4",
"deslop-js": "workspace:*",
"effect": "4.0.0-beta.70",
"eslint-plugin-react-hooks": "^7.1.1",
"fast-glob": "^3.3.3",
"jiti": "^2.7.0",
"minimatch": "^10.2.5",
"oxc-parser": "^0.132.0",
"oxc-resolver": "^11.19.1",
"oxlint": ">=1.66.0 <1.67.0",
"oxlint-plugin-react-doctor": "workspace:*",
"picomatch": "^4.0.4",
Expand All @@ -36,9 +44,11 @@
},
"devDependencies": {
"@effect/vitest": "4.0.0-beta.70",
"@types/minimatch": "^5.1.2",
"@types/node": "^25.6.0",
"@types/picomatch": "^4.0.3",
"@types/semver": "^7.7.1"
Comment thread
aidenybai marked this conversation as resolved.
"@types/semver": "^7.7.1",
"tsx": "^4.21.0"
},
"engines": {
"node": "^20.19.0 || >=22.13.0"
Expand Down
File renamed without changes.
Loading
Loading