fix(project): Fixed minor formatting issues and improved code consistency.
This commit is contained in:
14
readme.md
14
readme.md
@@ -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
|
||||
|
Reference in New Issue
Block a user