mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[@kbn/plugin-generator] Skip .i18nrc.json
for internal plugins (#150556)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
d1ef916c4f
commit
90590d0ac5
2 changed files with 1 additions and 2 deletions
|
@ -83,7 +83,6 @@ it('generates a plugin without UI', async () => {
|
|||
Array [
|
||||
<absolute path>/plugins/bar/.eslintrc.js,
|
||||
<absolute path>/plugins/bar/.gitignore,
|
||||
<absolute path>/plugins/bar/.i18nrc.json,
|
||||
<absolute path>/plugins/bar/common/index.ts,
|
||||
<absolute path>/plugins/bar/kibana.json,
|
||||
<absolute path>/plugins/bar/package.json,
|
||||
|
|
|
@ -86,7 +86,7 @@ export async function renderTemplates({
|
|||
excludeFiles(
|
||||
([] as string[]).concat(
|
||||
answers.ui ? [] : 'public/**/*',
|
||||
answers.ui && !answers.internal ? [] : ['translations/**/*', 'i18nrc.json'],
|
||||
answers.ui && !answers.internal ? [] : ['translations/**/*', '.i18nrc.json'],
|
||||
answers.server ? [] : 'server/**/*',
|
||||
!answers.internal ? [] : ['.eslintrc.js', 'tsconfig.json', 'package.json', '.gitignore']
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue