Skip to content

Commit

Permalink
Merge pull request #124 from thegalactiks/changeset-release/main
Browse files Browse the repository at this point in the history
[ci] release
  • Loading branch information
emmanuelgautier authored Dec 16, 2023
2 parents 2c7898f + e7a9371 commit 0af5355
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 23 deletions.
8 changes: 0 additions & 8 deletions .changeset/large-elephants-drop.md

This file was deleted.

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.12

### Patch Changes

- [`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb) Thanks [@emmanuelgautier](https://github.com/emmanuelgautier)! - dependencies update

- Updated dependencies [[`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb)]:
- @galactiks/config@0.2.8
- @galactiks/explorer@0.2.11

## 0.2.11

### 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.11",
"version": "0.2.12",
"description": "Galactiks Astro integration",
"author": "thegalactiks",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 2 additions & 4 deletions packages/adapters/astro/src/components/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
import { getConfig } from '@galactiks/config';
import type { Content } from '@galactiks/explorer';
import Plausible from './Plausible.astro'
import Plausible from './Plausible.astro';
type Props = {
content: Content;
};
const { content } = Astro.props;
const {
analytics,
} = getConfig();
const { analytics } = getConfig();
---

<head>
Expand Down
12 changes: 9 additions & 3 deletions packages/adapters/astro/src/components/Plausible.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
---
import type { PlausibleConfig } from '@galactiks/config';
export interface Props extends PlausibleConfig {};
export interface Props extends PlausibleConfig {}
const { domain, src = 'https://plausible.io/js/script.js', ...props } = Astro.props;
const {
domain,
src = 'https://plausible.io/js/script.js',
...props
} = Astro.props;
---
<script type="text/partytown" defer data-domain={domain} src={src} {...props}></script>

<script type="text/partytown" defer data-domain={domain} src={src} {...props}
></script>
8 changes: 4 additions & 4 deletions packages/adapters/astro/src/i18n.mts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { AstroUserConfig } from 'astro'
import type { AstroUserConfig } from 'astro';

import { getDefaultLanguage, getLanguages } from '@galactiks/config';

export const getI18nConfig = (): AstroUserConfig['i18n'] => {
const locales = getLanguages();
if (locales.length < 2) {
return undefined
return undefined;
}

return {
defaultLocale: getDefaultLanguage() || locales[0],
locales,
}
}
};
};
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.8

### Patch Changes

- [`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb) Thanks [@emmanuelgautier](https://github.com/emmanuelgautier)! - dependencies update

## 0.2.7

### 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.7",
"version": "0.2.8",
"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.8

### Patch Changes

- [`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb) Thanks [@emmanuelgautier](https://github.com/emmanuelgautier)! - dependencies update

## 0.1.7

### 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.7",
"version": "0.1.8",
"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.11

### Patch Changes

- [`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb) Thanks [@emmanuelgautier](https://github.com/emmanuelgautier)! - dependencies update

- Updated dependencies [[`2c7898f`](https://github.com/thegalactiks/explorer/commit/2c7898f9e5b5fb0451a208a1e1a50d831eabf3fb)]:
- @galactiks/config@0.2.8
- @galactiks/contentlayer@0.1.8

## 0.2.10

### 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.10",
"version": "0.2.11",
"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

0 comments on commit 0af5355

Please sign in to comment.