-
Notifications
You must be signed in to change notification settings - Fork 84
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
Jiden/create generator sprotty 257 #342
Jiden/create generator sprotty 257 #342
Conversation
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
generated app now runs Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
}, | ||
"devDependencies": { | ||
"typescript": "4.9.5", | ||
"esbuild": "^0.17.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add http-server
and a start script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im not sure if we should. The example works with just opening the html file so i don't really see the need to add more dependencies that the user needs to remove later again when he wants to use the project for something else
Signed-off-by: Jonah Iden <[email protected]>
packages/generator-sprotty/sprotty-local-template/src/views.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the .gitignore should be added to the package. At least not with its current content
do you mean because of the "test-temp/"? |
Signed-off-by: Jonah Iden <[email protected]>
packages/generator-sprotty/sprotty-local-template/static/styles.css
Outdated
Show resolved
Hide resolved
packages/generator-sprotty/sprotty-local-template/static/index.html
Outdated
Show resolved
Hide resolved
nicer formatted output for generator, less agressiv colors for example, fixed indentation, rinraf instead of shx Signed-off-by: Jonah Iden <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
resolves #257
this implements a basic version of a yeoman generator for sprotty.
The example application this generator creats is based on the getting started example from gfontorbe/sprotty-website#1
How to test
yarn
yarn build
npm link
yarn run run