fix(format): Add overrides for peek-readable in package.json formatting
This commit is contained in:
		
							
								
								
									
										3
									
								
								assets/overrides.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/overrides.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| { | ||||
|   "peek-readable": "5.3.1" | ||||
| } | ||||
| @@ -1,5 +1,11 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2025-01-29 - 1.12.2 - fix(format) | ||||
| Add overrides for peek-readable in package.json formatting | ||||
|  | ||||
| - Added a URL correction in the packageJson repository information. | ||||
| - Introduced support for pnpm overrides by including an `overrides.json` file. | ||||
|  | ||||
| ## 2025-01-18 - 1.12.1 - fix(dependencies) | ||||
| Update various package dependencies and Dockerfile base image | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/cli', | ||||
|   version: '1.12.1', | ||||
|   version: '1.12.2', | ||||
|   description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' | ||||
| } | ||||
|   | ||||
| @@ -27,7 +27,7 @@ export const run = async (projectArg: Project) => { | ||||
|       // metadata | ||||
|       packageJson.repository = { | ||||
|         type: 'git', | ||||
|         url: `git+https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}.git`, | ||||
|         url: `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}.git`, | ||||
|       }; | ||||
|       (packageJson.bugs = { | ||||
|         url: `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}/issues`, | ||||
| @@ -89,6 +89,13 @@ export const run = async (projectArg: Project) => { | ||||
|       await ensureDependency(packageJson, 'devDep', 'latest', '@git.zone/tstest'); | ||||
|       await ensureDependency(packageJson, 'devDep', 'latest', '@git.zone/tsbuild'); | ||||
|  | ||||
|       // set overrides | ||||
|       const overrides = plugins.smartfile.fs.toObjectSync( | ||||
|         plugins.path.join(paths.assetsDir, 'overrides.json'), | ||||
|       ) | ||||
|       packageJson.pnpm = packageJson.pnpm || {}; | ||||
|       packageJson.pnpm.overrides = overrides; | ||||
|  | ||||
|       // exclude | ||||
|       // TODO | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user