Compare commits

...

4 Commits

Author SHA1 Message Date
43f5643ab1 1.12.3
Some checks failed
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2025-01-29 14:42:30 +01:00
99e4dcb2e8 update 2025-01-29 14:42:24 +01:00
52f6afb69a 1.12.2
Some checks failed
Default (tags) / security (push) Failing after 2s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2025-01-29 14:39:31 +01:00
75c1e3d8f2 fix(format): Add overrides for peek-readable in package.json formatting 2025-01-29 14:39:31 +01:00
5 changed files with 24 additions and 3 deletions

3
assets/overrides.json Normal file
View File

@ -0,0 +1,3 @@
{
"peek-readable": "5.3.1"
}

View File

@ -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

View File

@ -1,7 +1,7 @@
{
"name": "@git.zone/cli",
"private": false,
"version": "1.12.1",
"version": "1.12.3",
"description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.",
"main": "dist_ts/index.ts",
"typings": "dist_ts/index.d.ts",
@ -91,6 +91,11 @@
"prettier": "^3.4.2",
"through2": "^4.0.2"
},
"pnpm": {
"overrides": {
"peek-readable": "5.3.1"
}
},
"files": [
"ts/**/*",
"ts_web/**/*",

View File

@ -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.'
}

View File

@ -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