Skip to content

Commit

Permalink
refactor(bezier-codemod): separate utils directory and shared directory
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed Dec 21, 2023
1 parent 6bd2655 commit c7b54ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import {
getImportDeclaration,
hasNamedImport,
} from './import.js'
} from '../utils/import.js'

export const interpolationTransform = (sourceFile: SourceFile, fromToObj: Record<string, string>) => {
sourceFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from 'ts-morph'

import { removeUnusedNamedImport } from '../../utils/import.js'
import { interpolationTransform } from '../../utils/interpolation.js'
import { interpolationTransform } from '../../shared/interpolation.js'

const cssVariableByInterpolation = {
inputTextStyle: 'color: var(--txt-black-darkest);',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from 'ts-morph'

import { removeUnusedNamedImport } from '../../utils/import.js'
import { interpolationTransform } from '../../utils/interpolation.js'
import { interpolationTransform } from '../../shared/interpolation.js'

const WARNING_COMMENT = '/* NOTE: Do not use font-related css variables below separately, use Text component instead */'
const getFontSize = (num: number) => `font-size: var(--typography-size-${num}-font-size);`
Expand Down

0 comments on commit c7b54ff

Please sign in to comment.