1
0
Fork 0

style(new-design): Export $$Name$$ instead of Pattern

This commit is contained in:
Nikhil Chelliah 2022-10-14 17:40:11 -04:00
parent 49e4496e4b
commit f8b156d066
11 changed files with 76 additions and 26 deletions

View file

@ -9,6 +9,7 @@ import { oraPromise } from 'ora'
import { execa } from 'execa'
import axios from 'axios'
import { fileURLToPath } from 'url'
import { capitalize } from '@freesewing/core'
// Current working directory
let filename
@ -286,6 +287,7 @@ export const createEnvironment = async (choices) => {
// Copy/Template files
try {
const templateVars = {
Name: capitalize(choices.name),
name: choices.name,
tag: config.tag,
}