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:
parent
7658ab7985
commit
251b3bb778
@ -209,6 +209,8 @@
|
|||||||
"Warnf",
|
"Warnf",
|
||||||
"webhookd",
|
"webhookd",
|
||||||
"Weblate",
|
"Weblate",
|
||||||
|
"windi",
|
||||||
|
"windicss",
|
||||||
"woodpeckerci",
|
"woodpeckerci",
|
||||||
"WORKDIR",
|
"WORKDIR",
|
||||||
"Wrapf",
|
"Wrapf",
|
||||||
|
@ -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:)
|
||||||
|
@ -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;
|
||||||
|
@ -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/**/*"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user