25 Commits

Author SHA1 Message Date
4ee31f85ab 1.5.1
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-28 01:24:52 +01:00
2b518722df fix(core): Fixes handling of undefined paths in tsconfig generation. 2024-10-28 01:24:52 +01:00
5f9bd73904 1.5.0
Some checks failed
Default (tags) / security (push) Failing after 2s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-28 01:21:06 +01:00
91f3c90607 feat(classes.publishmodule): Add method to create and write tsconfig.json during publish module setup 2024-10-28 01:21:06 +01:00
f518670443 1.4.0
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-26 14:08:23 +02:00
dc97693ec8 feat(core): Refactor directory reading and module discovery for publishing process 2024-10-26 14:08:23 +02:00
386504b0fb 1.3.3
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 4s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-23 15:59:26 +02:00
a7c631bba1 fix(core): Fix logging mechanism on existing package version check 2024-10-23 15:59:26 +02:00
5922249742 1.3.2
Some checks failed
Default (tags) / security (push) Failing after 4s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-23 15:49:22 +02:00
274b730492 fix(core): Corrected file patterns in dynamically created package.json files. 2024-10-23 15:49:22 +02:00
5bdc3e8bcc 1.3.1
Some checks failed
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-23 15:48:32 +02:00
5389034108 fix(classes.publishmodule): Fix template string in createPackageJson method for export path 2024-10-23 15:48:32 +02:00
a656e3e040 1.3.0
Some checks failed
Default (tags) / security (push) Failing after 3s
Default (tags) / test (push) Failing after 2s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-21 16:01:08 +02:00
819c1dca0f feat(core): Add support for multiple registries in the publish process 2024-10-21 16:01:08 +02:00
f3d641d1c1 1.2.4
Some checks failed
Default (tags) / security (push) Failing after 2s
Default (tags) / test (push) Failing after 2s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-21 14:51:12 +02:00
1fd74928c5 fix(publishmodule): Fix syntax errors and improve formatting in classes.publishmodule.ts 2024-10-21 14:51:12 +02:00
0f4c2cbba4 1.2.3
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
2024-10-21 14:37:34 +02:00
0b68a2dd57 fix(logs): Improve logging mechanism with structured logs for publish process 2024-10-21 14:37:33 +02:00
fda3204cfb update 2024-10-21 14:37:23 +02:00
76a1da6ca5 1.2.2
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
2024-10-21 14:28:43 +02:00
1653e48714 fix(publishmodule): Fix bug in package.json creation for publish module 2024-10-21 14:28:42 +02:00
1017cb84a6 1.2.1
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 2s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-21 13:27:15 +02:00
25d2703a36 fix(package.json): Ensure bin field is properly restructured 2024-10-21 13:27:14 +02:00
5c4ae278a2 1.2.0
Some checks failed
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 3s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-10-21 13:21:48 +02:00
a88e417e2f feat(core): Enhance package publication workflow with dependency handling and CLI improvements. 2024-10-21 13:21:47 +02:00
12 changed files with 3492 additions and 4154 deletions

View File

@ -1,5 +1,87 @@
# Changelog
## 2024-10-28 - 1.5.1 - fix(core)
Fixes handling of undefined paths in tsconfig generation.
- Added a null check for `paths` in the original tsconfig before modifying it.
- Enhanced testing by adding a test case for creating a TsPublish instance.
## 2024-10-28 - 1.5.0 - feat(classes.publishmodule)
Add method to create and write tsconfig.json during publish module setup
- Introduced createTsconfigJson method in PublishModule class to generate a tsconfig.json for each publishable module.
- Modified createPublishModuleDir method to include writing of tsconfig.json file.
## 2024-10-26 - 1.4.0 - feat(core)
Refactor directory reading and module discovery for publishing process
- Renamed 'readDirectory' method to 'getModuleSubDirs' for clarity in describing function purpose.
- Enhanced 'getModuleSubDirs' to return module information including parsed 'tspublish.json' data for each module.
- Introduced new 'interfaces' directory to define TypeScript interfaces like 'ITsPublishJson'.
## 2024-10-23 - 1.3.3 - fix(core)
Fix logging mechanism on existing package version check
- Changed the error handling mechanism when a package with the same version already exists to use logger and process exit instead of throwing an error.
## 2024-10-23 - 1.3.2 - fix(core)
Corrected file patterns in dynamically created package.json files.
- Fixed incorrect file pattern from 'ts_web/**/*' to 'ts_*/**/*' in package.json creation process to include all subdirectories starting with 'ts'.
## 2024-10-23 - 1.3.1 - fix(classes.publishmodule)
Fix template string in createPackageJson method for export path
- Corrected the syntax for template string in the exports path of created package.json
## 2024-10-21 - 1.3.0 - feat(core)
Add support for multiple registries in the publish process
- Updated the PublishModule class to handle multiple registries for publishing.
- Refactored the handling of tspublish.json by incorporating it into the PublishModule options.
- Implemented logic to parse registry access level and apply it during publication.
## 2024-10-21 - 1.2.4 - fix(publishmodule)
Fix syntax errors and improve formatting in classes.publishmodule.ts
- Fixed missing semicolons in multiple locations for improved syntax correctness.
- Improved the formatting for better code readability.
- Added --no-git-checks flag to the pnpm publish command.
## 2024-10-21 - 1.2.3 - fix(logs)
Improve logging mechanism with structured logs for publish process
- Enhanced log messages to provide more clarity during module publishing.
- Ensured logging captures steps of publish and init process in TsPublish and PublishModule classes respectively.
## 2024-10-21 - 1.2.3 - fix(classes.publishmodule)
Add missing 'type: module' to dynamically generated package.json
- Ensure that the 'type: module' field is included in each dynamically generated package.json file for consistent module handling.
## 2024-10-21 - 1.2.3 - fix(classes.publishmodule)
Add missing 'type: module' to dynamically generated package.json
- Ensure that the 'type: module' field is included in each dynamically generated package.json file for consistent module handling.
## 2024-10-21 - 1.2.2 - fix(publishmodule)
Fix bug in package.json creation for publish module
- Fixed an issue where `package.json` was not being written to the publish module directory.
## 2024-10-21 - 1.2.1 - fix(package.json)
Ensure bin field is properly restructured
- Fixed the structure of the package.json to ensure the bin field is accurately set.
## 2024-10-21 - 1.2.0 - feat(core)
Enhance package publication workflow with dependency handling and CLI improvements.
- Updated package description and keywords in package.json and npmextra.json.
- Integrated dependency extraction from root package.json into sub-package tspublish.json during initialization.
- Added build and publish script executions for each submodule.
- Improved CLI documentation and usage guidance in readme.md.
## 2024-10-21 - 1.1.0 - feat(core)
Add runCli function to execute TsPublish process

View File

@ -5,10 +5,22 @@
"githost": "code.foss.global",
"gitscope": "git.zone",
"gitrepo": "tspublish",
"description": "publish multiple, concise and small packages from monorepos",
"description": "A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.",
"npmPackagename": "@git.zone/tspublish",
"license": "MIT",
"projectDomain": "git.zone"
"projectDomain": "git.zone",
"keywords": [
"typescript",
"monorepo",
"package",
"publish",
"npm",
"automation",
"git",
"modularity",
"module-management",
"developer-tools"
]
}
},
"npmci": {

View File

@ -1,8 +1,8 @@
{
"name": "@git.zone/tspublish",
"version": "1.1.0",
"version": "1.5.1",
"private": false,
"description": "publish multiple, concise and small packages from monorepos",
"description": "A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
@ -13,13 +13,16 @@
"build": "(tsbuild --web --allowimplicitany)",
"buildDocs": "(tsdoc)"
},
"bin": {
"tspublish": "cli.js"
},
"devDependencies": {
"@git.zone/tsbuild": "^2.1.25",
"@git.zone/tsbundle": "^2.0.5",
"@git.zone/tsrun": "^1.2.46",
"@git.zone/tstest": "^1.0.44",
"@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^22.7.6"
"@types/node": "^22.7.7"
},
"repository": {
"type": "git",
@ -49,6 +52,19 @@
"@push.rocks/smartfile": "^11.0.21",
"@push.rocks/smartlog": "^3.0.7",
"@push.rocks/smartnpm": "^2.0.4",
"@push.rocks/smartpath": "^5.0.18"
}
"@push.rocks/smartpath": "^5.0.18",
"@push.rocks/smartshell": "^3.0.6"
},
"keywords": [
"typescript",
"monorepo",
"package",
"publish",
"npm",
"automation",
"git",
"modularity",
"module-management",
"developer-tools"
]
}

7133
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

188
readme.md
View File

@ -2,6 +2,190 @@
publish multiple, concise and small packages from monorepos
## How to create the docs
## Install
To create docs run gitzone aidoc.
To install `@git.zone/tspublish`, you can use npm. To use the latest stable version, run:
```bash
npm install @git.zone/tspublish
```
Alternatively, if you are using yarn, the equivalent command would be:
```bash
yarn add @git.zone/tspublish
```
These commands will add `@git.zone/tspublish` as a dependency in your `package.json` file and install the package into your `node_modules` directory.
## Usage
`@git.zone/tspublish` is designed to manage the publishing of multiple, small-scale packages within monorepos. The following sections will guide you through its usage, from setting up your environment to effectively publishing packages.
### Getting Started with TypeScript and Module Setup
`@git.zone/tspublish` works with monorepos that are organized using TypeScript. The package structure should follow a convention where each submodule intended for publishing is located in a directory prefixed with `ts`, for example, `tsModuleName`. Each submodule directory should contain a `tspublish.json` file to correctly configure the package to be published separately. This file is critical for the `tspublish` process to identify valid package directories and should also include necessary metadata for the package.
Your monorepo structure might resemble:
```
my-monorepo/
├── ts-package1/
│ ├── src/
│ ├── tspublish.json
├── ts-package2/
│ ├── src/
│ ├── tspublish.json
```
### Configuring `tspublish.json`
Each submodule must include a `tspublish.json` within its directory. This JSON file should include essential details for your publishable package, including its dependencies. Here's a basic example of what `tspublish.json` could look like:
```json
{
"name": "@myorg/ts-package1",
"dependencies": {
"some-dependency": "^1.0.0"
}
}
```
### Running the CLI
`@git.zone/tspublish` includes a CLI that simplifies the publishing process. Begin by importing the CLI runner in a script within your project:
```typescript
import { runCli } from '@git.zone/tspublish';
runCli();
```
This function call orchestrates the publishing operation. It reads each directory prefixed with `ts`, looks for a `tspublish.json`, and creates an individual package based on the gathered data.
### Core Features
#### Publishing Modules
The core functionality provided by `@git.zone/tspublish` involves processing directories to check for valid submodules that are ready to be published. This occurs via the `publish` method in `TsPublish` class. This method does the following:
- **Reads all directories** within the specified monorepo path.
- **Identifies directories** that start with `ts` and validates the presence of `tspublish.json`.
- **Logs** information about found packages for user awareness and debugging.
- **Checks for collisions** with existing versions on the npm registry to prevent overriding published versions.
```typescript
import { TsPublish } from '@git.zone/tspublish';
const tspublish = new TsPublish();
await tspublish.publish('/path/to/your/monorepo');
```
#### Package Initialization
Once valid submodules are identified, the `init` method in the `PublishModule` class initializes the publish module. This includes:
- Parsing `tspublish.json` for metadata.
- Constructing full paths for necessary operations.
- Verifying package existence to avoid duplication.
```typescript
import { PublishModule } from '@git.zone/tspublish';
const publishModule = new PublishModule({
monoRepoDir: '/path/to/monorepo',
packageSubFolder: 'ts-package1',
});
await publishModule.init();
```
#### Creating `package.json`
Part of the publishing process involves automatically creating a `package.json` tailored to each submodule. This dynamically generated JSON will incorporate dependencies from `tspublish.json` and associate them with the latest version of `tsbuild` from the registry:
```typescript
await publishModule.createPackageJson();
```
This creates a structured `package.json` which includes scripts to build your TypeScript files before publishing.
#### Constructing Publish-ready Directory
After all configurations are verified and the `package.json` is created, the submodule is ready to be published. This step involves setting up a `dist_publish_` directory specific to each module:
```typescript
await publishModule.createPublishModuleDir();
```
The above method ensures that each module's source files are copied and prepared under a dedicated directory meant for packaging and distribution.
### Logging and Debugging
The package includes a structured logging mechanism using `smartlog` which provides insights into the publishing process, helping in runtime debugging and status tracking of operations:
```typescript
import { logger } from '@git.zone/tspublish/logging';
logger.log('info', 'Publishing process initialized');
```
This powerful logging helps in tracking the status of each step and understanding potential issues during the operations.
### Testing with tapbundle
To ensure that your publishing workflow is functioning correctly, you can utilize the test suite set up with `tapbundle`. This library facilitates behavior-driven testing for your monorepo. Below is a basic test setup to verify the import and initial function accessibility of `@git.zone/tspublish`:
```typescript
import { expect, tap } from '@push.rocks/tapbundle';
import * as tspublish from '@git.zone/tspublish';
tap.test('Should run the CLI without errors', async () => {
await tspublish.runCli();
expect(tspublish).toBeTruthy();
});
tap.start();
```
### Comprehensive usage example
Let's combine all the steps into a complete example where you prepare a monorepo, configure each module, and execute the publishing workflow.
Suppose you have a project structure as follows:
```plaintext
my-monorepo/
├── ts-package1/
│ ├── src/
│ ├── tspublish.json
├── ts-package2/
│ ├── src/
│ ├── tspublish.json
```
Follow these steps:
1. Ensure each package has `tspublish.json` properly configured with necessary metadata.
2. Create a CLI script such as `publish.js`:
```typescript
import { runCli } from '@git.zone/tspublish';
runCli().then(() => {
console.log('Publishing completed successfully');
}).catch((error) => {
console.error('Error during publishing:', error);
});
```
3. Execute your CLI script:
```bash
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

View File

@ -5,4 +5,9 @@ tap.test('first test', async () => {
console.log(tspublish);
});
tap.test('should create a TsPublish instance', async () => {
const tspublishInstance = new tspublish.TsPublish();
expect(tspublishInstance).toBeTruthy();
});
tap.start();

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tspublish',
version: '1.1.0',
description: 'publish multiple, concise and small packages from monorepos'
version: '1.5.1',
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
}

View File

@ -2,10 +2,17 @@ import * as plugins from './plugins.js';
import * as paths from './paths.js';
import { logger } from './logging.js';
export interface ITsPublishJson {
name: string;
dependencies: string[];
registries: string[];
}
export interface IPublishModuleOptions {
monoRepoDir: string;
packageSubFolder: string;
packageSubFolderFullPath?: string;
tsPublishJson?: ITsPublishJson;
publishModDirFullPath?: string;
name?: string;
version?: string;
@ -28,18 +35,24 @@ export class PublishModule {
if (!this.options.packageSubFolder.startsWith('ts')) {
throw new Error('subFolder must start with "ts"');
}
const jsonData = plugins.smartfile.fs.toObjectSync(
this.options.tsPublishJson = plugins.smartfile.fs.toObjectSync(
plugins.path.join(this.options.packageSubFolderFullPath, 'tspublish.json')
);
this.options.dependencies = this.options.dependencies || {};
const monoRepoPackageJson = JSON.parse(
plugins.smartfile.fs.toStringSync(plugins.path.join(this.options.monoRepoDir, 'package.json'))
);
this.options.dependencies = {
...this.options.dependencies,
...jsonData.dependencies,
...(() => {
const resultDependencies = {};
for (const dependency of this.options.tsPublishJson.dependencies) {
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
}
return resultDependencies;
})(),
};
this.options.name = this.options.name || jsonData.name;
this.options.version = plugins.smartfile.fs.toObjectSync(
plugins.path.join(this.options.monoRepoDir, 'package.json')
).version;
this.options.name = this.options.name || this.options.tsPublishJson.name;
this.options.version = monoRepoPackageJson.version;
// now that we have a name and version, lets check if there is already a package under the same name and version.
const smartnpmInstance = new plugins.smartnpm.NpmRegistry({}); // TODO: pass in options
@ -48,9 +61,8 @@ export class PublishModule {
const availableVersions = packageInfo.allVersions.map((versionArg) => versionArg.version);
logger.log('info', `available versions are: ${availableVersions.toString()}`);
if (availableVersions.includes(this.options.version)) {
throw new Error(
`package ${this.options.name} already exists with version ${this.options.version}`
);
logger.log('error', `package ${this.options.name} already exists with version ${this.options.version}`);
process.exit(1);
}
}
}
@ -64,14 +76,42 @@ export class PublishModule {
return packageInfo.allVersions[0].version;
}
public async createTsconfigJson() {
const originalTsConfig = plugins.smartfile.fs.toObjectSync(
plugins.path.join(paths.cwd, 'tsconfig.json')
);
if (originalTsConfig?.compilerOptions?.paths) {
for (const path of originalTsConfig.compilerOptions.paths) {
originalTsConfig.compilerOptions.paths[path][0] = `.${originalTsConfig.compilerOptions.paths[path][0]}`;
}
}
const tsconfigJson = {
compilerOptions: {
experimentalDecorators: true,
useDefineForClassFields: false,
target: 'ES2022',
module: 'NodeNext',
moduleResolution: 'NodeNext',
esModuleInterop: true,
verbatimModuleSyntax: true,
paths: originalTsConfig?.compilerOptions?.paths,
},
exclude: [
'dist_*/**/*.d.ts',
],
};
return JSON.stringify(tsconfigJson, null, 2);
}
public async createPackageJson() {
const packageJson = {
name: this.options.name,
version: this.options.version,
type: 'module',
description: '',
exports: {
'.': {
import: './dist_${this.options.packageSubFolder}/index.js',
import: `./dist_${this.options.packageSubFolder}/index.js`,
},
},
scripts: {
@ -81,6 +121,18 @@ export class PublishModule {
devDependencies: {
'@git.zone/tsbuild': await this.getLatestVersionOfPackage('@git.zone/tsbuild'),
},
files: [
'ts/**/*',
'ts_*/**/*',
'dist/**/*',
'dist_*/**/*',
'dist_ts/**/*',
'dist_ts_web/**/*',
'assets/**/*',
'cli.js',
'npmextra.json',
'readme.md',
],
};
return JSON.stringify(packageJson, null, 2);
}
@ -98,8 +150,43 @@ export class PublishModule {
await this.createPackageJson(),
'utf8'
);
await packageJson.write();
// tsconfig.json
const originalTsConfigJson = await plugins.smartfile.SmartFile.fromString(
plugins.path.join(this.options.publishModDirFullPath, 'tsconfig.json'),
await this.createTsconfigJson(),
'utf8'
);
await originalTsConfigJson.write();
// ts folder
await plugins.smartfile.fs.copy(this.options.packageSubFolderFullPath, plugins.path.join(this.options.publishModDirFullPath, this.options.packageSubFolder))
await plugins.smartfile.fs.copy(
this.options.packageSubFolderFullPath,
plugins.path.join(this.options.publishModDirFullPath, this.options.packageSubFolder)
);
}
public async build() {
const smartshellInstance = new plugins.smartshell.Smartshell({
executor: 'bash',
});
await smartshellInstance.exec(`cd ${this.options.publishModDirFullPath} && pnpm run build`);
}
public async publish() {
const smartshellInstance = new plugins.smartshell.Smartshell({
executor: 'bash',
});
for (const registry of this.options.tsPublishJson.registries) {
const registryArray = registry.split(':');
const registryUrl = registryArray[0];
const registryAccessLevel = registryArray[1];
await smartshellInstance.exec(
`cd ${this.options.publishModDirFullPath} && pnpm publish ${
registryAccessLevel === 'public' ? '--access public' : ''
} --no-git-checks --registry https://${registryUrl}`
);
}
}
}

