diff --git a/libs/create-qwikdev-astro/README.md b/libs/create-qwikdev-astro/README.md index 0181564..1c98ef2 100644 --- a/libs/create-qwikdev-astro/README.md +++ b/libs/create-qwikdev-astro/README.md @@ -34,10 +34,10 @@ **Types of arguments:** - | Name | Type | Default value | Description | - | :-----------| :--------------------------| :-------------| :---------------------------------| - | destination | String | . | Directory of the project. | - | adapter | "deno" or "node" or "none" | none | Server adapter. | + | Name | Type | Default value | Description | + | :-----------| :--------------------------| :----------------| :---------------------------------| + | destination | String | ./qwik-astro-app | Directory of the project. | + | adapter | "deno" or "node" or "none" | none | Server adapter. | **Types of options:** @@ -94,7 +94,7 @@ ```typescript export const defaultDefinition = { - destination: ".", + destination: "./qwik-astro-app", adapter: "none", force: undefined, add: undefined, diff --git a/libs/create-qwikdev-astro/src/app.ts b/libs/create-qwikdev-astro/src/app.ts index dc85949..e5b7551 100644 --- a/libs/create-qwikdev-astro/src/app.ts +++ b/libs/create-qwikdev-astro/src/app.ts @@ -35,7 +35,7 @@ export type EnsureRequired = Omit & Required; export const defaultDefinition = { - destination: ".", + destination: "./qwik-astro-app", adapter: "none", force: undefined, install: undefined, diff --git a/libs/create-qwikdev-astro/tests/api.spec.ts b/libs/create-qwikdev-astro/tests/api.spec.ts index 243d0d1..621f295 100644 --- a/libs/create-qwikdev-astro/tests/api.spec.ts +++ b/libs/create-qwikdev-astro/tests/api.spec.ts @@ -76,7 +76,7 @@ test.group("default definition", () => { test("destination", ({ assert }) => { assert.isTrue(definition.get("destination").isString()); - assert.isTrue(definition.get("destination").equals(".")); + assert.isTrue(definition.get("destination").equals("./qwik-astro-app")); assert.isTrue(definition.get("destination").equals(defaultDefinition.destination)); }); @@ -121,7 +121,7 @@ test.group("arguments", () => { let definition = tester.parse([]); assert.isTrue(definition.get("destination").isString()); - assert.isTrue(definition.get("destination").equals(".")); + assert.isTrue(definition.get("destination").equals("./qwik-astro-app")); assert.isTrue(definition.get("adapter").equals("none")); });