Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DetachHead opened this issue Nov 4, 2022 · 0 comments · May be fixed by #533
Open
Labels
bug Something isn't working

Comments

@DetachHead
Copy link
Contributor

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/*"
      ]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant