Chalarangelo / Chalarangelo/create-js-project

Template import functionality

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
43
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I was thinking of adding some functionality, via a second `bin` script that will allow users to specify a folder on their local environment where multiple template folders will exist. Then, `create-js-project`, will load those templates on runtime and provide the templates as options.

This will make the tool infinitely customizable and allow developers to test their templates before submitting them to the project, if they want to do so.

The main points of interest I can think of are:
- How will the path to that folder be stored? Maybe an environment variable?
- What happens if a template folder is not properly structured? It's kind of important to have error handling probably.
- Naming conflicts can cause issues, if the same template name exists in the tool's defaults and imports, which one is prioritized?
- Would it be possible to import templates from multiple locations? Maybe even git repositories?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.