From 24ce25fbebc64cb55d9b64dcbdc4ed2d0dbfead3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:57:12 +0300 Subject: [PATCH] chore(release): version packages (beta) (#155) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 10 ++++++++++ packages/markdownlayer/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/markdownlayer/package.json | 18 +++++++++++++----- 3 files changed, 47 insertions(+), 5 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 3f4ebc5..592aa42 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -11,18 +11,28 @@ "calm-queens-sniff", "clean-brooms-invent", "curly-beers-destroy", + "dull-boats-confess", + "famous-cars-battle", + "five-buckets-shave", "forty-spiders-glow", "fresh-flies-float", + "funny-swans-eat", + "good-beers-return", "heavy-bikes-rhyme", + "itchy-mugs-jog", "little-cycles-remember", "long-bees-train", + "many-clocks-repair", "many-pugs-hug", "nervous-mice-sell", "pretty-lemons-stare", "rotten-ligers-yell", + "sharp-beers-retire", "sharp-otters-vanish", "small-pears-march", "smart-pets-rush", + "swift-books-work", + "thirty-months-attack", "tidy-peaches-return", "wise-trains-study", "yellow-bobcats-report", diff --git a/packages/markdownlayer/CHANGELOG.md b/packages/markdownlayer/CHANGELOG.md index 42aa9af..f31c8f9 100644 --- a/packages/markdownlayer/CHANGELOG.md +++ b/packages/markdownlayer/CHANGELOG.md @@ -1,5 +1,29 @@ # markdownlayer +## 0.4.0-beta.4 + +### Minor Changes + +- 3348332: No longer need to produce package.json in the generated folder +- ecbefbf: Infer types from config file by reference instead of generating them. + This improves the dev experience because changes in schema reflect instantly instead of waiting for a fresh build. +- 11a32b5: Revert to using a mix of JSON and MJS for generated files. + This was originally introduced in the engine rewrite in #109 (363bb665a68f0ee69bbebe5c28c1000c2a68d833) to avoid losing type information. However, that comes at a performance penalty that is not worth it. +- f6fb7fd: Added react export to replace the hooks export and included a default react component to reduce boilerplate code. +- 69d0193: Improve watcher for files. + Using one watcher is more efficient since we can merge the files/directories for which we expect changes. This allows watching on config-related files such as additional remark plugins. + Consequently, the config is only rebuilt when there are changes to it or its related files. +- afc25b5: No longer support passing of config via plugin. + This paves way for type inference from the config file. +- 9cefc89: Support passing of a custom config file and improve config processing as inspired by velite +- 7352ab1: Support for turbopack. + `withMarkdownlayer` must be the last plugin in the chain because the plugin returns a Promise, which is compatible with Next.js, but other plugins may not expect this behavior. +- 2f94329: Ignore files starting with a dot or underscore + +### Patch Changes + +- 32d8fdf: Replace shelljs with child_process + ## 0.4.0-beta.3 ### Patch Changes diff --git a/packages/markdownlayer/package.json b/packages/markdownlayer/package.json index 139322c..b57c47a 100644 --- a/packages/markdownlayer/package.json +++ b/packages/markdownlayer/package.json @@ -1,6 +1,6 @@ { "name": "markdownlayer", - "version": "0.4.0-beta.3", + "version": "0.4.0-beta.4", "type": "module", "types": "./dist/index.d.ts", "exports": { @@ -23,10 +23,18 @@ }, "typesVersions": { "*": { - ".": ["./dist"], - "core": ["./dist/core"], - "react": ["./dist/react"], - "remark": ["./dist/remark"] + ".": [ + "./dist" + ], + "core": [ + "./dist/core" + ], + "react": [ + "./dist/react" + ], + "remark": [ + "./dist/remark" + ] } }, "files": [