fix(project): Fixed minor formatting issues and improved code consistency.

This commit is contained in:
2024-11-05 00:34:56 +01:00
parent 125be257d6
commit 750f081c03
11 changed files with 59 additions and 39 deletions

View File

@@ -172,11 +172,13 @@ Follow these steps:
```typescript
import { runCli } from '@git.zone/tspublish';
runCli().then(() => {
console.log('Publishing completed successfully');
}).catch((error) => {
console.error('Error during publishing:', error);
});
runCli()
.then(() => {
console.log('Publishing completed successfully');
})
.catch((error) => {
console.error('Error during publishing:', error);
});
```
3. Execute your CLI script:
@@ -188,4 +190,4 @@ node publish.js
Your script will call `runCli`, which will traverse each `ts-package`, verify their publish readiness, and handle individual publishing processes.
By following these comprehensive guidelines and utilizing the structured approach provided by `@git.zone/tspublish`, you can efficiently manage and publish multiple sub-packages from within a monorepo, facilitating organized, modular package management in projects of any scale.
undefined
undefined