Dependency updates (#389)

* Update Node.js (and npm) to latest LTS

* Update dependencies to latest minor versions

* Fix vue-select styling

* Update jest to latest major version

* Switch to do-vue branch with fixed templating

* Switch back to do-vue master

* Update do-bulma to latest version
pull/394/head
Matt Cowley 2022-10-04 19:30:03 +01:00 committed by GitHub
parent b7771d67a4
commit 400911d695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 2350 additions and 2624 deletions

2
.nvmrc
View File

@ -1 +1 @@
v16.16.0 v16.17.1

4912
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,8 @@
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": "^16.16.0", "node": "^16.17.1",
"npm": "^8.11.0" "npm": "^8.15.0"
}, },
"main": "src/nginxconfig/mount.js", "main": "src/nginxconfig/mount.js",
"type": "module", "type": "module",
@ -53,41 +53,41 @@
"json-to-pretty-yaml": "^1.2.2", "json-to-pretty-yaml": "^1.2.2",
"memory-tar-create": "0.0.3", "memory-tar-create": "0.0.3",
"pretty-checkbox-vue": "^1.1.9", "pretty-checkbox-vue": "^1.1.9",
"prismjs": "^1.28.0", "prismjs": "^1.29.0",
"qs": "^6.11.0", "qs": "^6.11.0",
"simple-js-sha2-256": "^1.0.7", "simple-js-sha2-256": "^1.0.7",
"vue": "^3.2.37", "vue": "^3.2.40",
"vue-i18n": "^9.1.10", "vue-i18n": "^9.2.2",
"vue-select": "^4.0.0-beta.3", "vue-select": "^4.0.0-beta.5",
"webpack-require-from": "^1.8.6" "webpack-require-from": "^1.8.6"
}, },
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.18.9", "@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.9", "@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.18.9", "@babel/preset-env": "^7.19.3",
"@babel/runtime": "^7.18.9", "@babel/runtime": "^7.19.0",
"@vue/cli-service": "^5.0.8", "@vue/cli-service": "^5.0.8",
"ajv": "^8.11.0", "ajv": "^8.11.0",
"chalk": "^5.0.1", "chalk": "^5.0.1",
"copyfiles": "^2.4.1", "copyfiles": "^2.4.1",
"core-js": "^3.23.5", "core-js": "^3.25.3",
"duplicate-package-checker-webpack-plugin": "^3.0.0", "duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^8.20.0", "eslint": "^8.24.0",
"eslint-plugin-vue": "^9.2.0", "eslint-plugin-vue": "^9.5.1",
"esm": "^3.2.25", "esm": "^3.2.25",
"jest": "^28.1.3", "jest": "^29.1.2",
"jest-environment-jsdom": "^28.1.3", "jest-environment-jsdom": "^29.1.2",
"node-fetch": "^3.2.9", "node-fetch": "^3.2.10",
"postcss": "^8.4.14", "postcss": "^8.4.17",
"sass": "^1.53.0", "sass": "^1.55.0",
"sass-loader": "^13.0.2", "sass-loader": "^13.0.2",
"stylelint": "^14.9.1", "stylelint": "^14.13.0",
"stylelint-config-standard-scss": "^5.0.0", "stylelint-config-standard-scss": "^5.0.0",
"stylelint-order": "^5.0.0", "stylelint-order": "^5.0.0",
"vue-template-compiler": "^2.7.7", "vue-template-compiler": "^2.7.10",
"webpack": "^5.73.0", "webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0" "webpack-bundle-analyzer": "^4.6.1"
}, },
"overrides": { "overrides": {
"@vue/cli-service": { "@vue/cli-service": {

View File

@ -26,6 +26,7 @@ THE SOFTWARE.
// Load in the app // Load in the app
import './scss/style.scss'; import './scss/style.scss';
import 'vue-select/dist/vue-select.css';
import { createApp } from 'vue'; import { createApp } from 'vue';
import './util/prism_bundle'; import './util/prism_bundle';
import { getI18n } from './i18n/setup'; import { getI18n } from './i18n/setup';

View File

@ -33,7 +33,7 @@ THE SOFTWARE.
&.floating { &.floating {
bottom: 0; bottom: 0;
box-shadow: inset 0 0 0 $border-size $border-color; box-shadow: inset 0 0 0 $border-size $border;
max-width: calc(100% - 1rem); max-width: calc(100% - 1rem);
position: fixed; position: fixed;
right: 0; right: 0;

View File

@ -26,6 +26,11 @@ THE SOFTWARE.
// stylelint-disable selector-class-pattern // stylelint-disable selector-class-pattern
.v-select { .v-select {
--vs-border-color: #{$border};
--vs-border-radius: #{$border-radius};
--vs-dropdown-box-shadow: 0 2px 4px #{rgba($dark-blue, .06)};
--vs-dropdown-option--active-bg: #{$primary}; // stylelint-disable-line custom-property-pattern
&.vs--open { &.vs--open {
> ul { > ul {
opacity: 1; opacity: 1;
@ -100,6 +105,7 @@ THE SOFTWARE.
.vs__dropdown-menu { .vs__dropdown-menu {
.vs__dropdown-option { .vs__dropdown-option {
padding: .25rem 1.25rem;
white-space: normal; white-space: normal;
} }
} }

View File

@ -38,13 +38,6 @@ $callout: #f3f5f9;
@import "~pretty-checkbox/src/pretty-checkbox"; @import "~pretty-checkbox/src/pretty-checkbox";
$vs-border-color: $border;
$vs-border-radius: $border-radius;
$vs-dropdown-box-shadow: 0 2px 4px rgba($dark-blue, .06);
$vs-state-active-bg: $primary;
@import "~vue-select/src/scss/vue-select";
// Local imports // Local imports
@import "header"; @import "header";
@import "tabs"; @import "tabs";