Skip to content

Commit 8dde660

Browse files
committed
refactor(questions): rename from inquirer.ts to questions.ts
1 parent b9b5526 commit 8dde660

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"prettier": "2.5.1",
9898
"rimraf": "^3.0.2",
9999
"ts-node": "^9.1.1",
100-
"typescript": "^4.2.3"
100+
"typescript": "4.5.4"
101101
},
102102
"packageManager": "[email protected]"
103103
}

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { cli } from "cli-ux";
33
import { checkPackageJson } from "./checker";
44
import { FormatterFactory } from "./formatters/FormatterFactory";
55
import { GeneratorFactory } from "./generators/GeneratorFactory";
6-
import { collectAnswers } from "./inquirer";
76
import { PackagerFactory } from "./packagers/PackagerFactory";
7+
import { collectAnswers } from "./questions";
88

99
class CreateJavascriptProject extends Command {
1010
static description = `Keep you away from boring procedures for new JavaScript/TypeScript project.1
@@ -15,7 +15,7 @@ class CreateJavascriptProject extends Command {
1515
4. Add accordingly scripts to "package.json" (optional)
1616
1717
Note: technically, this tool is used for existing project.
18-
It must be run in a project directory with "package.json" file.
18+
It must be run in a project directory with a "package.json" file.
1919
`;
2020

2121
static flags = {
File renamed without changes.

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"strict": true,
88
"declaration": true,
99
"importHelpers": true,
10+
"esModuleInterop": true,
1011
"forceConsistentCasingInFileNames": true
1112
},
1213
"include": ["src/**/*"]

yarn.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ __metadata:
798798
rimraf: ^3.0.2
799799
ts-node: ^9.1.1
800800
tslib: ^2.1.0
801-
typescript: ^4.2.3
801+
typescript: 4.5.4
802802
bin:
803803
create-javascript-project: ./bin/run
804804
languageName: unknown
@@ -3044,23 +3044,23 @@ __metadata:
30443044
languageName: node
30453045
linkType: hard
30463046

3047-
"typescript@npm:^4.2.3":
3048-
version: 4.2.3
3049-
resolution: "typescript@npm:4.2.3"
3047+
"typescript@npm:4.5.4":
3048+
version: 4.5.4
3049+
resolution: "typescript@npm:4.5.4"
30503050
bin:
30513051
tsc: bin/tsc
30523052
tsserver: bin/tsserver
3053-
checksum: b4a2020c021211184ac15caf59936b2089c13e79685f340a31aaa839c9de2f73b44a5e3757292de6cdad2ed967aef80d4592161b814cc29c0570f261850c4bca
3053+
checksum: 59f3243f9cd6fe3161e6150ff6bf795fc843b4234a655dbd938a310515e0d61afd1ac942799e7415e4334255e41c2c49b7dd5d9fd38a17acd25a6779ca7e0961
30543054
languageName: node
30553055
linkType: hard
30563056

3057-
"typescript@patch:typescript@^4.2.3#~builtin<compat/typescript>":
3058-
version: 4.2.3
3059-
resolution: "typescript@patch:typescript@npm%3A4.2.3#~builtin<compat/typescript>::version=4.2.3&hash=493e53"
3057+
"typescript@patch:typescript@4.5.4#~builtin<compat/typescript>":
3058+
version: 4.5.4
3059+
resolution: "typescript@patch:typescript@npm%3A4.5.4#~builtin<compat/typescript>::version=4.5.4&hash=493e53"
30603060
bin:
30613061
tsc: bin/tsc
30623062
tsserver: bin/tsserver
3063-
checksum: f97b1f885444f13c340127a0918b17d0c4e5c248f99203a22712b3b43d7129c9c7b95437e4f1de99edf79d3046fa9e15356fb5d27d9d94e47a98158c8b18fda5
3063+
checksum: 2e488dde7d2c4a2fa2e79cf2470600f8ce81bc0563c276b72df8ff412d74456ae532ba824650ae936ce207440c79720ddcfaa25e3cb4477572b8534fa4e34d49
30643064
languageName: node
30653065
linkType: hard
30663066

0 commit comments

Comments
 (0)