You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [vue-docgen-web-types](https://www.npmjs.com/package/vue-docgen-web-types) package provides TypeScript definitions for web-types.json
I would love to use those TypeScript definitions in my Lit library, but I can't because that package installs a lot of vue dependencies, which I don't need in my Lit library.
@vue/compiler-core@npm:3.4.29, @vue/compiler-dom@npm:3.4.29, @vue/compiler-sfc@npm:3.4.29, @vue/compiler-ssr@npm:3.4.29, @vue/shared@npm:3.4.29, and 34 more (+1.03MB)
Hi @maxpatiiuk. The vue-docgen-web-types package is dedicated for Vue projects. It will not create anything for Lit Components AFAIU. Please choose some dedicated solution for Lit components. WebStorm also support Web Component Manifest format and I think there is tooling out there to generate it for Lit components.
The vue-docgen-web-types package is dedicated for Vue projects. It will not create anything for Lit Components AFAIU
To clarify, I do not want to use vue-docgen-web-types for generating anything.
All I want is get the TypeScript .d.ts type definitions for web-types.json - such definitions are currently present in the vue-docgen-web-types package, rather than as a standalone package.
(then, I will use this plugin to generate web-types.json)
To have web-types.json be usable for non-Vue web component projects, it's schema should be published as a standalone NPM package.
For reference, take a look at this package from custom-elements-manifest: https://www.npmjs.com/package/custom-elements-manifest
The
[vue-docgen-web-types](https://www.npmjs.com/package/vue-docgen-web-types)
package provides TypeScript definitions for web-types.jsonI would love to use those TypeScript definitions in my Lit library, but I can't because that package installs a lot of vue dependencies, which I don't need in my Lit library.
It also wants to have
"vue"
as a peerDependencyTo make using web-types in non-Vue libraries easier, could you please publish the typescript definitions independently or Vue dependencies?
Thank you
The text was updated successfully, but these errors were encountered: