diff --git a/.npmignore b/.npmignore index b0d87cd..20f6c1c 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ # Ignore development tools and configuration files +src/ node_modules/ .git/ diff --git a/.release/release-notes.txt b/.release/release-notes.txt index 1b2d0ce..4011ad6 100644 --- a/.release/release-notes.txt +++ b/.release/release-notes.txt @@ -1,5 +1,2 @@ ## Changes -- Folder structure changed and types removed from package.json -- changed export pattern -- @types dir for decleration file -- documented the types guidence \ No newline at end of file +- added a missing export `toggleStringInArray` \ No newline at end of file diff --git a/package.json b/package.json index f78fb88..c3e9a0d 100644 --- a/package.json +++ b/package.json @@ -255,6 +255,14 @@ }, "import": "./lib/esm/validateObjectsForKey/index.js", "require": "./lib/cjs/validateObjectsForKey/index.js" + }, + "./toggleStringInArray": { + "types": { + "require": "./@types/toggleStringInArray/index.d.ts", + "default": "./@types/toggleStringInArray/index.d.ts" + }, + "import": "./lib/esm/toggleStringInArray/index.js", + "require": "./lib/cjs/toggleStringInArray/index.js" } }, "keywords": [