From b98e0c95a77763b6f9a68b49dfa787ac3419766c Mon Sep 17 00:00:00 2001 From: Jake Low Date: Fri, 3 Aug 2018 14:03:53 -0700 Subject: [PATCH] Rename storejs -> store to match NPM package (fixes #27825) (#27858) --- types/{storejs => store}/index.d.ts | 4 ++-- types/{storejs/storejs-tests.ts => store/store-tests.ts} | 1 - types/{storejs => store}/tsconfig.json | 4 ++-- types/{storejs => store}/tslint.json | 0 types/{storejs => store}/v1/index.d.ts | 0 .../v1/storejs-tests.ts => store/v1/store-tests.ts} | 1 - types/{storejs => store}/v1/tsconfig.json | 8 ++++---- types/{storejs => store}/v1/tslint.json | 0 8 files changed, 8 insertions(+), 10 deletions(-) rename types/{storejs => store}/index.d.ts (95%) rename types/{storejs/storejs-tests.ts => store/store-tests.ts} (98%) rename types/{storejs => store}/tsconfig.json (94%) rename types/{storejs => store}/tslint.json (100%) rename types/{storejs => store}/v1/index.d.ts (100%) rename types/{storejs/v1/storejs-tests.ts => store/v1/store-tests.ts} (95%) rename types/{storejs => store}/v1/tsconfig.json (86%) rename types/{storejs => store}/v1/tslint.json (100%) diff --git a/types/storejs/index.d.ts b/types/store/index.d.ts similarity index 95% rename from types/storejs/index.d.ts rename to types/store/index.d.ts index 733c0909b7..8f46bb9f59 100644 --- a/types/storejs/index.d.ts +++ b/types/store/index.d.ts @@ -1,5 +1,5 @@ -// Type definitions for store.js 2.0 -// Project: https://github.com/marcuswestin/store.js/ +// Type definitions for store 2.0 +// Project: https://github.com/marcuswestin/store.js#readme // Definitions by: Vincent Bortone // harry0000 // Roman Nuritdinov (Ky6uk) diff --git a/types/storejs/storejs-tests.ts b/types/store/store-tests.ts similarity index 98% rename from types/storejs/storejs-tests.ts rename to types/store/store-tests.ts index 9e631385f5..a992327908 100644 --- a/types/storejs/storejs-tests.ts +++ b/types/store/store-tests.ts @@ -1,4 +1,3 @@ -// Tests for storagejs.d.ts import * as store from 'store'; import * as engine from 'store/src/store-engine'; import * as allPlugin from 'store/plugins/all'; diff --git a/types/storejs/tsconfig.json b/types/store/tsconfig.json similarity index 94% rename from types/storejs/tsconfig.json rename to types/store/tsconfig.json index df8e4268e3..0a81987271 100644 --- a/types/storejs/tsconfig.json +++ b/types/store/tsconfig.json @@ -19,6 +19,6 @@ }, "files": [ "index.d.ts", - "storejs-tests.ts" + "store-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/storejs/tslint.json b/types/store/tslint.json similarity index 100% rename from types/storejs/tslint.json rename to types/store/tslint.json diff --git a/types/storejs/v1/index.d.ts b/types/store/v1/index.d.ts similarity index 100% rename from types/storejs/v1/index.d.ts rename to types/store/v1/index.d.ts diff --git a/types/storejs/v1/storejs-tests.ts b/types/store/v1/store-tests.ts similarity index 95% rename from types/storejs/v1/storejs-tests.ts rename to types/store/v1/store-tests.ts index fd0e0f25c3..8446cb011d 100644 --- a/types/storejs/v1/storejs-tests.ts +++ b/types/store/v1/store-tests.ts @@ -1,4 +1,3 @@ -// Tests for storagejs.d.ts import * as store from 'store'; // Store 'marcus' at 'username' diff --git a/types/storejs/v1/tsconfig.json b/types/store/v1/tsconfig.json similarity index 86% rename from types/storejs/v1/tsconfig.json rename to types/store/v1/tsconfig.json index 2d062255ed..6a2ff37411 100644 --- a/types/storejs/v1/tsconfig.json +++ b/types/store/v1/tsconfig.json @@ -15,8 +15,8 @@ ], "types": [], "paths": { - "storejs": [ - "storejs/v1" + "store": [ + "store/v1" ] }, "noEmit": true, @@ -24,6 +24,6 @@ }, "files": [ "index.d.ts", - "storejs-tests.ts" + "store-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/storejs/v1/tslint.json b/types/store/v1/tslint.json similarity index 100% rename from types/storejs/v1/tslint.json rename to types/store/v1/tslint.json