Skip to content

Conversation

@Convly
Copy link
Member

@Convly Convly commented Feb 17, 2025

What does it do?

  • Added a scripts/demo.sh script that exposes a CLI to manage demos
  • Modified the demo/.strapi-app/scripts/seed.js script (style, types, dynamic refs, etc...)
  • Simplified the demo scripts in the root package.json
  • Updated the demo-related documentation in the readme

Why is it needed?

As the demo codebase grows larger and more complex, those changes makes it simpler to integrate new demo or update atomic behaviors

How to test it?

Play with the demo script and make sure the seeding still works as expected

For example:

pnpm demo setup
pnpm demo app:start

Related issue(s)/PR(s)

The idea comes from @innerdvations in #57 (review)

@Convly Convly added pr: chore Cleanups / dependencies / tooling / styling source: client-demo Source is the client demos labels Feb 17, 2025
Copy link
Contributor

@innerdvations innerdvations left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

@Convly Convly merged commit c980125 into main Feb 18, 2025
7 checks passed
@Convly Convly deleted the chore/better-demo-scripts branch February 18, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: chore Cleanups / dependencies / tooling / styling source: client-demo Source is the client demos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants