Socket
Socket
Sign inDemoInstall

@iteam/create-templates

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iteam/create-templates

Iteam project templates with our preferred defaults and configurations


Version published
Weekly downloads
8
increased by100%
Maintainers
4
Weekly downloads
 
Created
Source

👷‍♀️ templates 👷

This repository contains Iteam project templates to scaffold new projects and a small CLI to initialize them.

How to use

  1. In your terminal, run:
npm init @iteam/templates@latest
  1. You will be presented with the templates available (currently koa-typescript, react-typescript, react and vite)
  2. When you choose a template, a sub-directory with a new project will be created.

How to contribute

The CLI part of this project is responsible for "end user usage", as in when you use the CLI to install a new template. All the source code for the CLI is in the src directory.

When you run npm run build from the root, we bundle the source files into ./index.js. Later, when this CLI is used, said ./index.js is executed, effectively running the CLI script in the terminal of the consumer.

You can test the script locally by running:

npm run build
node index.js

This project is set up with semantic-release. Every push to the main branch will trigger a Github Actions workflow (./.github/workflows/release).

This workflow will do the following:

  • Run tests

  • Run npx semantic-relase, which will in turn:

    • Analyze the commits since the last release, using the commit names based on conventional-commits

    • If eligible*, create a new SemVer version tag based on the commit names

    • If eligible*, publish a new version of this library to NPM at @iteam/create-templates

    • If eligible*, append the new version to the changelog

      * Eligible means if the commits since the last release motivates a new release, where commit name fix: motivates a patch version, feat: motivates a minor version, and BREAKING CHANGE(footer) motivates a major version. Read more at conventional-commits

FAQs

Package last updated on 09 Dec 2022

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