Compare commits

...

6 Commits

Author SHA1 Message Date
83bafbb6f6 1.12.6
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 17:56:21 +01:00
b90234e226 fix(project): Minor fixes and cleanup 2025-01-29 17:56:21 +01:00
a039a58f8e 1.12.5
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 15:38:36 +01:00
d861fcb2d4 fix(cli): Initial implementation of CLI utility with project management features 2025-01-29 15:38:35 +01:00
3a1138da83 1.12.4
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:45:43 +01:00
bdbd2b6e08 update 2025-01-29 14:45:32 +01:00
14 changed files with 54 additions and 23 deletions

3
.gitignore vendored
View File

@ -3,7 +3,6 @@
# artifacts
coverage/
public/
pages/
# installs
node_modules/
@ -17,4 +16,4 @@ node_modules/
dist/
dist_*/
# custom
#------# custom

View File

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

View File

@ -0,0 +1,2 @@
export * from './page2.js';
export * from './page1.js';

View File

@ -0,0 +1,5 @@
import { html } from "@design.estate/dees-element";
export const page1 = () => html`
<first-element></first-element>
`;

View File

@ -0,0 +1,5 @@
import { html } from "@design.estate/dees-element";
export const page2 = () => html`
<first-element></first-element>
`;

View File

@ -1,5 +1,20 @@
# Changelog
## 2025-01-29 - 1.12.6 - fix(project)
Minor fixes and cleanup
- Removed outdated pages/ directory entry in .gitignore.
- Adjusted Docker module files to include proper newlines.
- Updated TypeScript configuration for modular paths.
- Fixed formatting issues across various TypeScript files.
## 2025-01-29 - 1.12.5 - fix(cli)
Initial implementation of CLI utility with project management features
- Integration of various plugins for logging, command-line interactions, and project management.
- Setup CLI commands for project initialization, updating, formatting, and more.
- Implement commands for packaging, versioning, and deprecating npm packages.
## 2025-01-29 - 1.12.2 - fix(format)
Add overrides for peek-readable in package.json formatting

View File

@ -1,7 +1,7 @@
{
"name": "@git.zone/cli",
"private": false,
"version": "1.12.3",
"version": "1.12.6",
"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",
@ -30,7 +30,7 @@
},
"repository": {
"type": "git",
"url": "https://code.foss.global/git.zone/cli.git"
"url": "https://gitlab.com/gitzone/private/gitzone.git"
},
"keywords": [
"CLI",
@ -48,9 +48,9 @@
"author": "Task Venture Capital GmbH",
"license": "MIT",
"bugs": {
"url": "https://code.foss.global/git.zone/cli/issues"
"url": "https://gitlab.com/gitzone/private/gitzone/issues"
},
"homepage": "https://pages.foss.global/git.zone/cli",
"homepage": "https://gitlab.com/gitzone/private/gitzone#readme",
"devDependencies": {
"@git.zone/tsbuild": "^2.2.0",
"@git.zone/tsrun": "^1.3.3",
@ -91,11 +91,6 @@
"prettier": "^3.4.2",
"through2": "^4.0.2"
},
"pnpm": {
"overrides": {
"peek-readable": "5.3.1"
}
},
"files": [
"ts/**/*",
"ts_web/**/*",
@ -110,5 +105,10 @@
],
"browserslist": [
"last 1 chrome versions"
]
],
"pnpm": {
"overrides": {
"peek-readable": "5.3.1"
}
}
}

3
pnpm-lock.yaml generated
View File

@ -4,6 +4,9 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
overrides:
peek-readable: 5.3.1
importers:
.:

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/cli',
version: '1.12.2',
version: '1.12.6',
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
}

View File

@ -9,4 +9,4 @@ export const run = async (argvArg) => {
await smartshellInstance.exec(`docker system prune -a -f --volumes`);
break;
}
};
};

View File

@ -1,4 +1,4 @@
export * from '../plugins.js';
import * as smartshell from '@push.rocks/smartshell';
export { smartshell };
export { smartshell };

View File

@ -92,7 +92,7 @@ export const run = async (projectArg: Project) => {
// set overrides
const overrides = plugins.smartfile.fs.toObjectSync(
plugins.path.join(paths.assetsDir, 'overrides.json'),
)
);
packageJson.pnpm = packageJson.pnpm || {};
packageJson.pnpm.overrides = overrides;

View File

@ -7,7 +7,9 @@ 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 tsconfigSmartfile = await plugins.smartfile.SmartFile.fromFilePath(
plugins.path.join(paths.cwd, 'tsconfig.json'),
);
const tsconfigObject = JSON.parse(tsconfigSmartfile.contentBuffer.toString());
tsconfigObject.compilerOptions = tsconfigObject.compilerOptions || {};
tsconfigObject.compilerOptions.baseUrl = '.';
@ -21,4 +23,4 @@ export const run = async (projectArg: Project) => {
}
tsconfigSmartfile.setContentsFromString(JSON.stringify(tsconfigObject, null, 2));
await tsconfigSmartfile.write();
};
};

View File

@ -6,9 +6,11 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
"verbatimModuleSyntax": true,
"baseUrl": ".",
"paths": {}
},
"exclude": [
"dist_*/**/*.d.ts"
]
}
}