Skip to content

Commit 9eb2eb6

Browse files
authored
Reuse renovate config(denoise) (#475)
1 parent 92f2d34 commit 9eb2eb6

8 files changed

Lines changed: 568 additions & 55 deletions

File tree

.devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"postCreateCommand": "yarn",
44
"customizations": {
55
"vscode": {
6-
"extensions": [,
6+
"extensions": [
77
"esbenp.prettier-vscode",
88
"dbaeumer.vscode-eslint",
99
"redhat.vscode-yaml",

.github/workflows/lint-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Node.js and use yarn
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18.x'
22+
node-version: '20.x'
2323
cache: 'yarn'
2424

2525
- name: Install All Dependencies

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact = true

content/docs/ref/tensorboard.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ $ cml tensorboard connect --logdir=./logs --title=Training --md >> report.md
2929

3030
## Credentials
3131

32-
To generate new Tensorboard credentials, run `tensorboard dev upload` locally and set
33-
the `CML_TENSORBOARD_CREDENTIALS` environment variable to the contents of
34-
`~/.config/tensorboard/credentials/uploader-creds.json`
32+
To generate new Tensorboard credentials, run `tensorboard dev upload` locally
33+
and set the `CML_TENSORBOARD_CREDENTIALS` environment variable to the contents
34+
of `~/.config/tensorboard/credentials/uploader-creds.json`

content/docs/self-hosted-runners.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ The same credentials can also be used for
442442

443443
</admon>
444444

445-
446445
## GitLab CI/CD and container images from private registries
447446

448447
_See also the
@@ -537,8 +536,6 @@ the `gcr.io` domain) but instructions are similar for both.
537536
</tab>
538537
</toggle>
539538

540-
541-
542539
## On-premise (Local) Runners
543540

544541
The `cml runner` command can also be used to manually set up a local machine,

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
},
4242
"homepage": "https://github.com/iterative/cml.dev#readme",
4343
"engines": {
44-
"node": "^20"
44+
"node": ">=18.x <=20.x"
4545
},
4646
"dependencies": {
47-
"@dvcorg/gatsby-theme-iterative": "^0.3.2",
48-
"@dvcorg/websites-server": "^0.0.19",
47+
"@dvcorg/gatsby-theme-iterative": "^0.3.5",
48+
"@dvcorg/websites-server": "^0.1.1",
4949
"@emotion/react": "^11.10.5",
5050
"@emotion/styled": "^11.10.5",
5151
"@hapi/wreck": "^18.0.0",
@@ -68,7 +68,6 @@
6868
"gatsby-plugin-alias-imports": "^1.0.5",
6969
"gatsby-plugin-image": "^3.4.0",
7070
"gatsby-plugin-robots-txt": "^1.8.0",
71-
"gatsby-plugin-sharp": "^5.4.0",
7271
"gatsby-plugin-theme-ui": "^0.15.4",
7372
"github-markdown-css": "^5.1.0",
7473
"iso-url": "^1.2.1",
@@ -141,7 +140,6 @@
141140
"gatsby-remark-smartypants": "^6.4.0",
142141
"gatsby-source-filesystem": "^5.4.0",
143142
"gatsby-transformer-remark": "^6.4.0",
144-
"gatsby-transformer-sharp": "^5.4.0",
145143
"hast-util-select": "^5.0.4",
146144
"husky": "^8.0.3",
147145
"jest": "^29.3.1",

renovate.json

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base",
5-
":pinAllExceptPeerDependencies",
6-
"group:linters",
7-
"group:postcss",
8-
"helpers:disableTypesNodeMajor",
9-
":reviewer(team:websites)",
10-
":enableVulnerabilityAlerts",
11-
":label(dependencies)"
12-
],
13-
"packageRules": [
14-
{
15-
"groupName": "all non-major dependencies",
16-
"groupSlug": "all-minor-patch",
17-
"matchPackagePatterns": ["*"],
18-
"matchUpdateTypes": ["minor", "patch"],
19-
"automerge": true,
20-
"automergeType": "branch",
21-
"schedule": ["on tuesday every 2 weeks"]
22-
},
23-
{
24-
"matchPackagePatterns": ["*"],
25-
"prConcurrentLimit": 3,
26-
"stabilityDays": 7,
27-
"matchDatasources": ["npm"],
28-
"schedule": ["on tuesday"],
29-
"automerge": true,
30-
"automergeType": "branch"
31-
},
32-
{
33-
"matchPackagePatterns": ["@dvcorg", "iterative"],
34-
"additionalBranchPrefix": "iterative-package-",
35-
"prCreation": "immediate"
36-
}
4+
"github>iterative/gatsby-theme-iterative:renovate.json",
5+
":pinAllExceptPeerDependencies"
376
]
387
}

0 commit comments

Comments
 (0)