From 84ea29a210b96f726151fa9474e75f2e717cc901 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Mon, 19 Oct 2020 21:14:21 +0200 Subject: [PATCH] Fix it for real now... --- meta.json | 4 ++-- package.json | 2 +- pre.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta.json b/meta.json index 82c0e8b..9796d53 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "utils", - "version": "2.2.14", + "version": "2.2.15", "description": "Some helpful utility classes and functions", "author": "Fabian Stamm ", "contributors": [], @@ -8,7 +8,7 @@ "files": [ "**/*.ts", "**/*.js", - "readme.md" + "esm/readme.md" ], "hooks": { "prepublish": "pre.js" diff --git a/package.json b/package.json index 26134c6..e4576e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/utils", - "version": "2.2.14", + "version": "2.2.15", "description": "Different Utilities, that are not worth own packages", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/pre.js b/pre.js index bf789dd..cdd111d 100644 --- a/pre.js +++ b/pre.js @@ -10,6 +10,6 @@ meta.version = pkg.version || meta.version; await wjson("meta.json", meta); +await Deno.copyFile("readme.md", "esm/readme.md"); await Deno.copyFile("esm/index.js", "esm/mod.js"); await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts"); -await Deno.copyFile("readme.md", "esm/readme.md");