Skip to content

Commit 75f9b20

Browse files
authored
Merge pull request #30 from filips123/revert-updated-dependencies
2 parents ffc75ad + acbef0d commit 75f9b20

8 files changed

+4362
-3021
lines changed

website/package.json

+25-26
Original file line numberDiff line numberDiff line change
@@ -21,44 +21,43 @@
2121
},
2222
"dependencies": {
2323
"@mdi/js": "^5.9.55",
24-
"@sentry/tracing": "^6.11.0",
25-
"@sentry/vue": "^6.11.0",
24+
"@sentry/tracing": "^6.3.5",
25+
"@sentry/vue": "^6.3.5",
2626
"pulltorefreshjs": "^0.1.22",
2727
"register-service-worker": "^1.7.2",
28-
"vue": "^2.6.14",
28+
"vue": "^2.6.12",
2929
"vue-class-component": "^7.2.6",
3030
"vue-property-decorator": "^9.1.2",
31-
"vue-router": "^3.5.2",
32-
"vuetify": "^2.5.8",
31+
"vue-router": "^3.5.1",
32+
"vuetify": "^2.4.11",
3333
"vuex": "https://github.com/filips123/vuex#preservestate-options-dist",
3434
"vuex-module-decorators": "https://github.com/filips123/vuex-module-decorators#combined-dist",
3535
"vuex-persist": "^3.1.3"
3636
},
3737
"devDependencies": {
38-
"@types/pulltorefreshjs": "^0.1.5",
39-
"@typescript-eslint/eslint-plugin": "^4.29.3",
40-
"@typescript-eslint/parser": "^4.29.3",
41-
"@vue/cli-plugin-babel": "~5.0.0-beta.3",
42-
"@vue/cli-plugin-eslint": "~5.0.0-beta.3",
43-
"@vue/cli-plugin-pwa": "~5.0.0-beta.3",
44-
"@vue/cli-plugin-router": "~5.0.0-beta.3",
45-
"@vue/cli-plugin-typescript": "~5.0.0-beta.3",
46-
"@vue/cli-plugin-vuex": "~5.0.0-beta.3",
47-
"@vue/cli-service": "~5.0.0-beta.3",
48-
"@vue/eslint-config-standard": "^6.1.0",
38+
"@types/pulltorefreshjs": "^0.1.4",
39+
"@typescript-eslint/eslint-plugin": "^4.22.1",
40+
"@typescript-eslint/parser": "^4.22.1",
41+
"@vue/cli-plugin-babel": "^4.5.12",
42+
"@vue/cli-plugin-eslint": "^4.5.12",
43+
"@vue/cli-plugin-pwa": "^4.5.12",
44+
"@vue/cli-plugin-router": "^4.5.12",
45+
"@vue/cli-plugin-typescript": "^4.5.12",
46+
"@vue/cli-plugin-vuex": "^4.5.12",
47+
"@vue/cli-service": "^4.5.12",
48+
"@vue/eslint-config-standard": "^6.0.0",
4949
"@vue/eslint-config-typescript": "^7.0.0",
50-
"@vue/preload-webpack-plugin": "^2.0.0",
51-
"eslint": "^7.32.0",
52-
"eslint-plugin-import": "^2.24.2",
50+
"eslint": "^7.25.0",
51+
"eslint-plugin-import": "^2.22.1",
5352
"eslint-plugin-node": "^11.1.0",
5453
"eslint-plugin-promise": "^5.1.0",
5554
"eslint-plugin-simple-import-sort": "^7.0.0",
56-
"eslint-plugin-vue": "^7.17.0",
57-
"sass": "~1.32.13",
58-
"sass-loader": "~10.2.0",
59-
"typescript": "~4.3.5",
60-
"vue-cli-plugin-vuetify": "^2.4.2",
61-
"vue-template-compiler": "^2.6.14",
62-
"vuetify-loader": "^1.7.3"
55+
"eslint-plugin-vue": "^7.9.0",
56+
"sass": "^1.32.12",
57+
"sass-loader": "^10.1.1",
58+
"typescript": " ^4.2.4",
59+
"vue-cli-plugin-vuetify": "^2.4.0",
60+
"vue-template-compiler": "^2.6.12",
61+
"vuetify-loader": "^1.7.2"
6362
}
6463
}

website/src/registerSentry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Vue from 'vue'
44
import VueRouter from 'vue-router'
55

66
import { init } from '@sentry/vue'
7-
import { VueRouterInstrumentation } from '@sentry/vue/dist/router'
7+
import { VueRouterInstrumentation } from '@sentry/vue/dist/vuerouter'
88
import { captureException } from '@sentry/browser'
99
import { Transaction, TransactionContext } from '@sentry/types'
1010
import { Integrations } from '@sentry/tracing'

website/src/shims-tsx.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ import Vue, { VNode } from 'vue'
22

33
declare global {
44
namespace JSX {
5+
// tslint:disable no-empty-interface
56
interface Element extends VNode {}
7+
// tslint:disable no-empty-interface
68
interface ElementClass extends Vue {}
79
interface IntrinsicElements {
8-
[elem: string]: any
10+
[elem: string]: any;
911
}
1012
}
1113
}

website/src/shims-vuetify.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'vuetify/types'
2+
13
declare module 'vuetify/lib/framework' {
24
import Vuetify from 'vuetify'
35
export default Vuetify

website/src/views/Timetable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ import { daysInWeek } from '@/utils/days'
4444
4545
@Component({
4646
components: {
47-
TimetableWeek: () => import(/* webpackChunkName: "desktop" */ '@/components/timetable/TimetableWeek.vue'),
4847
TimetableDay: () => import(/* webpackChunkName: "mobile" */ '@/components/timetable/TimetableDay.vue'),
48+
TimetableWeek: () => import(/* webpackChunkName: "desktop" */ '@/components/timetable/TimetableWeek.vue'),
4949
Loading
5050
}
5151
})

website/tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
"module": "esnext",
55
"strict": true,
66
"jsx": "preserve",
7+
"importHelpers": true,
78
"moduleResolution": "node",
89
"experimentalDecorators": true,
910
"skipLibCheck": true,
1011
"esModuleInterop": true,
1112
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"useDefineForClassFields": true,
1413
"sourceMap": true,
1514
"baseUrl": ".",
1615
"types": [

website/vue.config.js

+12-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-var-requires */
2-
3-
const PreloadWebpackPlugin = require('@vue/preload-webpack-plugin')
1+
// eslint-disable-next-line @typescript-eslint/no-var-requires
42
process.env.VUE_APP_VERSION = require('./package.json').version
53

64
module.exports = {
@@ -12,14 +10,15 @@ module.exports = {
1210

1311
pwa: {
1412
name: process.env.VUE_APP_TITLE,
15-
manifestPath: 'site.webmanifest',
1613

1714
themeColor: '#007300',
1815
msTileColor: '#007300',
1916

17+
manifestPath: 'site.webmanifest',
18+
2019
workboxOptions: {
2120
navigateFallback: '/index.html',
22-
navigateFallbackDenylist: [/\./]
21+
navigateFallbackBlacklist: [/\./]
2322
},
2423

2524
manifestOptions: {
@@ -64,15 +63,13 @@ module.exports = {
6463
}
6564
},
6665

67-
configureWebpack: {
68-
plugins: [
69-
new PreloadWebpackPlugin({
70-
rel: 'preload',
71-
include: {
72-
type: 'allChunks',
73-
chunks: ['app', 'chunk-vendors', 'home', 'timetable']
74-
}
75-
})
76-
]
66+
chainWebpack: config => {
67+
config.plugin('preload').tap(options => {
68+
options[0].include = {
69+
type: 'allChunks',
70+
chunks: ['app', 'chunk-vendors', 'home', 'timetable']
71+
}
72+
return options
73+
})
7774
}
7875
}

0 commit comments

Comments
 (0)