feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform
This commit is contained in:
@@ -2,7 +2,7 @@ import { BindingTypes } from '@vue/compiler-core'
|
||||
import { compileSFCScript as compile, assertCode } from './utils'
|
||||
|
||||
// this file only tests integration with SFC - main test case for the ref
|
||||
// transform can be found in <root>/packages/ref-transform/__tests__
|
||||
// transform can be found in <root>/packages/reactivity-transform/__tests__
|
||||
describe('sfc ref transform', () => {
|
||||
function compileWithRefTransform(src: string) {
|
||||
return compile(src, { refTransform: true })
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"@vue/compiler-core": "3.2.24",
|
||||
"@vue/compiler-dom": "3.2.24",
|
||||
"@vue/compiler-ssr": "3.2.24",
|
||||
"@vue/ref-transform": "3.2.24",
|
||||
"@vue/reactivity-transform": "3.2.24",
|
||||
"@vue/shared": "3.2.24",
|
||||
"estree-walker": "^2.0.2",
|
||||
"magic-string": "^0.25.7",
|
||||
|
||||
@@ -51,7 +51,7 @@ import { createCache } from './cache'
|
||||
import {
|
||||
shouldTransform as shouldTransformRef,
|
||||
transformAST as transformRefAST
|
||||
} from '@vue/ref-transform'
|
||||
} from '@vue/reactivity-transform'
|
||||
|
||||
// Special compiler macros
|
||||
const DEFINE_PROPS = 'defineProps'
|
||||
|
||||
@@ -8,7 +8,7 @@ export {
|
||||
shouldTransform as shouldTransformRef,
|
||||
transform as transformRef,
|
||||
transformAST as transformRefAST
|
||||
} from '@vue/ref-transform'
|
||||
} from '@vue/reactivity-transform'
|
||||
|
||||
// Utilities
|
||||
export { parse as babelParse } from '@babel/parser'
|
||||
|
||||
Reference in New Issue
Block a user