Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-elderfo-typescript-workspace

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-elderfo-typescript-workspace

Boilerplate for typescript projects using yarn workspaces

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

generator-elderfo-typescript-workspace NPM version Build Status Dependency Status Coverage percentage

Boilerplate generator for typescript monorepos not intended to be published to npm.

Installation

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

Configuration

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 created
  • Application Version - the version to be used with the application

Structure

The 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 packages
  • tools is for dev packages, such as pre-processors, data generators, etc...

Npm/yarn Run Scripts

  • bootstrap - convinence method for lerna bootstrap
  • build - runs build on all packages with a defined build script
  • clean-all - cleans all node_modules and build folders
  • dev - runs the dev script in parallel on all packages that have one defined
  • pretest - pre-builds packages for testing
  • test - runs tests at a global level

License

MIT © Chris Getsfred

Keywords

FAQs

Package last updated on 27 Oct 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc