build(aio): add i18n boilerplate type (#20004)

PR Close #20004
This commit is contained in:
Jesus Rodriguez
2017-10-29 12:59:32 +01:00
committed by Matias Niemelä
parent 005a78bd83
commit 3a8665409d
3 changed files with 78 additions and 0 deletions

View File

@ -45,6 +45,15 @@ const BOILERPLATE_PATHS = {
]
};
// All paths in this tool are relative to the current boilerplate folder, i.e boilerplate/i18n
// This maps the CLI files that exists in a parent folder
const cliRelativePath = BOILERPLATE_PATHS.cli.map(file => `../cli/${file}`);
BOILERPLATE_PATHS.i18n = [
...cliRelativePath,
'package.json'
];
const EXAMPLE_CONFIG_FILENAME = 'example-config.json';
class ExampleBoilerPlate {