- Notifications
You must be signed in to change notification settings - Fork1.2k
Fix CodeSandbox examples#9286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codesandbox-cibot commentedAug 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This pull request is automatically built and testable inCodeSandbox. To see build info of the built libraries, clickhere or the icon next to each commit SHA. Latest deployment of this branch, based on commitb23b849:
|
dcousens commentedAug 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Honestly, I think this is a good approach. We do this already, and it's solid. The primary downside I can see is the lack of human readability for the binary file on GitHub. We otherwise have the |
dcousens commentedAug 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Maybe we can build the |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The intention was to still have the needed |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
@dcousens - I think I've found a reasonable solution, have updated the PR. |
Uh oh!
There was an error while loading.Please reload this page.
Using
examples/usecase-todo
to change the examples approach to solve for codesandbox issues.seed-data
commandpostinstall
to avoid possible conflicts with prisma minor patch changes to their generatorTo solve for the examples snapshot tests:
test:monorepo-snapshot-test
command to replacepostinstall
test:examples-snapshot-tests
to root package.json which targets the above command recursively in all examples foldersexamples_snapshot_tests
test to ci to run the above command onceThis is going to significantly reduce the time for actions as each of the smoke tests currently runs the postinstall for all the examples each time (~5m).
This approach also allows us to handle
framework-nextjs-two-servers
as well.