https://github.com/waitingsong/yuntools
cloud sdk tools
https://github.com/waitingsong/yuntools
alb aliyun cjs ecs esm nodejs oss slb typescript
Last synced: about 1 year ago
JSON representation
cloud sdk tools
- Host: GitHub
- URL: https://github.com/waitingsong/yuntools
- Owner: waitingsong
- License: mit
- Created: 2022-04-24T10:24:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T14:10:24.000Z (over 2 years ago)
- Last Synced: 2024-11-06T23:48:41.906Z (over 1 year ago)
- Topics: alb, aliyun, cjs, ecs, esm, nodejs, oss, slb, typescript
- Language: TypeScript
- Homepage:
- Size: 788 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# yuntools repository
公有云相关工具封装,提供 TypeScript 类型定义
[]()
[](https://opensource.org/licenses/MIT)
[]()
[](https://github.com/waitingsong/yuntools/actions?query=workflow%3A%22ci%22)
[](https://codecov.io/gh/waitingsong/yuntools)
[](https://conventionalcommits.org)
[](https://lernajs.io/)
以下所有命令行操作都在 `git-bash` 窗口中执行
## Packages
| Package | Version |
| ----------- | -------------------- |
| [`ali-alb`] | [![alb-svg]][alb-ch] |
| [`ali-ecs`] | [![ecs-svg]][ecs-ch] |
| [`ali-oss`] | [![oss-svg]][oss-ch] |
## Initialize and install dependencies
run it at first time and any time
```sh
npm run repo:init
```
## Compile
Run under root folder
```sh
npm run build
# specify scope
npm run build @scope/demo-docs
# specify scopes
npm run build @scope/demo-docs @scope/demo-serivce
```
## Update package
```sh
npm run bootstrap
```
## Add package
```sh
npm run add:pkg new_module
```
## Test
- Use `npm run lint` to check code style.
- Use `npm run test` to run unit test.
## Clan or Purge
```sh
# clean build dist, cache and build
npm run clean
# clean and remove all node_modules
npm run purge
```
## Note
- Run `npm run clean` before `npm run build`, if any file under typescript outDir folder was deleted manually.
- Default publish registry is `NPM`, configurated in file `lerna.json`
- Any commands above (such as `npm run build`) running in `Git-Bash` under Windows OS
## License
[MIT](LICENSE)
[`ali-alb`]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-alb
[alb-svg]: https://img.shields.io/npm/v/@yuntools/ali-alb.svg?maxAge=7200
[alb-ch]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-alb/CHANGELOG.md
[`ali-ecs`]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-ecs
[ecs-svg]: https://img.shields.io/npm/v/@yuntools/ali-ecs.svg?maxAge=7200
[ecs-ch]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-ecs/CHANGELOG.md
[`ali-oss`]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-oss
[oss-svg]: https://img.shields.io/npm/v/@yuntools/ali-oss.svg?maxAge=7200
[oss-ch]: https://github.com/waitingsong/yuntools/tree/main/packages/ali-oss/CHANGELOG.md