Skip to content

Commit bea5bc2

Browse files
authored
faucet svm (#2932)
1 parent b2eb2e0 commit bea5bc2

File tree

257 files changed

+40198
-12311
lines changed

Some content is hidden

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

257 files changed

+40198
-12311
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ updates:
8888
- "@jest*"
8989
- "@types/jest"
9090
- "ts-jest"
91+
- "jest-yaml-transform"
9192

9293
# Linting & Formatting
9394
linting-tools:
@@ -98,6 +99,8 @@ updates:
9899
- "lint-staged"
99100
- "husky"
100101
- "solhint*"
102+
- "solhint-plugin-*"
103+
- "knip"
101104

102105
# TypeScript & Types
103106
typescript:
@@ -123,7 +126,16 @@ updates:
123126
- "lodash"
124127
- "uuid"
125128
- "pino"
126-
129+
- "pino-pretty"
130+
131+
# Solana Ecosystem
132+
solana-ecosystem:
133+
patterns:
134+
- "@solana*"
135+
- "@solana-program*"
136+
- "bs58"
137+
- "tweetnacl"
138+
127139
# Security updates (specifically for security vulnerabilities)
128140
security-blockchain:
129141
applies-to: security-updates

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ selectors*.yml.backup
4646
selectors.yml.backup
4747

4848
# Test coverage
49-
coverage/
49+
coverage/

SIDE_BY_SIDE_CODE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,11 @@ For a complete list, refer to [Shiki's supported languages](https://github.com/s
110110
## Best Practices
111111

112112
1. **Concise Explanations**
113-
114113
- Keep explanations clear and focused
115114
- Use bullet points for better readability
116115
- Highlight only the most important code sections
117116

118117
2. **Responsive Design**
119-
120118
- Component automatically adjusts for different screen sizes
121119
- Code and explanation stack vertically on mobile
122120
- Maintains readability across devices
@@ -166,13 +164,11 @@ For a complete list, refer to [Shiki's supported languages](https://github.com/s
166164
## Troubleshooting
167165

168166
1. **Code Not Loading**
169-
170167
- For local files: Ensure the file exists in `public/samples`
171168
- For URLs: Verify the URL is accessible and returns raw code
172169
- Check file permissions and CORS settings
173170

174171
2. **Syntax Highlighting Issues**
175-
176172
- Verify the language is supported
177173
- Check the language identifier is correct
178174
- Ensure code is properly formatted

astro.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { config } from "dotenv"
12
import { defineConfig } from "astro/config"
23
import vercel from "@astrojs/vercel"
34
import preact from "@astrojs/preact"
@@ -13,6 +14,7 @@ import { ccipRedirects } from "./src/config/redirects/ccip"
1314
import trailingSlashMiddleware from "./src/integrations/trailing-slash-middleware"
1415
import redirectsJson from "./src/features/redirects/redirects.json"
1516

17+
config() // Load .env file
1618
// Prepare set of redirect source URLs to exclude from sitemap
1719
// This prevents duplicate entries and ensures only canonical URLs are indexed
1820
const redirectSources = new Set(

knip.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"$schema": "https://unpkg.com/knip@latest/schema.json",
3+
"entry": [
4+
"src/pages/**/*.{astro,ts,tsx}",
5+
"src/content/**/*.mdx",
6+
"astro.config.ts",
7+
"src/content.config.ts",
8+
"src/integrations/**/*.ts",
9+
"hardhat.config.cts",
10+
"codegen.ts",
11+
"jest.config.cjs",
12+
"src/**/__tests__/**/*.test.ts",
13+
"src/**/*.test.ts"
14+
],
15+
"jest": {
16+
"entry": ["src/**/__tests__/**/*.test.ts", "src/**/*.test.ts"]
17+
},
18+
"project": ["src/**/*.{ts,tsx,astro}", "!src/**/*.d.ts"],
19+
"ignore": [
20+
"src/types/**/*.d.ts",
21+
"public/**/*",
22+
"src/__mocks__/**/*",
23+
"templates/**/*",
24+
"typechain-types/**/*",
25+
"dist/**/*"
26+
],
27+
"ignoreDependencies": ["@types/*", "prettier*", "@astrojs/*", "hardhat*", "solhint*", "jest*", "@project-serum/*"],
28+
"ignoreExportsUsedInFile": {
29+
"interface": true,
30+
"type": true,
31+
"function": true
32+
},
33+
"includeEntryExports": false,
34+
"ignoreBinaries": [],
35+
"workspaces": {}
36+
}

0 commit comments

Comments
 (0)