{"_id":"@bellacocool/i18n-remove","_rev":"4-2deffbd811c50f3c75f6395f89110778","name":"@bellacocool/i18n-remove","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@bellacocool/i18n-remove","version":"0.1.0","keywords":["i18n","i18n-del","i18n-remove","del-i18n","removew-i18n"],"author":{"name":"xuexingwei20@163.com"},"license":"ISC","_id":"@bellacocool/i18n-remove@0.1.0","maintainers":[{"name":"xuexingwei","email":"xuexingwei20@163.com"}],"bin":{"i18nrm":"bin/index.js"},"dist":{"shasum":"a84bfc6c5987d17ebbe31a6b57dbc346860deeec","tarball":"https://registry.npmjs.org/@bellacocool/i18n-remove/-/i18n-remove-0.1.0.tgz","fileCount":3,"integrity":"sha512-cV5Of/UScfPf/aEkQlgBiLDPQ1duGJ4mWNRshjfOQUutkSGy3m+DmggXNWWRaG+v8zKXKYhftD0p3f98SCg7Ng==","signatures":[{"sig":"MEQCIAg610wMteiSCVkYb65zvjE96x28wO07AzBzvQ6B30GCAiAkFCLi1wDJmfUkApTKHmj0qBKY+2hOhneMhuElSZ4SBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3542},"main":"index.js","type":"module","scripts":{"dev":"node ./bin/index.js"},"_npmUser":{"name":"xuexingwei","email":"xuexingwei20@163.com"},"_npmVersion":"10.4.0","description":"Delete and replace internationalized content in web projects in batches","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.16"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/i18n-remove_0.1.0_1711529299336_0.8629908374286979","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bellacocool/i18n-remove","version":"0.1.1","keywords":["i18n","i18n-del","i18n-remove","del-i18n","removew-i18n"],"author":{"name":"xuexingwei20@163.com"},"license":"ISC","_id":"@bellacocool/i18n-remove@0.1.1","maintainers":[{"name":"xuexingwei","email":"xuexingwei20@163.com"}],"bin":{"i18nrm":"bin/index.js"},"dist":{"shasum":"a35d6402979ef36fa0c9174b4b1625d7fb6d3ec7","tarball":"https://registry.npmjs.org/@bellacocool/i18n-remove/-/i18n-remove-0.1.1.tgz","fileCount":4,"integrity":"sha512-AMrUNUMQ64JHC0NEjys0BaxOH9TKcU2TheWVSck8wnLL3V58v6xYWymE/7mqoCwDocV7m84fQa/PV46t8h4EFg==","signatures":[{"sig":"MEUCIQCId5pkevyOwemD9ZqMTZoC3Lydn/UM42U7MGvN3XkCugIgcJavaDriMJIwWWLmLM1iNZ6igvt/XqjRqMCAjDLSeHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5224},"main":"index.js","type":"module","scripts":{"dev":"node ./bin/index.js"},"_npmUser":{"name":"xuexingwei","email":"xuexingwei20@163.com"},"_npmVersion":"10.4.0","description":"Delete and replace internationalized content in web projects in batches","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.16"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/i18n-remove_0.1.1_1711530688192_0.736152330021447","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@bellacocool/i18n-remove","version":"0.1.2","keywords":["i18n","i18n-del","i18n-remove","del-i18n","removew-i18n"],"author":{"name":"xuexingwei20@163.com"},"license":"ISC","_id":"@bellacocool/i18n-remove@0.1.2","maintainers":[{"name":"xuexingwei","email":"xuexingwei20@163.com"}],"homepage":"https://github.com/SuperRonin/i18n-remove/blob/main/README.md","bugs":{"url":"https://github.com/SuperRonin/i18n-remove/issues"},"bin":{"i18nrm":"bin/index.js"},"dist":{"shasum":"c15abe2cc049e409f4e6367098d499741c59362b","tarball":"https://registry.npmjs.org/@bellacocool/i18n-remove/-/i18n-remove-0.1.2.tgz","fileCount":4,"integrity":"sha512-47boz72HKA86WiSk27VxlrZadsmi9AsiDVZlOHiSjDLJL4Ml/wud5NdA+ntPtPWCFv/+sT2GlHlJWVegNEiN9Q==","signatures":[{"sig":"MEYCIQCqTbC2A3acpVAQ2RmAt+lEkOJ/T6E4qZqH5FhWk0NKTQIhAMNguSTLSz+btNE1jFzp5BAlj58PfIhud8gviRcy2BDJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5483},"main":"index.js","type":"module","gitHead":"f8c915a05d81f82336f1b3bc213b1390da97c015","scripts":{"dev":"node ./bin/index.js"},"_npmUser":{"name":"xuexingwei","email":"xuexingwei20@163.com"},"repository":{"url":"git+https://github.com/SuperRonin/i18n-remove.git","type":"git"},"_npmVersion":"10.4.0","description":"Delete and replace internationalized content in web projects in batches","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.16"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/i18n-remove_0.1.2_1711531044467_0.3247950235087165","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-03-27T08:48:19.226Z","modified":"2025-05-28T03:21:26.910Z","0.1.0":"2024-03-27T08:48:19.489Z","0.1.1":"2024-03-27T09:11:28.347Z","0.1.2":"2024-03-27T09:17:24.621Z"},"bugs":{"url":"https://github.com/SuperRonin/i18n-remove/issues"},"author":{"name":"xuexingwei20@163.com"},"license":"ISC","homepage":"https://github.com/SuperRonin/i18n-remove/blob/main/README.md","keywords":["i18n","i18n-del","i18n-remove","del-i18n","removew-i18n"],"repository":{"url":"git+https://github.com/SuperRonin/i18n-remove.git","type":"git"},"description":"Delete and replace internationalized content in web projects in batches","maintainers":[{"email":"xuexingwei20@163.com","name":"xuexingwei"},{"email":"tianhj08@163.com","name":"tianhaojie"}],"readme":"### 介绍\n\n    此脚本可批量剔除web项目中的国际化内容为对应的内容\n\n### 示例一\n\n```\n<div>{{ $t('home') }}</div>\n\n<!-- 替换后为 -->\n<div>首页</div>\n```\n\n### 示例二\n\n```javascript\nconst title = this.$t('order.orderNumber')\n\n// 替换后为\nconst title = '订单号'\n```\n\n### 准备\n\n需准备一份后缀名为 mjs 的国际化文件，用于替换文件中的国际化，内容格式如下\n\n```javascript\nexport default [\n  home: '首页',\n  login: '登录'\n  order: {\n      orderNumber: '订单号'\n  }\n]\n```\n\n### Installation\n\n```bash\n npm install @bellacocool/i18n-remove\n```\n\n### Use\n\n执行`i18nrm`，根据提示输入即可\n\n```bash\n i18nrm\n```\n\n### Other\n\n- About log\n\n```\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/agent/components/DialogAgent.vue 替换了0处，1处没有被替换\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/home/components/fillInPrincipal.vue 替换了38处\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/home/components/willExpire.vue 替换了14处\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/home/index.vue 替换了16处\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/issue/index.vue 替换了0处，1处没有被替换\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/issue/issueWait.vue 替换了0处，1处没有被替换\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/login/emailCode.vue 替换了6处，1处没有被替换\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/systemSetting/seal/index.vue 替换了2处\n文件 /Users/xuexingwei/Desktop/code/admin-base/src/views/user/index.vue 替换了14处\n```\n","readmeFilename":"README.md"}