Midway.js Components
ESM build only, requires @midwayjs >= 3.15
and set "type": "module"
in packages.json
Package | Version |
---|---|
share |
|
ali-oss |
|
cache |
|
jwt |
|
otel |
npm i -g c8 lerna madge rollup tsx zx
npm i && npm run build
- Use
npm run lint
to check code style. - Use
npm run test
to run unit test.
# clean build dist, cache and build
npm run clean
# clean and remove all node_modules
npm run purge
- Run
npm run clean
beforenpm run build
, if any file under typescript outDir folder was deleted manually. - Default publish registry is
NPM
, configurated in filelerna.json
- Any commands above (such as
npm run build
) running inGit-Bash
under Windows OS