Save after loading freesewing and pattern
This commit is contained in:
parent
a91ecd1b3a
commit
d73cd3512c
61 changed files with 6493 additions and 334 deletions
|
@ -30,7 +30,7 @@ module.exports = async (opts) => {
|
|||
{
|
||||
type: 'input',
|
||||
name: 'name',
|
||||
message: 'Package Name',
|
||||
message: 'Pattern Name',
|
||||
validate: (name) => {
|
||||
return name && validateNpmName(name).validForNewPackages
|
||||
},
|
||||
|
@ -39,7 +39,7 @@ module.exports = async (opts) => {
|
|||
{
|
||||
type: 'input',
|
||||
name: 'description',
|
||||
message: 'Package Description',
|
||||
message: 'Pattern Description',
|
||||
default: opts.description
|
||||
},
|
||||
{
|
||||
|
@ -70,8 +70,8 @@ module.exports = async (opts) => {
|
|||
{
|
||||
type: 'list',
|
||||
name: 'template',
|
||||
message: 'Template',
|
||||
choices: [ 'default', 'typescript', 'custom' ],
|
||||
message: 'Development Mode',
|
||||
choices: [ 'light', 'dark', 'custom' ],
|
||||
default: opts.template
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue