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

Refactor #181

Merged
merged 55 commits into from
Feb 4, 2019
Merged

Refactor #181

merged 55 commits into from
Feb 4, 2019

Conversation

captainsidd
Copy link
Contributor

@captainsidd captainsidd commented Jan 16, 2019

Major Change
Version 3.0.0

index.ts Outdated Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
tslint.json Outdated Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
DomainResponse.ts Outdated Show resolved Hide resolved
* 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.

.gitignore Outdated Show resolved Hide resolved
package.json Outdated
@@ -30,7 +30,7 @@
"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
2 participants