-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from depatchedmode/v0.8.2
v0.8.2
- Loading branch information
Showing
33 changed files
with
135 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[build] | ||
functions = "/api" | ||
publish = "/public" | ||
publish = "public/" | ||
|
||
[functions] | ||
directory = "api/" | ||
node_bundler = "esbuild" | ||
external_node_modules = ["sharp"] | ||
included_files = ["node_modules/sharp/**/*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
{ | ||
"name": "simplest-frame", | ||
"type": "module", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"dependencies": { | ||
"@netlify/blobs": "^6.4.2", | ||
"dompurify": "^3.0.8", | ||
"frames.js": "^0.1.1", | ||
"frames.js": "^0.5.0", | ||
"jsdom": "^24.0.0", | ||
"satori": "^0.10.11", | ||
"satori": "^0.10.13", | ||
"satori-html": "^0.3.2", | ||
"sharp": "^0.32.6" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.11.17", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"prettier": "^3.2.5", | ||
"typescript": "^5.3.3" | ||
} | ||
} |
File renamed without changes.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Font, FontStyle, FontWeight } from 'satori'; | ||
import { loadFont } from '../modules/utils.js'; | ||
|
||
const fonts: Font[] = [ | ||
{ | ||
name: 'Redaction', | ||
data: await loadFont('Redaction-Regular.otf'), | ||
weight: 400 as FontWeight, // Explicitly casting as Weight type | ||
style: 'normal' as FontStyle, // Explicitly casting as FontStyle type | ||
}, | ||
{ | ||
name: 'Redaction-100', | ||
data: await loadFont('Redaction100-Regular.otf'), | ||
weight: 400 as FontWeight, // Explicitly casting as Weight type | ||
style: 'normal' as FontStyle, // Explicitly casting as FontStyle type | ||
} | ||
]; | ||
|
||
export default fonts; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import poster from "./poster.js"; | ||
import count from "./count.js"; | ||
import credits from "./credits.js"; | ||
import stolen from "./stolen.js"; | ||
|
||
export default { | ||
count, | ||
poster, | ||
credits, | ||
stolen, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
const html = String.raw; | ||
export default { | ||
name: 'poster', | ||
image: `/images/poster-animated.gif`, | ||
|
File renamed without changes.
Oops, something went wrong.