Skip to content

Commit

Permalink
Fix packaging (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewturner authored Sep 8, 2024
1 parent bdd94f2 commit 5bf413f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

bin
node_modules
solaris
output
Expand Down
7 changes: 5 additions & 2 deletions package-lock.json

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

16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"name": "httpyac-import",
"version": "0.3.2",
"version": "0.3.3",
"description": "CLI to convert Postman collection to httpyac files",
"homepage": "https://github.com/matthewturner/httpyac-import",
"repository": {
"type": "git",
"url": "https://github.com/matthewturner/httpyac-import"
},
"bugs": {
"url": "https://github.com/matthewturner/httpyac-import/issues"
},
"main": "./src/app.ts",
"bin": {
"httpyac-import": "./bin/httpyac-import.js"
},
"scripts": {
"build": "npx tsc",
"test": "jest",
"convert": "ts-node ./src/app.ts"
},
Expand All @@ -29,4 +41,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
}
}
2 changes: 1 addition & 1 deletion src/options.ts → src/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export interface IOptions {
targetPath: string;
ignoreHeaders?: string[];
help?: boolean;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RequestDefinitionBuilder } from '../src/RequestDefinitionBuilder';
import { RequestDefinitionBuilder } from '../RequestDefinitionBuilder';
import { Item, ItemGroup, Collection, Url, Header, RequestBody } from 'postman-collection';
import { readFileSync } from 'fs';

Expand Down

0 comments on commit 5bf413f

Please sign in to comment.