Moved ilib-js/ilib-localeinfo -> ilib-mono/packages/ilib-localeinfo#142
Open
ehoogerbeets wants to merge 65 commits intomainfrom
Open
Moved ilib-js/ilib-localeinfo -> ilib-mono/packages/ilib-localeinfo#142ehoogerbeets wants to merge 65 commits intomainfrom
ehoogerbeets wants to merge 65 commits intomainfrom
Conversation
- now runs the unit tests properly, though they fail still
- needs ilib-localedata 1.0.0 to be published first though
Initial version: only works on nodejs
This doesn't get used in the module itself, but it is loaded by ilib-assemble to gather together all of the locale data files necessary to support a list of locales.
Add the assemble module for ilib-assemble to use
- more to come
- still a few things left
- used cldr41 and new tools - updated a few unit tests that seemed to be testing for the wrong thing in ilib. (We need to investigate those.) - manually verified each of these fixes by looking in the raw cldr files
Generate the localeinfo.json files directly
- browser based tests now work - implement assemble.mjs to work with the ilib-assemble tool to add locale data from this package to the locale data for an app - use LocaleData.ensureLocale to make sure locale data is preloaded for browser-based tests in sync mode
- hybrid commonjs and esm
This module is now a hybrid ESM/CommonJS package that works under node or webpack
* Did not export the assemble.mjs file so it was not possible to assemble the locale data * Remove the incorrect check for synchronous loading of data that is already in the cache. The check is now in ilib-localedata instead. * Updated dependencies
Corrected exports, removed incorrect check, update deps
This makes it work better on node < v16.11.0 which didn't support static initializers so well.
Moved static initializer to regular const
* use a babel plugin to remove import.meta from the transpiled code for node < v10. Previously, this prevented this package from running properly on node v10
remove import.meta from transpiled code
Fix incorrect info for zh-TW, zh-MO, and zh-HK
Generate the Chinese locale data properly
Update to CLDR v44.0.0
🦋 Changeset detectedLatest commit: 0eea892 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.