Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
lerna-script-tasks-idea
Advanced tools
lerna-script task to generate WebStorm project for a Lerna managed project with hardcoded conventions:
node_modules
as ignored so WebStorm would not index those. Having >= 20 modules open with node_modules
indexing pretty much kills it:/es6
;lib
, src
as source rootps and test
, tests
as test roots;Note: given this task generates WebStorm project files manually, you must close all instances of WebStorm before generating and open afterwards.
npm install --save-dev lerna-script-tasks-idea
Add lerna-script
launcher to package.json
scripts:
{
"scripts": {
"start": "lerna-script"
}
}
Add export to lerna.js
:
const idea = require('lerna-script-tasks-idea');
module.exports.idea = idea();
To generate WebStorm project run:
npm start idea
Returns a function that generates WebStorm for all modules in repo.
Parameters:
lerna.json
;root.iml
file will be generated to make all non-modules visible in IDEA (optional, defaults to false)npmlog
instance.FAQs
task for start that generates intellij project for repo
The npm package lerna-script-tasks-idea receives a total of 10 weekly downloads. As such, lerna-script-tasks-idea popularity was classified as not popular.
We found that lerna-script-tasks-idea demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.