-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow.yaml
More file actions
27 lines (25 loc) · 819 Bytes
/
workflow.yaml
File metadata and controls
27 lines (25 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# yaml-language-server: $schema=https://raw.githubusercontent.com/codemod/codemod/refs/heads/main/schemas/workflow.json
version: "1"
nodes:
- id: apply-transforms
name: Transform CSS-IN-JS to Flex Components
type: automatic
steps:
- name: "Convert styled flex divs to Flex components"
js-ast-grep:
js_file: scripts/codemod.ts
language: "tsx"
# Enable workspace-level semantic analysis for .references()
semantic_analysis: workspace
include:
- "**/*.ts"
- "**/*.tsx"
- "**/*.js"
- "**/*.jsx"
exclude:
- "**/node_modules/**"
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.spec.ts"
- "**/*.spec.tsx"
- "**/tests/**"