Skip to content

Commit f2fe3e9

Browse files
committed
version updates, new sponsors, CoC -> CoE
1 parent d6e9b86 commit f2fe3e9

File tree

8 files changed

+15103
-23229
lines changed

8 files changed

+15103
-23229
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
'@vue/standard'
99
],
1010
parserOptions: {
11-
parser: 'babel-eslint'
11+
parser: '@babel/eslint-parser'
1212
},
1313
rules: {
1414
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
@@ -17,6 +17,7 @@ module.exports = {
1717
'vue/no-multiple-template-root': 'off',
1818
'no-unused-vars': 'warn',
1919
'space-before-function-paren': ['warn', 'never'],
20+
'vue/multi-word-component-names': 'off',
2021
indent: [2, 2]
2122
}
2223
}

.github/workflows/build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55
- master
66
jobs:
77
build-and-deploy:
8-
runs-on: ubuntu-18.04
8+
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout 🛎️
11-
uses: actions/checkout@v2.3.1
11+
uses: actions/checkout@v3
1212
- name: Build page
1313
run: |
1414
npm install

package-lock.json

Lines changed: 15083 additions & 23209 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"dev": "vue-cli-service serve"
99
},
1010
"dependencies": {
11+
"@babel/eslint-parser": "^7.21.3",
1112
"@highlightjs/vue-plugin": "2.1.0",
1213
"core-js": "^3.6.5",
1314
"date-fns": "2.27.0",
@@ -22,20 +23,19 @@
2223
"vuex": "^4.0.0-0"
2324
},
2425
"devDependencies": {
25-
"@vue/cli-plugin-babel": "~4.5.15",
26-
"@vue/cli-plugin-eslint": "~4.5.15",
27-
"@vue/cli-plugin-pwa": "~4.5.15",
28-
"@vue/cli-plugin-router": "~4.5.15",
29-
"@vue/cli-plugin-vuex": "~4.5.15",
30-
"@vue/cli-service": "~4.5.15",
26+
"@vue/cli-plugin-babel": "5.0.8",
27+
"@vue/cli-plugin-eslint": "5.0.8",
28+
"@vue/cli-plugin-pwa": "5.0.8",
29+
"@vue/cli-plugin-router": "5.0.8",
30+
"@vue/cli-plugin-vuex": "5.0.8",
31+
"@vue/cli-service": "5.0.8",
3132
"@vue/compiler-sfc": "^3.0.0",
32-
"@vue/eslint-config-standard": "^5.1.2",
33-
"babel-eslint": "^10.1.0",
34-
"eslint": "^6.7.2",
33+
"@vue/eslint-config-standard": "8.0.1",
34+
"eslint": "^8.0.1",
3535
"eslint-plugin-import": "^2.20.2",
3636
"eslint-plugin-node": "^11.1.0",
3737
"eslint-plugin-promise": "^4.2.1",
3838
"eslint-plugin-standard": "^4.0.0",
39-
"eslint-plugin-vue": "^7.0.0"
39+
"eslint-plugin-vue": "^9.2.0"
4040
}
4141
}

src/components/Editor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ export default {
365365
content: model[1].getValue()
366366
}
367367
}
368+
return null
368369
})
369370
.filter((a) => a)
370371
const project = {

src/js/robot-highlight.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ function hljsDefineRobot(hljs) {
102102
};
103103
}
104104

105-
module.exports = function(hljs) {
106-
hljs.registerLanguage('robot', hljsDefineRobot);
107-
};
108-
109-
module.exports.definer = hljsDefineRobot;
105+
export default (hljs) => {
106+
hljs.registerLanguage('robot', hljsDefineRobot)
107+
}

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
users,
2424
sponsors
2525
} from './content'
26-
var hljsDefineRobot = require('./js/robot-highlight.js')
26+
import hljsDefineRobot from './js/robot-highlight.js'
2727

2828
hljsDefineRobot(hljs)
2929

vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
44
module.exports = {
55
productionSourceMap: false,
66
devServer: {
7-
disableHostCheck: true
7+
allowedHosts: 'all'
88
},
99
configureWebpack: {
1010
resolve: {

0 commit comments

Comments
 (0)