style(new-design): Export $$Name$$
instead of Pattern
This commit is contained in:
parent
49e4496e4b
commit
f8b156d066
11 changed files with 76 additions and 26 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue