Skip to content

Malformed package.json refers to Index.d.ts which does not exist in npm package - cannot use package #32

Description

@mz8i

The npm package doesn't work. This is because the package.json has

"main": "dist/src/Index.js",
...
"typings": "./dist/src/Index.d.ts"

but the captial-letter Index files currently exist only in this github repo's dist/ folder - they are nowhere to be found in the package obtained with npm i -D @fluffy-spoon/substitute. Presumably this is because of some renaming that occurred, after which the package.json didn't get updated. Really, it would be safer if this repo didn't have the transpilation result dist/ folder committed - this would help avoid such errors.
The package.json needs to be corrected in order for npm users to be able to use the package at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions