From 092d7dbd81f07a308cb15f970f0c910350552bec Mon Sep 17 00:00:00 2001 From: k-egor-smirnov Date: Sat, 13 Jan 2018 17:31:37 +0500 Subject: [PATCH 1/2] fixed filename --- README.md | 2 ++ api-schema/GenerateModels.js | 4 ++-- package.json | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d834dd4..3728f39 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # VK-Next > Библиотека для ВК, основанная на кодогенерации методов API с поддержкой удобного написания ботов +[![npm](https://img.shields.io/npm/v/vk-next.svg)](https://www.npmjs.com/package/vk-next) + ## Roadmap - Поддержка VK API ✅ - Удобный интерфейс для ботов diff --git a/api-schema/GenerateModels.js b/api-schema/GenerateModels.js index 37bf892..2787ef2 100644 --- a/api-schema/GenerateModels.js +++ b/api-schema/GenerateModels.js @@ -87,9 +87,9 @@ function generateDir ( let apiClassCode = codeGenerate.generateAPIClass(categories) - fs.writeFile(path.join(apiPath, '..', 'API.js'), apiClassCode, err => { + fs.writeFile(path.join(apiPath, '..', 'index.js'), apiClassCode, err => { if (err) console.log(err) - console.log('API.js generated') + console.log('index.js generated') }) })() diff --git a/package.json b/package.json index 7088a40..38e8326 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "postinstall": "node ./api-schema/GenerateModels", "test": "echo \"Error: no test specified\" && exit 1" }, + "repository": { + "url": "https://github.com/k-egor-smirnov/vk-next.git" + }, "author": "k.egor.smirnov", "license": "MIT", "dependencies": { From 7155644de5f0a2e924f600e184068bc5c3ec5fa7 Mon Sep 17 00:00:00 2001 From: k-egor-smirnov Date: Sat, 13 Jan 2018 17:32:02 +0500 Subject: [PATCH 2/2] changed version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38e8326..22e0ce5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vk-next", - "version": "0.0.2", + "version": "0.0.3", "description": "VK API Library based on code generation with bots support", "main": "lib/index.js", "scripts": {