From 40d9c352aba5351c7a55a63e5bc0508141f51224 Mon Sep 17 00:00:00 2001 From: devlinjunker Date: Wed, 8 Jun 2022 23:55:37 -0700 Subject: [Vue Rewrite] Fix CI Jobs (#1816) * attempt to fix linting Signed-off-by: Devlin Junker * working linting/stylelint Signed-off-by: Devlin Junker * fix npm build Signed-off-by: Devlin Junker * working with node 16 and npm build Signed-off-by: Devlin Junker * fix linting Signed-off-by: Devlin Junker * add @babel/eslint-parser Signed-off-by: Devlin Junker * remove babel-eslint Signed-off-by: Devlin Junker * use node 16 in lint Signed-off-by: Devlin Junker * proper syntax Signed-off-by: Devlin Junker * fix syntax Signed-off-by: Devlin Junker * update version Signed-off-by: Devlin Junker * attempt to undo indentation changes Signed-off-by: Devlin Junker * revert indentation on css and update stylelint rule for now (for simpler PR) Signed-off-by: Devlin Junker * revert indentation changes in vue/js files and update eslint to pass this (for now) Signed-off-by: Devlin Junker * try to cleanup disabled rules Signed-off-by: Devlin Junker * remove last disabled rules in js files Signed-off-by: Devlin Junker * add basic changelog Signed-off-by: Devlin Junker * update calendar-js to 3.0 Signed-off-by: Devlin Junker * remove npm test with TODO (this will fail CI) and remove calendar-js dependency Signed-off-by: Devlin Junker --- package.json | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 51 insertions(+), 6 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index dc8d56b9e..b5b3a625e 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "url": "https://github.com/nextcloud/news/issues" }, "engines": { - "node": "^14.0.0", - "npm": "^7.0.0" + "node": "^16.0.0", + "npm": "^8.0.0" }, "resolutions": { "natives": "1.1.3" @@ -39,11 +39,56 @@ "private": true, "homepage": "https://github.com/nextcloud/news", "devDependencies": { + "@babel/core": "^7.11.1", + "@babel/eslint-parser": "^7.17.0", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/preset-env": "^7.11.0", "@nextcloud/babel-config": "^1.0.0", "@nextcloud/browserslist-config": "^2.2.0", - "@nextcloud/eslint-config": "^8.0.0", + "@nextcloud/eslint-config": "^6.1.2", + "@nextcloud/eslint-plugin": "^2.0.0", "@nextcloud/stylelint-config": "^2.1.2", - "@nextcloud/webpack-vue-config": "^5.1.0" + "@nextcloud/webpack-vue-config": "^5.1.0", + "babel-loader": "^8.1.0", + "css-loader": "^6.7.1", + "eslint": "^7.32.0", + "eslint-config-standard": "^16.0.3", + "eslint-import-resolver-webpack": "^0.12.2", + "eslint-loader": "^4.0.2", + "eslint-plugin-import": "^2.22.0", + "eslint-plugin-jsdoc": "^37.9.7", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.2.0", + "eslint-plugin-standard": "^4.0.1", + "eslint-plugin-vue": "^7.20.0", + "eslint-webpack-plugin": "^3.1.1", + "file-loader": "^6.0.0", + "jasmine-core": "^3.5.0", + "jquery": "^3.5.1", + "jshint": "^2.11.1", + "karma": "^5.0.9", + "karma-chrome-launcher": "^3.1.0", + "karma-coverage": "^2.0.2", + "karma-firefox-launcher": "^1.3.0", + "karma-jasmine": "^2.0.1", + "linkifyjs": "^3.0.5", + "minimatch": "^3.0.4", + "natives": "^1.1.6", + "node-polyfill-webpack-plugin": "^1.1.4", + "node-sass": "^7.0.1", + "postcss": "^8.4.14", + "postcss-html": "^1.4.1", + "sass-loader": "^12.6.0", + "style-loader": "^3.3.1", + "stylelint": "^14.8.4", + "stylelint-config-recommended-scss": "^5.0.2", + "stylelint-config-recommended-vue": "^1.4.0", + "stylelint-webpack-plugin": "^2.1.0", + "url-loader": "^4.1.0", + "vue-loader": "^15.9.3", + "vue-template-compiler": "^2.6.11", + "webpack": "^5.72.1", + "webpack-cli": "^4.9.2" }, "dependencies": { "@nextcloud/axios": "^1.10.0", @@ -51,7 +96,7 @@ "@nextcloud/router": "^2.0.0", "@nextcloud/vue": "^5.3.1", "vue": "^2.6.14", - "vuex": "^3.6.2", - "vue-router": "^3.5.3" + "vue-router": "^3.5.3", + "vuex": "^3.6.2" } } -- cgit v1.2.3