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

Simplify CLI version command to use version from package.json #2258

Merged
merged 3 commits into from Sep 18, 2020

Commits on Sep 14, 2020

  1. Simplify CLI version command to use version from package.json

    This will make it easier to keep the package version and the CLI version in sync by directly
    using the version in package.json instead of maintaining a separate versioning system.
    
    I also removed some of the extra formatting and git-state handling logic in the file since
    I didnt see it being used anywhere and @decentralion mentioned that it wasn't as necessary
    now that we have the NPM package as the main entrypoint for users.
    
    Test Plan: Run `sourcecred --version` and ensure it returns "v0.7.0-beta-16", or whatever is currently
    in the package.json
    META-DREAMER committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    26f9f38 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. Log SourceCred version on load

    This commit prints the SourceCred version into the console on frontend
    load. This will be useful to help provide tech support for users, since
    we'll be able to find what version of SourceCred they'll be using.
    
    Test plan: Run `yarn start`, and check the console.
    teamdandelion authored and META-DREAMER committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    75d14f8 View commit details
    Browse the repository at this point in the history
  2. Change naming from packageJSON to packageJson

    Following naming standards in codebase
    META-DREAMER committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    dfdb2f7 View commit details
    Browse the repository at this point in the history