Skip to content

feat: implement create control script #747

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

Merged
merged 1 commit into from
Aug 26, 2019
Merged

feat: implement create control script #747

merged 1 commit into from
Aug 26, 2019

Conversation

tsanislavgatev
Copy link
Contributor

Adding a script for automatically create files by template for new web component.

@CLAassistant
Copy link

CLAassistant commented Aug 26, 2019

CLA assistant check
All committers have signed the CLA.

@fifoosid
Copy link
Contributor

@tsanislavgatev you have to sign the cla in order to push the PR

@tsanislavgatev
Copy link
Contributor Author

@tsanislavgatev you have to sign the cla in order to push the PR
Done.

@fifoosid fifoosid merged commit 171a36f into SAP:master Aug 26, 2019
Copy link
Contributor

@vladitasev vladitasev left a comment

Choose a reason for hiding this comment

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

Great job!
Please see my comments

const sComponentName = aArgs[0];
const oPaths = {
"js": `./src/${sComponentName}.js`,
"css": `./src/themes/${sComponentName}.css`,
Copy link
Contributor

Choose a reason for hiding this comment

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

We might need some more css files (for all the themes as well) Please ask Philip whether it's a good idea to add the other files as well (based on his experience with component development)

Copy link
Contributor

Choose a reason for hiding this comment

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

We decided that this is not necessary.

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

Successfully merging this pull request may close these issues.

4 participants