diff options
author | 2022-06-27 14:15:51 -0700 | |
---|---|---|
committer | 2022-06-27 14:15:51 -0700 | |
commit | 4d6d8644e623522ca6c19dbb2078865b17044c38 (patch) | |
tree | c0d0f032785dc5b5ba1386612281b5b8a6e52715 /packages/create-astro/test/utils.js | |
parent | bd4dac0e1a8598045f10c42faf08abff96ed6766 (diff) | |
download | astro-4d6d8644e623522ca6c19dbb2078865b17044c38.tar.gz astro-4d6d8644e623522ca6c19dbb2078865b17044c38.tar.zst astro-4d6d8644e623522ca6c19dbb2078865b17044c38.zip |
SImplify "astro add" by removing confusing multi-select (#3715)
* wip
* update create-astro for new astro add
* update copy
* update git prompt
* Update packages/astro/src/core/logger/node.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/create-astro/test/install-step.test.js
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* update git prompt
* update test
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Diffstat (limited to 'packages/create-astro/test/utils.js')
-rw-r--r-- | packages/create-astro/test/utils.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/create-astro/test/utils.js b/packages/create-astro/test/utils.js index 964ae6a20..9d227f6b5 100644 --- a/packages/create-astro/test/utils.js +++ b/packages/create-astro/test/utils.js @@ -24,12 +24,10 @@ export function promiseWithTimeout(testFn) { } export const PROMPT_MESSAGES = { - directory: 'Where would you like to create your app?', - template: 'Which app template would you like to use?', + directory: 'Where would you like to create your new project?', + template: 'Which template would you like to use?', install: (pkgManager) => `Would you like us to run "${pkgManager} install?"`, - astroAdd: (astroAddCommand = 'npx astro@latest add --yes') => - `Run "${astroAddCommand}?" This lets you optionally add component frameworks (ex. React), CSS frameworks (ex. Tailwind), and more.`, - git: 'Initialize a git repository?', + git: 'Initialize a new git repository?', }; export function setup(args = []) { |