Revert unnecessary changes

This commit is contained in:
Josh Gross 2020-01-11 21:23:55 -05:00
parent 62b5d3a94f
commit 7f15359c45
7 changed files with 30 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import * as httpm from '../'; import * as httpm from '../_out';
import * as am from '../auth'; import * as am from '../_out/auth';
describe('auth', () => { describe('auth', () => {
beforeEach(() => { beforeEach(() => {

View File

@ -1,4 +1,4 @@
import * as httpm from '../'; import * as httpm from '../_out';
import * as path from 'path'; import * as path from 'path';
import * as fs from 'fs'; import * as fs from 'fs';

View File

@ -1,4 +1,4 @@
import * as httpm from '../'; import * as httpm from '../_out';
describe('basics', () => { describe('basics', () => {
let _http: httpm.HttpClient; let _http: httpm.HttpClient;

View File

@ -1,4 +1,4 @@
import * as pm from '../proxy'; import * as pm from '../_out/proxy';
import * as url from 'url'; import * as url from 'url';
describe('proxy', () => { describe('proxy', () => {

19
package-lock.json generated
View File

@ -3434,6 +3434,19 @@
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true "dev": true
}, },
"nock": {
"version": "11.7.2",
"resolved": "https://registry.npmjs.org/nock/-/nock-11.7.2.tgz",
"integrity": "sha512-7swr5bL1xBZ5FctyubjxEVySXOSebyqcL7Vy1bx1nS9IUqQWj81cmKjVKJLr8fHhtzI1MV8nyCdENA/cGcY1+Q==",
"dev": true,
"requires": {
"debug": "^4.1.0",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.13",
"mkdirp": "^0.5.0",
"propagate": "^2.0.0"
}
},
"node-int64": { "node-int64": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@ -3787,6 +3800,12 @@
"sisteransi": "^1.0.3" "sisteransi": "^1.0.3"
} }
}, },
"propagate": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz",
"integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==",
"dev": true
},
"psl": { "psl": {
"version": "1.7.0", "version": "1.7.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz", "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",

View File

@ -4,7 +4,7 @@
"description": "Actions Http Client", "description": "Actions Http Client",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "tsc", "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out",
"test": "jest" "test": "jest"
}, },
"repository": { "repository": {
@ -25,6 +25,7 @@
"@types/jest": "^24.0.25", "@types/jest": "^24.0.25",
"@types/node": "^13.1.5", "@types/node": "^13.1.5",
"jest": "^24.9.0", "jest": "^24.9.0",
"nock": "^11.7.2",
"ts-jest": "^24.3.0", "ts-jest": "^24.3.0",
"typescript": "^3.7.4" "typescript": "^3.7.4"
} }

View File

@ -8,5 +8,8 @@
"outDir": "_out", "outDir": "_out",
"forceConsistentCasingInFileNames": true "forceConsistentCasingInFileNames": true
}, },
"include": ["*.ts"] "files": [
"index.ts",
"auth.ts"
]
} }