Skip to content

Commit 31ea354

Browse files
committed
Bump deps and use npm7
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 574f1f0 commit 31ea354

14 files changed

Lines changed: 23232 additions & 33863 deletions

.eslintrc.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
module.exports = {
22
extends: [
3-
'@nextcloud'
3+
'@nextcloud',
44
],
55
globals: {
6+
__webpack_nonce__: true,
7+
__webpack_public_path__: true,
8+
appName: true,
9+
appVersion: true,
610
expect: true,
711
OC: true,
812
OCA: true,
913
OCP: true,
1014
t: true,
11-
__webpack_public_path__: true,
12-
__webpack_nonce__: true,
13-
}
15+
},
1416
}

babel.config.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
module.exports = {
2-
plugins: [
3-
'@babel/plugin-syntax-dynamic-import'
4-
],
5-
presets: [
6-
[
7-
'@babel/preset-env',
8-
{
9-
modules: process.env.NODE_ENV === 'testing' ? 'commonjs' : undefined,
10-
useBuiltIns: process.env.NODE_ENV === 'testing' ? 'usage' : 'entry',
11-
corejs: 3
12-
}
13-
]
14-
]
15-
};
1+
const babelConfig = require('@nextcloud/babel-config')
2+
3+
module.exports = babelConfig

lib/Dashboard/MailWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getUrl(): ?string {
8989
* @inheritDoc
9090
*/
9191
public function load(): void {
92-
Util::addScript(Application::APP_ID, 'dashboard');
92+
Util::addScript(Application::APP_ID, 'mail-dashboard');
9393

9494
$this->initialState->provideInitialState(
9595
'mail-accounts',

0 commit comments

Comments
 (0)