Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Contributors flow improvment #25

Merged
merged 9 commits into from
Sep 23, 2020
Merged

Contributors flow improvment #25

merged 9 commits into from
Sep 23, 2020

Conversation

Bnaya
Copy link
Contributor

@Bnaya Bnaya commented Sep 23, 2020

  • More elaborated CONTRIBUTING.md
  • Viewer ui files are now built when running root-cause cli on dev time
  • overcome yarn not linking bins limitation by adding package.json scripts

@Bnaya Bnaya changed the title contributors-flow Contributors flow improvment Sep 23, 2020

if (!await fs.pathExists(path.resolve(DEV_STATIC_FILES_LOCATION, STATIC_INDEX_FILE))) {
console.log('Client Static files not found, building client project...');
await buildClientStatics();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what we should do on failure. for example, the user might have small lint error on the client code,
and not he won't be able to use the cli (all that in case he don't already have the statics)
Maybe we can just warn about it, and not fail.

Copy link
Contributor

Choose a reason for hiding this comment

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

Warning sounds fine

@Bnaya Bnaya marked this pull request as ready for review September 23, 2020 00:29
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
Copy link
Contributor

@benjamingr benjamingr left a comment

Choose a reason for hiding this comment

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

Please merge the typo fixes before merging, and I think a warning makes sense (regarding your comment)

Bnaya Peretz and others added 8 commits September 23, 2020 12:01
Co-authored-by: Benjamin Gruenbaum <[email protected]>
Co-authored-by: Benjamin Gruenbaum <[email protected]>
Co-authored-by: Benjamin Gruenbaum <[email protected]>
Co-authored-by: Benjamin Gruenbaum <[email protected]>
Co-authored-by: Benjamin Gruenbaum <[email protected]>
@Bnaya Bnaya merged commit c7d113c into main Sep 23, 2020
@Bnaya Bnaya deleted the contributors-flow-improvment branch September 23, 2020 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants