mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: multi-config build and dep update
This commit is contained in:
2
packages/ui/.lintstagedrc.cjs
Normal file
2
packages/ui/.lintstagedrc.cjs
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {import('lint-staged').Config} */
|
||||
module.exports = require('../../.lintstagedrc.json');
|
||||
@@ -1 +0,0 @@
|
||||
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||
2
packages/ui/.prettierrc.cjs
Normal file
2
packages/ui/.prettierrc.cjs
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {import('prettier').Config} */
|
||||
module.exports = require('../../.prettierrc.json');
|
||||
@@ -1,2 +0,0 @@
|
||||
/** @type {import('prettier').Config} */
|
||||
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||
@@ -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",
|
||||
|
||||
@@ -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!' }}
|
||||
/>
|
||||
</>
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user