Skip to content

Commit

Permalink
Merge pull request #98 from obewds/dev
Browse files Browse the repository at this point in the history
0.18.5 - vitest config generator now with coverage config sub object and fixing ziggy router param for a teams.show link
  • Loading branch information
oberocks committed Feb 20, 2024
2 parents 63d31c2 + 4fe4cf4 commit 90b2253
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions dist/generators/jetstream/generate-vitest-config-ts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/generators/jetstream/generate-vitest-config-ts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@obewds/vilt-ds",
"version": "0.18.4",
"version": "0.18.5",
"description": "The official repository for the VILT Design System for the Vue.js, Inertia.js, Laravel, and Tailwind CSS web app stack that is turbocharged with Typescript and VueVentus.",
"license": "MIT",
"author": "Matt McT",
Expand Down
4 changes: 4 additions & 0 deletions src/generators/jetstream/generate-vitest-config-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export default {
setupFiles: ['./vitestSetup.ts', './vitestZiggyRouteShim.d.ts'],
exclude: [...configDefaults.exclude],
include: ['./tests/Vitest/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
coverage: {
all: false,
provider: 'v8', // or 'istanbul'
},
},
}
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ return `<!-- ./resources/js/Layouts/AppLayout.vue -->
</div>
<!-- Team Settings -->
<DropdownLink :href="route('teams.show', pageProps.auth.user.current_team)">
<DropdownLink :href="route('teams.show', pageProps.auth.user.current_team.id)">
Team Settings
</DropdownLink>
Expand Down Expand Up @@ -301,7 +301,7 @@ return `<!-- ./resources/js/Layouts/AppLayout.vue -->
</div>
<!-- Team Settings -->
<ResponsiveNavLink :href="route('teams.show', pageProps.auth.user.current_team)" :active="route().current('teams.show')">
<ResponsiveNavLink :href="route('teams.show', pageProps.auth.user.current_team.id)" :active="route().current('teams.show')">
Team Settings
</ResponsiveNavLink>
Expand Down

0 comments on commit 90b2253

Please sign in to comment.