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");