@apm-insight-web/upload-sourcemaps
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,1 +0,4 @@ | ||
export {}; | ||
import { Cli } from 'clipanion'; | ||
import { UploadSourcemapsCommand } from './upload-sourcemaps'; | ||
declare const cli: Cli<import("clipanion").BaseContext>; | ||
export { cli, UploadSourcemapsCommand }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UploadSourcemapsCommand = exports.cli = void 0; | ||
const clipanion_1 = require("clipanion"); | ||
const upload_sourcemaps_1 = require("./upload-sourcemaps"); | ||
Object.defineProperty(exports, "UploadSourcemapsCommand", { enumerable: true, get: function () { return upload_sourcemaps_1.UploadSourcemapsCommand; } }); | ||
const cli = new clipanion_1.Cli({ | ||
@@ -10,16 +12,4 @@ binaryLabel: 'APM Insight Web - upload sourcemaps', | ||
}); | ||
exports.cli = cli; | ||
cli.register(upload_sourcemaps_1.UploadSourcemapsCommand); | ||
cli | ||
.run(process.argv.slice(2), { | ||
stdin: process.stdin, | ||
stdout: process.stdout, | ||
stderr: process.stderr, | ||
}) | ||
.then((code) => { | ||
process.exit(code); | ||
}) | ||
.catch((e) => { | ||
console.error(e); | ||
process.exit(1); | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBK0I7QUFFL0IsMkRBQTZEO0FBRTdELE1BQU0sR0FBRyxHQUFHLElBQUksZUFBRyxDQUFDO0lBQ2xCLFdBQVcsRUFBRSxxQ0FBcUM7SUFDbEQsVUFBVSxFQUFFLEtBQUs7SUFDakIsYUFBYSxFQUFFLE9BQU87Q0FDdkIsQ0FBQyxDQUFBO0FBRUYsR0FBRyxDQUFDLFFBQVEsQ0FBQywyQ0FBdUIsQ0FBQyxDQUFBO0FBRXJDLEdBQUc7S0FDQSxHQUFHLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUU7SUFDMUIsS0FBSyxFQUFFLE9BQU8sQ0FBQyxLQUFLO0lBQ3BCLE1BQU0sRUFBRSxPQUFPLENBQUMsTUFBTTtJQUN0QixNQUFNLEVBQUUsT0FBTyxDQUFDLE1BQU07Q0FDdkIsQ0FBQztLQUNELElBQUksQ0FBQyxDQUFDLElBQUksRUFBRSxFQUFFO0lBQ2IsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQTtBQUNwQixDQUFDLENBQUM7S0FDRCxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtJQUNYLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDaEIsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQTtBQUNqQixDQUFDLENBQUMsQ0FBQSJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUNBQStCO0FBRS9CLDJEQUE2RDtBQVUvQyx3R0FWTCwyQ0FBdUIsT0FVSztBQVJyQyxNQUFNLEdBQUcsR0FBRyxJQUFJLGVBQUcsQ0FBQztJQUNsQixXQUFXLEVBQUUscUNBQXFDO0lBQ2xELFVBQVUsRUFBRSxLQUFLO0lBQ2pCLGFBQWEsRUFBRSxPQUFPO0NBQ3ZCLENBQUMsQ0FBQTtBQUlPLGtCQUFHO0FBRlosR0FBRyxDQUFDLFFBQVEsQ0FBQywyQ0FBdUIsQ0FBQyxDQUFBIn0= |
import { Command } from 'clipanion'; | ||
interface UploadOptions { | ||
paths: string[]; | ||
app_id: string; | ||
} | ||
export declare class UploadSourcemapsCommand extends Command { | ||
static upload({ paths, app_id }: UploadOptions): Promise<void>; | ||
static getPath(p: string): string; | ||
static uploadDir({ dir, app_id }: { | ||
dir: string; | ||
app_id: string; | ||
}): Promise<void>; | ||
static uploadFile({ filePath, mapURL, app_id }: { | ||
filePath: string; | ||
mapURL: string; | ||
app_id: string; | ||
}): Promise<void>; | ||
release?: string; | ||
aid: string; | ||
app_id: string; | ||
paths: string[]; | ||
execute(): Promise<void>; | ||
upload(): Promise<void>; | ||
getPath(p: string): string; | ||
uploadDir(dir: string): Promise<void>; | ||
uploadFile({ filePath, mapURL }: { | ||
filePath: string; | ||
mapURL: string; | ||
}): Promise<void>; | ||
uploadDirs(): Promise<void>; | ||
} | ||
export {}; |
@@ -28,13 +28,10 @@ "use strict"; | ||
class UploadSourcemapsCommand extends clipanion_1.Command { | ||
execute() { | ||
return this.upload(); | ||
} | ||
upload() { | ||
static upload({ paths, app_id }) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
for (const dir of this.paths) { | ||
yield this.uploadDir(this.getPath(dir)); | ||
for (const dir of paths) { | ||
yield this.uploadDir({ dir: this.getPath(dir), app_id }); | ||
} | ||
}); | ||
} | ||
getPath(p) { | ||
static getPath(p) { | ||
if (path_1.default.isAbsolute(p)) { | ||
@@ -47,3 +44,3 @@ return p; | ||
} | ||
uploadDir(dir) { | ||
static uploadDir({ dir, app_id }) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -54,3 +51,3 @@ const files = yield readdirAsync(dir); | ||
const filePath = path_1.default.join(this.getPath(dir), fileName); | ||
yield this.uploadFile({ mapURL: fileName, filePath: filePath }); | ||
yield this.uploadFile({ mapURL: fileName, filePath: filePath, app_id }); | ||
} | ||
@@ -60,3 +57,3 @@ } | ||
} | ||
uploadFile({ filePath, mapURL }) { | ||
static uploadFile({ filePath, mapURL, app_id }) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -71,3 +68,3 @@ const URL = `https://${HOST}${URI}`; | ||
headers: { | ||
'x-app-ids': this.aid, | ||
'x-app-ids': app_id, | ||
}, | ||
@@ -89,2 +86,10 @@ body: form, | ||
} | ||
execute() { | ||
return this.uploadDirs(); | ||
} | ||
uploadDirs() { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return UploadSourcemapsCommand.upload({ paths: this.paths, app_id: this.app_id }); | ||
}); | ||
} | ||
} | ||
@@ -96,5 +101,5 @@ tslib_1.__decorate([ | ||
tslib_1.__decorate([ | ||
clipanion_1.Command.String(`--aid`), | ||
clipanion_1.Command.String(`--app_id`), | ||
tslib_1.__metadata("design:type", String) | ||
], UploadSourcemapsCommand.prototype, "aid", void 0); | ||
], UploadSourcemapsCommand.prototype, "app_id", void 0); | ||
tslib_1.__decorate([ | ||
@@ -111,2 +116,2 @@ clipanion_1.Command.Array(`--paths`), | ||
exports.UploadSourcemapsCommand = UploadSourcemapsCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLXNvdXJjZW1hcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdXBsb2FkLXNvdXJjZW1hcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHVHQUF1RztBQUN2RyxvREFBbUI7QUFDbkIsd0RBQXVCO0FBQ3ZCLCtCQUFnQztBQUVoQywwREFBeUI7QUFDekIseUNBQW1DO0FBQ25DLGtFQUFnQztBQUNoQyxvRUFBOEI7QUFFOUIsTUFBTSxHQUFHLEdBQUcsMkNBQTJDLENBQUE7QUFDdkQsTUFBTSxJQUFJLEdBQUcsK0JBQStCLENBQUE7QUFFNUMsTUFBTSxZQUFZLEdBQUcsZ0JBQVMsQ0FBQyxZQUFFLENBQUMsT0FBTyxDQUFDLENBQUE7QUFFMUMsTUFBTSxlQUFlLEdBQUc7SUFDdEIsT0FBTyxDQUFD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ksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFBO1FBQ25GLENBQUM7S0FBQTtDQUNGO0FBaEJDO0lBREMsbUJBQU8sQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDOzt3REFDWjtBQUdoQjtJQURDLG1CQUFPLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQzs7dURBQ1o7QUFHZjtJQURDLG1CQUFPLENBQUMsS0FBSyxDQUFDLFNBQVMsQ0FBQzs7c0RBQ1Q7QUFHaEI7SUFEQyxtQkFBTyxDQUFDLElBQUksRUFBRTs7OztzREFHZDtBQWpFSCwwREFzRUMifQ== |
{ | ||
"name": "@apm-insight-web/upload-sourcemaps", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "dist/index.js", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "5a15f41e3bf48f1ca6b6bbbdb2d294d10fa20d93" | ||
"gitHead": "d22e1e1712ab0bcd2922ad0783e527ad39acc373" | ||
} |
@@ -24,3 +24,3 @@ # upload-sourcemaps | ||
```bash | ||
npx upload-sourcemap --aid xxxxxx --paths ./dir1 | ||
npx upload-sourcemap --app_id xxxxxx --paths ./dir1 | ||
``` | ||
@@ -31,3 +31,3 @@ | ||
```bash | ||
npx upload-sourcemap --aid xxxxxx --paths ./dir1 --paths ./dir2 | ||
npx upload-sourcemap --app_id xxxxxx --paths ./dir1 --paths ./dir2 | ||
``` |
Sorry, the diff of this file is not supported yet
12121
9
166