Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@alifd/build-plugin-lowcode
Advanced tools
export interface LowcodeOptions {
builtinAssets?: Array<string|Assets>; // 会作为内置资产保存到构建产物中
extraAssets?: Array<string|Assets>; // 只在调试环境加载到资产包中
noParse?: boolean; // 关闭自动解析生成 lowcode meta
categories?: string[]; // 组件在组件面板中的分类
groups?: string[]; // 组件在组件面板中的 tab 分组
baseLibrary?: 'react'|'rax';
setterMap?: SetterMap; // 注入 setter
}
export interface SetterMap {
[SetterName: string]: string;
}
export type Assets = {
package: string;
version: string;
urls: string[];
library: string;
};
// 示例
// {
// package: 'antd',
// version: '4.17.3',
// urls: [
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.js',
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.css',
// ],
// library: 'antd',
// }
demo/component
目录下是测试组件的项目,改项目引用了 build-plugin-lowcode,相关配置在在 demo/component/build.lowcode.js
中;
可以修改 build-plugin-lowcode 的代码、修改 demo/component/build.lowcode.js 的配置进行调试;
# 在 build-plugin-lowcode 根目录下执行启动调试环境
npm run component:dev
FAQs
build plugin for component-to-lowcode
The npm package @alifd/build-plugin-lowcode receives a total of 18 weekly downloads. As such, @alifd/build-plugin-lowcode popularity was classified as not popular.
We found that @alifd/build-plugin-lowcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.