Skip to content

Commit 80a89cf

Browse files
wesleytleefacebook-github-bot
authored andcommitted
Update yarn.lock website dependencies (#101)
Summary: Pull Request resolved: #101 Upgrade website to address issues such as https://github.com/facebookresearch/balance/security/dependabot/63 Reviewed By: talgalili Differential Revision: D68732018 fbshipit-source-id: e7e7da8660a46ec44f265d597085011b47255f62
1 parent 7d7d347 commit 80a89cf

4 files changed

Lines changed: 2517 additions & 3636 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ jobs:
6161
node-version: 18
6262
cache: yarn
6363
cache-dependency-path: "./website/yarn.lock"
64+
- name: Set up Python
65+
uses: actions/setup-python@v2
66+
with:
67+
python-version: 3.9
6468
- name: Install Pkg + Dependencies
6569
run: |
6670
python -m pip install .[dev]

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414
node-version: 18
1515
cache: yarn
1616
cache-dependency-path: "./website/yarn.lock"
17+
- name: Set up Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
1721
- name: Install Pkg + Dependencies
1822
run: |
19-
python -m pip install git+https://github.com/bbalasub1/glmnet_python.git@1.0
2023
python -m pip install .[dev]
2124
- name: Build website
2225
run: bash ./scripts/make_docs.sh -n

website/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"write-heading-ids": "docusaurus write-heading-ids"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "2.1.0",
19-
"@docusaurus/preset-classic": "2.1.0",
18+
"@docusaurus/core": "2.4.3",
19+
"@docusaurus/preset-classic": "2.4.3",
2020
"@mdx-js/react": "^1.6.21",
2121
"clsx": "^1.1.1",
2222
"docusaurus-plugin-internaldocs-fb": "1.8.0",
@@ -57,6 +57,12 @@
5757
"trim": "0.0.3",
5858
"got": "^11.8.5",
5959
"eta": "^2.0.0",
60-
"ua-parser-js": "^0.7.33"
60+
"ua-parser-js": "^0.7.33",
61+
"katex": ">=0.16.21",
62+
"dompurify": ">=3.2.4",
63+
"prismjs": ">=0.30.0",
64+
"@babel/helpers": ">=7.26.10",
65+
"@babel/runtime": ">=7.26.10",
66+
"@babel/runtime-corejs3": ">=7.26.10"
6167
}
6268
}

0 commit comments

Comments
 (0)