
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.
@misk/dev
Advanced tools
This package provides shared devDependencies and compiler options used to provide a common development environment across Misk tab repos. For Typescript linting, see @misk/tslint.
$ yarn add @misk/dev
Create a tsconfig.json file in the repo root directory with the following:
{
"extends": "../../node_modules/@misk/dev/tsconfig.base",
"compilerOptions": {
"outDir": "./lib/web/_tab/{tabname}"
}
}
Create a prettier.config.js file in the repo root directory with the following:
const { createPrettierConfig } = require("@misk/dev")
module.exports = createPrettierConfig()
Create a webpack.config.js file in the repo root directory with the following:
const { createTabWebpack } = require("@misk/dev")
const path = require('path')
const miskTab = require(path.join(process.cwd(), "package.json")).miskTab
module.exports = createTabWebpack(process.env.NODE_ENV, {
"dirname": __dirname,
miskTab
},
{
// optional: any other Webpack config fields to be merged with the Misk Tab Webpack Config
})
Used in createTabWebpack but also available as an export of @misk/dev are the following externals objects that are formatted for use by Webpack to exclude libraries from compiled code:
vendorExternals: vendor libraries included in @misk/common/lib/vendors.jsmiskExternals: all Misk librariesIf you are using one of the Webpack builders in @misk/dev, all externals above are included in the Webpack config. To use the externals in other Webpack configs, follow the steps below.
Add the following to your webpack.config.js as relevant.
const MiskDev = require('@misk/dev')
...
module.exports = {
mode
entry
...
externals: { ...MiskDev.vendorExternals, ...MiskDev.miskExternals },
}
To build your own externals, use the exported function createExternals which consumes an object of the below structure which maps a key (NPM package name) to a normalized library name that will be mounted on browser window.
{
"@blueprintjs/core": ["Blueprint", "Core"],
"@blueprintjs/icons": ["Blueprint", "Icons"],
"axios": "Axios",
...
}
Included are recommended extensions and settings.
Add settings by copying the JSON from the file into .vscode/settings.json in your Tab repo.
The child Webpack template above consumes some static initialization variables that you must add to your package.json. An example for the Config tab is included below.
Note that the output_path must match the outDir specified in the repo's tsconfig.json.
"devDependencies": {
"@misk/dev": "0.0.20"
},
"miskTab": {
"name": "Config",
"output_path": "dist",
"port": "3000",
"relative_path_prefix": "_tab/config/",
"slug": "config"
}
Included Libraries: Look at package.json
FAQs
Misk-Web Build and Dev Tools
The npm package @misk/dev receives a total of 770 weekly downloads. As such, @misk/dev popularity was classified as not popular.
We found that @misk/dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

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.