From 606e1f27ac74e340d7bb011cee26e8fe8ef18ab8 Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Wed, 18 Dec 2019 01:03:58 +0900 Subject: [PATCH] add: "types" to each package.json (#221) fix es #148 --- packages/core/package.json | 1 + packages/exec/package.json | 1 + packages/github/package.json | 1 + packages/io/package.json | 1 + packages/tool-cache/package.json | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/core/package.json b/packages/core/package.json index b66c5bae..e84993c6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,6 +10,7 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/core", "license": "MIT", "main": "lib/core.js", + "types": "lib/core.d.ts", "directories": { "lib": "lib", "test": "__tests__" diff --git a/packages/exec/package.json b/packages/exec/package.json index f283e8ee..42d9148b 100644 --- a/packages/exec/package.json +++ b/packages/exec/package.json @@ -10,6 +10,7 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "license": "MIT", "main": "lib/exec.js", + "types": "lib/exec.d.ts", "directories": { "lib": "lib", "test": "__tests__" diff --git a/packages/github/package.json b/packages/github/package.json index 36aeea4a..e49db4a4 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -9,6 +9,7 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/github", "license": "MIT", "main": "lib/github.js", + "types": "lib/github.d.ts", "directories": { "lib": "lib", "test": "__tests__" diff --git a/packages/io/package.json b/packages/io/package.json index 3214676c..9530062b 100644 --- a/packages/io/package.json +++ b/packages/io/package.json @@ -10,6 +10,7 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/io", "license": "MIT", "main": "lib/io.js", + "types": "lib/io.d.ts", "directories": { "lib": "lib", "test": "__tests__" diff --git a/packages/tool-cache/package.json b/packages/tool-cache/package.json index a9816ae0..84055222 100644 --- a/packages/tool-cache/package.json +++ b/packages/tool-cache/package.json @@ -10,6 +10,7 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "license": "MIT", "main": "lib/tool-cache.js", + "types": "lib/tool-cache.d.ts", "directories": { "lib": "lib", "test": "__tests__"