Skip to content

Commit 90428a9

Browse files
committed
feat(generator): remove new component generation question
1 parent bf6d9cb commit 90428a9

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

generators/app/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,9 @@ module.exports = class extends Generator {
5353
message: 'Supported Node version?',
5454
default: 12,
5555
},
56-
{
57-
type: 'confirm',
58-
name: 'elementGenerateNewComponent',
59-
message: 'Do you want to generate a new component?',
60-
default: true,
61-
},
6256
];
6357

6458
const props = await this.prompt(prompts);
65-
if (props.elementGenerateNewComponent) {
66-
this.composeWith(require.resolve('generator-create-service-component'));
67-
}
6859

6960
this.props = {
7061
...props,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
],
2727
"dependencies": {
2828
"chalk": "^3.0.0",
29-
"generator-create-service-component": "*",
3029
"yeoman-generator": "^4.5.0",
3130
"yosay": "^2.0.2"
3231
},

yarn.lock

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,17 +1019,6 @@ fs.realpath@^1.0.0:
10191019
version "1.0.0"
10201020
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
10211021

1022-
generator-create-service-component@*:
1023-
version "1.1.0"
1024-
resolved "https://registry.yarnpkg.com/generator-create-service-component/-/generator-create-service-component-1.1.0.tgz#063de42043cdaed72ed98543c327c0072e255b99"
1025-
integrity sha512-cP4TXPk6WIKdsaJZ00M6DG+UqzkSpgzU/SLWe0AI7UarrWt+4xmelKrntFsfulJV3aP3OUhipbzTmAYTaSNI4w==
1026-
dependencies:
1027-
chalk "^3.0.0"
1028-
change-case "^4.1.1"
1029-
pluralize "^8.0.0"
1030-
yeoman-generator "^4.5.0"
1031-
yosay "^2.0.2"
1032-
10331022
get-caller-file@^2.0.1:
10341023
version "2.0.5"
10351024
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
@@ -2156,11 +2145,6 @@ please-upgrade-node@^3.2.0:
21562145
dependencies:
21572146
semver-compare "^1.0.0"
21582147

2159-
pluralize@^8.0.0:
2160-
version "8.0.0"
2161-
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1"
2162-
integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==
2163-
21642148
posix-character-classes@^0.1.0:
21652149
version "0.1.1"
21662150
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"

0 commit comments

Comments
 (0)