Skip to content

Commit

Permalink
fix(init): 将vite和stylelint版本控制在兼容的范围内
Browse files Browse the repository at this point in the history
  • Loading branch information
otakustay committed Dec 30, 2023
1 parent 4b21652 commit cee8703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/init/src/run/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export default async (cwd: string, options: UserOptions) => {
['-D'],
[
'eslint',
'stylelint',
'stylelint@15.x',
'typescript',
options.driver,
options.driver === 'vite' ? '[email protected]' : 'webpack',
options.gerrit ? '[email protected]' : 'husky',
'@types/react',
'@types/react-dom',
Expand Down

0 comments on commit cee8703

Please sign in to comment.