From 37ef51e51e7c57bc1f89a31cd6946340cf505762 Mon Sep 17 00:00:00 2001 From: Dharshana4609 Date: Thu, 24 Oct 2024 16:39:27 +0530 Subject: [PATCH 1/2] 915494: Resolved dependent bot issues --- VuejsClient/.babelrc | 6 --- VuejsClient/.editorconfig | 9 ---- VuejsClient/README.md | 28 ++++++++----- VuejsClient/babel.config.js | 5 +++ VuejsClient/index.html | 16 ------- VuejsClient/jsconfig.json | 19 +++++++++ VuejsClient/package.json | 62 ++++++++++++++++++---------- VuejsClient/src/App.vue | 9 ++-- VuejsClient/src/main.js | 10 +---- VuejsClient/vue.config.js | 15 +++++++ VuejsClient/webpack.config.js | 78 ----------------------------------- 11 files changed, 103 insertions(+), 154 deletions(-) delete mode 100644 VuejsClient/.babelrc delete mode 100644 VuejsClient/.editorconfig create mode 100644 VuejsClient/babel.config.js delete mode 100644 VuejsClient/index.html create mode 100644 VuejsClient/jsconfig.json create mode 100644 VuejsClient/vue.config.js delete mode 100644 VuejsClient/webpack.config.js diff --git a/VuejsClient/.babelrc b/VuejsClient/.babelrc deleted file mode 100644 index db71017..0000000 --- a/VuejsClient/.babelrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "presets": [ - ["env", { "modules": false }], - "stage-3" - ] -} diff --git a/VuejsClient/.editorconfig b/VuejsClient/.editorconfig deleted file mode 100644 index 9f73416..0000000 --- a/VuejsClient/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/VuejsClient/README.md b/VuejsClient/README.md index 13699ac..3daa239 100644 --- a/VuejsClient/README.md +++ b/VuejsClient/README.md @@ -1,18 +1,24 @@ -# Getting Started +# opensave-in-google-drive -> A Vue.js project - -## Build Setup - -``` bash -# install dependencies +## Project setup +``` npm install +``` -# serve with hot reload at localhost:8080 -npm run dev +### Compiles and hot-reloads for development +``` +npm run serve +``` -# build for production with minification +### Compiles and minifies for production +``` npm run build ``` -For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). +### Lints and fixes files +``` +npm run lint +``` + +### Customize configuration +See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/VuejsClient/babel.config.js b/VuejsClient/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/VuejsClient/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/VuejsClient/index.html b/VuejsClient/index.html deleted file mode 100644 index 0a15c45..0000000 --- a/VuejsClient/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - quickstart - - - -
- - - - - - diff --git a/VuejsClient/jsconfig.json b/VuejsClient/jsconfig.json new file mode 100644 index 0000000..4aafc5f --- /dev/null +++ b/VuejsClient/jsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "esnext", + "baseUrl": "./", + "moduleResolution": "node", + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] + } +} diff --git a/VuejsClient/package.json b/VuejsClient/package.json index 8b673c6..8f190b4 100644 --- a/VuejsClient/package.json +++ b/VuejsClient/package.json @@ -1,31 +1,49 @@ { - "name": "quickstart", - "description": "A Vue.js project", - "version": "1.0.0", + "name": "opensavegoogledrive", + "version": "0.1.0", + "private": true, "scripts": { - "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", - "build": "cross-env NODE_ENV=production webpack --progress --hide-modules" + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint" }, "dependencies": { - "@syncfusion/ej2-vue-pdfviewer": "^20.3.60", - "vue": "^2.5.11" + "@syncfusion/ej2-vue-pdfviewer": "*", + "buffer": "^6.0.3", + "core-js": "^3.8.3", + "crypto-browserify": "^3.12.0", + "stream-browserify": "^3.0.0", + "util": "^0.12.5", + "vm-browserify": "^1.1.2", + "vue": "^3.2.13" + }, + "devDependencies": { + "@babel/core": "^7.12.16", + "@babel/eslint-parser": "^7.12.16", + "@vue/cli-plugin-babel": "~5.0.0", + "@vue/cli-plugin-eslint": "~5.0.0", + "@vue/cli-service": "~5.0.0", + "eslint": "^7.32.0", + "eslint-plugin-vue": "^8.0.3" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/vue3-essential", + "eslint:recommended" + ], + "parserOptions": { + "parser": "@babel/eslint-parser" + }, + "rules": {} }, "browserslist": [ "> 1%", "last 2 versions", - "not ie <= 8" - ], - "devDependencies": { - "babel-core": "^6.26.0", - "babel-loader": "^7.1.2", - "babel-preset-env": "^1.6.0", - "babel-preset-stage-3": "^6.24.1", - "cross-env": "^5.0.5", - "css-loader": "^0.28.7", - "file-loader": "^1.1.4", - "vue-loader": "^13.0.5", - "vue-template-compiler": "^2.4.4", - "webpack": "^3.6.0", - "webpack-dev-server": "^2.9.1" - } + "not dead", + "not ie 11" + ] } diff --git a/VuejsClient/src/App.vue b/VuejsClient/src/App.vue index a4178fa..f0f4464 100644 --- a/VuejsClient/src/App.vue +++ b/VuejsClient/src/App.vue @@ -10,12 +10,13 @@