JS: Updated packages, fixed lint issue

Left eslint as old due to eslint-config-airbnb-base not yet being
comptible.
Some SASS deprecations to solve.
This commit is contained in:
Dan Brown 2024-12-09 13:07:39 +00:00
parent 55d074f1a5
commit 617b2edea0
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
4 changed files with 642 additions and 214 deletions

View File

@ -3,7 +3,7 @@
All development on BookStack is currently done on the `development` branch.
When it's time for a release the `development` branch is merged into release with built & minified CSS & JS then tagged at its version. Here are the current development requirements:
* [Node.js](https://nodejs.org/en/) v18.0+
* [Node.js](https://nodejs.org/en/) v20.0+
## Building CSS & JavaScript Assets

812
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,45 +19,45 @@
"test": "jest"
},
"devDependencies": {
"@lezer/generator": "^1.5.1",
"@lezer/generator": "^1.7.2",
"chokidar-cli": "^3.0",
"esbuild": "^0.23.0",
"eslint": "^8.55.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-import": "^2.31.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"livereload": "^0.9.3",
"npm-run-all": "^4.1.5",
"sass": "^1.69.5",
"sass": "^1.82.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "5.6.*"
"typescript": "5.7.*"
},
"dependencies": {
"@codemirror/commands": "^6.3.2",
"@codemirror/lang-css": "^6.2.1",
"@codemirror/lang-html": "^6.4.7",
"@codemirror/lang-javascript": "^6.2.1",
"@codemirror/commands": "^6.7.1",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-markdown": "^6.2.3",
"@codemirror/lang-markdown": "^6.3.1",
"@codemirror/lang-php": "^6.0.1",
"@codemirror/lang-xml": "^6.0.2",
"@codemirror/language": "^6.9.3",
"@codemirror/legacy-modes": "^6.3.3",
"@codemirror/state": "^6.3.3",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/language": "^6.10.6",
"@codemirror/legacy-modes": "^6.4.2",
"@codemirror/state": "^6.5.0",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.22.2",
"@lezer/highlight": "^1.2.0",
"@codemirror/view": "^6.35.2",
"@lezer/highlight": "^1.2.1",
"@ssddanbrown/codemirror-lang-smarty": "^1.0.0",
"@ssddanbrown/codemirror-lang-twig": "^1.0.0",
"@types/jest": "^29.5.13",
"@types/jest": "^29.5.14",
"codemirror": "^6.0.1",
"idb-keyval": "^6.2.1",
"markdown-it": "^14.1.0",
"markdown-it-task-lists": "^2.1.1",
"snabbdom": "^3.5.1",
"sortablejs": "^1.15.1"
"snabbdom": "^3.6.2",
"sortablejs": "^1.15.6"
},
"eslintConfig": {
"root": true,

View File

@ -30,7 +30,7 @@ export {HeaderMobileToggle} from './header-mobile-toggle';
export {ImageManager} from './image-manager';
export {ImagePicker} from './image-picker';
export {ListSortControl} from './list-sort-control';
export {LoadingButton} from './loading-button.ts';
export {LoadingButton} from './loading-button';
export {MarkdownEditor} from './markdown-editor';
export {NewUserPassword} from './new-user-password';
export {Notification} from './notification';