{"id":28972623,"url":"https://github.com/ember-cli/ember-cli-app-version","last_synced_at":"2025-06-24T11:07:20.322Z","repository":{"id":22837791,"uuid":"26184976","full_name":"ember-cli/ember-cli-app-version","owner":"ember-cli","description":"Adds your app's version to Ember Inspector's Info tab","archived":false,"fork":false,"pushed_at":"2024-06-10T17:28:49.000Z","size":1633,"stargazers_count":55,"open_issues_count":8,"forks_count":46,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-19T15:02:14.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ember-cli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-04T19:27:36.000Z","updated_at":"2024-10-25T08:15:35.000Z","dependencies_parsed_at":"2024-05-10T16:29:47.986Z","dependency_job_id":"06c48113-90d2-4cbe-9b1d-76fd663d5552","html_url":"https://github.com/ember-cli/ember-cli-app-version","commit_stats":{"total_commits":244,"total_committers":35,"mean_commits":"6.9714285714285715","dds":0.7704918032786885,"last_synced_commit":"5db537a282d360c8ca8331eb3b3c0fc517ad9ec5"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/ember-cli/ember-cli-app-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-app-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-app-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-app-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-app-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-cli","download_url":"https://codeload.github.com/ember-cli/ember-cli-app-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-app-version/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260793441,"owners_count":23064039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-24T11:07:16.228Z","updated_at":"2025-06-24T11:07:20.308Z","avatar_url":"https://github.com/ember-cli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-app-version\n\n[![CI](https://github.com/ember-cli/ember-cli-app-version/workflows/CI/badge.svg)](https://github.com/ember-cli/ember-cli-app-version/actions?query=workflow%3ACI)\n[![NPM Version](https://badge.fury.io/js/ember-cli-app-version.svg)](https://badge.fury.io/js/ember-cli-app-version)\n[![Ember Observer Score](https://emberobserver.com/badges/ember-cli-app-version.svg)](https://emberobserver.com/addons/ember-cli-app-version)\n\nAdds your Ember App's version to Info tab in Ember Inspector. The version is taken from your project's package.json#version.\nIf you add build metadata to the version, this addon will automatically append SHA to the end of the version.\n\n## Compatibility\n\n- Ember.js v3.28 or above\n- Ember CLI v3.28 or above\n- Node.js v18 or above\n\n## Installation\n\n```\nember install ember-cli-app-version\n```\n\n## Usage\n\n![Ember Inspector Info Tab](https://www.evernote.com/shard/s51/sh/c2f52608-bc17-4d5c-ac76-dec044eeb2e2/2f08de0cfb77217502cfc3a9188d84bf/res/3fb1d3d9-d809-48f6-9d3b-6e9a4af29892/skitch.png?resizeSmall\u0026width=832)\n\n## {{app-version}} helper\n\nThis addon provides `{{app-version}}` helper that allows you to show your current app version in your app.\n\nThe addon has flags to display parts of the version:\n\n- `{{app-version versionOnly=true}} // =\u003e 2.0.1`\n- `{{app-version versionOnly=true showExtended=true}} // =\u003e 2.0.1-alpha.1`\n- `{{app-version shaOnly=true}} // =\u003e \u003cgit SHA\u003e`\n\nFlags are `false` by default.\n\n## Heroku\n\nWhen running on Heroku the `.git` folder is not present, making it impossible to fetch the `git SHA`. A workaround for this is adding the below in your `config/environment.js`:\n\n```js\n// Heroku Git Hash support\nif (process.env.SOURCE_VERSION) {\n  const pkg = require('../package.json');\n  const hash = process.env.SOURCE_VERSION.substr(0, 7);\n  ENV['ember-cli-app-version'] = {\n    version: `${pkg.version}+${hash}`,\n  };\n}\n```\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fember-cli-app-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-cli%2Fember-cli-app-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fember-cli-app-version/lists"}