Skip to content

Dependency update: Compatibility with Prettier v3. #3

@melumuccu

Description

@melumuccu

Hello,

Could you please update the dependencies of this plugin to Prettier v3?

This plugin is exactly what I've been looking for, and Prettier has been consistently ignoring your issue regarding the formatting of grid-templates.
prettier/prettier#12631

In my environment, I encounter errors during installation because other Prettier-related plugins depend on Prettier v3...
(Although I use the Astro framework, so I'm not sure if the grid-templates written within .astro files will be correctly formatted by this plugin...)

error log

$ pnpm i -D prettier-plugin-css-grid
 WARN  deprecated @types/[email protected]: This is a stub types definition. js-base64 provides its own type definitions, so you do not need this installed.
Packages: +8 -2
++++++++--
Progress: resolved 993, reused 935, downloaded 5, added 8, done

devDependencies:
+ prettier-plugin-css-grid 0.1.2

 WARN  Issues with peer dependencies found
.
├─┬ prettier-plugin-css-grid 0.1.2
│ └── ✕ missing peer prettier@^2.0.0
├─┬ prettier-plugin-astro-organize-imports 0.4.5
│ └── ✕ missing peer prettier@^3.0
└─┬ prettier-plugin-organize-imports 3.2.4
  └── ✕ missing peer prettier@>=2.0
✕ Conflicting peer dependencies:
  prettier  

Done in 3.3s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions