Skip to content

Commit eab2f39

Browse files
fix: less dependencies
1 parent 2db1195 commit eab2f39

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/create-webpack-app/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"!**/*.d.ts"
4343
],
4444
"dependencies": {
45-
"@inquirer/prompts": "^7.2.0",
45+
"@inquirer/expand": "^4.0.3",
46+
"@inquirer/select": "^4.0.3",
4647
"colorette": "^2.0.20",
4748
"commander": "^12.1.0",
4849
"cross-spawn": "^7.0.3",

packages/create-webpack-app/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Command } from "commander";
22
import { resolve, dirname } from "path";
3-
import { select } from "@inquirer/prompts";
3+
import select from "@inquirer/select";
44
import nodePlop, { type PlopGenerator } from "node-plop";
55
import { fileURLToPath } from "url";
66

packages/create-webpack-app/src/utils/generate-files.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as fs from "fs/promises";
22
import * as ejs from "ejs";
3-
import { expand } from "@inquirer/prompts";
3+
import expand from "@inquirer/expand";
44
import { spawn, sync } from "cross-spawn";
55
import * as path from "path";
66
import { fileURLToPath } from "url";

0 commit comments

Comments
 (0)