Skip to content

Conversation

@captainsidd
Copy link
Contributor

@captainsidd captainsidd commented Jan 16, 2019

Major Change
Version 3.0.0

* Lifecycle function to delete basepath mapping
* Wraps deletion of basepath mapping
*/
public async removeBasePathMapping(): Promise<void> {
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if we need a wrapper function here since its a 1 liner. Could put thee contents of deleteBasePathMapping in here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like the idea of making the lifecycle functions and the actual API calls separate - just consistent with the rest of the codebase.

package.json Outdated
"test": "tsc --project . && nyc mocha -r ts-node/register test/unit-tests/index.test.ts && nyc report --reporter=text-summary",
"integration-test": "node ./node_modules/istanbul/lib/cli.js test _mocha test/integration-tests -- -R spec",
"lint": "tslint --project .",
"build": "tsc --project . && npm publish"
Copy link
Member

Choose a reason for hiding this comment

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

Do we need the publish command?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope - Travis runs npm publish, that's why I specified just compiling before Travis deploys
3797bb5#diff-354f30a63fb0907d4ad57269548329e3R14

@captainsidd captainsidd merged commit 0f7751f into master Feb 4, 2019
@captainsidd captainsidd deleted the ts-refactor branch February 4, 2019 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants