Skip to content

Commit

Permalink
fix: update tinymce and include translations of help plugin in bundle
Browse files Browse the repository at this point in the history
* build(deps): update tinymce to 6.6.1

* fix: include tinymce translations of help plugin in bundle

refactor: extract the supported locales to a constants

By extracting the locales fixed values to a const object, it is
possible to use this object from the webpack compilation file,
limiting the definition of the supported locales to a single point.
Inside the webpack config, it is now possible to read this object in order
to include inside the bundle only the supported locales for both tinymce
and date-fns.

fix: add missing translations for locales label of settings

chore: update tinymce translations files

Add a field in the supported translations object to map the locale
of i18n to the tinymce one, as already done for date-fns.

refactor: move webpack config to ts

Compile the config before running the build script in order to make it
visible to the sdk.
Add compiled files to .gitignore.
Remove the compiled files after the build.

refs: SHELL-151 (#302)
  • Loading branch information
beawar authored Aug 23, 2023
1 parent 66653a1 commit 0cb0129
Show file tree
Hide file tree
Showing 31 changed files with 345 additions and 6,911 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ module.exports = {
'import/no-extraneous-dependencies': 'off'
}
}
]
],
ignorePatterns: ['src/constants/locales.js']
};
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
zextras-carbonio-*.tgz
shell.iml
.env
carbonio.webpack.js
src/constants/locales.js
Loading

0 comments on commit 0cb0129

Please sign in to comment.