We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb58c5f commit cb5f117Copy full SHA for cb5f117
packages/@vue/cli-plugin-typescript/prompts.js
@@ -1,7 +1,7 @@
1
// these prompts are used if the plugin is late-installed into an existing
2
// project and invoked by `vue invoke`.
3
4
-const prompts = module.exports = [
+module.exports = [
5
{
6
name: `classComponent`,
7
type: `confirm`,
@@ -32,11 +32,3 @@ const prompts = module.exports = [
32
default: true
33
}
34
]
35
-
36
-// in RC6+ the export can be function, but that would break invoke for RC5 and
37
-// below, so this is a temporary compatibility hack until we release stable.
38
-// TODO just export the function in 3.0.0
39
-module.exports.getPrompts = pkg => {
40
- prompts[2].when = () => !('@vue/cli-plugin-eslint' in (pkg.devDependencies || {}))
41
- return prompts
42
-}
0 commit comments