panel icon indicating copy to clipboard operation
panel copied to clipboard

prettier --cache-location=.prettier-cache

Open cdeil opened this issue 3 months ago • 2 comments

I had a second node_modules folder which I found confusing.

Apparently not possible to get rid of it yet ( see https://github.com/prettier/prettier/issues/13032 ) but hopefully this will hide it by default.

(panel_dev) panel $ find node_modules 
node_modules
node_modules/.cache
node_modules/.cache/prettier
node_modules/.cache/prettier/.prettier-caches
node_modules/.cache/prettier/.prettier-caches/04d07533a4dc0e8ecb9ce9c6af0f582956b2ce4e.json
(panel_dev) panel $ cat node_modules/.cache/prettier/.prettier-caches/04d07533a4dc0e8ecb9ce9c6af0f582956b2ce4e.json
{"94c70838f6582b402d2ca1fde8f428df7f5e08cd":{"files":{"panel/template/editable/editable.css":["yz8jN6B7lUkpjFh2nKEVy+9iT/4=",true],"panel/template/golden/golden.css":["SiKhDdTeMkMO8hoeFeehET9DBRw=",true],"panel/template/slides/slides.css":["SciHvduYS0tsgK2nOAcWTGctA10=",true],"panel/dist/css/notifications.css":["7aqHRKysbj5sZpqC+y6wRnFeqA8=",true],"panel/dist/css/button.css":["NZEetSRtHRh437lV1n9GDfk9k1U=",true],"panel/template/react/react.css":["wFSSv4cOY+Svl4xCqIZUV6KYnVI=",true],"panel/dist/css/markdown.css":["GQcbnFTW6AU99sTXYMpmGKdb+24=",true]},"modified":1711986814648}}%                                                                                                                                                                             

cdeil avatar Apr 01 '24 20:04 cdeil

This is because pre-commit uses the latest version regardless if it is a pre-release. And this version right now creates a node_modules folder

Can you try downgrading the version to v3.1.0 and see if the problem is still there?

hoxbro avatar Apr 02 '24 07:04 hoxbro

Related issue: https://github.com/holoviz/holoviews/pull/6219

hoxbro avatar May 07 '24 08:05 hoxbro