Skip to content

Commit

Permalink
feat(boilerplates): update prompt for init
Browse files Browse the repository at this point in the history
  • Loading branch information
thonatos committed Apr 19, 2024
1 parent a962ff1 commit e82877d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/boilerplates/artusx-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
description: {
desc: 'package description',
default(vars) {
return `${vars.name} app powered by artusx`;
return `artusx-${vars.name} powered by artusx`;
},
},
author: {
Expand All @@ -21,7 +21,7 @@ module.exports = {
monorepo: {
desc: 'update package dependencies? If it is a monorepo, enter to confirm',
filter(v) {
if (v) {
if (!v) {
return 'workspace:*';
}

Expand All @@ -31,7 +31,7 @@ module.exports = {
buildScript: {
desc: 'keep build script settings? If it is a monorepo, enter to confirm',
filter(v) {
if (v) {
if (!v) {
return '';
}

Expand Down
4 changes: 2 additions & 2 deletions packages/boilerplates/artusx-lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ module.exports = {
default: 'Suyi <[email protected]>',
},
monorepo: {
desc: 'managed by monorepo, enter anything to confirm',
desc: 'update package dependencies? If it is a monorepo, enter to confirm',
filter(v) {
if (v) {
if (!v) {
return 'workspace:*';
}

Expand Down
4 changes: 2 additions & 2 deletions packages/boilerplates/artusx-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ module.exports = {
default: 'Suyi <[email protected]>',
},
monorepo: {
desc: 'managed by monorepo, enter anything to confirm',
desc: 'update package dependencies? If it is a monorepo, enter to confirm',
filter(v) {
if (v) {
if (!v) {
return 'workspace:*';
}

Expand Down

0 comments on commit e82877d

Please sign in to comment.