Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude generated files as storybook and app_templates from repository #385

Open
FabienArcellier opened this issue Apr 15, 2024 · 0 comments
Assignees

Comments

@FabienArcellier
Copy link
Collaborator

FabienArcellier commented Apr 15, 2024

Generated files like stories or application templates should be ignored by git. They will be rebuilt in commands that take advantage of them like alfred build.

.gitignore

src/streamsync/app_templates/*
src/streamsync/ui.py
src/ui/components.codegen.json
src/ui/src/stories/**

build consistent pypi package : alfred build

alfred build must provision the default and hello applications, as well as regenerate the ui.py file. The goal is to have a complete package before sending it to pypi.

install dev environment : alfred install.dev

alfred install.dev command installs the build poetry dependencies and generates the various files locally which are necessary during development such as the ui.py file, the stories

run storybook : alfred npm.storybook

alfred npm.storybook updates story files before launching storybook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant