Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:10 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
// @ts-check
// Runs the JSDoc placement codemod used before snapshot and release builds.
// The transformer keeps exported API docs attached to nested signature/type
// nodes that can otherwise lose their leading comments during doc generation.
import * as Glob from "glob"
import * as Jscodeshift from "jscodeshift/src/Runner.js"
import * as Path from "node:path"
// Look up files in all workspace packages including those nested in
// sub-packages (e.g. `packages/ai/openapi`).
const pattern = "packages/{*,*/*}/src/**/*.ts"
const paths = Glob.globSync(pattern, {
ignore: ["**/internal/**"]
}).map((path) => Path.resolve(path))
const transformer = Path.resolve("scripts/codemods/jsdoc.ts")
Jscodeshift.run(transformer, paths, {
babel: true,
parser: "ts"
})