add .env.example

This commit is contained in:
Profile Profile
2025-12-15 11:55:48 +03:00
parent abe55943fc
commit 13bd7de68e
2 changed files with 8 additions and 4 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
WP_GRAPHQL_ENDPOINT=https://api.profile.ru/graphql
# Включение/выключение кэширования
CACHE_ENABLED=true
# TTL для разных типов
CACHE_TAXONOMY_TTL=3600 # 1 час для тегов, категорий
CACHE_POSTS_TTL=60 # 1 минута в dev

4
package-lock.json generated
View File

@@ -1668,7 +1668,6 @@
"resolved": "https://registry.npmjs.org/astro/-/astro-5.16.3.tgz",
"integrity": "sha512-KzDk41F9Dspf5fM/Ls4XZhV4/csjJcWBrlenbnp5V3NGwU1zEaJz/HIyrdKdf5yw+FgwCeD2+Yos1Xkx9gnI0A==",
"license": "MIT",
"peer": true,
"dependencies": {
"@astrojs/compiler": "^2.13.0",
"@astrojs/internal-helpers": "0.7.5",
@@ -4316,7 +4315,6 @@
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.3.tgz",
"integrity": "sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA==",
"license": "MIT",
"peer": true,
"dependencies": {
"@types/estree": "1.0.8"
},
@@ -5035,7 +5033,6 @@
"resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
"integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"license": "MIT",
"peer": true,
"dependencies": {
"esbuild": "^0.25.0",
"fdir": "^6.4.4",
@@ -5234,7 +5231,6 @@
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
"license": "MIT",
"peer": true,
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}