apparently i was using figlet
wrong. Oops
This commit is contained in:
parent
0274964c94
commit
f1c50d8854
4 changed files with 19 additions and 4 deletions
|
@ -14,7 +14,15 @@ export default [
|
||||||
{
|
{
|
||||||
rules: {
|
rules: {
|
||||||
quotes: ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
semi: ["error", "always"]
|
semi: ["error", "always"],
|
||||||
|
|
||||||
|
"@typescript-eslint/no-unused-vars": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
varsIgnorePattern: "^_",
|
||||||
|
argsIgnorePattern: "^_"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
];
|
];
|
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -13,14 +13,15 @@
|
||||||
"@astrojs/sitemap": "^3.1.5",
|
"@astrojs/sitemap": "^3.1.5",
|
||||||
"astro": "^4.9.3",
|
"astro": "^4.9.3",
|
||||||
"astro-compress": "^2.2.28",
|
"astro-compress": "^2.2.28",
|
||||||
|
"astro-vtbot": "^1.7.23",
|
||||||
"figlet": "^1.7.0",
|
"figlet": "^1.7.0",
|
||||||
"modern-normalize": "^2.0.0",
|
"modern-normalize": "^2.0.0",
|
||||||
"postcss-preset-env": "^9.5.14",
|
"postcss-preset-env": "^9.5.14",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/figlet": "^1.5.8",
|
||||||
"@typescript-eslint/parser": "^7.12.0",
|
"@typescript-eslint/parser": "^7.12.0",
|
||||||
"astro-vtbot": "^1.7.23",
|
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-plugin-astro": "^1.2.0",
|
"eslint-plugin-astro": "^1.2.0",
|
||||||
"typescript-eslint": "^7.13.0"
|
"typescript-eslint": "^7.13.0"
|
||||||
|
@ -2864,6 +2865,12 @@
|
||||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
||||||
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
|
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/figlet": {
|
||||||
|
"version": "1.5.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/figlet/-/figlet-1.5.8.tgz",
|
||||||
|
"integrity": "sha512-G22AUvy4Tl95XLE7jmUM8s8mKcoz+Hr+Xm9W90gJsppJq9f9tHvOGkrpn4gRX0q/cLtBdNkWtWCKDg2UDZoZvQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/@types/hast": {
|
"node_modules/@types/hast": {
|
||||||
"version": "3.0.4",
|
"version": "3.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
|
||||||
|
@ -3540,7 +3547,6 @@
|
||||||
"version": "1.7.23",
|
"version": "1.7.23",
|
||||||
"resolved": "https://registry.npmjs.org/astro-vtbot/-/astro-vtbot-1.7.23.tgz",
|
"resolved": "https://registry.npmjs.org/astro-vtbot/-/astro-vtbot-1.7.23.tgz",
|
||||||
"integrity": "sha512-5gLNa+pLJsvokVEemIPBH7M+enNZKRzPnXk7zJ4/Wb0U8q6S1oiBmrsVzUZGITtF2FRQ47dGvNwp+qkxUTHkpQ==",
|
"integrity": "sha512-5gLNa+pLJsvokVEemIPBH7M+enNZKRzPnXk7zJ4/Wb0U8q6S1oiBmrsVzUZGITtF2FRQ47dGvNwp+qkxUTHkpQ==",
|
||||||
"dev": true,
|
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "github",
|
"type": "github",
|
||||||
"url": "https://github.com/sponsors/martrapp"
|
"url": "https://github.com/sponsors/martrapp"
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/figlet": "^1.5.8",
|
||||||
"@typescript-eslint/parser": "^7.12.0",
|
"@typescript-eslint/parser": "^7.12.0",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-plugin-astro": "^1.2.0",
|
"eslint-plugin-astro": "^1.2.0",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import figlet from "figlet";
|
import figlet from "figlet";
|
||||||
|
|
||||||
const message = await figlet.text("reidlab");
|
const message = figlet.text("reidlab", (err, _res) => { if (err) { throw err; } else { return; } });
|
||||||
---
|
---
|
||||||
|
|
||||||
<header transition:persist>
|
<header transition:persist>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue