Skip to content

Commit

Permalink
Fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Aug 31, 2023
1 parent 9095b3f commit 759d748
Show file tree
Hide file tree
Showing 5 changed files with 8,382 additions and 6,455 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-seahorses-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystatic/astro': patch
---

Allow `astro@3` in `peerDependencies`
5 changes: 1 addition & 4 deletions .changeset/yellow-pets-work.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
'@example/astro-content': patch
'@example/astro': patch
'@keystatic/templates-astro': patch
'@keystatic/astro': patch
---

Upgrading Astro projects to Astro v3 and upgrading @astrojs packages as well
Upgrading template to Astro v3
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"peerDependencies": {
"@keystatic/core": "*",
"astro": "3",
"astro": "2 || 3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
ButtonGroup,
ClearButton,
} from '@keystar/ui/button';
import { NotEditable, ObjectField, PreviewProps } from '@keystatic/core';
import { Dialog, DialogContainer, DialogTrigger } from '@keystar/ui/dialog';
import { Icon } from '@keystar/ui/icon';
import { imageIcon } from '@keystar/ui/icon/icons/imageIcon';
Expand All @@ -30,6 +29,8 @@ import { useId } from '@keystar/ui/utils';
import { useConfig } from '../app/shell/context';
import { focusWithPreviousSelection } from '../form/fields/document/DocumentEditor/ui-utils';
import { getSplitCloudProject, isCloudConfig } from '../app/utils';
import { NotEditable } from '../form/fields/document/DocumentEditor/primitives';
import { PreviewProps, ObjectField } from '..';

export type CloudImageProps = {
src: string;
Expand Down
Loading

0 comments on commit 759d748

Please sign in to comment.