Fix it for real now...

This commit is contained in:
Fabian Stamm 2020-10-19 21:14:21 +02:00
parent ddd95889f5
commit 84ea29a210
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "utils", "name": "utils",
"version": "2.2.14", "version": "2.2.15",
"description": "Some helpful utility classes and functions", "description": "Some helpful utility classes and functions",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"contributors": [], "contributors": [],
@ -8,7 +8,7 @@
"files": [ "files": [
"**/*.ts", "**/*.ts",
"**/*.js", "**/*.js",
"readme.md" "esm/readme.md"
], ],
"hooks": { "hooks": {
"prepublish": "pre.js" "prepublish": "pre.js"

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/utils", "name": "@hibas123/utils",
"version": "2.2.14", "version": "2.2.15",
"description": "Different Utilities, that are not worth own packages", "description": "Different Utilities, that are not worth own packages",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

2
pre.js
View File

@ -10,6 +10,6 @@ meta.version = pkg.version || meta.version;
await wjson("meta.json", meta); 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.js", "esm/mod.js");
await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts"); await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts");
await Deno.copyFile("readme.md", "esm/readme.md");