Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@codecompose/typescript-config
Advanced tools
Opinionated reusable Typescript configurations, assuming:
src
and dist
directories~/
as path alias for src
(*) Use the single-*.json
variants if you do not use a monorepo setup.
At the time of writing, not all tooling correctly interprets the extended config.
pnpm i @codecompose/typescript-config -D
...or the equivalent for your package manager.
{
"extends": "@codecompose/typescript-config/single-react-library.json"
}
For something else, like a CLI or E2E app you can probably just use the
base.json
configuration.
Source maps are not enabled, because we assume that your bundler will handle that.
All configurations have incremental
set to true
. In my experience, it can
happen that builds get stuck in limbo and you need to delete the tsbuildinfo
file to get things going again. For this reason I recommend adding the following
script to your manifest based on del-cli
:
"clean": "del dist tsconfig.tsbuildinfo"
FAQs
Opinionated reusable TypeScript configurations
We found that @codecompose/typescript-config 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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
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.