fix(format): Add logging for tsconfig.json formatting
This commit is contained in:
		| @@ -1,5 +1,10 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2024-10-27 - 1.10.2 - fix(format) | ||||
| Add logging for tsconfig.json formatting | ||||
|  | ||||
| - Added an info log message for tsconfig.json formatting in format.tsconfig.ts. | ||||
|  | ||||
| ## 2024-10-27 - 1.10.1 - fix(format) | ||||
| Fixed async issue in tsconfig module lookup and corrected property access | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/cli', | ||||
|   version: '1.10.1', | ||||
|   version: '1.10.2', | ||||
|   description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' | ||||
| } | ||||
|   | ||||
| @@ -6,6 +6,7 @@ import { Project } from '../classes.project.js'; | ||||
|  | ||||
| export const run = async (projectArg: Project) => { | ||||
|   // lets care about tsconfig.json | ||||
|   logger.log('info', 'Formatting tsconfig.json...'); | ||||
|   const tsconfigSmartfile = await plugins.smartfile.SmartFile.fromFilePath(plugins.path.join(paths.cwd, 'tsconfig.json')); | ||||
|   const tsconfigObject = JSON.parse(tsconfigSmartfile.contentBuffer.toString()); | ||||
|   tsconfigObject.compilerOptions = tsconfigObject.compilerOptions || {}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user