Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding dynamic opengraph support #3

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ module.exports = {
es2017: true,
node: true,
},
globals: {
$$Generic: 'readable',
$$Slots: 'readable',
},
overrides: [
{
files: ['*.svelte'],
Expand All @@ -38,15 +42,19 @@ module.exports = {
},
],
rules: {
// this rule is interfering with $$Generic, so we'll disable it for now
// see: https://github.com/sveltejs/eslint-plugin-svelte/issues/541
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
'error',
{
// allow unused function parameters that start with an underscore
argsIgnorePattern: '^_',
// allow destructuring of unused array elements that start with an underscore
destructuredArrayIgnorePattern: '^_',
// allow destructuring of unused fields in order to shrink an object shape
ignoreRestSiblings: true,
varsIgnorePattern: '^\\$\\$(Props|Events|Slots)$',
},
],
},
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"clean": "rimraf ./.svelte-kit",
"dev": "vite dev",
"build": "vite build",
"build": "pnpm sync && vite build",
"preview": "vite preview",
"sync": "svelte-kit sync",
"validate:svelte": "pnpm sync && svelte-check --tsconfig ./tsconfig.json",
Expand All @@ -21,10 +21,15 @@
"dependencies": {
"@download/blockies": "^1.0.3",
"@ensdomains/ensjs": "^3.2.0",
"@fontsource/inter": "^5.0.16",
"@fontsource/roboto-mono": "^5.0.16",
"@napi-rs/canvas": "^0.1.45",
"@resvg/resvg-js": "^2.6.0",
"@urql/core": "^4.2.3",
"@urql/svelte": "^4.0.4",
"date-fns": "^3.3.1",
"dotenv": "^16.3.2",
"satori": "^0.10.11",
"svelte": "^4.2.7",
"tailwindcss": "^3.4.1",
"viem": "^2.5.0"
Expand Down Expand Up @@ -55,7 +60,8 @@
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.0.3"
"vite": "^5.0.3",
"vite-plugin-arraybuffer": "^0.0.2"
},
"type": "module"
}
Loading
Loading