@famgia/omnify-core 2.0.9 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4001,10 +4001,12 @@ var PluginManager = class {
|
|
|
4001
4001
|
_cwd;
|
|
4002
4002
|
_verbose;
|
|
4003
4003
|
_logger;
|
|
4004
|
+
_localeConfig;
|
|
4004
4005
|
constructor(options = {}) {
|
|
4005
4006
|
this._cwd = options.cwd ?? process.cwd();
|
|
4006
4007
|
this._verbose = options.verbose ?? false;
|
|
4007
4008
|
this._logger = options.logger ?? (this._verbose ? consoleLogger : nullLogger);
|
|
4009
|
+
this._localeConfig = options.localeConfig;
|
|
4008
4010
|
}
|
|
4009
4011
|
/**
|
|
4010
4012
|
* Creates a plugin context for plugin setup.
|
|
@@ -4277,7 +4279,8 @@ var PluginManager = class {
|
|
|
4277
4279
|
cwd: this._cwd,
|
|
4278
4280
|
logger: this._logger,
|
|
4279
4281
|
customTypes,
|
|
4280
|
-
pluginEnums: this._enums
|
|
4282
|
+
pluginEnums: this._enums,
|
|
4283
|
+
localeConfig: this._localeConfig
|
|
4281
4284
|
});
|
|
4282
4285
|
for (const gen of this._generators.values()) {
|
|
4283
4286
|
runner.register(gen);
|