mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
feat: implement a migrator that updates the project's ts version
This commit is contained in:
7
packages/@vue/cli-plugin-typescript/migrator/index.js
Normal file
7
packages/@vue/cli-plugin-typescript/migrator/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = (api) => {
|
||||
api.extendPackage({
|
||||
devDependencies: {
|
||||
typescript: require('../package.json').devDependencies.typescript
|
||||
}
|
||||
}, true)
|
||||
}
|
||||
Reference in New Issue
Block a user