Releases: souporserious/renoun
Releases · souporserious/renoun
renoun@4.2.0
Minor Changes
- 2d64da1: Adds a
PackageInstall
component for displaying a list of package manager install commands that can be copied.
Patch Changes
- 2ad1db1: Removes unused
createCollection
title
andlabel
options. - 779df0a: Adds better error when trying to create a collection within a route group file pattern that needs to be escaped properly.
- 170d382: Fixes error when collection
baseDirectory
does not have any additional segments after normalizing file paths.
@renoun/mdx@1.0.1
Patch Changes
- ca8b35d: Enables old school dashes through SmartyPants remark plugin.
renoun@4.1.0
Minor Changes
-
9f6c0f2: Moves config from
.renoun/config.json
torenoun.json
. See configuration docs for more information. -
1a71061: Moves
renoun
package to ESM only. To upgrade in Next.js projects, modify thenext.config.js
file to include the following in the webpackextensionAlias
configuration:export default { webpack(config) { config.resolve.extensionAlias = { '.js': ['.ts', '.tsx', '.js'], } // ... return config }, }
-
3c78b3e: Adds the ability to filter export sources when creating a collection:
import { createCollection, isFileSystemSource, isExportSource, } from 'renoun/collections' export const ComponentsCollection = createCollection< Record<string, React.ComponentType> >('src/components/**/*.{ts,tsx}', { baseDirectory: 'components', basePath: 'components', filter: (source) => { if (isFileSystemSource(source)) { if (source.isFile()) { const allInternal = source .getExports() .every((exportSource) => exportSource.getTags()?.every((tag) => tag.tagName === 'internal') ) if (allInternal) { return false } } } if (isExportSource(source)) { if (source.getTags()?.find((tag) => tag.tagName === 'internal')) { return false } } return true }, })
Patch Changes
- aaf965c: Collections now respect the tsconfig
ignore
field if defined and will filter out sources that should be ignored. - e40258a: Fixes large font sizes on mobile devices. See this article for more info.
- bf684ca: Fixes svg warning for logo asset.
- af07785: Uses css container padding for
CodeBlock
internal padding if defined. - d207ecc: Fixes
CodeBlock
highlightedLines
regression. - cb3843c: Fixes suspense fallback layout shift during local development.
- 700969a: Normalizes custom
CodeBlock
padding values to offsetCopyButton
correctly.
@renoun/mdx@1.0.0
Major Changes
- 3565fa9: Adds
@renoun/mdx
package that includes pre-configured and customremark
andrehype
plugins.
renoun@4.0.0
Major Changes
- 8e1a7e1: Renames the package from
omnidoc
torenoun
.
@renoun/mdx-plugins@1.0.0
Major Changes
- 52b18ed: Renames the package from
@omnidoc/mdx-plugins
to@renoun/mdx-plugins
.
omnidoc@3.2.1
@omnidoc/mdx-plugins@0.1.1
Patch Changes
- 825824f: Exports
Headings
type.
omnidoc@3.2.0
Minor Changes
- c017f16: Adds
@omnidoc/mdx-plugins
package that includes pre-configured and customremark
andrehype
plugins. - a2f85cb: Adds
filter
option tocreateCollection
for filtering by specific file system sources.
Patch Changes
- 8267207: Adds better error handling when trying to update the project based on a file system change.
@omnidoc/mdx-plugins@0.1.0
Minor Changes
- c017f16: Adds
@omnidoc/mdx-plugins
package that includes pre-configured and customremark
andrehype
plugins.