aboutsummaryrefslogtreecommitdiffstats
path: root/babel.config.js
Commit message (Collapse)AuthorAgeFilesLines
* fix: jest transform private methodsskjnldsv2024-08-031-0/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-1/+1
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Adjust babel module resolutionFerdinand Thiessen2024-06-111-0/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-101-0/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(files_trashbin): migrate to vueJohn Molakvoæ2023-04-061-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port Files navigation to vueJohn Molakvoæ2023-01-041-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Bump vue and fix babel warningJohn Molakvoæ (skjnldsv)2021-07-261-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Port dav calendar settings page to Vue.jsFrançois Freitag2021-06-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Drop reliance on deprecated global jQuery object. - Allow testing user interactions. - Use newer technology stack. --- Test user interactions with the groupware dav settings Add infrastructure to test Vue components: - Use recommended libraries: - https://vuejs.org/v2/guide/testing.html#Recommendations - Use jest-dom for robust assertions on the DOM state - Use user-event to be more representative of user actions - Code is transpiled by Jest, with the help of vue-jest. Ignore test files for no-unpublished-import. Prevent ESLint from flagging: ``` /home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js Error: 1:24 error "@testing-library/vue" is not published node/no-unpublished-import Error: 2:23 error "@testing-library/user-event" is not published node/no-unpublished-import ``` Signed-off-by: François Freitag <mail@franek.fr>
* Remove unneeded babel config variableJohn Molakvoæ (skjnldsv)2020-04-021-6/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate from @babel/polyfill to core-js@3Christoph Wurst2020-03-261-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Transpile also dependencies in node_modulesJohn Molakvoæ (skjnldsv)2019-10-291-0/+14
Some of the dependencies in node_modules, such as "p-queue", are not ES5 compatible, so they need to be transpiled to work in older browsers like Internet Explorer 11. Besides not excluding the dependencies for babel-loader in "webpack.common.js" the global Babel configuration must be defined in "babel.config.js", as in Babel 7.X, when ".babelrc.js" is used, all the dependencies in "node_modules" are ignored (even if whitelisted in the configuration file itself). Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>