build: multi-config build and dep update

This commit is contained in:
iCrawl
2023-11-14 01:26:22 +01:00
parent 75fc7f2454
commit 8f432400d8
124 changed files with 566 additions and 252 deletions

View File

@@ -0,0 +1,2 @@
/** @type {import('lint-staged').Config} */
module.exports = require('../../.lintstagedrc.json');

View File

@@ -1 +0,0 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View File

@@ -0,0 +1,2 @@
/** @type {import('prettier').Config} */
module.exports = require('../../.prettierrc.json');

View File

@@ -1,2 +0,0 @@
/** @type {import('prettier').Config} */
export * from '../../.prettierrc.json' assert { type: 'json' };

View File

@@ -79,7 +79,7 @@
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"prop-types": "^15.8.1",
"storybook": "^7.5.3",
"turbo": "^1.10.17-canary.0",

View File

@@ -74,7 +74,10 @@ export const Default = {
username: 'Guide Bot',
}}
footer={{ content: "When one amazing title just wasn't enough." }}
thumbnail={{ alt: 'discord.js logo', image: '/assets/discordjs.png' }}
thumbnail={{
alt: 'discord.js logo',
image: '/assets/discordjs.png',
}}
title={{ title: 'Another amazing title' }}
>
Multiple embeds!
@@ -112,7 +115,10 @@ export const Default = {
width: 300,
height: 300,
}}
thumbnail={{ alt: 'discord.js logo', image: '/assets/discordjs.png' }}
thumbnail={{
alt: 'discord.js logo',
image: '/assets/discordjs.png',
}}
title={{ title: 'Fields are also supported!' }}
/>
</>

View File

@@ -7,7 +7,10 @@ export default defineConfig({
plugins: [
dts(),
react(),
Unocss({ content: { pipeline: { include: ['.storybook/preview.ts'] } }, configFile: '../../unocss.config.ts' }),
Unocss({
content: { pipeline: { include: ['.storybook/preview.ts'] } },
configFile: '../../unocss.config.ts',
}),
],
build: {
lib: {