Compare commits

2 Commits

Author SHA1 Message Date
271e968ddc 1.0.13 2017-10-07 13:34:39 +02:00
dce227d71c update npmextra name 2017-10-07 13:34:36 +02:00
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@@ -12,7 +12,7 @@ const plugins = require("./smartupdate.plugins");
const smarttime_1 = require("smarttime");
class SmartUpdate {
constructor() {
this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate');
this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate');
}
check(npmnameArg, compareVersion, changelogUrlArg) {
return __awaiter(this, void 0, void 0, function* () {

View File

@@ -1,6 +1,6 @@
{
"name": "smartupdate",
"version": "1.0.12",
"version": "1.0.13",
"description": "update your tools in a smart way",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@@ -11,7 +11,7 @@ interface ICacheStatus {
import { KeyValueStore } from 'npmextra'
export class SmartUpdate {
kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate')
kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate')
async check (npmnameArg: string, compareVersion: string, changelogUrlArg?: string) {
// the newData to write