File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " ultracite " : patch
3+ ---
4+
5+ Fix plugin install logging
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export const installDependencies = async (
6363 await addDevDependency ( pkg , {
6464 packageManager,
6565 workspace : await isMonorepo ( ) ,
66- silent : quiet ,
66+ silent : true ,
6767 } ) ;
6868 }
6969 } else {
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export const husky = {
8181 await addDevDependency ( "husky" , {
8282 packageManager,
8383 workspace : await isMonorepo ( ) ,
84+ silent : true ,
8485 } ) ;
8586
8687 // Add prepare script to package.json to ensure husky is initialized
@@ -97,7 +98,7 @@ export const husky = {
9798 } ) ;
9899
99100 try {
100- execSync ( initCommand , { stdio : "inherit " } ) ;
101+ execSync ( initCommand , { stdio : "pipe " } ) ;
101102 } catch ( _error ) {
102103 // If init fails, it might be because it's already initialized
103104 // Continue anyway as we'll create the hook file next
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export const lefthook = {
3636 await addDevDependency ( "lefthook" , {
3737 packageManager,
3838 workspace : await isMonorepo ( ) ,
39+ silent : true ,
3940 } ) ;
4041
4142 // Add prepare script to package.json to ensure lefthook is initialized
@@ -50,7 +51,7 @@ export const lefthook = {
5051 short : packageManager === "npm" ,
5152 } ) ;
5253
53- execSync ( installCommand , { stdio : "inherit " } ) ;
54+ execSync ( installCommand , { stdio : "pipe " } ) ;
5455 } ,
5556 create : async ( packageManager : PackageManagerName ) => {
5657 const config = createLefthookConfig ( packageManager ) ;
Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ export const lintStaged = {
298298 await addDevDependency ( "lint-staged" , {
299299 packageManager,
300300 workspace : await isMonorepo ( ) ,
301+ silent : true ,
301302 } ) ;
302303 } ,
303304 create : async ( packageManager : PackageManagerName ) => {
You can’t perform that action at this time.
0 commit comments