diff --git a/.changeset/strange-houses-hug.md b/.changeset/strange-houses-hug.md new file mode 100644 index 00000000..913f5c57 --- /dev/null +++ b/.changeset/strange-houses-hug.md @@ -0,0 +1,5 @@ +--- +"@galactiks/contentlayer": patch +--- + +feat(@galactiks/contentlayer): export contentlayer fields diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json index ad717886..1737dd4c 100644 --- a/packages/contentlayer/package.json +++ b/packages/contentlayer/package.json @@ -22,7 +22,8 @@ }, "exports": { "./package.json": "./package.json", - ".": "./dist/index.js" + ".": "./dist/index.js", + "./fields": "./dist/fields/index.js" }, "files": [ "dist" diff --git a/packages/contentlayer/src/fields/index.ts b/packages/contentlayer/src/fields/index.ts new file mode 100644 index 00000000..92e4b740 --- /dev/null +++ b/packages/contentlayer/src/fields/index.ts @@ -0,0 +1,12 @@ +export * from './core.js'; + +export * from './article.js'; +export * from './creative-work.js'; +export * from './offer.js'; +export * from './organization.js'; +export * from './person.js'; +export * from './place.js'; +export * from './product.js'; +export * from './webpage-element.js'; +export * from './website.js'; +export * from './page.js';