vicary
How to locate a deep dependency?
I have a Fresh project with some NPM dependencies.
One day the following warning pops up every time the server starts:
The following command doesn't work because
update-browserslist-db
assumes a package.json.
Next thing I could try is upgrading the relevant module in my deno.json
, how to I find the module depending on browserslist
down their dependency tree?3 replies
Sorting tailwindcss class names with prettier plugin?
When developing in Fresh, I would like to have my class names automatically sorted with the official prettier plugin.
How do I enable prettier plugins in a Deno project?
2 replies
Deno fmt with verbatimModuleSyntax?
Currently Deno fmt sorts verbatim imports alphabetically, this is conflicting with the Organize Imports in VS Code where it sorts
import { type ... }
entries individually at the end.
Example:
When combined with the following VS Code option, all of the files flashes between the two formats in random order depending on how formatOnSave
is configured.
Is it possible to add an option for Deno fmt, either disabling that part or expose an option to align with VS Code?2 replies