Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
6870c40e57 | |||
5e99a37a55 | |||
44d1cefc9f | |||
83bafbb6f6 | |||
b90234e226 | |||
a039a58f8e | |||
d861fcb2d4 | |||
3a1138da83 | |||
bdbd2b6e08 | |||
43f5643ab1 | |||
99e4dcb2e8 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,7 +3,6 @@
|
|||||||
# artifacts
|
# artifacts
|
||||||
coverage/
|
coverage/
|
||||||
public/
|
public/
|
||||||
pages/
|
|
||||||
|
|
||||||
# installs
|
# installs
|
||||||
node_modules/
|
node_modules/
|
||||||
@ -17,4 +16,4 @@ node_modules/
|
|||||||
dist/
|
dist/
|
||||||
dist_*/
|
dist_*/
|
||||||
|
|
||||||
# custom
|
#------# custom
|
@ -1,3 +1 @@
|
|||||||
{
|
{}
|
||||||
"peek-readable": "5.3.1"
|
|
||||||
}
|
|
2
assets/templates/wcc/ts_web/pages/index.ts
Normal file
2
assets/templates/wcc/ts_web/pages/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './page2.js';
|
||||||
|
export * from './page1.js';
|
5
assets/templates/wcc/ts_web/pages/page1.ts
Normal file
5
assets/templates/wcc/ts_web/pages/page1.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { html } from "@design.estate/dees-element";
|
||||||
|
|
||||||
|
export const page1 = () => html`
|
||||||
|
<first-element></first-element>
|
||||||
|
`;
|
5
assets/templates/wcc/ts_web/pages/page2.ts
Normal file
5
assets/templates/wcc/ts_web/pages/page2.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { html } from "@design.estate/dees-element";
|
||||||
|
|
||||||
|
export const page2 = () => html`
|
||||||
|
<first-element></first-element>
|
||||||
|
`;
|
29
changelog.md
29
changelog.md
@ -1,5 +1,34 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-02-25 - 1.12.7 - fix(meta)
|
||||||
|
Fix issues in project metadata and configuration.
|
||||||
|
|
||||||
|
- Updated package metadata to ensure accurate project description and licensing.
|
||||||
|
- Ensured npm access level configuration consistency within npmextra.json.
|
||||||
|
|
||||||
|
## 2025-02-25 - 1.12.7 - fix(ci)
|
||||||
|
Updated dependencies and added CI/CD workflows.
|
||||||
|
|
||||||
|
- Updated several dependencies in package.json for compatibility and security.
|
||||||
|
- Added default GitHub and GitLab CI/CD workflow files to the test directory.
|
||||||
|
- Introduced a .gitignore file to exclude certain directories and files.
|
||||||
|
- Ensured consistent formatting with Prettier and TypeScript configurations.
|
||||||
|
|
||||||
|
## 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)
|
## 2025-01-29 - 1.12.2 - fix(format)
|
||||||
Add overrides for peek-readable in package.json formatting
|
Add overrides for peek-readable in package.json formatting
|
||||||
|
|
||||||
|
31
package.json
31
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/cli",
|
"name": "@git.zone/cli",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "1.12.2",
|
"version": "1.12.7",
|
||||||
"description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.",
|
"description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.",
|
||||||
"main": "dist_ts/index.ts",
|
"main": "dist_ts/index.ts",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.foss.global/git.zone/cli.git"
|
"url": "https://gitlab.com/gitzone/private/gitzone.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"CLI",
|
"CLI",
|
||||||
@ -48,17 +48,17 @@
|
|||||||
"author": "Task Venture Capital GmbH",
|
"author": "Task Venture Capital GmbH",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"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": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^2.2.0",
|
"@git.zone/tsbuild": "^2.2.1",
|
||||||
"@git.zone/tsrun": "^1.3.3",
|
"@git.zone/tsrun": "^1.3.3",
|
||||||
"@git.zone/tstest": "^1.0.90",
|
"@git.zone/tstest": "^1.0.96",
|
||||||
"@types/node": "^22.10.7"
|
"@types/node": "^22.13.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@git.zone/tsdoc": "^1.4.3",
|
"@git.zone/tsdoc": "^1.4.4",
|
||||||
"@git.zone/tspublish": "^1.9.1",
|
"@git.zone/tspublish": "^1.9.1",
|
||||||
"@push.rocks/commitinfo": "^1.0.12",
|
"@push.rocks/commitinfo": "^1.0.12",
|
||||||
"@push.rocks/early": "^4.0.4",
|
"@push.rocks/early": "^4.0.4",
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"@push.rocks/smartchok": "^1.0.34",
|
"@push.rocks/smartchok": "^1.0.34",
|
||||||
"@push.rocks/smartcli": "^4.0.11",
|
"@push.rocks/smartcli": "^4.0.11",
|
||||||
"@push.rocks/smartdelay": "^3.0.5",
|
"@push.rocks/smartdelay": "^3.0.5",
|
||||||
"@push.rocks/smartfile": "^11.1.5",
|
"@push.rocks/smartfile": "^11.2.0",
|
||||||
"@push.rocks/smartgulp": "^3.0.4",
|
"@push.rocks/smartgulp": "^3.0.4",
|
||||||
"@push.rocks/smartinteract": "^2.0.15",
|
"@push.rocks/smartinteract": "^2.0.15",
|
||||||
"@push.rocks/smartjson": "^5.0.20",
|
"@push.rocks/smartjson": "^5.0.20",
|
||||||
@ -81,14 +81,14 @@
|
|||||||
"@push.rocks/smartobject": "^1.0.12",
|
"@push.rocks/smartobject": "^1.0.12",
|
||||||
"@push.rocks/smartopen": "^2.0.0",
|
"@push.rocks/smartopen": "^2.0.0",
|
||||||
"@push.rocks/smartpath": "^5.0.18",
|
"@push.rocks/smartpath": "^5.0.18",
|
||||||
"@push.rocks/smartpromise": "^4.1.0",
|
"@push.rocks/smartpromise": "^4.2.3",
|
||||||
"@push.rocks/smartscaf": "^4.0.15",
|
"@push.rocks/smartscaf": "^4.0.15",
|
||||||
"@push.rocks/smartshell": "^3.2.2",
|
"@push.rocks/smartshell": "^3.2.3",
|
||||||
"@push.rocks/smartstream": "^3.2.5",
|
"@push.rocks/smartstream": "^3.2.5",
|
||||||
"@push.rocks/smartunique": "^3.0.9",
|
"@push.rocks/smartunique": "^3.0.9",
|
||||||
"@push.rocks/smartupdate": "^2.0.6",
|
"@push.rocks/smartupdate": "^2.0.6",
|
||||||
"@types/through2": "^2.0.41",
|
"@types/through2": "^2.0.41",
|
||||||
"prettier": "^3.4.2",
|
"prettier": "^3.5.2",
|
||||||
"through2": "^4.0.2"
|
"through2": "^4.0.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
@ -105,5 +105,10 @@
|
|||||||
],
|
],
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 1 chrome versions"
|
"last 1 chrome versions"
|
||||||
]
|
],
|
||||||
|
"pnpm": {
|
||||||
|
"overrides": {
|
||||||
|
"peek-readable": "5.3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
4472
pnpm-lock.yaml
generated
4472
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/cli',
|
name: '@git.zone/cli',
|
||||||
version: '1.12.2',
|
version: '1.12.7',
|
||||||
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
|
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,4 @@ export const run = async (argvArg) => {
|
|||||||
await smartshellInstance.exec(`docker system prune -a -f --volumes`);
|
await smartshellInstance.exec(`docker system prune -a -f --volumes`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
export * from '../plugins.js';
|
export * from '../plugins.js';
|
||||||
|
|
||||||
import * as smartshell from '@push.rocks/smartshell';
|
import * as smartshell from '@push.rocks/smartshell';
|
||||||
export { smartshell };
|
export { smartshell };
|
||||||
|
@ -92,7 +92,7 @@ export const run = async (projectArg: Project) => {
|
|||||||
// set overrides
|
// set overrides
|
||||||
const overrides = plugins.smartfile.fs.toObjectSync(
|
const overrides = plugins.smartfile.fs.toObjectSync(
|
||||||
plugins.path.join(paths.assetsDir, 'overrides.json'),
|
plugins.path.join(paths.assetsDir, 'overrides.json'),
|
||||||
)
|
);
|
||||||
packageJson.pnpm = packageJson.pnpm || {};
|
packageJson.pnpm = packageJson.pnpm || {};
|
||||||
packageJson.pnpm.overrides = overrides;
|
packageJson.pnpm.overrides = overrides;
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@ import { Project } from '../classes.project.js';
|
|||||||
export const run = async (projectArg: Project) => {
|
export const run = async (projectArg: Project) => {
|
||||||
// lets care about tsconfig.json
|
// lets care about tsconfig.json
|
||||||
logger.log('info', 'Formatting 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());
|
const tsconfigObject = JSON.parse(tsconfigSmartfile.contentBuffer.toString());
|
||||||
tsconfigObject.compilerOptions = tsconfigObject.compilerOptions || {};
|
tsconfigObject.compilerOptions = tsconfigObject.compilerOptions || {};
|
||||||
tsconfigObject.compilerOptions.baseUrl = '.';
|
tsconfigObject.compilerOptions.baseUrl = '.';
|
||||||
@ -21,4 +23,4 @@ export const run = async (projectArg: Project) => {
|
|||||||
}
|
}
|
||||||
tsconfigSmartfile.setContentsFromString(JSON.stringify(tsconfigObject, null, 2));
|
tsconfigSmartfile.setContentsFromString(JSON.stringify(tsconfigObject, null, 2));
|
||||||
await tsconfigSmartfile.write();
|
await tsconfigSmartfile.write();
|
||||||
};
|
};
|
||||||
|
@ -6,9 +6,11 @@
|
|||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "NodeNext",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"verbatimModuleSyntax": true
|
"verbatimModuleSyntax": true,
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {}
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"dist_*/**/*.d.ts"
|
"dist_*/**/*.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user