mirror of
https://github.com/xHyroM/website.git
synced 2024-12-22 04:21:06 +01:00
build: bump deps
This commit is contained in:
parent
850b41c34d
commit
b5cb879f48
7 changed files with 17862 additions and 2002 deletions
16129
.astro/icon.d.ts
vendored
Normal file
16129
.astro/icon.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
@ -13,23 +13,23 @@ import preact from "@astrojs/preact";
|
|||
|
||||
// https://astro.build/config
|
||||
import robotsTxt from "astro-robots-txt";
|
||||
|
||||
// https://astro.build/config
|
||||
import icon from "astro-icon";
|
||||
import minify from "./astro-integrations/minify";
|
||||
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
// https://astro.build/config
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://xhyrom.dev/",
|
||||
integrations: [
|
||||
tailwind(),
|
||||
sitemap(),
|
||||
compress({
|
||||
svg: false,
|
||||
html: false,
|
||||
SVG: false,
|
||||
HTML: false,
|
||||
}),
|
||||
robotsTxt({
|
||||
policy: [
|
||||
|
@ -41,6 +41,7 @@ export default defineConfig({
|
|||
}),
|
||||
minify(),
|
||||
preact(),
|
||||
icon(),
|
||||
],
|
||||
vite: {
|
||||
resolve: {
|
||||
|
|
36
package.json
36
package.json
|
@ -11,31 +11,33 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/preact": "^3.0.1",
|
||||
"@astrojs/preact": "^3.1.1",
|
||||
"@astrojs/prefetch": "^0.4.1",
|
||||
"@astrojs/sitemap": "^3.0.3",
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"@astrojs/sitemap": "^3.1.1",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"astro": "^3.6.0",
|
||||
"astro-compress": "^2.2.3",
|
||||
"astro-icon": "^0.8.1",
|
||||
"astro": "^4.4.13",
|
||||
"astro-compress": "^2.2.11",
|
||||
"astro-icon": "^1.1.0",
|
||||
"astro-robots-txt": "^1.0.0",
|
||||
"astro-tooltips": "^0.6.2",
|
||||
"fireworks-js": "^2.10.7",
|
||||
"html-minifier": "^4.0.0",
|
||||
"preact": "^10.19.2",
|
||||
"sharp": "^0.32.6",
|
||||
"tailwindcss": "^3.3.5"
|
||||
"preact": "^10.19.6",
|
||||
"sharp": "^0.33.2",
|
||||
"tailwindcss": "^3.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/devicon": "^1.1.35",
|
||||
"@iconify-json/file-icons": "^1.1.8",
|
||||
"@iconify-json/logos": "^1.1.42",
|
||||
"@iconify-json/mdi": "^1.1.64",
|
||||
"@iconify-json/simple-icons": "^1.1.94",
|
||||
"@iconify-json/skill-icons": "^1.1.8",
|
||||
"@iconify-json/vscode-icons": "^1.1.33",
|
||||
"@types/html-minifier": "^4.0.5",
|
||||
"prettier": "3.1.0",
|
||||
"prettier-plugin-astro": "^0.12.2",
|
||||
"prettier-plugin-tailwindcss": "^0.5.7"
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"astro-icon@0.8.1": "patches/astro-icon@0.8.1.patch"
|
||||
}
|
||||
"prettier": "3.2.5",
|
||||
"prettier-plugin-astro": "^0.13.0",
|
||||
"prettier-plugin-tailwindcss": "^0.5.12"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/lib/resolver.ts b/lib/resolver.ts
|
||||
index 3845a6542c924397a7c2e2daf0a78cdb243ec603..0a02155ecf9b7f208432eb7e7c0a1108de502786 100644
|
||||
--- a/lib/resolver.ts
|
||||
+++ b/lib/resolver.ts
|
||||
@@ -1,10 +1,10 @@
|
||||
-const baseURL = "https://api.astroicon.dev/v1/";
|
||||
+const baseURL = "https://api.iconify.design/";
|
||||
const requests = new Map();
|
||||
const fetchCache = new Map();
|
||||
|
||||
// Default resolver fetches icons from `api.astroicon.dev`
|
||||
export default async function get(pack: string, name: string) {
|
||||
- const url = new URL(`./${pack}/${name}`, baseURL).toString();
|
||||
+ const url = new URL(`./${pack}/${name}.svg`, baseURL).toString();
|
||||
// Handle in-flight requests
|
||||
if (requests.has(url)) {
|
||||
return await requests.get(url);
|
3668
pnpm-lock.yaml
3668
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import { Tooltips } from "astro-tooltips";
|
||||
import { Icon } from "astro-icon";
|
||||
import { Icon } from "astro-icon/components";
|
||||
|
||||
type Props = {
|
||||
name: string;
|
||||
|
|
1
src/env.d.ts
vendored
1
src/env.d.ts
vendored
|
@ -1,3 +1,4 @@
|
|||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
|
|
Loading…
Reference in a new issue