You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to from 4.3.0 to 5.0.1... and sorting is no longer working.
nothing is marked as breaking change
changelog only mentions new features
none of these features mention what is breaking
no migration guide supplied
no issue could be found
Not sure what I can do to debug this. The change log was very poorly done. The end result is we get renovate PR's with a new major breaking version but when testing it and nothing works, we cannot afford to sit and spend inordinate amount of time to figure out how to fix it?
Prettier output logs:
["INFO" - 11:16:32 AM] Using config file at /Users/MKLIPPIN/repos/graphql-federation-graphiql/.prettierrc.mjs
["ERROR" - 11:16:32 AM] Error handling text editor change
["ERROR" - 11:16:32 AM] Cannot find module 'prettier-plugin-svelte'
Require stack:
- /Users/MKLIPPIN/repos/graphql-federation-graphiql/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trivago/prettier-plugin-sort-imports/lib/src/index.js
Error: Cannot find module 'prettier-plugin-svelte'
Require stack:
- /Users/MKLIPPIN/repos/graphql-federation-graphiql/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trivago/prettier-plugin-sort-imports/lib/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
at Module._load (node:internal/modules/cjs/loader:1058:27)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Users/MKLIPPIN/repos/graphql-federation-graphiql/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trivago/prettier-plugin-sort-imports/lib/src/index.js:21:21)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
This is a react / next project. What the hell is up with 'prettier-plugin-svelte'?
Is that the breaking change, that all projects need to have 'prettier-plugin-svelte' as a peer dependency even if they dont use svelte?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Your Environment
Describe the bug
Upgrading to from 4.3.0 to 5.0.1... and sorting is no longer working.
Not sure what I can do to debug this. The change log was very poorly done. The end result is we get renovate PR's with a new major breaking version but when testing it and nothing works, we cannot afford to sit and spend inordinate amount of time to figure out how to fix it?
Prettier output logs:
This is a react / next project. What the hell is up with
'prettier-plugin-svelte'
?Is that the breaking change, that all projects need to have
'prettier-plugin-svelte'
as a peer dependency even if they dont use svelte?Beta Was this translation helpful? Give feedback.
All reactions