{"_id":"typescript-declaration-webpack-plugin","_rev":"7-e1acf60786fc709ac4da99563c457091","name":"typescript-declaration-webpack-plugin","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"typescript-declaration-webpack-plugin","version":"0.1.0","description":"Bundels typescript declaration generated by typescript loaded into one ts file.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chitter99/typescript-declaration-webpack-plugin.git"},"keywords":["webpack","typescript","bundler","declaration"],"author":{"name":"chitter99","email":"aaron.schmid@outlook.com","url":"http://aaronschmid.ch"},"license":"GPL-3.0","bugs":{"url":"https://github.com/chitter99/typescript-declaration-webpack-plugin/issues"},"homepage":"https://github.com/chitter99/typescript-declaration-webpack-plugin#readme","gitHead":"3c80561b4ccd17f1a6362bd374b334fc1a315e7d","_id":"typescript-declaration-webpack-plugin@0.1.0","_npmVersion":"5.8.0","_nodeVersion":"9.3.0","_npmUser":{"name":"chitter99","email":"aaron.schmid@outlook.com"},"dist":{"integrity":"sha512-MRyV+IejQJ8Df4OvPTogmK1okx1xNxNRhJMD11bY5sMBzurp+D5TOwCcDe7nWAnEJ8Nd2fY4n7Ohx1g14maCbg==","shasum":"d5944042456cb635252f7458f928feb79050a1fe","tarball":"https://registry.npmjs.org/typescript-declaration-webpack-plugin/-/typescript-declaration-webpack-plugin-0.1.0.tgz","fileCount":3,"unpackedSize":41204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSJDcCRA9TVsSAnZWagAAWvsP/2Xf+04ZOjY/ONJjuaBl\n3BD0PhfOhVJlUQeBQcRh5sNhu7J0sb3BFde4yu/0gfdYKv0WT4fti9+bp25C\nOS+5/GxeopGJTzqgi5X/IjCU3hk8APA8U+pZYwTx1RQC+q38VrzTcmPUOQxE\nTvdqjVFAcV3pBKxsk3VSLreZDdXBWLqaMqAlABJi1z7llYQQSabmE0TI3pWX\ngrdJi2fScKnGYed41FOSbK6rHu+1Q+fcH8Vq/FGQH9Y4ioVgpuuDHwazPm/l\nIt8crZ3pGBCj5vNsPPYkHwuWPacxkn1RvWCKMvWl+vHFoov1lFIGAOiWlXIQ\nm4170t79316gV2YObP73BMrLR19OVQBVrjOQSGjUE9zoVWaOX09p+0sX+j10\nTikrAMnJmP2aDQkaT29exDyPYpoxWmScnld4KluazXyHUWz8EG4jSGazwtcT\nQuAHBhxjg/K0I50sdYl6dd/Aho42lyylsgaYsSKbOWt2Pzj2zKbda1f/Ti6f\n016eD0blbDqnzPrphMXcUjVjeaP1cDiPgj/vcT8YldkFibNvm94HuloyhD+G\npeLfJWrh8Al/89RdmMcnibgDGniPqGOMacX5mdw6imt8vR2Y/l/LmpwXya8K\nB8uK8ZxAj+q2FkzmRdI2OYLKuycnnLUByQvmf9LPDT7iHe1FlrzhYX7mkOHc\nMyu/\r\n=W1Mh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxw/LVyZ1D2gd0QR1CtwU06FYYv+eCmGx6NhlGSSNYvAiEA2wUQwrjZbN2+1Gmh/2URebxcoEsM2Sv9As5Mlm29d3U="}]},"maintainers":[{"name":"chitter99","email":"aaron.schmid@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-declaration-webpack-plugin_0.1.0_1531482332343_0.11869437006458972"},"_hasShrinkwrap":false,"deprecated":"critical bug fixed in v0.2.2"},"0.1.1":{"name":"typescript-declaration-webpack-plugin","version":"0.1.1","description":"Bundels typescript declaration generated by typescript loaded into one ts file.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chitter99/typescript-declaration-webpack-plugin.git"},"keywords":["webpack","typescript","bundler","declaration"],"author":{"name":"chitter99","email":"aaron.schmid@outlook.com","url":"http://aaronschmid.ch"},"license":"GPL-3.0","bugs":{"url":"https://github.com/chitter99/typescript-declaration-webpack-plugin/issues"},"homepage":"https://github.com/chitter99/typescript-declaration-webpack-plugin#readme","gitHead":"70b204a9ba75220dba0eaab037bcee0f699fd744","_id":"typescript-declaration-webpack-plugin@0.1.1","_npmVersion":"5.8.0","_nodeVersion":"9.3.0","_npmUser":{"name":"chitter99","email":"aaron.schmid@outlook.com"},"dist":{"integrity":"sha512-r1PMPojNgLZ29H7gjyh/X6W08PrZMmBSpKHBOYyGUe0LtpLkbFa0U8nrDWvqOD91CEtkngYYWKmB2C5vzG4j3g==","shasum":"1cd76285a04bab05e11827d7f46a1f57be530a2d","tarball":"https://registry.npmjs.org/typescript-declaration-webpack-plugin/-/typescript-declaration-webpack-plugin-0.1.1.tgz","fileCount":4,"unpackedSize":41937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTFhqCRA9TVsSAnZWagAADm8P/jvmcKZSMqt5DFVeTzjb\nxgVGKfI3U37mMQ/xYFn5JQe3VCxKnEn5D9r8MyRA2B1Fn94ccSyTClAlZSas\n3XQqGHCmRyWYXDiBGBL7DBHVOml5UpQC9RlEDDbRDgHNwKi9p2wlM+1xsadq\nalXYtZIgaiwIJzpTiYxV7rvRfPPU4hXj9QMAnOABu5Ru5/bPu5YutxUwiRjD\nu4VdltO+u8zU3xS4hINO3y+VpprZ/TGgsCJ3+ewOWXyuV8T+DfW/bNfRW9xR\n9GbwUDK6l5YX/HEVBiqnBN6s507hd5uWhs3ONW3pRK92EVwl/UhFELD8bcAp\nlSif9gtZoWpkMLnRIJCtDmBH4KBctQMnaTK8N16xskOpTr9woP7wOualggMZ\n4+aRwZlpdxPxQLAENub3Rrh2DEWA8M8y6GK/Iv2PgVeuIJvDnFChen+iVcLS\n3yLXPPPdjfPScb9UA7LAXllNW2aAvZM0RYvpD7IGRT+IbDgyc9Rub8gTzyNN\na9MhLcjmRwL28uLP6/80DhUEFx1FAQnqYXiZpODcnPS0ntenpjfwJASHqKlL\nWG0l4aVfjqMElmYpVjdpPbZpNPmyGf/Noys8l/Hh3oiwU8YtpjLuIUS8knF7\niwREmYhTlPXUaLHAT4wHXM5kYv4qr/YpkylpSDdjEqN6IKKvR2UmJX0ZL281\nnccv\r\n=wUHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaV0LRUo13zrYl9TdjtCELIyRvLENnH1eX7d6oRhc3pAiEApS8u4Equ+lExbovrckF/Z/nPVALjeUtljKHuP97iva4="}]},"maintainers":[{"name":"chitter99","email":"aaron.schmid@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-declaration-webpack-plugin_0.1.1_1531730026204_0.7981370807375625"},"_hasShrinkwrap":false,"deprecated":"critical bug fixed in v0.2.2"},"0.2.2":{"name":"typescript-declaration-webpack-plugin","version":"0.2.2","description":"Bundels typescript declaration generated by typescript loaded into one ts file.","main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/chitter99/typescript-declaration-webpack-plugin.git"},"keywords":["webpack","typescript","bundler","declaration"],"author":{"name":"chitter99","email":"aaron.schmid@outlook.com","url":"http://aaronschmid.ch"},"license":"MIT","bugs":{"url":"https://github.com/chitter99/typescript-declaration-webpack-plugin/issues"},"homepage":"https://github.com/chitter99/typescript-declaration-webpack-plugin#readme","devDependencies":{"typescript":"^4.2.3"},"gitHead":"4978eaddd98d1dc7e5fe202557159dd69e5fad0a","_id":"typescript-declaration-webpack-plugin@0.2.2","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-X+97Ahsq13mlIxg9ECseRFi/TtOu2w55wdqijPT63gpe75zhthwqsdKNcf1CdgFDHWefIIGmR/qpAVRf6dl6WQ==","shasum":"e924fac2acdaa8ad244fd94f3132fa811177c4eb","tarball":"https://registry.npmjs.org/typescript-declaration-webpack-plugin/-/typescript-declaration-webpack-plugin-0.2.2.tgz","fileCount":5,"unpackedSize":10200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSTCTCRA9TVsSAnZWagAAfGcP/0kj4qIb+ou+x/5Tbgd3\n6+5ufCM+yDiMWuxIZ9QJLnLGv7TmzL8UXRP3OAMGe3DQa2JeyL/UEPhMxHzJ\n2VOyU+9v0264CFBJdETccNBtxdF09wYYal1qkavs0v4r/16OugKlL03EQ1yk\nVqf8DAqiQ51MSop9UI5Gs4PijYHSmNemrMOiguBDRRrg/A30NaB7kFo+4F7r\nelsXJemnJ9sNIB191IX/LOhA+qJjk7bq7e0ByzQiXt5cBvG1YlMMN15jlX2T\n80zGvzdV91QnDO2zvmS/8GLTk1+0qPvHWdYR79thxwbM7GFgilZ1wcWSlfoH\nfsJKCNBEZKx4BiHCpTCwo/2s9OLpU3W9J3rT8kwYmKy9j7M3Z6qOIe1UrRXM\nMgEhPioi1KcVwCx+id+P0Vm+XL+MKUhGpVyV61yxo7mUFTSacG89O9Csyt7f\nQlkj4x3PCwdScenydEOMYOUuUaeyYWcIcjD/AHGPY3xmwgQnz9uWJuLzXvAy\nKEuNVkDOYrbeRvn3mD0oJ5MtgD5Fpmst8U9/YziCCB5wp6nDdB/VYkHEsG6c\nGEY56F3yT4IdUWFbdZ0G0N0WzTcPeCpv9JwPLjHl4afL6qysPPannynaHKOp\nOdXF0sBl5w7Khq+vUBquG6rH93wC5ooJ5ddLLAcOLQ9QYY5BVloeVYcaJjLC\nrOim\r\n=eVBq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzD2+MLR0laSbZ9bDSBb8M8kydy/4p7vH01SeR6M2q4wIgHBAt4P3uV6+NuFZ78MD292HPBt4lBqYCok2b2OsJHag="}]},"_npmUser":{"name":"chitter99","email":"aaron.schmid@outlook.com"},"directories":{},"maintainers":[{"name":"chitter99","email":"aaron.schmid@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-declaration-webpack-plugin_0.2.2_1615409299279_0.3358986865999727"},"_hasShrinkwrap":false},"0.3.0":{"name":"typescript-declaration-webpack-plugin","version":"0.3.0","description":"Bundels typescript declaration generated by typescript loaded into one ts file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/chitter99/typescript-declaration-webpack-plugin.git"},"keywords":["webpack","typescript","bundler","declaration"],"author":{"name":"chitter99","email":"dev@clab.rocks"},"license":"MIT","bugs":{"url":"https://github.com/chitter99/typescript-declaration-webpack-plugin/issues"},"homepage":"https://github.com/chitter99/typescript-declaration-webpack-plugin#readme","devDependencies":{"@types/chai":"^4.3.5","@types/chai-spies":"^1.0.3","@types/mocha":"^10.0.1","@types/webpack":"^5.28.1","chai":"^4.3.7","chai-spies":"^1.0.0","mocha":"^10.2.0","ts-loader":"^9.4.4","ts-mocha":"^10.0.0","typescript":"^5.1.6","webpack":"^5.88.2"},"gitHead":"9f84aa8f47508f6673405173f1141b9bd45fd3a0","_id":"typescript-declaration-webpack-plugin@0.3.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-oXW+noTApAkXwfknX98tvaL38Uj9sy52PqN1fa1O4xQeGzt9DJ4VPpf/dhh9ykok1PrTDcMEeEocqfEx0pqHoA==","shasum":"46cbaabcafdc78219dea6ee80dec0a68f647004b","tarball":"https://registry.npmjs.org/typescript-declaration-webpack-plugin/-/typescript-declaration-webpack-plugin-0.3.0.tgz","fileCount":7,"unpackedSize":10064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZS3lbuvb0cqzmKEBTqH/d0zhl5Vg52o5xmrQi24W9dwIhAIrAWDoMuVxHbjzxxwOgynbyx6nfOxJ2CU688vDjmRCk"}]},"_npmUser":{"name":"chitter99","email":"aaron.schmid@outlook.com"},"directories":{},"maintainers":[{"name":"chitter99","email":"aaron.schmid@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-declaration-webpack-plugin_0.3.0_1691052809755_0.8544998458452564"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-13T11:45:32.343Z","0.1.0":"2018-07-13T11:45:32.449Z","modified":"2023-08-03T08:53:30.011Z","0.1.1":"2018-07-16T08:33:46.261Z","0.2.1":"2021-03-10T20:31:33.343Z","0.2.2":"2021-03-10T20:48:19.613Z","0.3.0":"2023-08-03T08:53:29.919Z"},"maintainers":[{"name":"chitter99","email":"aaron.schmid@outlook.com"}],"description":"Bundels typescript declaration generated by typescript loaded into one ts file.","homepage":"https://github.com/chitter99/typescript-declaration-webpack-plugin#readme","keywords":["webpack","typescript","bundler","declaration"],"repository":{"type":"git","url":"git+https://github.com/chitter99/typescript-declaration-webpack-plugin.git"},"author":{"name":"chitter99","email":"dev@clab.rocks"},"bugs":{"url":"https://github.com/chitter99/typescript-declaration-webpack-plugin/issues"},"license":"MIT","readme":"# typescript-declaration-webpack-plugin\n\nBundles typescript declarations generated by typescript loaded into one .d.ts file.\n\n# What it does\n\nThe Plugin looks at all declaration files which the typescript loader generated and merges them into one.\nImport will be sorted so that each module or package is only imported once.\n\n# Setup\n\n## Install via npm\n\nInstall this plugin via npm.\n\n```\nnpm install --dev typescript-declaration-webpack-plugin\n```\n\n## tsconfig.json\n\nEnable declaration generation by adding the following to the compiler options in your tsconfig.json file.\n\n```json\n{\n    \"compilerOptions\": {\n        \"declaration\": true\n    }\n}\n```\n\n## Webpack plugin\n\nAdd the following to your webpack.config.js file.\n\n```javascript\nconst TypescriptDeclarationPlugin = require('typescript-declaration-webpack-plugin');\n//...\nmodule.exports = {\n    //...\n    plugins: [\n        new TypescriptDeclarationPlugin({\n            // Options for TypescriptDeclarationPlugin (see below)\n        }),\n    ],\n    //..\n};\n//...\n```\n\n## Options\n\nThere are several options how you can customize the behavior of this plugin. Just pass these options to the constructor of the TypescriptDeclarationPlugin class.\n\n| Option                   | Descrption                                                                      | Type     |\n| ------------------------ | ------------------------------------------------------------------------------- | -------- |\n| out                      | Name of the bundled file. Per default `index.d.ts`                              | _string_ |\n| removeMergedDeclarations | If true the plugin will remove all merged declaration files. Per default `true` | _bool_   |\n| removeComments           | Remove all comments from declaration files. Per default `true`                  | _bool_   |\n\n# Feature plan\n\n-   Merging declaration map's generated by declarationMap compiler option\n-   Support multiple entry points, only include declarations of imported sources\n-   Multiline comments should remove only the comment part\n","readmeFilename":"README.md"}