chore: remove vue-i18n-extract

Unused localization strings can be detected by @intlify/eslint-plugin-vue-i18n

Although the rule is not yet enabled
(requires #1985), the dependency
is already useless and it's continuosly causing
merge conflicts in that PR.
This commit is contained in:
Fernando Fernández 2023-10-27 08:59:07 +00:00 committed by GitHub
parent 1a8604ae9c
commit 332ce39b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 89 deletions

View File

@ -25,9 +25,7 @@
"lint": "eslint . --ignore-path ../.gitignore --max-warnings=0 --cache --cache-location ../node_modules/.cache/eslint",
"lint-fix": "eslint . --fix --ignore-path ../.gitignore --max-warnings=0 --cache --cache-location ../node_modules/.cache/eslint",
"prod": "npm run build && npm run serve",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"vue-i18n-extract": "vue-i18n-extract",
"vue-i18n-extract-remove": "vue-i18n-extract --remove"
"typecheck": "vue-tsc --noEmit --skipLibCheck"
},
"dependencies": {
"@fontsource/roboto": "5.0.8",
@ -99,7 +97,6 @@
"vite-plugin-pages": "0.31.0",
"vite-plugin-vue-layouts": "0.8.0",
"vue-eslint-parser": "9.3.2",
"vue-i18n-extract": "2.0.7",
"vue-tsc": "1.8.20"
}
}

View File

@ -1,8 +0,0 @@
export default {
vueFiles: './src/{pages,layouts,components}/**/*.vue',
languageFiles: './locales/*.json',
output: false,
add: false,
remove: false,
ci: true
};

77
package-lock.json generated
View File

@ -90,7 +90,6 @@
"vite-plugin-pages": "0.31.0",
"vite-plugin-vue-layouts": "0.8.0",
"vue-eslint-parser": "9.3.2",
"vue-i18n-extract": "2.0.7",
"vue-tsc": "1.8.20"
}
},
@ -2430,15 +2429,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/cac": {
"version": "6.7.14",
"resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
"integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/call-bind": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
@ -2660,15 +2650,6 @@
"resolved": "https://registry.npmjs.org/comlink/-/comlink-4.4.1.tgz",
"integrity": "sha512-+1dlx0aY5Jo1vHy/tSsIGpSkN4tS9rZSW8FIhG0JH/crs9wwweswIo/POr451r7bZww3hFbPAKnTpimzL/mm4Q=="
},
"node_modules/commander": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
"integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
"dev": true,
"engines": {
"node": ">= 6"
}
},
"node_modules/comment-parser": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.0.tgz",
@ -2931,39 +2912,6 @@
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.0.6.tgz",
"integrity": "sha512-ilkD8YEnnGh1zJ240uJsW7AzE+2qpbOUYjacomn3AvJ6J4JhKGSZ2nh4wUIXPZrEPppaCLx5jFe8T89Rk8tQ7w=="
},
"node_modules/dot-object": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/dot-object/-/dot-object-2.1.4.tgz",
"integrity": "sha512-7FXnyyCLFawNYJ+NhkqyP9Wd2yzuo+7n9pGiYpkmXCTYa8Ci2U0eUNDVg5OuO5Pm6aFXI2SWN8/N/w7SJWu1WA==",
"dev": true,
"dependencies": {
"commander": "^4.0.0",
"glob": "^7.1.5"
},
"bin": {
"dot-object": "bin/dot-object"
}
},
"node_modules/dot-object/node_modules/glob": {
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"dev": true,
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.1.1",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
},
"engines": {
"node": "*"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/electron-to-chromium": {
"version": "1.4.567",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.567.tgz",
@ -4900,15 +4848,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/is-valid-glob": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz",
"integrity": "sha512-AhiROmoEFDSsjx8hW+5sGwgKVIORcXnrlAx/R0ZSeaPw70Vw0CqkGBBhHGL58Uox2eXnU1AnvXJl1XlyedO5bA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-weakmap": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz",
@ -7649,22 +7588,6 @@
"vue": "^3.0.0"
}
},
"node_modules/vue-i18n-extract": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/vue-i18n-extract/-/vue-i18n-extract-2.0.7.tgz",
"integrity": "sha512-i1NW5R58S720iQ1BEk+6ILo3hT6UA8mtYNNolSH4rt9345qvXdvA6GHy2+jHozdDAKHwlu9VvS/+vIMKs1UYQw==",
"dev": true,
"dependencies": {
"cac": "^6.7.12",
"dot-object": "^2.1.4",
"glob": "^8.0.1",
"is-valid-glob": "^1.0.0",
"js-yaml": "^4.1.0"
},
"bin": {
"vue-i18n-extract": "bin/vue-i18n-extract.js"
}
},
"node_modules/vue-i18n/node_modules/@intlify/core-base": {
"version": "9.5.0",
"resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.5.0.tgz",