Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on YN0060 - INCOMPATIBLE_PEER_DEPENDENCY #22398

Merged
merged 2 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"*.d.ts"
],
"scripts": {
"check": "svelte-check --tsconfig ./tsconfig.json",
"check": "svelte-check",
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
Expand All @@ -66,7 +66,7 @@
"expect-type": "^0.14.2",
"svelte": "^3.59.1",
"svelte-check": "^3.4.3",
"typescript": "~4.9.3"
"typescript": "^5.0.4"
},
"peerDependencies": {
"svelte": "^3.1.0"
Expand Down
10 changes: 5 additions & 5 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7586,7 +7586,7 @@ __metadata:
svelte-check: ^3.4.3
sveltedoc-parser: ^4.2.1
type-fest: 2.19.0
typescript: ~4.9.3
typescript: ^5.0.4
peerDependencies:
svelte: ^3.1.0
languageName: unknown
Expand Down Expand Up @@ -29235,8 +29235,8 @@ __metadata:
linkType: hard

"svelte-preprocess@npm:^5.0.3":
version: 5.0.4
resolution: "svelte-preprocess@npm:5.0.4"
version: 5.0.3
resolution: "svelte-preprocess@npm:5.0.3"
dependencies:
"@types/pug": ^2.0.6
detect-indent: ^6.1.0
Expand All @@ -29253,7 +29253,7 @@ __metadata:
sass: ^1.26.8
stylus: ^0.55.0
sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0
svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0
svelte: ^3.23.0
typescript: ">=3.9.5 || ^4.0.0 || ^5.0.0"
peerDependenciesMeta:
"@babel/core":
Expand All @@ -29276,7 +29276,7 @@ __metadata:
optional: true
typescript:
optional: true
checksum: 1ed64b96a91327a47992df0b82df708b5cda92e1da211edbedaf411e633a0be5a8425d19f996abc8dcef52dadd26b5474924dd9eeb30a7b409bf60c33b689d6c
checksum: ec4fd22320eba631d7abc2641f542ec7e10f8a1862eb522fb5e12651c1f541d048c64191d770841a48793b8051b5bf6b09307505d66d6bb9786ba6807918057d
languageName: node
linkType: hard

Expand Down
3 changes: 2 additions & 1 deletion scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export const configureYarn2ForVerdaccio = async ({ cwd, dryRun, debug }: YarnOpt
// We need to be able to update lockfile when bootstrapping the examples
`yarn config set enableImmutableInstalls false`,
// Discard all YN0013 - FETCH_NOT_CACHED messages
`yarn config set logFilters --json '[ { "code": "YN0013", "level": "discard" } ]'`,
// Error on YN0060 - INCOMPATIBLE_PEER_DEPENDENCY
`yarn config set logFilters --json '[ { "code": "YN0013", "level": "discard" }, { "code": "YN0060", "level": "error" } ]'`,
];

await exec(
Expand Down