Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
generator-elderfo-typescript-workspace
Advanced tools
Boilerplate for typescript projects using yarn workspaces
Boilerplate generator for typescript monorepos not intended to be published to npm.
First, install Yeoman and generator-elderfo-typescript-workspace using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-elderfo-typescript-workspace
Then generate your new project:
yo elderfo-typescript-workspace
The generator will prompt you for two values:
Application Name
- the name of the application. Note: when running the generator, you will want to be in the folder above where you want the package to be createdApplication Version
- the version to be used with the applicationThe application configuration expects the application to be structured like:
<project-name>/
|-- packages/
|-- tools/
|-- jest.json
|-- lerna.json
|-- package.json
`-- tsconfig.json
packages
is for the main applicaiton packagestools
is for dev packages, such as pre-processors, data generators, etc...bootstrap
- convinence method for lerna bootstrap
build
- runs build
on all packages with a defined build
scriptclean-all
- cleans all node_modules
and build
foldersdev
- runs the dev
script in parallel on all packages that have one definedpretest
- pre-builds packages for testingtest
- runs tests at a global levelMIT © Chris Getsfred
FAQs
Boilerplate for typescript projects using yarn workspaces
We found that generator-elderfo-typescript-workspace 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.