Skip to content

Commit 8bddf02

Browse files
sync with nf-core website in prep for v2 release
2 parents 41822ca + 676b793 commit 8bddf02

2,055 files changed

Lines changed: 460355 additions & 200131 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cache.tar.xz

243 KB
Binary file not shown.

.devcontainer/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM mcr.microsoft.com/devcontainers/javascript-node:4-20-bookworm@sha256:1f16317eacca7950213a174750ad513b69e91984b04cc1b61d460bc8780108f7
2+
3+
# Set working directory
4+
WORKDIR /workspace
5+
6+
# Copy root package files
7+
COPY package.json package-lock.json* ./
8+
9+
# Copy only package.json files from each workspace
10+
COPY sites/configs/package.json ./sites/configs/package.json
11+
COPY sites/docs/package.json ./sites/docs/package.json
12+
COPY sites/main-site/package.json ./sites/main-site/package.json
13+
COPY sites/modules-subworkflows/package.json ./sites/modules-subworkflows/package.json
14+
COPY sites/pipeline-results/package.json ./sites/pipeline-results/package.json
15+
COPY sites/pipelines/package.json ./sites/pipelines/package.json
16+
17+
# Install dependencies
18+
RUN npm install --workspaces

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "nf-core.astro",
3+
"build": {
4+
"dockerfile": "Dockerfile",
5+
"context": ".."
6+
},
7+
"portsAttributes": {
8+
"4321": {
9+
"label": "Astro Dev Server",
10+
"onAutoForward": "openPreview"
11+
}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"extensions": ["astro-build.astro-vscode", "editorconfig.editorconfig", "esbenp.prettier-vscode"]
16+
}
17+
},
18+
"waitFor": "onCreateCommand",
19+
"postAttachCommand": {
20+
"server": "npm run dev --workspace sites/main-site -- --host"
21+
}
22+
}

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
src/content/docs @nf-core/docs
22
src/content/tutorials @nf-core/training @nf-core/outreach
3+
4+
sites/main-site/src/content/about/governance.mdx @ewels @christopher-hakkaart @FranBonath @mribeirodantas @FriederikeHanssen @jfy133 @maxulysse

.github/CONTRIBUTING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Hi there! Many thanks for taking an interest in improving the nf-core website.
1313
## Instructions to add your institution to the list of contributors
1414

1515
1. Fork this repo
16-
2. Add your institute details and your name to the [contributors.yaml](../src/config/contributors.yaml)
16+
2. Add your institute details and your name to the [contributors.yaml](../sites/main-site/src/config/contributors.yaml)
1717

1818
Here's the desired format
1919

@@ -61,7 +61,14 @@ If you're not used to this workflow with git, you can start with some [basic doc
6161

6262
When you create a pull request with changes, Github Actions will run automatic tests.
6363
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.
64-
For now, the only test is for Markdown syntax, using the `markdownlint` package.
64+
For now, the main test is for syntax formatting using prettier.
65+
We use pre-commit to ensure that your code is formatted correctly before submitting your pull request. To automatically check your code before commiting, install [prek](https://prek.j178.dev/installation/) (comes installed as a dev dependency) and the pre-commit hooks defined in `pre-commit.config.yaml`:
66+
67+
```
68+
prek install --install-hooks
69+
```
70+
71+
You can manually run the tests using `prek run --all-files` to run all tests.
6572

6673
## Getting help
6774

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ contact_links:
33
- name: Join nf-core
44
url: https://nf-co.re/join
55
about: Please join the nf-core community here
6-
- name: 'Slack #website channel'
6+
- name: "Slack #website channel"
77
url: https://nfcore.slack.com/channels/website
88
about: Discussion about the nf-core website

.github/renovate.json5

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,41 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>nf-core/ops//.github/renovate/default.json5", "config:recommended", "schedule:monthly"],
4-
"npm": {
5-
"enabled": false,
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: [
4+
"github>nf-core/ops//.github/renovate/default.json5",
5+
"config:recommended",
6+
"schedule:monthly",
7+
],
8+
npm: {
9+
enabled: false,
610
},
7-
"customManagers": [
11+
// Override :automergeBranch from default.json5 to use PR-based auto-merge
12+
// This respects branch protection rules that require PRs
13+
platformAutomerge: true,
14+
automergeType: "pr",
15+
automergeStrategy: "rebase",
16+
packageRules: [
17+
{
18+
matchManagers: ["custom.regex"],
19+
matchFileNames: [".pre-commit-config.yaml"],
20+
groupName: "pre-commit npm dependencies",
21+
groupSlug: "pre-commit-npm",
22+
},
23+
],
24+
customManagers: [
25+
{
26+
customType: "regex",
27+
managerFilePatterns: ["/^linting\\.yml$/"],
28+
matchStrings: [
29+
"https://github.com/(?<depName>.*)/releases/download/(?<currentValue>.*)/.*.tar.gz",
30+
],
31+
datasourceTemplate: "github-release-attachments",
32+
},
833
{
9-
"customType": "regex",
10-
"fileMatch": ["^linting\\.yml$"],
11-
"matchStrings": ["https://github.com/(?<depName>.*)/releases/download/(?<currentValue>.*)/.*.tar.gz"],
12-
"datasourceTemplate": "github-release-attachments"
13-
}
34+
customType: "regex",
35+
managerFilePatterns: ["/.pre-commit-config.yaml$/"],
36+
matchStrings: ["- (?<depName>[^@\\s]+)@(?<currentValue>[^\\s#]+)"],
37+
datasourceTemplate: "npm",
38+
versioningTemplate: "npm",
39+
},
1440
],
1541
}

0 commit comments

Comments
 (0)