1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

missed files

This commit is contained in:
pat-s 2024-12-23 17:44:03 +01:00
parent 7658ab7985
commit 251b3bb778
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
4 changed files with 11 additions and 9 deletions

View File

@ -209,6 +209,8 @@
"Warnf", "Warnf",
"webhookd", "webhookd",
"Weblate", "Weblate",
"windi",
"windicss",
"woodpeckerci", "woodpeckerci",
"WORKDIR", "WORKDIR",
"Wrapf", "Wrapf",

View File

@ -21,9 +21,9 @@ The following list contains some tools and frameworks used by the Woodpecker UI.
- use `setup` and composition api - use `setup` and composition api
- place (re-usable) components in `web/src/components/` - place (re-usable) components in `web/src/components/`
- views should have a route in `web/src/router.ts` and are located in `web/src/views/` - views should have a route in `web/src/router.ts` and are located in `web/src/views/`
- [Windicss](https://windicss.org/) (similar to Tailwind) - [Tailwind CSS](https://tailwindcss.com/)
- use Windicss classes where possible - use Tailwind classes where possible
- if needed extend the Windicss config to use new classes - if needed extend the Tailwind config to use new classes
- [Vite](https://vitejs.dev/) (similar to Webpack) - [Vite](https://vitejs.dev/) (similar to Webpack)
- [Typescript](https://www.typescriptlang.org/) - [Typescript](https://www.typescriptlang.org/)
- avoid using `any` and `unknown` (the linter will prevent you from doing so anyways :wink:) - avoid using `any` and `unknown` (the linter will prevent you from doing so anyways :wink:)

View File

@ -1,12 +1,12 @@
// cSpell:ignore Segoe Roboto Neue Noto nocheck // cSpell:ignore Segoe Roboto Neue Noto nocheck
/* eslint-disable ts/no-unsafe-member-access, ts/no-unsafe-assignment, ts/no-unsafe-argument, ts/no-unsafe-return */ /* eslint-disable ts/no-unsafe-return */
// eslint-disable-next-line ts/ban-ts-comment // eslint-disable-next-line ts/ban-ts-comment
// @ts-nocheck // @ts-nocheck
import tinycolor from 'tinycolor2';
import colors from 'tailwindcss/colors';
import type { Config } from 'tailwindcss';
import typography from '@tailwindcss/typography'; import typography from '@tailwindcss/typography';
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
import tinycolor from 'tinycolor2';
const customColors = { const customColors = {
'wp-primary': { 'wp-primary': {
@ -233,4 +233,4 @@ export default {
'hover:bg-black hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-5 transition-colors duration-100', 'hover:bg-black hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-5 transition-colors duration-100',
}, },
plugins: [typography()], plugins: [typography()],
}); } satisfies Config;

View File

@ -27,6 +27,6 @@
"noUnusedParameters": true, "noUnusedParameters": true,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true
}, },
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.json", "windi.config.ts", "vite.config.ts"], "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.json", "tailwind.config.ts", "vite.config.ts"],
"exclude": ["node_modules", "**/__tests__/**/*", "**/dist/**/*"] "exclude": ["node_modules", "**/__tests__/**/*", "**/dist/**/*"]
} }