Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
prepare 5.3.2 release (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly authored Aug 29, 2018
1 parent 186a7f4 commit af02269
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 6 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ node-template: &node-template
command: npm test
environment:
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
- run: npm run check-typescript
- run: |
if [[ $CIRCLE_JOB == current-release ]]; then
npm audit
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the LaunchDarkly Node.js SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [5.3.2] - 2018-08-29
### Fixed:
- Fixed TypeScript syntax errors in `index.d.ts`. We are now running the TypeScript compiler in our automated builds to avoid such problems. (Thanks, [PsychicCat](https://github.com/launchdarkly/node-client/pull/116)!)

## [5.3.1] - 2018-08-27
### Fixed:
- Calling `allFlagsState()` did not work if you omitted the optional second parameter, `options`, but did provide a `callback`. ([#114](https://github.com/launchdarkly/node-client/issues/114))
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ declare module 'ldclient-node' {
* the needs of the JavaScript client.
*/
toJSON: () => object;
};
}

/**
* LaunchDarkly initialization options.
Expand Down
8 changes: 7 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "ldclient-node",
"version": "5.3.1",
"version": "5.3.2",
"description": "LaunchDarkly SDK for Node.js",
"main": "index.js",
"scripts": {
"test": "jest --ci --forceExit"
"test": "jest --ci --forceExit",
"check-typescript": "node_modules/typescript/bin/tsc"
},
"types": "./index.d.ts",
"repository": {
Expand Down Expand Up @@ -41,7 +42,8 @@
"devDependencies": {
"jest": "22.4.3",
"jest-junit": "3.6.0",
"nock": "9.2.3"
"nock": "9.2.3",
"typescript": "3.0.1"
},
"jest": {
"rootDir": ".",
Expand Down
3 changes: 3 additions & 0 deletions test-types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

// This file exists only so that we can run the TypeScript compiler in the CI build
// to validate our index.d.ts file.
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
"lib": [
"es6"
]
}
},
"files": [
"index.d.ts",
"test-types.ts"
]
}

0 comments on commit af02269

Please sign in to comment.