waitingsong / midway-boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Midway.js Components

GitHub tag License ci codecov Conventional Commits lerna

Note

ESM build only, requires @midwayjs >= 3.12 and set "type": "module" in packages.json

Packages

Package Version
boot boot-svg
ali-oss ali-oss-svg
cache cache-svg
jwt jwt-svg
otel otel-svg
taskman taskman-svg

Initialize and install dependencies

安装全局依赖

npm i -g c8 lerna rollup tsx

Update package

npm i && npm run build

Test

  • Use npm run lint to check code style.
  • Use npm run test to run unit test.

Clan or Purge

# 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

Languages


About

License:MIT License


Languages

Language:TypeScript 59.5%Language:Shell 23.8%Language:JavaScript 16.7%