Skip to content

Commit

Permalink
disable INCOMPATIBLE_PEER_DEPENDENCY error for SvelteKit sandboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Dec 21, 2023
1 parent bf498ea commit 851d9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/utils/yarn.ts
Expand Up @@ -97,8 +97,8 @@ export const configureYarn2ForVerdaccio = async ({
`yarn config set enableImmutableInstalls false`,
];

if (key === 'svelte-kit/prerelease-ts') {
// Don't error with INCOMPATIBLE_PEER_DEPENDENCY for SvelteKit prerelease, it is expected
if (key.includes('svelte-kit')) {
// Don't error with INCOMPATIBLE_PEER_DEPENDENCY for SvelteKit sandboxes, it is expected to happen with @sveltejs/vite-plugin-svelte
command.push(
`yarn config set logFilters --json '[ { "code": "YN0013", "level": "discard" } ]'`
);
Expand Down

0 comments on commit 851d9c2

Please sign in to comment.