Files
upstream-mirror 083a46e93b
Some checks failed
Verify / Install node dependencies (push) Failing after 2s
Verify / Build packages (push) Has been skipped
Verify / Check linting & formatting (push) Has been skipped
Verify / Run unit tests (push) Has been skipped
Verify / Run e2e tests (shard 1/4) (push) Has been skipped
Verify / Run e2e tests (shard 2/4) (push) Has been skipped
Verify / Run e2e tests (shard 3/4) (push) Has been skipped
Verify / Run e2e tests (shard 4/4) (push) Has been skipped
Publish / Resolve publish config (push) Failing after 2s
Publish / Send notification to Slack (push) Has been skipped
Publish / Send failure notification to Slack (push) Failing after 8s
Verify / Merge e2e reports (push) Has been skipped
Publish / Build (push) Has been skipped
Publish / Bump Versions OR Release to Registry (push) Has been skipped
snapshot of https://github.com/ueberdosis/tiptap.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 21:11:02 +05:00

52 lines
1.6 KiB
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/codemod/codemod/refs/heads/main/schemas/workflow.json
version: '1'
params:
schema:
vue_target_path:
name: Vue target path
description: Directory containing Vue SFC files
type: string
default: '.'
nodes:
- id: migrate-package-specifiers
name: Migrate Vue package specifiers
type: automatic
steps:
- name: Migrate JavaScript imports
js-ast-grep:
js_file: scripts/vue-package-renames.ts
base_path: '.'
language: 'javascript'
include: ['**/*.{js,mjs,cjs}']
exclude: ['**/node_modules/**', '**/dist/**', '**/build/**']
- name: Migrate TypeScript imports
js-ast-grep:
js_file: scripts/vue-package-renames.ts
base_path: '.'
language: 'typescript'
include: ['**/*.{ts,mts,cts}']
exclude: ['**/node_modules/**', '**/dist/**', '**/build/**']
- name: Migrate TSX imports
js-ast-grep:
js_file: scripts/vue-package-renames.ts
base_path: '.'
language: 'tsx'
include: ['**/*.{tsx,jsx}']
exclude: ['**/node_modules/**', '**/dist/**', '**/build/**']
- name: Migrate package manifests
js-ast-grep:
js_file: scripts/vue-package-renames.ts
base_path: '.'
language: 'json'
include: ['**/package.json']
exclude: ['**/node_modules/**']
- name: Migrate Vue SFC imports
run: node scripts/vue-sfc-imports.mjs "${{ params.vue_target_path }}"