
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@capillarytech/cap-ui-dev-tools
Advanced tools
Development tools for Capillary UI projects including webpack hot-reload plugin and CapVision session recording
Development tools for Capillary UI projects - Webpack hot-reload plugin + CapVision session recording
A "zero-config" webpack plugin that automatically aliases and hot-reloads local libraries.
Automatic session recording for WebdriverIO tests with HTML report integration.
npm install --save-dev @capillarytech/cap-ui-dev-tools
When developing an application that consumes a local library, you typically have to manage two separate configurations:
resolve.alias entry in your webpack config to point the library's package name to your local source code.Managing this in the main webpack config can be messy and error-prone.
This plugin provides a single, clean interface to handle both aliasing and watching.
Based on initial testing, this can reduce development iteration time by over 90% (e.g., from 3 minutes to under 10 seconds).

// webpack.config.js
const LibraryWatcherPlugin = require('@capillarytech/cap-ui-dev-tools');
// or
const LibraryWatcherPlugin = require('@capillarytech/cap-ui-dev-tools/webpack');
const path = require('path');
module.exports = {
mode: 'development',
plugins: [
new webpack.HotModuleReplacementPlugin(),
new LibraryWatcherPlugin({
// An array of libraries to alias and watch.
libs: [
{
// The package name of the library (from its package.json).
name: 'cap-creatives-ui',
// The absolute path to the library's source code.
path: path.resolve(__dirname, '../cap-creatives-ui/src')
},
{
name: 'another-local-lib',
path: path.resolve(__dirname, '../another-local-lib/src')
}
],
// Enable verbose logging to the console.
verbose: true,
// Optional: Options passed directly to chokidar.
watchOptions: {
// ..
}
})
]
};
libs array.resolve.alias entry for each library.chokidar to watch the provided path for each library.contextDependencies to make webpack aware of them.// wdio.conf.js
const { createWDIOCapVisionHooks } = require('@capillarytech/cap-ui-dev-tools/capvision');
const capVisionHooks = createWDIOCapVisionHooks({
recordingsOutputDir: './reports/recordings',
enabledClusters: ['staging', 'production']
});
exports.config = {
onPrepare: capVisionHooks.onPrepare,
beforeTest: (test, context) => capVisionHooks.beforeTest(test, context, browser),
afterTest: capVisionHooks.afterTest,
onComplete: capVisionHooks.onComplete
};
See CAPVISION_USAGE.md for complete CapVision documentation including:
// Webpack Plugin (default export)
const LibraryWatcherPlugin = require('@capillarytech/cap-ui-dev-tools');
// or explicitly
const LibraryWatcherPlugin = require('@capillarytech/cap-ui-dev-tools/webpack');
// CapVision Recorder
const { createWDIOCapVisionHooks } = require('@capillarytech/cap-ui-dev-tools/capvision');
// or from main export
const { createWDIOCapVisionHooks } = require('@capillarytech/cap-ui-dev-tools');
// Full CapVision module
const capVision = require('@capillarytech/cap-ui-dev-tools').capVisionRecorder;
Use LibraryWatcherPlugin to:
Use CapVision Recorder to:
Use both for:
path in the libs configuration is an absolute path pointing to the source code of your library. Use path.resolve(__dirname, '..', 'your-lib').name property matches the package name your host application is trying to import.verbose mode: Set verbose: true to see detailed logs.See CAPVISION_USAGE.md for common issues and solutions.
For maintainers:
Update Version Number: Update the version field in package.json according to SemVer.
Log in to NPM:
npm login
Perform a Dry Run:
npm publish --dry-run
Publish:
npm publish
Contributions welcome! Please:
ISC License
Made with ❤️ by Capillary Technologies
Version: 1.1.0
Includes: Webpack Hot-Reload Plugin + CapVision Session Recording
FAQs
Development tools for Capillary UI projects including webpack hot-reload plugin and CapVision session recording
The npm package @capillarytech/cap-ui-dev-tools receives a total of 79 weekly downloads. As such, @capillarytech/cap-ui-dev-tools popularity was classified as not popular.
We found that @capillarytech/cap-ui-dev-tools demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.