Skip to content

Conversation

@cirras
Copy link

@cirras cirras commented Jun 28, 2025

This PR fixes the main and types paths in the package.json.
The current paths are invalid because there is no dist folder in the final package.

These dist paths were causing DEP0151 warnings on newer versions of node, like the one below.

(node:30780) [DEP0151] DeprecationWarning: Package C:\dev\oss\eolib-ts\node_modules\@shipgirl\typedoc-plugin-versions\ has a "main" field set to "dist/index.js", excluding the full filename and extension to the resolved file at "index.js", imported from C:\dev\oss\eolib-ts\node_modules\typedoc\dist\lib\utils\plugins.js.
 Automatic extension resolution of the "main" field is deprecated for ES modules.

This was causing `DEP0151` warnings on newer versions of node.
@0t4u 0t4u merged commit 7e52d75 into shipgirlproject:main Jul 28, 2025
@cirras cirras deleted the dep0151-warnings branch July 28, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants