me
/
ethanreece.com
Archived
1
0
Fork 0

Hide typescript error

main
Ethan Reece 2023-05-31 18:58:28 -05:00
parent 9e14f90d92
commit 8f1b069cfa
Signed by: me
GPG Key ID: D3993665FF92E1C3
5 changed files with 38 additions and 32 deletions

View File

@ -29,4 +29,8 @@ export default defineConfig({
}, },
}, },
}, },
sizes: (breakpoints) => {
const maxWidth = breakpoints[breakpoints.length - 1]
return `(min-width: ${maxWidth}px) ${maxWidth}px, 100vw`
},
}) })

View File

@ -12,7 +12,7 @@
"dependencies": { "dependencies": {
"@astrojs/tailwind": "^3.1.3", "@astrojs/tailwind": "^3.1.3",
"@fontsource-variable/jetbrains-mono": "^5.0.3", "@fontsource-variable/jetbrains-mono": "^5.0.3",
"astro": "^2.5.5", "astro": "^2.5.6",
"astro-imagetools": "^0.8.1", "astro-imagetools": "^0.8.1",
"astro-seo": "^0.7.2", "astro-seo": "^0.7.2",
"sharp": "^0.32.1", "sharp": "^0.32.1",
@ -27,7 +27,7 @@
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-astro": "^0.27.1", "eslint-plugin-astro": "^0.27.1",
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-tailwindcss": "^3.12.0", "eslint-plugin-tailwindcss": "^3.12.1",
"find-up": "^6.3.0", "find-up": "^6.3.0",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"prettier-plugin-astro": "^0.9.1", "prettier-plugin-astro": "^0.9.1",

View File

@ -7,16 +7,16 @@ settings:
dependencies: dependencies:
'@astrojs/tailwind': '@astrojs/tailwind':
specifier: ^3.1.3 specifier: ^3.1.3
version: 3.1.3(astro@2.5.5)(tailwindcss@3.3.2) version: 3.1.3(astro@2.5.6)(tailwindcss@3.3.2)
'@fontsource-variable/jetbrains-mono': '@fontsource-variable/jetbrains-mono':
specifier: ^5.0.3 specifier: ^5.0.3
version: 5.0.3 version: 5.0.3
astro: astro:
specifier: ^2.5.5 specifier: ^2.5.6
version: 2.5.5(sharp@0.32.1) version: 2.5.6(sharp@0.32.1)
astro-imagetools: astro-imagetools:
specifier: ^0.8.1 specifier: ^0.8.1
version: 0.8.1(astro@2.5.5) version: 0.8.1(astro@2.5.6)
astro-seo: astro-seo:
specifier: ^0.7.2 specifier: ^0.7.2
version: 0.7.2 version: 0.7.2
@ -53,8 +53,8 @@ devDependencies:
specifier: ^6.7.1 specifier: ^6.7.1
version: 6.7.1(eslint@8.41.0) version: 6.7.1(eslint@8.41.0)
eslint-plugin-tailwindcss: eslint-plugin-tailwindcss:
specifier: ^3.12.0 specifier: ^3.12.1
version: 3.12.0(tailwindcss@3.3.2) version: 3.12.1(tailwindcss@3.3.2)
find-up: find-up:
specifier: ^6.3.0 specifier: ^6.3.0
version: 6.3.0 version: 6.3.0
@ -107,13 +107,13 @@ packages:
vscode-uri: 3.0.7 vscode-uri: 3.0.7
dev: false dev: false
/@astrojs/markdown-remark@2.2.1(astro@2.5.5): /@astrojs/markdown-remark@2.2.1(astro@2.5.6):
resolution: {integrity: sha512-VF0HRv4GpC1XEMLnsKf6jth7JSmlt9qpqP0josQgA2eSpCIAC/Et+y94mgdBIZVBYH/yFnMoIxgKVe93xfO2GA==} resolution: {integrity: sha512-VF0HRv4GpC1XEMLnsKf6jth7JSmlt9qpqP0josQgA2eSpCIAC/Et+y94mgdBIZVBYH/yFnMoIxgKVe93xfO2GA==}
peerDependencies: peerDependencies:
astro: ^2.5.0 astro: ^2.5.0
dependencies: dependencies:
'@astrojs/prism': 2.1.2 '@astrojs/prism': 2.1.2
astro: 2.5.5(sharp@0.32.1) astro: 2.5.6(sharp@0.32.1)
github-slugger: 1.5.0 github-slugger: 1.5.0
import-meta-resolve: 2.2.2 import-meta-resolve: 2.2.2
rehype-raw: 6.1.1 rehype-raw: 6.1.1
@ -137,14 +137,14 @@ packages:
prismjs: 1.29.0 prismjs: 1.29.0
dev: false dev: false
/@astrojs/tailwind@3.1.3(astro@2.5.5)(tailwindcss@3.3.2): /@astrojs/tailwind@3.1.3(astro@2.5.6)(tailwindcss@3.3.2):
resolution: {integrity: sha512-10S1omrv5K5HRVAZ0fBgN5vQykn2HRL332LAVFyBASMn1Ff6gDfSK+CPUeUu94eZUOEaPnECLK8EHAqZ8iY9CA==} resolution: {integrity: sha512-10S1omrv5K5HRVAZ0fBgN5vQykn2HRL332LAVFyBASMn1Ff6gDfSK+CPUeUu94eZUOEaPnECLK8EHAqZ8iY9CA==}
peerDependencies: peerDependencies:
astro: ^2.5.0 astro: ^2.5.0
tailwindcss: ^3.0.24 tailwindcss: ^3.0.24
dependencies: dependencies:
'@proload/core': 0.3.3 '@proload/core': 0.3.3
astro: 2.5.5(sharp@0.32.1) astro: 2.5.6(sharp@0.32.1)
autoprefixer: 10.4.14(postcss@8.4.24) autoprefixer: 10.4.14(postcss@8.4.24)
postcss: 8.4.24 postcss: 8.4.24
postcss-load-config: 4.0.1(postcss@8.4.24) postcss-load-config: 4.0.1(postcss@8.4.24)
@ -1478,14 +1478,14 @@ packages:
- supports-color - supports-color
dev: true dev: true
/astro-imagetools@0.8.1(astro@2.5.5): /astro-imagetools@0.8.1(astro@2.5.6):
resolution: {integrity: sha512-2E737IBqzuwkuK4FMYB9UmE1xmQWghn1HOHNMERrzZmGsKpGSAdQGo7nSnYwpy8amF+Do8sUx9wtCe2+6T4k+A==} resolution: {integrity: sha512-2E737IBqzuwkuK4FMYB9UmE1xmQWghn1HOHNMERrzZmGsKpGSAdQGo7nSnYwpy8amF+Do8sUx9wtCe2+6T4k+A==}
engines: {node: ^14.15.0 || >=16.0.0} engines: {node: ^14.15.0 || >=16.0.0}
peerDependencies: peerDependencies:
astro: '>=0.26 || >=1.0.0-beta' astro: '>=0.26 || >=1.0.0-beta'
dependencies: dependencies:
'@astropub/codecs': 0.4.4 '@astropub/codecs': 0.4.4
astro: 2.5.5(sharp@0.32.1) astro: 2.5.6(sharp@0.32.1)
file-type: 17.1.1 file-type: 17.1.1
find-cache-dir: 3.3.2 find-cache-dir: 3.3.2
find-up: 6.3.0 find-up: 6.3.0
@ -1499,8 +1499,8 @@ packages:
resolution: {integrity: sha512-YnSqj4E6vbF7wRk3gcxOPHBjenhfgaINEJlTsnu4sovAyfyGEdQksbioYKoZ+vERRDaYvEricfSzC6fc9lieww==} resolution: {integrity: sha512-YnSqj4E6vbF7wRk3gcxOPHBjenhfgaINEJlTsnu4sovAyfyGEdQksbioYKoZ+vERRDaYvEricfSzC6fc9lieww==}
dev: false dev: false
/astro@2.5.5(sharp@0.32.1): /astro@2.5.6(sharp@0.32.1):
resolution: {integrity: sha512-VRwnlfRtPALeOxfE4e7To5Vlu9pGwlTRWN1zkn1QTizwfg0rLirFTm6t2MCG/fUhlu/p3QO9tz8SpAIyDq53/Q==} resolution: {integrity: sha512-IdgEnjP8kqLEYgNbWcrRyqR4tUq1iEXI3AZ5RqV9PTaDd4l9H+UmN0oDjrzG8VTmCdpfSHGlQEr+0qkGPoIiOw==}
engines: {node: '>=16.12.0', npm: '>=6.14.0'} engines: {node: '>=16.12.0', npm: '>=6.14.0'}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -1511,7 +1511,7 @@ packages:
dependencies: dependencies:
'@astrojs/compiler': 1.4.2 '@astrojs/compiler': 1.4.2
'@astrojs/language-server': 1.0.8 '@astrojs/language-server': 1.0.8
'@astrojs/markdown-remark': 2.2.1(astro@2.5.5) '@astrojs/markdown-remark': 2.2.1(astro@2.5.6)
'@astrojs/telemetry': 2.1.1 '@astrojs/telemetry': 2.1.1
'@astrojs/webapi': 2.2.0 '@astrojs/webapi': 2.2.0
'@babel/core': 7.22.1 '@babel/core': 7.22.1
@ -1594,7 +1594,7 @@ packages:
postcss: ^8.1.0 postcss: ^8.1.0
dependencies: dependencies:
browserslist: 4.21.7 browserslist: 4.21.7
caniuse-lite: 1.0.30001491 caniuse-lite: 1.0.30001492
fraction.js: 4.2.0 fraction.js: 4.2.0
normalize-range: 0.1.2 normalize-range: 0.1.2
picocolors: 1.0.0 picocolors: 1.0.0
@ -1606,7 +1606,7 @@ packages:
hasBin: true hasBin: true
dependencies: dependencies:
browserslist: 4.21.7 browserslist: 4.21.7
caniuse-lite: 1.0.30001491 caniuse-lite: 1.0.30001492
normalize-range: 0.1.2 normalize-range: 0.1.2
num2fraction: 1.2.2 num2fraction: 1.2.2
picocolors: 0.2.1 picocolors: 0.2.1
@ -1710,8 +1710,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true hasBin: true
dependencies: dependencies:
caniuse-lite: 1.0.30001491 caniuse-lite: 1.0.30001492
electron-to-chromium: 1.4.414 electron-to-chromium: 1.4.415
node-releases: 2.0.12 node-releases: 2.0.12
update-browserslist-db: 1.0.11(browserslist@4.21.7) update-browserslist-db: 1.0.11(browserslist@4.21.7)
@ -1777,13 +1777,13 @@ packages:
resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==}
dependencies: dependencies:
browserslist: 4.21.7 browserslist: 4.21.7
caniuse-lite: 1.0.30001491 caniuse-lite: 1.0.30001492
lodash.memoize: 4.1.2 lodash.memoize: 4.1.2
lodash.uniq: 4.5.0 lodash.uniq: 4.5.0
dev: true dev: true
/caniuse-lite@1.0.30001491: /caniuse-lite@1.0.30001492:
resolution: {integrity: sha512-17EYIi4TLnPiTzVKMveIxU5ETlxbSO3B6iPvMbprqnKh4qJsQGk5Nh1Lp4jIMAE0XfrujsJuWZAM3oJdMHaKBA==} resolution: {integrity: sha512-2efF8SAZwgAX1FJr87KWhvuJxnGJKOnctQa8xLOskAXNXq8oiuqgl6u1kk3fFpsp3GgvzlRjiK1sl63hNtFADw==}
/ccount@2.0.1: /ccount@2.0.1:
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@ -2276,8 +2276,8 @@ packages:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
dev: false dev: false
/electron-to-chromium@1.4.414: /electron-to-chromium@1.4.415:
resolution: {integrity: sha512-RRuCvP6ekngVh2SAJaOKT/hxqc9JAsK+Pe0hP5tGQIfonU2Zy9gMGdJ+mBdyl/vNucMG6gkXYtuM4H/1giws5w==} resolution: {integrity: sha512-3meOxxvyUOJVwa7cem6O2/MRPZ+FTzblSPSpG7biZoF9yOVrhCaS2l9C4jjW6YTm8uuEpmApuP0xQJSmUglfdg==}
/emmet@2.4.4: /emmet@2.4.4:
resolution: {integrity: sha512-v8Mwpjym55CS3EjJgiCLWUB3J2HSR93jhzXW325720u8KvYxdI2voYLstW3pHBxFz54H6jFjayR9G4LfTG0q+g==} resolution: {integrity: sha512-v8Mwpjym55CS3EjJgiCLWUB3J2HSR93jhzXW325720u8KvYxdI2voYLstW3pHBxFz54H6jFjayR9G4LfTG0q+g==}
@ -2486,8 +2486,8 @@ packages:
semver: 6.3.0 semver: 6.3.0
dev: true dev: true
/eslint-plugin-tailwindcss@3.12.0(tailwindcss@3.3.2): /eslint-plugin-tailwindcss@3.12.1(tailwindcss@3.3.2):
resolution: {integrity: sha512-DMfg8NcSV04V1v3iBgJGEhmRuapW36XZXyRV8WHdNFGEXGUkBwM9R8MujguKXeQKBG6VhjiX4t98rhzXdIlUFw==} resolution: {integrity: sha512-LyIRV0rx6prTpJZsSCXSNJ34Yry3Nj9OJwvzh1xTsiG6+UCnAPW1Bx41s7vZzUDKMlwFgpUN9Me+NK12T4DHYg==}
engines: {node: '>=12.13.0'} engines: {node: '>=12.13.0'}
peerDependencies: peerDependencies:
tailwindcss: ^3.3.2 tailwindcss: ^3.3.2
@ -4100,8 +4100,8 @@ packages:
'@types/nlcst': 1.0.0 '@types/nlcst': 1.0.0
dev: false dev: false
/node-abi@3.40.0: /node-abi@3.43.0:
resolution: {integrity: sha512-zNy02qivjjRosswoYmPi8hIKJRr8MpQyeKT6qlcq/OnOgA3Rhoae+IYOqsM9V5+JnHWmxKnWOT2GxvtqdtOCXA==} resolution: {integrity: sha512-QB0MMv+tn9Ur2DtJrc8y09n0n6sw88CyDniWSX2cHW10goQXYPK9ZpFJOktDS4ron501edPX6h9i7Pg+RnH5nQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
dependencies: dependencies:
semver: 7.5.1 semver: 7.5.1
@ -4858,7 +4858,7 @@ packages:
minimist: 1.2.8 minimist: 1.2.8
mkdirp-classic: 0.5.3 mkdirp-classic: 0.5.3
napi-build-utils: 1.0.2 napi-build-utils: 1.0.2
node-abi: 3.40.0 node-abi: 3.43.0
pump: 3.0.0 pump: 3.0.0
rc: 1.2.8 rc: 1.2.8
simple-get: 4.0.1 simple-get: 4.0.1

View File

@ -1,4 +1,5 @@
--- ---
// @ts-ignore
import { Picture } from 'astro-imagetools/components' import { Picture } from 'astro-imagetools/components'
--- ---

1
src/env.d.ts vendored
View File

@ -1,2 +1,3 @@
/// <reference path="../.astro/types.d.ts" /> /// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" /> /// <reference types="astro/client" />
/// <reference types="astro-imagetools" />