Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
plugin framework for building extendable and flexible web apps or back-end services.
brickyard3 是一个基于插件式架构的前端代码管理与构建框架工具,是面向产品线开发的代码共享与分化的集成解决方案。
此核心库只完成几项核心功能:
brickyard install ****
npm install brickyard3 brickyard-command-dev brickyard-command-release brickyard-command-install -S
├─ bricks (name configurable)
│ ├── brickyard-plugins
│ └── awosome-app
├── recipes (name configurable)
│ └── awosome-app (program-specific config)
├── by-conf.js (optional)
└── package.json
# 安装插件依赖
brickyard install awesome-app
# 启动开发流程
brickyard dev awesome-app
# 启动发布流程, 不需要预先 install
brickyard release awesome-app
├── dist
│ ├── build-awesome-app
│ │ └── bower_components
│ └── release-wcg
│ ├── bower_components
│ └── www
www
目录里面就是可打包的发布目录
Note: 由于开发模式下使用的是内存文件系统,并不会生成目标文件,所以
build-***
目录下只有安装的bower packages
配置可进行多级覆盖,具体优先级如下(从上到下递增):
framework default config
user config (optional)
program config (optional)
command line config (optional)
user config 默认是运行目录下 by-conf.js,除非用户指定了 config 参数
user config 文件的输出配置中可以定义 commands 属性,用于指定需要加载的命令
module.exports = {
commands: [
'brickyard-command-dev',
{
name: 'brickyard-command-test',
path: '/home/hal/app/lib/test.js' // absolute path
}
]
...
}
/bricks
(或者其他指定文件夹内)放置插件,/recipes
(或者其他指定文件夹内)放置目标程序的组装计划。
程序由插件组装而成。
插件可以直接是一个npm package
,或者以bower
管理依赖的package
。
组装计划需要是以下格式:
module.exports = {
id: 'awesome-app',
plugins: [
'brickyard-plugins',
'awosome-app'
],
config: {
...(the same as config)
}
}
如果指定了id,会取代其目录名成为组装计划的名称。
参见 设计文档
2.2.2 (2017-03-14)
<a name="2.2.1"></a>
FAQs
plugin framework for building extendable and flexible web apps or back-end services.
The npm package brickyard3 receives a total of 3 weekly downloads. As such, brickyard3 popularity was classified as not popular.
We found that brickyard3 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.