midway-components

midway.js base

MIT License

Downloads
7.3K
Stars
1
Committers
3

Midway.js Components

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

Package Rankings
Top 7.41% on Npmjs.org
Badges
Extracted from project README
GitHub tag License ci codecov Conventional Commits lerna share-svg ali-oss-svg cache-svg jwt-svg otel-svg
Related Projects