Skip to content

Commit 123c6a0

Browse files
committed
Supply-chain hardening sweep
2 PM config(s); pin 21 deps; freeze 2 install lines; pin 4 actions; vercel.json 1+0 🛡️ Automated
1 parent a7643a8 commit 123c6a0

8 files changed

Lines changed: 57 additions & 48 deletions

File tree

.github/workflows/addressChecks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616

1717
- name: Install Bun
1818
run: |
@@ -21,7 +21,7 @@ jobs:
2121
2222
- name: Install dependencies and build
2323
run: |
24-
bun install
24+
bun install --frozen-lockfile
2525
bun run build
2626
2727
- name: Run checks and update data

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
permissions:
99
contents: write
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1212
- name: Install Bun
1313
run: |
1414
curl -fsSL https://bun.sh/install | bash
1515
echo "$HOME/.bun/bin" >> $GITHUB_PATH
1616
- name: Install dependencies and build
1717
run: |
18-
bun install
18+
bun install --frozen-lockfile
1919
bun run build
2020
2121
- name: Check if PR is from a fork

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616
# with:
1717
# # Make sure the actual branch is checked out when running on pull requests
1818
# ref: ${{ github.head_ref }}
@@ -25,7 +25,7 @@ jobs:
2525
# commit_message: "ci: run linter"
2626

2727
- name: Check markdown links
28-
uses: tcort/github-action-markdown-link-check@v1
28+
uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1
2929
with:
3030
use-quiet-mode: "yes"
3131
check-modified-files-only: "yes"

.npmrc

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

bun.lock

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

bunfig.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
[install]
3+
minimumReleaseAge = 604800
4+
ignoreScripts = true
5+
exact = true

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@
2323
},
2424
"packageManager": "bun@1.1.0",
2525
"dependencies": {
26-
"@cmfcmf/docusaurus-search-local": "^2.0.1",
26+
"@cmfcmf/docusaurus-search-local": "2.0.1",
2727
"@docusaurus/core": "3.9.2",
28-
"@docusaurus/faster": "^3.9.2",
28+
"@docusaurus/faster": "3.9.2",
2929
"@docusaurus/preset-classic": "3.9.2",
3030
"@docusaurus/theme-mermaid": "3.9.2",
31-
"@mdx-js/react": "^3.1.1",
32-
"@radix-ui/react-icons": "^1.3.2",
33-
"@radix-ui/react-label": "^2.1.8",
34-
"@radix-ui/react-select": "^2.2.6",
35-
"@radix-ui/react-tabs": "^1.1.13",
36-
"@radix-ui/react-tooltip": "^1.2.8",
31+
"@mdx-js/react": "3.1.1",
32+
"@radix-ui/react-icons": "1.3.2",
33+
"@radix-ui/react-label": "2.1.8",
34+
"@radix-ui/react-select": "2.2.6",
35+
"@radix-ui/react-tabs": "1.1.13",
36+
"@radix-ui/react-tooltip": "1.2.8",
3737
"clsx": "1.1.1",
38-
"dotenv": "^16.6.1",
38+
"dotenv": "16.6.1",
3939
"hast-util-is-element": "1.1.0",
40-
"lucide-react": "^0.465.0",
41-
"react": "^18.3.1",
42-
"react-dom": "^18.3.1",
43-
"recharts": "^2.15.4",
44-
"rehype-katex": "^7.0.1",
45-
"remark-math": "^6.0.0",
46-
"solc": "^0.8.34",
47-
"solidity-docgen": "^0.5.17",
48-
"turndown": "^7.2.2",
49-
"turndown-plugin-gfm": "^1.0.2",
50-
"viem": "^2.46.3"
40+
"lucide-react": "0.465.0",
41+
"react": "18.3.1",
42+
"react-dom": "18.3.1",
43+
"recharts": "2.15.4",
44+
"rehype-katex": "7.0.1",
45+
"remark-math": "6.0.0",
46+
"solc": "0.8.34",
47+
"solidity-docgen": "0.5.17",
48+
"turndown": "7.2.2",
49+
"turndown-plugin-gfm": "1.0.2",
50+
"viem": "2.46.3"
5151
},
5252
"browserslist": {
5353
"production": [
@@ -63,7 +63,7 @@
6363
},
6464
"devDependencies": {
6565
"@docusaurus/module-type-aliases": "3.9.2",
66-
"@openzeppelin/contracts": "^4.9.6",
66+
"@openzeppelin/contracts": "4.9.6",
6767
"@tsconfig/docusaurus": "1.0.2",
6868
"@types/react": "18.3.1",
6969
"@types/react-helmet": "6.1.1",

vercel.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"installCommand": "bun install --frozen-lockfile"
3+
}

0 commit comments

Comments
 (0)