New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codemaskinc/create-app-template

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

@codemaskinc/create-app-template

  • 1.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

typescript MIT npm version npm downloads

Usage

npm
npm create @codemaskinc/app-template
yarn
yarn create @codemaskinc/app-template
pnpm
pnpm create @codemaskinc/app-template
bunx
bunx @codemaskinc/create-app-template

Flags

The following flags can be used to configure the package manager and template:

FlagDescription
--npmSelects the NPM package manager.
--yarnSelects the Yarn package manager.
--pnpmSelects the PNPM package manager.
--bunSelects the Bun package manager.
--templateSelects a template to use when generating the project
(e.g., react, react-native, astro, nestjs-rest-api, nestjs-graphql)

Local build

yarn build && npx create-app-template

Adding extras

We can add extra functions to the template, they can be optionally selected when creating new project (example - template/react/extras/form)

Files from extras folder will be combined with files from base template. If there are two file with the same location (usually index.ts's) text from extra file will be placed in the bottom of the original one

You need to also define extras in other places in code

In src/data/questions/extras.ts there is extras object, you can add properties to array inside extras.options[Template] to enable selection of new extras. label - text that appear in list of extras value - name of folder where extras is placed

If your extras should install new package you can add them in src/data/packages.ts

Keywords

FAQs

Package last updated on 27 Oct 2023

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