
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@theforeman/builder
Advanced tools
Build production and development bundle files for foreman core and plugins.
Build production and development bundle files for foreman core and plugins.
@theforeman/builder/babel - Adds theforeman babel production configuration to your projecttfm-builder-install - Install the @theforeman/builder to your project.tfm-build - Run it to build foreman or a foreman plugin.tfm-builder-analyze - Run it to analyze your build content.tfm-dev-server - Run a development server so your code will get build and served locally with a live-reload feature.npm install --save-dev @theforeman/builder
tfm-builder-install
# answer the questions
.babelrc.js file in your project root with the following content.module.exports = {
presets: ['@theforeman/builder/babel'],
};
@theforeman/builder/babelwill automatically load@theforeman/env/babelfor none production environments.
config/tfm-builder.config.js file with the following content:module.exports = {
// set your javascript entry points
entry: {
'my-plugin': 'webpack/assets/myPlugin.js',
'my-plugin-fills': 'webpack/assets/myPluginFills.js',
},
// set your output path
outputPath: 'public/webpack',
// if using in foreman core (won't work for plugins)
// set a devServer
devServer: {
port: '3808',
host: process.env.BIND || 'localhost',
}
};
package.json{
"scripts": {
"build": "tfm-build config/tfm-builder.config.js",
"build-analyze": "tfm-builder-analyze config/tfm-builder.config.js",
"dev-server": "tfm-dev-server config/tfm-builder.config.js"
}
}
Please checkout the contributing.md, the roadmap.md and the open issues.
FAQs
Build production and development bundle files for foreman core and plugins.
The npm package @theforeman/builder receives a total of 1,791 weekly downloads. As such, @theforeman/builder popularity was classified as popular.
We found that @theforeman/builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.