mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
2e542f17a3
Get rid of one more jQuery dependant and have a nicer color picker as well. Now there is only a single global color picker init because that is all that's necessary because the elements are present on the page when the init code runs. The init is slightly weird because the module only takes a selector instead of DOM elements directly. The label modals now also perform form validation because previously it was possible to trigger a 500 error `Color cannot be empty.` by clearing out the color value on labels. <img width="867" alt="Screenshot 2024-03-25 at 00 21 05" src="https://github.com/go-gitea/gitea/assets/115237/71215c39-abb1-4881-b5c1-9954b4a89adb"> <img width="860" alt="Screenshot 2024-03-25 at 00 20 48" src="https://github.com/go-gitea/gitea/assets/115237/a12cb68f-c38b-4433-ba05-53bbb4b1023e"> (cherry picked from commit dd8dde2be89921b2b1497c6cc5eafdde213429cb)
102 lines
3.1 KiB
JSON
102 lines
3.1 KiB
JSON
{
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@citation-js/core": "0.7.9",
|
|
"@citation-js/plugin-bibtex": "0.7.9",
|
|
"@citation-js/plugin-csl": "0.7.9",
|
|
"@citation-js/plugin-software-formats": "0.6.1",
|
|
"@github/markdown-toolbar-element": "2.2.3",
|
|
"@github/relative-time-element": "4.4.0",
|
|
"@github/text-expander-element": "2.6.1",
|
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
|
"@melloware/coloris": "0.23.0",
|
|
"@primer/octicons": "19.9.0",
|
|
"add-asset-webpack-plugin": "2.0.1",
|
|
"ansi_up": "6.0.2",
|
|
"asciinema-player": "3.7.1",
|
|
"chart.js": "4.4.2",
|
|
"chartjs-adapter-dayjs-4": "1.0.4",
|
|
"chartjs-plugin-zoom": "2.0.1",
|
|
"clippie": "4.0.7",
|
|
"css-loader": "6.10.0",
|
|
"dayjs": "1.11.10",
|
|
"dropzone": "6.0.0-beta.2",
|
|
"easymde": "2.18.0",
|
|
"esbuild-loader": "4.1.0",
|
|
"escape-goat": "4.0.0",
|
|
"fast-glob": "3.3.2",
|
|
"htmx.org": "1.9.11",
|
|
"idiomorph": "0.3.0",
|
|
"jquery": "3.7.1",
|
|
"katex": "0.16.10",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "10.9.0",
|
|
"mini-css-extract-plugin": "2.8.1",
|
|
"minimatch": "9.0.3",
|
|
"monaco-editor": "0.47.0",
|
|
"monaco-editor-webpack-plugin": "7.1.0",
|
|
"pdfobject": "2.3.0",
|
|
"postcss": "8.4.38",
|
|
"postcss-loader": "8.1.1",
|
|
"postcss-nesting": "12.1.0",
|
|
"pretty-ms": "9.0.0",
|
|
"sortablejs": "1.15.2",
|
|
"swagger-ui-dist": "5.12.0",
|
|
"tailwindcss": "3.4.1",
|
|
"temporal-polyfill": "0.2.3",
|
|
"throttle-debounce": "5.0.0",
|
|
"tinycolor2": "1.6.0",
|
|
"tippy.js": "6.3.7",
|
|
"toastify-js": "1.12.0",
|
|
"tributejs": "5.1.3",
|
|
"uint8-to-base64": "0.2.0",
|
|
"vue": "3.4.21",
|
|
"vue-bar-graph": "2.0.0",
|
|
"vue-chartjs": "5.3.0",
|
|
"vue-loader": "17.4.2",
|
|
"vue3-calendar-heatmap": "2.0.5",
|
|
"webpack": "5.91.0",
|
|
"webpack-cli": "5.1.4",
|
|
"wrap-ansi": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.1.0",
|
|
"@playwright/test": "1.42.1",
|
|
"@stoplight/spectral-cli": "6.11.1",
|
|
"@stylistic/eslint-plugin-js": "1.7.0",
|
|
"@stylistic/stylelint-plugin": "2.1.0",
|
|
"@vitejs/plugin-vue": "5.0.4",
|
|
"@vue/test-utils": "2.4.5",
|
|
"eslint": "8.57.0",
|
|
"eslint-plugin-array-func": "4.0.0",
|
|
"eslint-plugin-github": "4.10.2",
|
|
"eslint-plugin-i": "2.29.1",
|
|
"eslint-plugin-jquery": "1.5.1",
|
|
"eslint-plugin-no-jquery": "2.7.0",
|
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
"eslint-plugin-regexp": "2.4.0",
|
|
"eslint-plugin-sonarjs": "0.24.0",
|
|
"eslint-plugin-unicorn": "51.0.1",
|
|
"eslint-plugin-vitest": "0.4.0",
|
|
"eslint-plugin-vitest-globals": "1.5.0",
|
|
"eslint-plugin-vue": "9.24.0",
|
|
"eslint-plugin-vue-scoped-css": "2.8.0",
|
|
"eslint-plugin-wc": "2.0.4",
|
|
"happy-dom": "14.3.10",
|
|
"markdownlint-cli": "0.39.0",
|
|
"postcss-html": "1.6.0",
|
|
"stylelint": "16.3.0",
|
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
"stylelint-declaration-strict-value": "1.10.4",
|
|
"svgo": "3.2.0",
|
|
"updates": "16.0.0",
|
|
"vite-string-plugin": "1.1.5",
|
|
"vitest": "1.4.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
]
|
|
}
|