Skip to content

Commit

Permalink
Merge pull request #96 from thegalactiks/changeset-release/main
Browse files Browse the repository at this point in the history
[ci] release
  • Loading branch information
emmanuelgautier authored Oct 29, 2023
2 parents f631d95 + aa1420b commit c190b0e
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 6 deletions.
10 changes: 10 additions & 0 deletions packages/adapters/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @galactiks/astro-integration

## 0.2.6

### Patch Changes

- add scheduled content support and dependencies updates

- Updated dependencies []:
- @galactiks/config@0.2.6
- @galactiks/explorer@0.2.6

## 0.2.5

### 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.5",
"version": "0.2.6",
"description": "Galactiks Astro integration",
"author": "thegalactiks",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @galactiks/config

## 0.2.6

### Patch Changes

- add scheduled content support and dependencies updates

## 0.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galactiks/config",
"version": "0.2.5",
"version": "0.2.6",
"description": "Reading Galactiks configurations files and get config during website generation",
"author": "thegalactiks",
"types": "./dist/index.d.mts",
Expand Down
6 changes: 6 additions & 0 deletions packages/contentlayer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @galactiks/contentlayer

## 0.1.5

### Patch Changes

- add scheduled content support and dependencies updates

## 0.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/contentlayer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galactiks/contentlayer",
"version": "0.1.4",
"version": "0.1.5",
"description": "Galactiks contentlayer configurations",
"author": "galactiks",
"types": "./dist/index.d.mts",
Expand Down
10 changes: 10 additions & 0 deletions packages/explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @galactiks/explorer

## 0.2.6

### Patch Changes

- add scheduled content support and dependencies updates

- Updated dependencies []:
- @galactiks/config@0.2.6
- @galactiks/contentlayer@0.1.5

## 0.2.5

### 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.5",
"version": "0.2.6",
"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
4 changes: 2 additions & 2 deletions packages/explorer/src/core/content/repositories/generated.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type { RepositoryFilters, WebPageElementFilters } from './filters.mjs';
let _generated: ContentlayerDataExports;
let _documents: Content[];

const dateNow = new Date()
const dateNow = new Date();

const documentsByLanguagesSelector =
<T extends Pick<ContentlayerWebPageDocument, 'inLanguage'>>(documents: T[]) =>
Expand Down Expand Up @@ -58,7 +58,7 @@ const getWebPageDocuments = async (): Promise<Content[]> => {
.concat(generated.allArticles || [])
.concat(generated.allPeople || [])
.concat(generated.allPlaces || [])
.filter(_d => !_d.datePublished || new Date(_d.datePublished) <= dateNow);
.filter((_d) => !_d.datePublished || new Date(_d.datePublished) <= dateNow);
_documents = await computeDocuments({
config,
websites: await getWebsites(),
Expand Down

0 comments on commit c190b0e

Please sign in to comment.