agency-kit / notion-cms

Add super powers to Notion by making it your full-fledged headless CMS.
https://www.agencykit.so/notion-cms/guide/
MIT License
37 stars 2 forks source link

Line logs #123

Closed earlAchromatic closed 1 year ago

earlAchromatic commented 1 year ago

Summary by CodeRabbit

New Feature:

Bug Fixes:

πŸŽ‰πŸ‡

Hush now, quiet's here, no need for chatter,

With this new feature, only the code will matter. πŸ€«πŸ’»

Images safe, they'll not scatter,

And UUIDs found, amidst all the clatter. πŸ”πŸ”—

So hop along, let's make things better! 🐾πŸ₯•

coderabbitai[bot] commented 1 year ago

Image description CodeRabbit

Walkthrough

This update introduces a quiet mode to the "@agency-kit/notion-cms" package, enhancing terminal output control. It also improves image handling in the images plugin to prevent overwrites and refines UUID detection in anchor tags within the linker plugin.

Changes

File Summary
.changeset/rude-experts-build.md Describes the overall changes made to the "@agency-kit/notion-cms" package.
src/notion-cms.ts Implements the quiet mode functionality, controlling verbosity of terminal outputs based on user preference.
src/plugins/images.ts Enhances image handling by preventing overwriting of existing images.
src/plugins/linker.ts Improves UUID detection in anchor tags by modifying the regular expression pattern used for matching.
src/types.ts Adds a new quiet property to the Options interface to support the newly introduced quiet mode.