ngneat/falso

Invalid 'main' field in '/Users/<projectDir>/node_modules/@ngneat/falso/i18n/de/package.json' of './index.cjs.js'.

yartasdev opened this issue · 0 comments

Is this a regression?

Yes

Description

falso in the node_modules file. The package.json configuration for version 7.1.0 is as follows, but the package.json configuration containing the language configurations in the i18n folder is incorrect.

package.json -> node_modules/@ngneat/falso/package.json
{ "module": "./index.js", "main": "./index.cjs", "type": "module", "types": "./src/index.d.ts" }

package.json -> node_modules/@ngneat/falso/i18n/ar/package.json

{ "main": "./index.cjs.js", "module": "./index.esm.js", "typings": "./index.d.ts" }

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

DeprecationWarning: Invalid 'main' field in '/Users/<projectDir>/node_modules/@ngneat/falso/i18n/de/package.json' of './index.cjs.js'. Please either fix that or report it to the module author

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

Yes