Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea7fe31

Browse files
committed
refactor: use cameCase for file names, and.spec. for test file names
1 parentb46f572 commitea7fe31

File tree

40 files changed

+49
-46
lines changed

40 files changed

+49
-46
lines changed
File renamed without changes.

‎bin/vue-codemod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as globby from 'globby'
1010
importcreateDebugfrom'debug'
1111

1212
importbuiltInTransformationsfrom'../transformations'
13-
importrunTransformationfrom'../src/run-transformation'
13+
importrunTransformationfrom'../src/runTransformation'
1414

1515
constdebug=createDebug('vue-codemod')
1616
constlog=console.log.bind(console)

‎index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
export{defaultasVueTransformation}from'./src/VueTransformation'
44

5-
export{defaultasrunTransformation}from'./src/run-transformation'
5+
export{defaultasrunTransformation}from'./src/runTransformation'
66

77
export{defaultastransformations}from'./transformations'

‎src/__tests__/run-transformation-test.tsrenamed to ‎src/__tests__/runTransformation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ts-nocheck
22
/* eslint-env jest */
33
importtype{Transform}from'jscodeshift'
4-
importrunTransformationfrom'../run-transformation'
4+
importrunTransformationfrom'../runTransformation'
55

66
constunreachableTransform:Transform=()=>{
77
thrownewError('This transform should never be invoked')
File renamed without changes.
File renamed without changes.

‎transformations/__tests__/define-component-test.tsrenamed to ‎transformations/__tests__/define-component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jest.autoMockOff()
33
import*asfsfrom'fs'
44
import*aspathfrom'path'
55
import{defineInlineTest}from'jscodeshift/src/testUtils'
6-
importrunTransformationfrom'../../src/run-transformation'
6+
importrunTransformationfrom'../../src/runTransformation'
77

88
consttransform=require('../define-component')
99

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp