Skip to content

waitingsong/midway-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Midway.js Components

GitHub tag License ci codecov Conventional Commits lerna

Note

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

Packages

Package Version
share share-svg
ali-oss ali-oss-svg
cache cache-svg
jwt jwt-svg
otel otel-svg

Initialize and install dependencies

Install global deps for development

npm i -g c8 lerna madge rollup tsx zx

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