Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
create-typescript-library
Advanced tools
This is a repo that setup the basic structure for my (and your) next typescript library. Simply fork it and start coding!
dist/commonjs
directory for commonjs code to consumedist/esm
directory for es2015 code to consumedist
directory as an UMD module for othersyarn run dev
to compile to UMD module with webpack
yarn run dev:tsc
to compile to commonjs and es6 modules with tsc
yarn run dev:watch
to watch the file changes (by nodemon) and run the dev
scriptyarn run build
to generate minimized code for publish using webpack
yarn test
to run test against bundle results, library and demoInspired by the awesome blog post Compiling and bundling TypeScript libraries with Webpack by Marco Botto
FAQs
nodejs executable for creating typescript library
The npm package create-typescript-library receives a total of 1 weekly downloads. As such, create-typescript-library popularity was classified as not popular.
We found that create-typescript-library demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.