The current structure specified in the package.json file of chrono-node includes a configuration that seems to be causing confusion and potential issues.
The specific entry "./*/*" results in unexpected behavior when attempting to access files such as "/src/locales/en/refiners". For instance, when trying to access "chrome-node/en/refiners", the system attempts to find an "index.js" within "refiners" which might not exist, causing issues in accessing the intended files.
Language Customization Feature
In addition to resolving the package.json structure issue, there's a request to introduce language customization capabilities within chrono-node. Enabling users to access files like "common", "utils", and other configuration-related files could greatly enhance the customization process.
Moreover, providing access to language-specific files directly, such as "/src/locales/en/refiners/ENMergeDateRangeRefiner", would empower users to modify or improve existing.
Desired Changes
Package.json: Revisit and potentially modify the structure to ensure seamless file access without relying on the presence of "index.js" within certain directories.
Language Customization: Enable access to essential configuration files and direct access to language-specific files for customization purposes.
Package.json Structure Update
The current structure specified in the package.json file of
chrono-node
includes a configuration that seems to be causing confusion and potential issues.The specific entry
"./*/*"
results in unexpected behavior when attempting to access files such as"/src/locales/en/refiners"
. For instance, when trying to access"chrome-node/en/refiners"
, the system attempts to find an"index.js"
within"refiners"
which might not exist, causing issues in accessing the intended files.Language Customization Feature
In addition to resolving the package.json structure issue, there's a request to introduce language customization capabilities within
chrono-node
. Enabling users to access files like "common", "utils", and other configuration-related files could greatly enhance the customization process.Moreover, providing access to language-specific files directly, such as
"/src/locales/en/refiners/ENMergeDateRangeRefiner"
, would empower users to modify or improve existing.Desired Changes