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
{{ message }}
Repository navigation
Making getSlug available from outside of the packages #7961
Would it be alright to also add the entire lib in the package.json to get access to internal (e.g. adding "./lib/*": "./lib/*", to the package.json? Or move getSlug to @docusaurus/utils?
Self-service
I'd be willing to do some initial work on this proposal myself.
Seems reasonable to make the entire library's files available via wildcards. Do you want to send a PR adding a "./lib/*": "./lib/*"?
Important: This does not endorse these as public APIs. You are responsible for migrating any breakages between versions. You should probably not publish this as a package.
Activity
Josh-Cena commentedon Aug 17, 2022
Seems reasonable to make the entire library's files available via wildcards. Do you want to send a PR adding a
"./lib/*": "./lib/*"?Important: This does not endorse these as public APIs. You are responsible for migrating any breakages between versions. You should probably not publish this as a package.
JPeer264 commentedon Aug 17, 2022
Sure I will create a PR. We are aware that this is still a internal function without any guarantee - but thanks for double checking :)
chore(plugin-docs): expose lib in package.json (closes meta#7961)
chore(plugin-docs): expose all lib files through exports (#7962)
chore(plugin-docs): expose all lib files through exports (#7962)
chore(plugin-docs): expose all lib files through exports (meta#7962)