# semo-plugin-project-templates

> A Semo plugin to provide more project templates for semo create.

Latest version **1.0.2** (published 2020-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install semo-plugin-project-templates
pnpm add semo-plugin-project-templates
yarn add semo-plugin-project-templates
bun add semo-plugin-project-templates
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-12-14 |
| First published | 2020-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | vipzhicheng |
| Keywords | semo, plugin, project, templates |

## Links

- npm: https://www.npmjs.com/package/semo-plugin-project-templates
- Repository: https://github.com/semojs/semo-plugin-project-templates
- Homepage: https://github.com/semojs/semo-plugin-project-templates#readme
- Issues: https://github.com/semojs/semo-plugin-project-templates/issues
- npm.io page: https://npm.io/package/semo-plugin-project-templates

## Dependencies (1)

- [@semo/core](https://npm.io/package/@semo/core.md) ^1.5.13

## Recent versions

- 1.0.2 (latest) — 2020-12-14
- 1.0.1 — 2020-12-14
- 1.0.0 — 2020-12-11

## README

# semo-plugin-project-templates

This is a Semo plugins which provide more project templates, may or may not related with Semo.

This is also a demo to show how keep your awesome project template using Semo in your organization.

Just use one Semo hook to do this.

```typescript
export default (Utils) => {
  return {
    hook_create_project_template: new Utils.Hook('semo', {
      project_key: {
        name: 'A good name',
        description: 'A good description.',
        tags: ['tagtag'],
        repo: 'git repo url'
      }
  }
}
```

## Usage

```
semo create PROJECT_NAME --template
semo create PROJECT_NAME -T
semo create PROJECT_NAME --template --tag tagtag

```

## Plan

My plan is to keep my nodejs project templates in this repo, so maybe it's not that useful for you. So to be a demo, you can create your own template projects plugin or put the hook code in your local machine.

## Another way to do this.

You can also register your project template info in your local machine global Semo config file.

```
# ~/.semo/.semorc.yml

$plugin:
  semo:
    create:
      repos:
        backend_nest_one:
          repo: git repo url
          name: A good name
          description: A good description
          tags: [tagtag]

```

## Licence
MIT

---
_Source: https://npm.io/package/semo-plugin-project-templates · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
