Skip to content

Commit 8f22579

Browse files
authored
Merge pull request #36 from IBM/add_packagejson_to_dist
Copy package.json to dist for tests.
2 parents 80a88a9 + 176596d commit 8f22579

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import os = require('os');
1818

1919
// tslint:disable-next-line:no-var-requires
20-
const pkg = require('../../package.json');
20+
const pkg = require('../package.json');
2121

2222
export type SdkHeaders = {
2323
'User-Agent': string;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ibm-cloud/secrets-manager",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Client library for IBM Cloud Secrets Manager",
55
"repository": {
66
"type": "git",
@@ -19,7 +19,7 @@
1919
"lint": "npm run eslint:check && npm run tslint:check",
2020
"lint-fix": "npm run eslint:fix && npm run tslint:fix",
2121
"jest": "jest",
22-
"test": "npm run build && npm run lint && jest test/",
22+
"test": "npm run build && cp package.json dist/ && npm run lint && jest test/",
2323
"test-unit": "npm run build && jest test/unit/",
2424
"test-integration": "npm run build && jest test/integration",
2525
"report-coverage": "codecov",

0 commit comments

Comments
 (0)