#1 - Remover dependencia 'dotenv' y otras no en uso despues de la migracion

This commit is contained in:
Luciano Giacchetta 2025-06-09 19:06:31 -03:00
parent 3cbae7fbf1
commit 581a46e9fd
5 changed files with 3 additions and 57 deletions

2
.gitignore vendored
View File

@ -16,7 +16,7 @@ pnpm-debug.log*
# environment variables # environment variables
.env .env
.env.production .envrc
# macOS-specific files # macOS-specific files
.DS_Store .DS_Store

View File

@ -2,7 +2,6 @@ import { defineConfig } from 'astro/config';
import markdownIntegration from '@astropub/md' import markdownIntegration from '@astropub/md'
import sitemap from '@astrojs/sitemap'; import sitemap from '@astrojs/sitemap';
import mdx from '@astrojs/mdx'; import mdx from '@astrojs/mdx';
import 'dotenv/config';
export default defineConfig({ export default defineConfig({

52
package-lock.json generated
View File

@ -18,9 +18,7 @@
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
"bootstrap-icons": "^1.10.3", "bootstrap-icons": "^1.10.3",
"chart.js": "^2.9.4", "chart.js": "^2.9.4",
"dotenv": "^16.4.7", "marked": "^7.0.5"
"marked": "^7.0.5",
"swiper": "^7.3.1"
}, },
"devDependencies": { "devDependencies": {
"@types/marked": "^4.3.2", "@types/marked": "^4.3.2",
@ -2469,26 +2467,6 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/dom7": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/dom7/-/dom7-4.0.6.tgz",
"integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==",
"dependencies": {
"ssr-window": "^4.0.0"
}
},
"node_modules/dotenv": {
"version": "16.4.7",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
"integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://dotenvx.com"
}
},
"node_modules/dset": { "node_modules/dset": {
"version": "3.1.4", "version": "3.1.4",
"resolved": "https://registry.npmjs.org/dset/-/dset-3.1.4.tgz", "resolved": "https://registry.npmjs.org/dset/-/dset-3.1.4.tgz",
@ -5927,11 +5905,6 @@
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
}, },
"node_modules/ssr-window": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz",
"integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ=="
},
"node_modules/stream-replace-string": { "node_modules/stream-replace-string": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz", "resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz",
@ -6026,29 +5999,6 @@
"url": "https://github.com/chalk/supports-color?sponsor=1" "url": "https://github.com/chalk/supports-color?sponsor=1"
} }
}, },
"node_modules/swiper": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/swiper/-/swiper-7.4.1.tgz",
"integrity": "sha512-dhbL4tpYFvHug1J7GnKElfTi6EYhlZy/vNZRhHkWFyUsWZ1Vovipxj3la5gqllMogygXJMe3zvVv+f6eppvWiA==",
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
}
],
"hasInstallScript": true,
"dependencies": {
"dom7": "^4.0.2",
"ssr-window": "^4.0.2"
},
"engines": {
"node": ">= 4.7.0"
}
},
"node_modules/sync-child-process": { "node_modules/sync-child-process": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/sync-child-process/-/sync-child-process-1.0.2.tgz", "resolved": "https://registry.npmjs.org/sync-child-process/-/sync-child-process-1.0.2.tgz",

View File

@ -20,9 +20,7 @@
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
"bootstrap-icons": "^1.10.3", "bootstrap-icons": "^1.10.3",
"chart.js": "^2.9.4", "chart.js": "^2.9.4",
"dotenv": "^16.4.7", "marked": "^7.0.5"
"marked": "^7.0.5",
"swiper": "^7.3.1"
}, },
"devDependencies": { "devDependencies": {
"@types/marked": "^4.3.2", "@types/marked": "^4.3.2",

View File

@ -5,7 +5,6 @@ import MasterCard from '../../assets/svg/mastercard.svg';
import Visa from '../../assets/svg/visa.svg'; import Visa from '../../assets/svg/visa.svg';
import GPay from '../../assets/svg/gpay.svg'; import GPay from '../../assets/svg/gpay.svg';
import APay from '../../assets/svg/apple-pay.svg'; import APay from '../../assets/svg/apple-pay.svg';
import 'dotenv/config';
import { getPrices } from '../../libs/campaigns'; import { getPrices } from '../../libs/campaigns';