Skip to content

Commit

Permalink
Merge pull request #108 from thegalactiks/changeset-release/main
Browse files Browse the repository at this point in the history
[ci] release
  • Loading branch information
emmanuelgautier authored Nov 11, 2023
2 parents fb1636f + d0a5fef commit 3148f31
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .changeset/grumpy-spies-brake.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/adapters/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @galactiks/astro-integration

## 0.2.10

### Patch Changes

- Updated dependencies [[`cdf0d89`](https://github.com/thegalactiks/explorer/commit/cdf0d890b5deddef925f013740ea642cb5a61eaf)]:
- @galactiks/explorer@0.2.9

## 0.2.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galactiks/astro-integration",
"version": "0.2.9",
"version": "0.2.10",
"description": "Galactiks Astro integration",
"author": "thegalactiks",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @galactiks/explorer

## 0.2.9

### Patch Changes

- [#107](https://github.com/thegalactiks/explorer/pull/107) [`cdf0d89`](https://github.com/thegalactiks/explorer/commit/cdf0d890b5deddef925f013740ea642cb5a61eaf) Thanks [@emmanuelgautier](https://github.com/emmanuelgautier)! - fix(@galactiks/explorer): avoid modifying documents during computation

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galactiks/explorer",
"version": "0.2.8",
"version": "0.2.9",
"description": "Ensure Galactiks content model consistence, explore content built with ContentLayer and create dynamically missing pages and fields for SEO purposes",
"author": "thegalactiks",
"type": "module",
Expand Down
8 changes: 3 additions & 5 deletions packages/explorer/src/core/content/urls.mts
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,15 @@ export const computeDocumentsUrl =
.sort((_document) => selectPageDepth(_document))
.map((_document) => {
const path = _document.path || _computePath(_document);
let url: string | undefined = undefined
let url: string | undefined = undefined;
if (path) {
url = _getDocumentUrl(
_document as ContentlayerDocumentWithPath
);
url = _getDocumentUrl(_document as ContentlayerDocumentWithPath);
}

return {
..._document,
url,
path
path,
} as ContentlayerWebPageDocumentWithRender &
ContentlayerDocumentWithURL;
})
Expand Down

0 comments on commit 3148f31

Please sign in to comment.