chore: add i18n query script (#2518)
Showing
| ... | @@ -10,7 +10,8 @@ | ... | @@ -10,7 +10,8 @@ |
| "postinstall": "sh ./scripts/postinstall.sh", | "postinstall": "sh ./scripts/postinstall.sh", | ||
| "initIcon": "node ./scripts/icon/init.js", | "initIcon": "node ./scripts/icon/init.js", | ||
| "previewIcon": "node ./scripts/icon/index.js", | "previewIcon": "node ./scripts/icon/index.js", | ||
| "checkI18n": "node ./scripts/i18n/delete-unused-keys.js" | "i18n:delete-unused-keys": "node ./scripts/i18n/delete-unused-keys.js", | ||
| "i18n:query": "node ./scripts/i18n/query.js" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@chakra-ui/cli": "^2.4.1", | "@chakra-ui/cli": "^2.4.1", | ||
| ... | @@ -30,4 +31,4 @@ | ... | @@ -30,4 +31,4 @@ |
| "node": ">=18.16.0", | "node": ">=18.16.0", | ||
| "pnpm": ">=9.0.0" | "pnpm": ">=9.0.0" | ||
| } | } | ||
| } | } | ||
| \ No newline at end of file |
scripts/i18n/package.json
0 → 100644
| { | |||
| "name": "i18n", | |||
| "version": "1.0.0", | |||
| "description": "", | |||
| "main": "index.js", | |||
| "scripts": { | |||
| "test": "echo \"Error: no test specified\" && exit 1" | |||
| }, | |||
| "keywords": [], | |||
| "author": "", | |||
| "license": "ISC", | |||
| "devDependencies": { | |||
| "@phenomnomnominal/tsquery": "^6.1.3" | |||
| } | |||
| } |
scripts/i18n/query.js
0 → 100644
scripts/i18n/query.ts
0 → 100644
Please
register
or
sign in
to comment