View File

@ -1,5 +1,6 @@
import { logger } from './logging.js';
import * as plugins from './plugins.js';
import * as interfaces from './interfaces/index.js';
import { PublishModule } from './classes.publishmodule.js';
@ -7,19 +8,22 @@ export class TsPublish {
constructor() {}
public async publish (monorepoDirArg: string) {
const publishModules = await this.readDirectory(monorepoDirArg);
for (const publishModule of publishModules) {
const publishModules = await this.getModuleSubDirs(monorepoDirArg);
for (const publishModule of Object.keys(publishModules)) {
const publishModuleInstance = new PublishModule({
monoRepoDir: monorepoDirArg,
packageSubFolder: publishModule,
});
await publishModuleInstance.init();
await publishModuleInstance.createPublishModuleDir();
await publishModuleInstance.build();
await publishModuleInstance.publish();
}
}
public async readDirectory (dirArg: string) {
public async getModuleSubDirs (dirArg: string) {
const subDirs = await plugins.smartfile.fs.listFolders(dirArg);
const publishModules: string[] = [];
const publishModules: {[key: string]: interfaces.ITsPublishJson} = {};
for (const subDir of subDirs) {
if (!subDir.startsWith('ts')) {
continue;
@ -30,7 +34,7 @@ export class TsPublish {
continue;
}
logger.log('info', `found publish module: ${subDir}`);
publishModules.push(subDir);
publishModules[subDir] = JSON.parse(plugins.smartfile.fs.toStringSync(plugins.path.join(subDir, 'tspublish.json')));
}
logger.log('ok', `found ${publishModules.length} publish modules`);
return publishModules;

1
ts/interfaces/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './tspublish.js';

View File

@ -0,0 +1,5 @@
export interface ITsPublishJson {
name: string;
dependencies: string[];
registries: string[];
}

View File

@ -10,5 +10,6 @@ import * as smartcli from '@push.rocks/smartcli';
import * as smartlog from '@push.rocks/smartlog';
import * as smartnpm from '@push.rocks/smartnpm';
import * as smartpath from '@push.rocks/smartpath';
import * as smartshell from '@push.rocks/smartshell';
export { smartfile, smartcli, smartlog, smartnpm, smartpath, };
export { smartfile, smartcli, smartlog, smartnpm, smartpath, smartshell };