Skip to content

Commit

Permalink
🔧 build: 配置 npmrc 和 tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-Messi committed Dec 15, 2023
1 parent 2e05f06 commit 580d74f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
auto-install-peers=true

registry=https://registry.npmmirror.com
18 changes: 11 additions & 7 deletions .vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,16 @@

:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg,
#bd34fe 30%,
#41d1ff);
--vp-home-hero-image-background-image: linear-gradient(-45deg,
#bd34fe 50%,
#47caff 50%);
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#bd34fe 30%,
#41d1ff
);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#bd34fe 50%,
#47caff 50%
);
--vp-home-hero-image-filter: blur(40px);
}

Expand Down Expand Up @@ -550,4 +554,4 @@

:root:is(.dark) img[src$='#light'] {
display: none;
}
}
23 changes: 23 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"resolveJsonModule": true,
"verbatimModuleSyntax": true,
"jsx": "preserve",
"lib": ["esnext", "dom", "dom.iterable"]
},
"exclude": [
"**/node_modules/**",
"**/dist/**",
"template",
"bin",
"docs/snippets",
"scripts"
]
}

0 comments on commit 580d74f

Please sign in to comment.