
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
umi-plugin-pro-block-ts
Advanced tools
A plugin for deliver umi block files like ant design pro structure
A plugin for deliver umi block files like ant design pro structure.
When you use umi block demo to download a block, if you did not use this plugin, you will get:
- src
- mock
- pages
+ - demo
+ - index.js
+ - _mock.js
+ - service.js
And if you use it, you will get:
- src
- mock
+ - demo.js
- service.js
+ - demo.js
- pages
+ - demo
+ - index.js
Ant will replace umi-request to util(s)/request.js if it exist.
Configure in .umirc.js,
export default {
plugins: [["umi-plugin-pro-block-ts", {}]]
};
{
moveMock: false, // whether move _mock.js to mock, default to true
moveService: false, // whether move service.js to src/services/, default to true
modifyRequest: false, // whether modify umi-request to util(s)/request (if it exist), default to true
autoAddMenu: false, // whether add name and icon config to route config when download a pro, default to true
}
MIT
FAQs
A plugin for deliver umi block files like ant design pro structure
We found that umi-plugin-pro-block-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.