diff --git a/libs/create-qwikdev-astro/README.md b/libs/create-qwikdev-astro/README.md index c7fdcb1a..0181564f 100644 --- a/libs/create-qwikdev-astro/README.md +++ b/libs/create-qwikdev-astro/README.md @@ -7,25 +7,25 @@ - **With `NPM`**: ```bash - npm create @qwikdev/astro@latest [project] [adapter] [...options] + npm create @qwikdev/astro@latest [destination] [adapter] [...options] ``` - **With `Yarn`**: ```bash - yarn create @qwikdev/astro [project] [adapter] [...options] + yarn create @qwikdev/astro [destination] [adapter] [...options] ``` - **With `PNPM`**: ```bash - pnpm create @qwikdev/astro [project] [adapter] [...options] + pnpm create @qwikdev/astro [destination] [adapter] [...options] ``` - **With `Bun`**: ```bash - bun create @qwikdev/astro [project] [adapter] [...options] + bun create @qwikdev/astro [destination] [adapter] [...options] ``` The `create @qwikdev/astro` command runs interactively without any arguments or options. diff --git a/libs/create-qwikdev-astro/tests/cli.spec.ts b/libs/create-qwikdev-astro/tests/cli.spec.ts index a2f2b3be..0af4b2d0 100644 --- a/libs/create-qwikdev-astro/tests/cli.spec.ts +++ b/libs/create-qwikdev-astro/tests/cli.spec.ts @@ -103,12 +103,38 @@ const getGeneratedDirs = (options: GeneratedOptions = {}): string[] => { return dirs; }; -test.group(`create ${integration}`, (group) => { - group.setup(setup); +test.group(`create ${integration} app`, (group) => { + group.each.setup(setup); - test(`should create a new ${integration} app`, async (context) => { + test("without adapter", async (context) => { return testRun([], context); }); + + test("without adpater and using Biome", async (context) => { + return testRun(["--biome"], context, { + biome: true + }); + }); + + test("with Node.js adapter", async (context) => { + return testRun(["node"], context); + }); + + test("with Node.js adapter and using Biome", async (context) => { + return testRun(["node", "--biome"], context, { + biome: true + }); + }); + + test("with Deno adapter", async (context) => { + return testRun(["deno"], context); + }); + + test("with Deno adapter and using Biome", async (context) => { + return testRun(["deno", "--biome"], context, { + biome: true + }); + }); }); test.group(`create ${integration} with yes and no options`, (group) => {