From f625eb8b0762f8f5d35bcd5fc445e52b92d8e77d Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 30 Dec 2016 15:27:06 +0100 Subject: [PATCH] Other: Updated package.json of micro modules to reference types, see #599 --- src/util/aspromise/package.json | 6 ++++-- src/util/base64/package.json | 6 ++++-- src/util/codegen/package.json | 6 ++++-- src/util/eventemitter/package.json | 6 ++++-- src/util/extend/package.json | 6 ++++-- src/util/fetch/package.json | 6 ++++-- src/util/inquire/package.json | 6 ++++-- src/util/path/package.json | 6 ++++-- src/util/pool/package.json | 6 ++++-- src/util/utf8/package.json | 6 ++++-- 10 files changed, 40 insertions(+), 20 deletions(-) diff --git a/src/util/aspromise/package.json b/src/util/aspromise/package.json index 1b49b32a8..57e92b298 100644 --- a/src/util/aspromise/package.json +++ b/src/util/aspromise/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/aspromise", "description": "Returns a promise from a node-style callback function.", - "version": "1.0.4", + "version": "1.0.5", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/base64/package.json b/src/util/base64/package.json index 3c77993f3..fcd1cf8f6 100644 --- a/src/util/base64/package.json +++ b/src/util/base64/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/base64", "description": "A minimal base64 implementation for number arrays.", - "version": "1.0.4", + "version": "1.0.5", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/codegen/package.json b/src/util/codegen/package.json index f42f5a870..f62bcf639 100644 --- a/src/util/codegen/package.json +++ b/src/util/codegen/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/codegen", "description": "A closure for generating functions programmatically.", - "version": "1.0.3", + "version": "1.0.4", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/eventemitter/package.json b/src/util/eventemitter/package.json index e88b33def..ff40404ff 100644 --- a/src/util/eventemitter/package.json +++ b/src/util/eventemitter/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/eventemitter", "description": "A minimal event emitter.", - "version": "1.0.4", + "version": "1.0.5", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/extend/package.json b/src/util/extend/package.json index 7823ce7c0..afcb0b503 100644 --- a/src/util/extend/package.json +++ b/src/util/extend/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/extend", "description": "Provides minimal drop-in inheritance for classes.", - "version": "1.0.1", + "version": "1.0.2", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/fetch/package.json b/src/util/fetch/package.json index 247d74bc8..e7ec9aaf5 100644 --- a/src/util/fetch/package.json +++ b/src/util/fetch/package.json @@ -1,7 +1,7 @@ { "name": "@protobufjs/fetch", "description": "Fetches the contents of a file accross node and browsers.", - "version": "1.0.3", + "version": "1.0.4", "author": "Daniel Wirtz ", "repository": { "type": "git", @@ -11,5 +11,7 @@ "@protobufjs/aspromise": "^1.0.4", "@protobufjs/inquire": "^1.0.1" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/inquire/package.json b/src/util/inquire/package.json index a2e0fae94..27a5bc82b 100644 --- a/src/util/inquire/package.json +++ b/src/util/inquire/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/inquire", "description": "Requires a module only if available and hides the require call from bundlers.", - "version": "1.0.1", + "version": "1.0.2", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/path/package.json b/src/util/path/package.json index 3f3116039..372630343 100644 --- a/src/util/path/package.json +++ b/src/util/path/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/path", "description": "A minimal path module to resolve Unix, Windows and URL paths alike.", - "version": "1.0.1", + "version": "1.0.2", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/pool/package.json b/src/util/pool/package.json index 64f42bfb5..b06c2968e 100644 --- a/src/util/pool/package.json +++ b/src/util/pool/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/pool", "description": "A general purpose buffer pool.", - "version": "1.0.4", + "version": "1.0.5", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file diff --git a/src/util/utf8/package.json b/src/util/utf8/package.json index d49e7926f..3b2f49496 100644 --- a/src/util/utf8/package.json +++ b/src/util/utf8/package.json @@ -1,11 +1,13 @@ { "name": "@protobufjs/utf8", "description": "A minimal UTF8 implementation for number arrays.", - "version": "1.0.5", + "version": "1.0.6", "author": "Daniel Wirtz ", "repository": { "type": "git", "url": "https://github.com/dcodeIO/protobuf.js.git" }, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "main": "index.js", + "types": "index.d.ts" } \ No newline at end of file