Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit e6c866c

Browse files
authored
Bump dependencies (#194)
1 parent de2a118 commit e6c866c

File tree

8 files changed

+5667
-5264
lines changed

8 files changed

+5667
-5264
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
echo "machine github.com login sonar-scala-bot password ${{ secrets.ACCESS_TOKEN }}" > ~/.netrc
1717
- uses: actions/setup-node@v1
1818
with:
19-
node-version: 14.x
19+
node-version: 16.x
2020
- run: npm install
2121
- run: ./inject-vars.sh
2222
- run: npm run deploy

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v1
1010
- uses: actions/setup-node@v1
1111
with:
12-
node-version: 14.x
12+
node-version: 16.x
1313
- run: npm install
1414
- run: ./inject-vars.sh
1515
- run: npm run build

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs lts-gallium

docusaurus.config.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ module.exports = {
9191
],
9292
copyright: `Copyright © ${new Date().getFullYear()} sonar-scala. Built with Docusaurus.`,
9393
},
94-
googleAnalytics: {
95-
trackingID: "UA-25197264-1",
96-
},
9794
},
9895
presets: [
9996
[
@@ -107,6 +104,13 @@ module.exports = {
107104
theme: {
108105
customCss: require.resolve("./src/css/custom.css"),
109106
},
107+
gtag: {
108+
trackingID: "GTM-TQFZXKB",
109+
anonymizeIP: true,
110+
},
111+
googleAnalytics: {
112+
trackingID: "UA-25197264-1",
113+
},
110114
},
111115
],
112116
],

package-lock.json

Lines changed: 5649 additions & 5251 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@
99
"deploy": "docusaurus deploy"
1010
},
1111
"dependencies": {
12-
"@docusaurus/core": "2.0.0-beta.13",
13-
"@docusaurus/preset-classic": "2.0.0-beta.13",
12+
"@docusaurus/core": "2.0.0-beta.20",
13+
"@docusaurus/plugin-google-gtag": "2.0.0-beta.20",
14+
"@docusaurus/preset-classic": "2.0.0-beta.20",
1415
"@mdx-js/runtime": "^1.6.22",
1516
"classnames": "^2.3.1",
1617
"dedent": "github:timhall/dedent",
1718
"https-browserify": "^1.0.0",
1819
"imports-loader": "^3.1.1",
1920
"path-browserify": "^1.0.1",
20-
"prismjs": "^1.25.0",
21+
"prismjs": "^1.28.0",
2122
"react": "^17.0.2",
2223
"react-dom": "^17.0.2",
23-
"react-markdown": "^7.1.1",
24-
"react-syntax-highlighter": "^15.4.5",
24+
"react-markdown": "^8.0.3",
25+
"react-syntax-highlighter": "15.4.5",
2526
"stream-http": "^3.2.0"
2627
},
2728
"browserslist": {

src/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
--ifm-badge-padding-horizontal: calc(1rem * 0.3);
1313
}
1414

15-
.docusaurus-highlight-code-line {
16-
background-color: #ffeb94;
15+
.theme-code-block-highlighted-line {
16+
background-color: #ffeb94 !important;
1717
display: block;
1818
margin: 0 calc(-1 * var(--ifm-pre-padding));
1919
padding: 0 var(--ifm-pre-padding);

0 commit comments

Comments
 (0)