Skip to content

Commit

Permalink
use verbose for e2e app setup
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryB432 committed Jun 1, 2024
1 parent 5d34f44 commit 4ab6b7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions e2e/svelte-e2e/tests/svelte.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('svelte e2e', () => {
const project = uniq('svelte');
await createSveltekitProject(project);
await runNxCommandAsync(
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive`
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive --verbose`
);
const result = await runNxCommandAsync(`build ${project}`);
expect(result.stdout).toContain('Executor ran');
Expand All @@ -49,7 +49,7 @@ describe('svelte e2e', () => {
const project = uniq('svelte');
await createSveltekitProject(project);
await runNxCommandAsync(
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive`
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive --verbose`
);
const proj = readJson<ProjectConfiguration>(
`apps/${project}/project.json`
Expand All @@ -72,7 +72,7 @@ describe('svelte e2e', () => {
const project = uniq('svelte');
await createSveltekitProject(project);
await runNxCommandAsync(
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive --tags e2etag,e2ePackage`
`generate @gb-nx/svelte:application --projectPath=apps/${project} --skipFormat --no-interactive --verbose --tags e2etag,e2ePackage`
);
const proj = readJson<ProjectConfiguration>(
`apps/${project}/project.json`
Expand All @@ -86,7 +86,7 @@ describe('svelte e2e', () => {
const project = uniq('svelte');
await createSveltekitProject(project, `subdir`);
await runNxCommandAsync(
`generate @gb-nx/svelte:application --projectPath=subdir/${project} --skipFormat --no-interactive`
`generate @gb-nx/svelte:application --projectPath=subdir/${project} --skipFormat --no-interactive --verbose`
);
await runNxCommandAsync(
`generate @gb-nx/svelte:route a/b/c --runes --load=shared -p=${project} --skipFormat --no-interactive`
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/src/generators/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"description": "Add NX configuration to your Svelte-kit package.",
"examples": [
{
"command": "nx g @gb-nx/svelte:application myapp",
"description": "Adds nx key to the svelte kit package.json in the workspace's myapp project"
"command": "nx g @gb-nx/svelte:application --projectPath=apps/my-web",
"description": "Adds nx project corresponding to the svelte kit package.json in apps/my-web"
}
],
"type": "object",
Expand Down

0 comments on commit 4ab6b7a

Please sign in to comment.