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

feat: create initial TS template #868

Draft
wants to merge 5 commits into
base: alpha
Choose a base branch
from
Draft

Conversation

kabaros
Copy link
Contributor

@kabaros kabaros commented Jul 31, 2024

implements LIBS-594

@kabaros
Copy link
Contributor Author

kabaros commented Jul 31, 2024

@d-rita to test this, I run ./app-platform/cli/bin/d2-app-scripts init test-project --typescript (replace ./app-platform with path to where you have the app-platform project). This will create a new test-project in the current directory.

For yarn start to work in the newly bootstrapped project, there are some changes to start command that need to be incorporated. Since these changes are not published yet, I use yalc to publish from /app-platform/cli

image

then install this version into the bootstrapped project with yalc add @dhis2/[email protected], then yarn start should work

image

maybe @KaiVandivier has a better workflow for testing changes to cli and init/start scripts?

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

Successfully merging this pull request may close these issues.

None yet

1 participant