diff --git a/CHANGELOG.md b/CHANGELOG.md index 2148eda..55ba7b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 3.1.0 (July 11, 2021) -- Updated NPM scripts to remove types files from build +- Updated declaration file extension so it will not be included in final build ## 3.0.1 (July 11, 2021) diff --git a/package.json b/package.json index 924a75f..959c03c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "clean": "rimraf lib", "prebuild": "npm run qc && npm run clean", "build": "tsc", - "postbuild": "cp README.md lib; rm -r lib/src/types", + "postbuild": "cp README.md lib", "publish:live": "npm run build && npm publish lib --tag latest", "publish:next": "npm run build && npm publish lib --tag next" }, diff --git a/src/types/color.ts b/src/types/color.d.ts similarity index 100% rename from src/types/color.ts rename to src/types/color.d.ts diff --git a/src/types/general.ts b/src/types/general.d.ts similarity index 100% rename from src/types/general.ts rename to src/types/general.d.ts diff --git a/src/types/index.ts b/src/types/index.d.ts similarity index 100% rename from src/types/index.ts rename to src/types/index.d.ts diff --git a/src/types/level.ts b/src/types/level.d.ts similarity index 100% rename from src/types/level.ts rename to src/types/level.d.ts diff --git a/src/types/nsprc.ts b/src/types/nsprc.d.ts similarity index 100% rename from src/types/nsprc.ts rename to src/types/nsprc.d.ts diff --git a/src/types/table.ts b/src/types/table.d.ts similarity index 100% rename from src/types/table.ts rename to src/types/table.d.ts