
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@procore/core-scripts-shims
Advanced tools
Shims that patch @procore/core-scripts.
yarn add @procore/core-scripts-shims
This package contains shims to patch core-scripts. These are useful when it's either difficult to upgrade core-scripts in a timely fashion or to patch things that are not easily changeable in core-scripts.
// procore.config.js
const { aShim } = require('@procore/core-scripts-shims');
module.exports = () => {
app: {
webpackOverride(config) {
// any other overrides in webpackOverride.
// Apply the desired shim.
aShim(config);
}
}
}
autoPublicPathThis shim will patch the publicPath to be consistent across usages in the core-scripts webpack configuration, and enables the use of the "auto" public path for context-free MFE deployments. "context-free" means no more needing to specify a --publicPath value!
// procore.config.js
const { autoPublicPath } = require('@procore/core-scripts-shims');
module.exports = () => {
app: {
webpackOverride(config) {
// any other overrides in webpackOverride.
autoPublicPath(config);
}
}
}
FAQs
Shims that patch core-scripts
The npm package @procore/core-scripts-shims receives a total of 24 weekly downloads. As such, @procore/core-scripts-shims popularity was classified as not popular.
We found that @procore/core-scripts-shims demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 299 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.