Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@log4brains/web
Advanced tools
Log4brains architecture knowledge base web UI and static site generator
This package provides the web UI of the Log4brains architecture knowledge base and its static site generation capabilities.
You should use npx init-log4brains
as described in the Log4brains README, which will install all the required dependencies in your project, including this one, and set up the right scripts in your package.json
.
You can also install this package manually via npm or yarn:
npm install --save-dev @log4brains/web
or
yarn add --dev @log4brains/web
And add these scripts to your package.json
:
{
[...]
"scripts": {
[...]
"log4brains-preview": "log4brains-web preview",
"log4brains-build": "log4brains-web build",
}
}
You should have a look at the main Log4brains README to get more context.
This command will start the web UI in preview mode locally on http://localhost:4004/.
You can define another port with the -p
option.
In this mode, the Hot Reload feature is enabled: any changes you make to the markdown files are applied live in the UI.
npm run log4brains-preview
or
yarn log4brains-preview
This command should be used in your CI/CD pipeline. It creates a static version of your knowledge base, ready to be deployed on a static website hosting service like GitHub or GitLab pages.
npm run log4brains-build
or
yarn log4brains-build
The default output directory is .log4brains/out
. You can change it with the -o
option.
FAQs
Log4brains architecture knowledge base web UI and static site generator
The npm package @log4brains/web receives a total of 2,864 weekly downloads. As such, @log4brains/web popularity was classified as popular.
We found that @log4brains/web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.