Skip to content

Commit

Permalink
Merge pull request #174 from thegalactiks/export-contentlayer-fields
Browse files Browse the repository at this point in the history
feat(@galactiks/contentlayer): export contentlayer fields
  • Loading branch information
emmanuelgautier authored Feb 26, 2024
2 parents b20d335 + c101ca6 commit df77a8d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-houses-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@galactiks/contentlayer": patch
---

feat(@galactiks/contentlayer): export contentlayer fields
3 changes: 2 additions & 1 deletion packages/contentlayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js"
".": "./dist/index.js",
"./fields": "./dist/fields/index.js"
},
"files": [
"dist"
Expand Down
12 changes: 12 additions & 0 deletions packages/contentlayer/src/fields/index.ts
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit df77a8d

Please sign in to comment.