From 2e6faacc6ddf0975b833f7d0fbf69ec075610724 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 28 Feb 2021 20:15:28 +0400 Subject: [PATCH] no more warning when running npm + usage of repository and license --- .eslintrc.yml | 8 +-- README.md | 2 +- package-lock.json | 91 +++-------------------------------- package.json | 5 +- src/App.vue | 7 +-- src/components/HelloWorld.vue | 6 +-- src/main.ts | 2 - src/shims-vue.d.ts | 3 +- vite.config.ts | 3 +- 9 files changed, 24 insertions(+), 103 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index d0b06fc..966976e 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,7 +1,7 @@ extends: - - "plugin:vue/vue3-recommended" - - "plugin:vue/base" - - "eslint:recommended" - - "@vue/typescript" + - 'plugin:vue/vue3-recommended' + - 'plugin:vue/base' + - 'eslint:recommended' + - '@vue/typescript' - prettier rules: {} diff --git a/README.md b/README.md index 84bc5a4..a25543f 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ VAPARA-VUE3 RUN --- -* npm install --dev +* npm install --also=dev * npm run dev \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 54bb9fa..752e1df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vapara-vue3", - "version": "0.0.15", + "version": "0.0.18", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -342,89 +342,6 @@ "vue-eslint-parser": "^7.0.0" } }, - "@vue/eslint-plugin": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@vue/eslint-plugin/-/eslint-plugin-4.2.0.tgz", - "integrity": "sha512-XVSLEVoNnrjaxvsun5kqZyeuWyUkp97gSnLkLOvkPkoAnLwIfjG3TuZQNm7yTEukZWmaa+7FpgMdSFqL8Z0XkA==", - "dev": true, - "requires": { - "vue-eslint-parser": "^2.0.1" - }, - "dependencies": { - "acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", - "dev": true - }, - "acorn-jsx": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", - "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", - "dev": true, - "requires": { - "acorn": "^3.0.4" - }, - "dependencies": { - "acorn": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true - } - } - }, - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true - }, - "espree": { - "version": "3.5.4", - "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", - "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", - "dev": true, - "requires": { - "acorn": "^5.5.0", - "acorn-jsx": "^3.0.0" - } - }, - "vue-eslint-parser": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", - "integrity": "sha512-ZezcU71Owm84xVF6gfurBQUGg8WQ+WZGxgDEQu1IHFBZNx7BFZg3L1yHxrCBNNwbwFtE1GuvfJKMtb6Xuwc/Bw==", - "dev": true, - "requires": { - "debug": "^3.1.0", - "eslint-scope": "^3.7.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^3.5.2", - "esquery": "^1.0.0", - "lodash": "^4.17.4" - } - } - } - }, "@vue/reactivity": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.6.tgz", @@ -1538,6 +1455,12 @@ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true }, + "prettier": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "dev": true + }, "prettier-linter-helpers": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", diff --git a/package.json b/package.json index bae8eb7..dca8ae3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "vapara-vue3", "version": "0.0.18", - "origin": "https://git.artcode.re/pvincent/vapara-vue3", + "license": "AGPL-3.0-or-later", + "repository": "https://git.artcode.re/pvincent/vapara-vue3", "scripts": { "dev": "vite", "build": "vite build", @@ -18,11 +19,11 @@ "@vitejs/plugin-vue": "^1.1.5", "@vue/compiler-sfc": "3.x", "@vue/eslint-config-typescript": "^7.0.0", - "@vue/eslint-plugin": "^4.2.0", "eslint": "^7.21.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.6.0", + "prettier": "^2.2.1", "vite": "^2.0.4" } } diff --git a/src/App.vue b/src/App.vue index a1851a8..2052798 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,8 +2,8 @@ Vue logo @@ -21,7 +21,8 @@ export default { return { title: APP_TITLE, //Rk: note the 'eslint-disable no-undef' comment above version: APP_VERSION, - origin: APP_ORIGIN + origin: APP_REPOSITORY, + license: APP_LICENSE } } } diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index d5f6fbd..fc2cc5b 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -8,13 +8,9 @@