Skip to content

Commit

Permalink
Version Packages (#186)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Sep 19, 2024
1 parent fbeda52 commit 81c1bde
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 109 deletions.
5 changes: 0 additions & 5 deletions .changeset/blue-deers-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-hounds-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clever-bottles-know.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-moons-sneeze.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/light-doors-swim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-buses-act.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/smart-roses-collect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-starfishes-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-tips-change.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-wolves-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-trains-push.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/mdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @renoun/mdx

## 1.0.0

### Major Changes

- 3565fa9: Adds `@renoun/mdx` package that includes pre-configured and custom `remark` and `rehype` plugins.
2 changes: 1 addition & 1 deletion packages/mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@renoun/mdx",
"version": "0.0.0",
"version": "1.0.0",
"description": "MDX plugins for Renoun",
"author": "Travis Arnold",
"license": "MIT",
Expand Down
71 changes: 71 additions & 0 deletions packages/renoun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# renoun

## 4.1.0

### Minor Changes

- 9f6c0f2: Moves config from `.renoun/config.json` to `renoun.json`. See [configuration docs](https://www.renoun.dev/docs/getting-started) for more information.
- 1a71061: Moves `renoun` package to ESM only. To upgrade in Next.js projects, modify the `next.config.js` file to include the following in the webpack `extensionAlias` configuration:

```js
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:

```tsx
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](https://maxleiter.com/blog/mobile-browsers-resizing-font) 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 offset `CopyButton` correctly.

## 4.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/renoun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "renoun",
"version": "4.0.0",
"version": "4.1.0",
"description": "The Content & Documentation SDK for React",
"author": "Travis Arnold",
"license": "AGPL-3.0-or-later",
Expand Down

0 comments on commit 81c1bde

Please sign in to comment.