qpp-measures-data
Advanced tools
Comparing version 1.0.0-alpha.19 to 1.0.0-alpha.20
@@ -71,5 +71,7 @@ # Contribution Guidelines | ||
## Publish | ||
## Versioning, publishing, and creating new releases | ||
To publish a new version, make sure you've bumped the `version` in `package.json`, then: | ||
1. Bump the `version` in `package.json` when making changes to `measures/measures-data.json` or `benchmarks/2017.json`. You can also choose to bump the version when making changes elsewhere. | ||
2. Publish a new version after bumping the version number: | ||
``` | ||
@@ -80,2 +82,8 @@ npm login # as cmsgov | ||
3. [Create a release](https://github.com/CMSgov/qpp-measures-data/releases) in Github after the new version is published. | ||
- The tag version should be 'v[version of module just published]', e.g. 'v1.0.0-alpha.1'. (Note the `v` prefix). | ||
- The release title should be a short description of the release contents. | ||
- The release notes should contain appropriate, standardized headers like "Added", "Changed", "Removed", "Fixed", and relevant details. | ||
- Please read [the standards](http://keepachangelog.com/en/0.3.0/) prior to creating release notes. | ||
## Licenses | ||
@@ -82,0 +90,0 @@ |
{ | ||
"name": "qpp-measures-data", | ||
"version": "1.0.0-alpha.19", | ||
"version": "1.0.0-alpha.20", | ||
"description": "Quality Payment Program Measures Data Repository", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -49,2 +49,3 @@ # qpp-measures-data | ||
See [CONTRIBUTING.md](CONTRIBUTING.md). | ||
Before creating pull requests, please make sure to review | ||
[CONTRIBUTING.md](CONTRIBUTING.md). |
@@ -150,2 +150,4 @@ const parse = require('csv-parse/lib/sync'); | ||
const constantFields = config.constant_fields; | ||
const TRUE_CSV = 'Y'; | ||
const FALSE_CSV = 'N'; | ||
@@ -179,3 +181,3 @@ const newMeasures = records.map(function(record) { | ||
const ratio = _.trim(record[19]); | ||
if (proportion === 'Y' && continuous === 'N' && ratio === 'N') { | ||
if (proportion === TRUE_CSV && continuous === FALSE_CSV && ratio === FALSE_CSV) { | ||
// returns an integer if passed string '3', NaN if passed 'N/A' | ||
@@ -192,2 +194,4 @@ const numPerformanceRates = _.parseInt(_.trim(record[11])); | ||
newMeasure['submissionMethods'] = ['registry']; | ||
return newMeasure; | ||
@@ -194,0 +198,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9423759
90
115956
51
16
3