@trpc/upgrade 0.0.0-alpha.6 → 0.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.cjs CHANGED
@@ -92,7 +92,7 @@ const rootComamnd = cli$1.Command.make('upgrade', {
92
92
  yield* effect.Effect.log('Uninstalling @trpc/react-query');
93
93
  yield* uninstallPackage('@trpc/react-query');
94
94
  }
95
- }));
95
+ }).pipe(effect.Logger.withMinimumLogLevel(args.verbose ? effect.LogLevel.Debug : effect.LogLevel.Info)));
96
96
  const cli = cli$1.Command.run(rootComamnd, {
97
97
  name: 'tRPC Upgrade CLI',
98
98
  version: `v${version}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/upgrade",
3
- "version": "0.0.0-alpha.6",
3
+ "version": "0.0.0-alpha.7",
4
4
  "description": "Upgrade scripts for tRPC",
5
5
  "author": "juliusmarminge",
6
6
  "license": "MIT",
package/src/bin/cli.ts CHANGED
@@ -7,6 +7,8 @@ import {
7
7
  Array,
8
8
  Console,
9
9
  Effect,
10
+ Logger,
11
+ LogLevel,
10
12
  Match,
11
13
  Order,
12
14
  pipe,
@@ -208,7 +210,9 @@ const rootComamnd = CLICommand.make(
208
210
  yield* Effect.log('Uninstalling @trpc/react-query');
209
211
  yield* uninstallPackage('@trpc/react-query');
210
212
  }
211
- }),
213
+ }).pipe(
214
+ Logger.withMinimumLogLevel(args.verbose ? LogLevel.Debug : LogLevel.Info),
215
+ ),
212
216
  );
213
217
 
214
218
  const cli = CLICommand.run(rootComamnd, {