feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform

This commit is contained in:
Evan You
2021-12-12 00:04:38 +08:00
parent f4dcbbc7b9
commit d70fd8d36b
14 changed files with 47 additions and 29 deletions

View File

@@ -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 })

View File

@@ -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",

View File

@@ -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'

View File

@@ -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'