I made some updates in modules, which I have insta...
# infrastructure
m
m
It's probably a difference in your prettier version or setup. Can you check the pre-commit.config.yaml and .prettierrc?
👀 1
m
we have
prettier@3.5.0
in modules but
prettier@3.6.2
in TEMPLATE the
pre-commit.config.yaml
also the prettierrc in modules is much smaller than the one in TEMPLATE
I'll make a pr to modules to update prettier
also not the same revision for the prettier repo.
rev: "v4.0.0-alpha.8"
in modules vs
rev: "v3.1.0"
in TEMPLATE
https://github.com/pre-commit/mirrors-prettier
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
prettier made some changes that breaks plugins entirely
😱
m
Follow everything in the template. The mirror is archived because the pre-commit maintainer is not easy to work with. We use the additional dependencies field for the newer prettier versions
✅ 1
Didn't see this commit touching the config https://github.com/nf-core/modules/commit/6814d041f9ce66491b94808396f70391015e8c25 Need to be more careful there.
m
I'll had CODEOWNERS for the infra files
My guess, he followed the instructions from pre-commit
[WARNING] The 'rev' field of repo 'https://github.com/nf-core/tools' appears to be a mutable reference (moving tag / branch). Mutable references are never updated after first install and are not supported. See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details. Hint:
pre-commit autoupdate
often fixes this.
I noticed we have this pre-commit branch, should we use the tags from release instead? and update on each release?
m
Yep, because I triggered these PRs. Not sure if already works for prettier, because of our setup but I have a working setup for that on the website I think
m
Oh I see
Just want to address the last comment about CODEOWNERS before we merge
ok, so not working shakefist