Skip to content

Commit

Permalink
chore(live-preview): expose current package version []
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishelgert committed Oct 16, 2023
1 parent ba6d19f commit de0df03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/live-preview-sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import './styles.css';

import { type DocumentNode } from 'graphql';

import { version } from '../package.json';
import { getAllTaggedEntries } from './fieldTaggingUtils';
import {
sendMessageToEditor,
Expand Down Expand Up @@ -29,6 +30,8 @@ import {
TagAttributes,
} from './types';

export const VERSION = version;

export interface ContentfulLivePreviewInitConfig {
locale: string;
debugMode?: boolean;
Expand Down

0 comments on commit de0df03

Please sign in to comment.