UNPKG

angular-translation-checker

Version:

A comprehensive tool for analyzing translation keys in Angular projects using ngx-translate

76 lines (75 loc) 2.35 kB
{ "default": { "description": "Default Angular CLI project structure", "localesPath": "./src/assets/i18n", "srcPath": "./src", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage"], "outputFormat": "console", "exitOnIssues": false, "verbose": false, "ignoreKeys": [], "ignorePatterns": [], "ignoreRegex": [], "ignoreFiles": [] }, "with-ignore-patterns": { "description": "Configuration with common ignore patterns for development", "localesPath": "./src/assets/i18n", "srcPath": "./src", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage"], "outputFormat": "console", "exitOnIssues": false, "verbose": false, "ignoreKeys": [ "debug.console.log", "test.mock.user" ], "ignorePatterns": [ "debug.**", "temp.*", "*.deprecated", "internal.**" ], "ignoreRegex": [ "^[A-Z_]+$" ], "ignoreFiles": [ "debug-translations.json", "test-translations.json" ] }, "public-folder": { "description": "Angular project with translations in public folder", "localesPath": "./public/i18n", "srcPath": "./src", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage"], "ignoreKeys": [], "ignorePatterns": [], "ignoreRegex": [], "ignoreFiles": [] }, "assets-locales": { "description": "Angular project with locales folder in assets", "localesPath": "./src/assets/locales", "srcPath": "./src", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage"] }, "nx-workspace": { "description": "Nx workspace with apps and libs", "localesPath": "./apps/my-app/src/assets/i18n", "srcPath": "./apps/my-app/src", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage", "tmp"] }, "monorepo": { "description": "Monorepo with multiple Angular apps", "localesPath": "./packages/shared/i18n", "srcPath": "./packages", "keysExtensions": [".ts", ".html"], "excludeDirs": ["node_modules", "dist", ".git", ".angular", "coverage", "build"] } }