Skip to content

typesVersions in package.json incorrectly point to source code instead of compiled .d.ts files #532

@DetachHead

Description

@DetachHead

Describe the bug
the typesVersions field in package.json for the following packages point to the source code in /src instead of the type declaration files in /dist:

  • @smui/common
  • @smui/snackbar
  • @smui/select
  • @smui/textfield

"typesVersions": {
"*": {
"classadder": [
"./src/classadder/index.ts"
],
"internal": [
"./src/internal/index.ts"
],
"*": [
"./src/*"
]
}
},

this causes several problems:

To Reproduce
see the issues linked above

Expected behavior
example typesVersions for @smui/common:

{ "typesVersions": { "*": { "classadder": [ "./dist/classadder/index.d.ts" ], "internal": [ "./dist/internal/index.d.ts" ], "*": [ "./dist/*" ] } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions