2019-11-12 13:27:39 +00:00
|
|
|
{
|
2021-11-03 16:40:31 +00:00
|
|
|
"name": "woodpecker-ci",
|
|
|
|
"author": "Woodpecker CI",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
2021-11-03 16:40:31 +00:00
|
|
|
"scripts": {
|
|
|
|
"start": "vite",
|
2023-08-07 14:05:18 +00:00
|
|
|
"build": "vite build --base=/BASE_PATH",
|
2021-11-03 16:40:31 +00:00
|
|
|
"serve": "vite preview",
|
|
|
|
"lint": "eslint --max-warnings 0 --ext .js,.ts,.vue,.json .",
|
2023-08-03 21:11:52 +00:00
|
|
|
"format": "prettier --write .",
|
|
|
|
"format:check": "prettier -c .",
|
2021-11-03 16:40:31 +00:00
|
|
|
"typecheck": "vue-tsc --noEmit",
|
|
|
|
"test": "echo 'No tests configured' && exit 0"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-10 10:43:03 +00:00
|
|
|
"@intlify/unplugin-vue-i18n": "^1.0.0",
|
2023-09-10 10:50:57 +00:00
|
|
|
"@kyvg/vue3-notification": "^3.0.0",
|
2023-09-07 20:28:36 +00:00
|
|
|
"@vueuse/components": "^10.4.0",
|
2023-09-10 12:37:39 +00:00
|
|
|
"@vueuse/core": "^10.0.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"ansi_up": "^5.2.1",
|
|
|
|
"dayjs": "^1.11.9",
|
2022-08-09 12:13:32 +00:00
|
|
|
"fuse.js": "^6.6.2",
|
2023-03-19 23:07:18 +00:00
|
|
|
"humanize-duration": "^3.28.0",
|
|
|
|
"javascript-time-ago": "^2.5.9",
|
2022-08-09 12:13:32 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"node-emoji": "^1.11.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"pinia": "^2.1.4",
|
2022-09-27 09:05:00 +00:00
|
|
|
"prismjs": "^1.29.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"vue": "^3.3.4",
|
2022-08-09 12:13:32 +00:00
|
|
|
"vue-i18n": "^9.2.2",
|
2023-07-02 10:47:36 +00:00
|
|
|
"vue-router": "^4.2.2"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-02 10:47:36 +00:00
|
|
|
"@iconify/json": "^2.2.85",
|
2022-08-09 12:13:32 +00:00
|
|
|
"@types/humanize-duration": "^3.27.1",
|
|
|
|
"@types/javascript-time-ago": "^2.0.3",
|
2023-07-02 10:47:36 +00:00
|
|
|
"@types/lodash": "^4.14.195",
|
|
|
|
"@types/node": "^18.16.19",
|
2022-10-19 08:15:58 +00:00
|
|
|
"@types/node-emoji": "^1.8.2",
|
2022-08-09 15:39:45 +00:00
|
|
|
"@types/prismjs": "^1.26.0",
|
2023-09-10 10:34:50 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
|
|
"@typescript-eslint/parser": "^6.0.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
|
|
"@vue/compiler-sfc": "^3.3.4",
|
|
|
|
"eslint": "^8.44.0",
|
2022-08-09 12:13:32 +00:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
2023-09-10 08:48:51 +00:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2023-03-19 23:07:18 +00:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2023-09-10 09:01:52 +00:00
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
2023-03-19 23:07:18 +00:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"eslint-plugin-vue": "^9.15.1",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.5.0",
|
2023-09-10 09:01:52 +00:00
|
|
|
"prettier": "^3.0.0",
|
Use consistent woodpecker color scheme (#2003)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1079
What do you think about using a consistent `woodpecker` color scheme?
Right now, the `lime` color scheme from windicss is used that does not
really fit the primary color used for the documentation website. I have
used the primary color `#4CAF50` from the docs and created a color
palette with https://palettte.app/:
<details>
<summary>JSON source</summary>
```Json
[
{
"paletteName": "New Palette",
"swatches": [
{
"name": "New Swatch",
"color": "166E30"
},
{
"name": "New Swatch",
"color": "248438"
},
{
"name": "New Swatch",
"color": "369943"
},
{
"name": "New Swatch",
"color": "4CAF50"
},
{
"name": "New Swatch",
"color": "68C464"
},
{
"name": "New Swatch",
"color": "8AD97F"
}
]
}
]
```
</details>
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a254f1e0-ce17-43a9-9e8b-72252296fd6f)
I have added this color scheme to the windicss config and replaced the
use of `lime` in the UI. While `woodpecker-300` would be the primary
color that is used for the docs, I currently use `woodpecke-400` as
primary color for the UI to fix some contrast issues.
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/7bf751e1-f2a6-481c-bee7-a27d27cf8adb)
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e5673dc7-81c1-4fd4-bef9-14494bc5aa27)
What do you think? If you would like to stay with the current colors,
that's fine for me, I can just use the custom CSS feature in this case.
---------
Co-authored-by: 6543 <6543@obermui.de>
2023-08-02 07:09:12 +00:00
|
|
|
"tinycolor2": "^1.6.0",
|
2023-04-02 11:03:23 +00:00
|
|
|
"typescript": "5.0.3",
|
2023-09-08 15:10:08 +00:00
|
|
|
"unplugin-icons": "^0.17.0",
|
2023-09-08 15:30:08 +00:00
|
|
|
"unplugin-vue-components": "^0.25.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"vite": "^4.3.9",
|
2022-08-09 15:39:45 +00:00
|
|
|
"vite-plugin-prismjs": "^0.0.8",
|
2023-07-02 10:47:36 +00:00
|
|
|
"vite-plugin-windicss": "^1.9.0",
|
2023-03-19 23:07:18 +00:00
|
|
|
"vite-svg-loader": "^4.0.0",
|
2023-07-02 10:47:36 +00:00
|
|
|
"vue-eslint-parser": "^9.3.1",
|
|
|
|
"vue-tsc": "^1.8.3",
|
2022-08-09 12:13:32 +00:00
|
|
|
"windicss": "^3.5.6"
|
2023-07-03 05:52:25 +00:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"semver@<7.5.2": ">=7.5.2"
|
|
|
|
}
|
2019-11-12 13:27:39 +00:00
|
|
|
}
|
|
|
|
}
|