{"_id":"@dumlj/pretty-assets-tree-webpack-plugin","_rev":"22-7674018ef80df5b4d4e9ffc0c206ca87","name":"@dumlj/pretty-assets-tree-webpack-plugin","dist-tags":{"latest":"2.5.26","alpha":"2.5.27-alpha.1713365667.0"},"versions":{"2.5.18":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.18","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.18","@dumlj/util-lib":"^2.5.18","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.18","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"c1a9e69158795f6bf39e0568d5172e2209591654","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.18","_nodeVersion":"19.9.0","_npmVersion":"lerna/7.4.2/node@v19.9.0+x64 (darwin)","dist":{"integrity":"sha512-oXaHbgxV6U/zTWqJEMRD8KnhwBL++6CSqu25+cwo+A9IjT2sb97qbyIq0OChA1qlijAs1RWZVWvNCVkGqy/tDQ==","shasum":"2055c9b1322fe26aef512a129c83a4214a576de8","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.18.tgz","fileCount":26,"unpackedSize":151409,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLO06VXyiYGZSLTcZrXqXaPb0WSWfwvcpemEUdrF/XhwIhAKYRCijSb6r71INdoXqi9/NS9nASehRrkRuguq8JrbWo"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.18_1701083112442_0.028182708523081024"},"_hasShrinkwrap":false},"2.5.19":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.19","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.19","@dumlj/util-lib":"^2.5.19","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.19","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"9adac30fde84082ebc47d93bb7f09df06477a332","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.19","_nodeVersion":"20.9.0","_npmVersion":"lerna/7.4.2/node@v20.9.0+x64 (darwin)","dist":{"integrity":"sha512-eBsTo7UFrlI8DUWPaCZmPMb97U6Bc6KLeO+gmwRuYf1Wp29Audt3nEGivqBWVcZkJY4aF+E08DIwjfOjdTfcrA==","shasum":"763116b5544994261e4ce48c18c9fac916557ef4","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.19.tgz","fileCount":26,"unpackedSize":151409,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSXoXWqyhGBaK5Oo+0eaG1MBJhwEwEvfmdVDdVFuLwpAiBj/cSnHU46BlZ7RNcKSUDIoHQmkGhFvtiMgilrXutXcQ=="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.19_1701098539681_0.7867505833551198"},"_hasShrinkwrap":false},"2.5.20":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.20","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.20","@dumlj/util-lib":"^2.5.20","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.20","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"154a03398d03870b5ebc0503be02e74081edbf33","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.20","_nodeVersion":"20.9.0","_npmVersion":"lerna/7.4.2/node@v20.9.0+x64 (darwin)","dist":{"integrity":"sha512-AWT/U76BYSLwYphP2FuKw8rVvd7hEnhziu/yfK7tODIumlgOTC6faCvyetlaYv9vG2Bh+lj4a1ZSzN0q3tZfoQ==","shasum":"bbb69c3e3773070736e0e12567179251730e3d45","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.20.tgz","fileCount":26,"unpackedSize":152390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrqLiZHPt68X7bhxFqUuzf5GZtwIfRzFYkHQYyb2NwewIgGM3UIAAJTqdjf0X2BS3rBUlJXofBd2XBYmXNMQjEJ78="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.20_1701107494305_0.5376084909865042"},"_hasShrinkwrap":false},"2.5.21":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.21","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.21","@dumlj/util-lib":"^2.5.21","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.21","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"c20b2c9d93af90e32df4d664a5a0beac8500c6fc","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.21","_nodeVersion":"20.10.0","_npmVersion":"lerna/7.4.2/node@v20.10.0+x64 (darwin)","dist":{"integrity":"sha512-OJ8esPQBW4ok+B54OU5M8LpdYnFIgqj3iqvXxCpej9GdpUG61PtBFVwMYHLWSOUOw/IC/DPWaU4ZxfNEzQLx7A==","shasum":"d9a0440a8e3a276c78e77c8e664bbba6d65b2439","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.21.tgz","fileCount":26,"unpackedSize":67525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyXKBBk9upx+OR3p1oz+gNAYeWsUEQwGMKiMqrpxiThAiBvoh8sPAIAmmiz9nZrFjiT6gIcs7TgI/rYU9HuOiITYg=="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.21_1703951264973_0.4687210139973721"},"_hasShrinkwrap":false},"2.5.22":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.22","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.22","@dumlj/util-lib":"^2.5.22","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"fa2ca754471b403502517b87d9ea463710d7be8c","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.22","_nodeVersion":"20.10.0","_npmVersion":"lerna/7.4.2/node@v20.10.0+x64 (darwin)","dist":{"integrity":"sha512-nXEBqCtDKLjOce3LP6KobFqOU2ipgbqOxOwKYnQ5zm6IUncya0EPrm0gzWOFVrPzpxwgMUgcyj8tHWRf//JslQ==","shasum":"8a723bca043490e3e3629016adfff2d7d044e456","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.22.tgz","fileCount":26,"unpackedSize":153897,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBS8JS0zCc8RsWjZyjgkm/bREHMc9gKSEgOhfzfEKy4DAiBS2T6x51F8628HnOUIOYxaz6MrGdPQedo6YRo8YmJWtg=="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.22_1704161278784_0.8592701500568589"},"_hasShrinkwrap":false},"2.5.23-alpha.1707212485.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707212485.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707212485.0+b7e1bb8","@dumlj/util-lib":"^2.5.23-alpha.1707212485.0+b7e1bb8","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"b7e1bb8e680485d9780bc42ff9f2c8a37a6bd4be","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707212485.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-GSf+kGiTM9vDlo4kO1N4D/zKLdMA0qtscLDLaqIX1OjyLGaUNvBV0F4HEZlUGP6MOFM/7BWenk/qRxXtmirAEg==","shasum":"b924043048a13d42a975def714f46a8228f96fb6","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707212485.0.tgz","fileCount":26,"unpackedSize":66067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH+bvKoFLAycxZkOrnB5QtDN5ZN/ekfvjpcaiOrFeT3gIhAM5451HgjfipRGYNY23U8HS0rQo8GnxKpeGs8DDOS1oM"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707212485.0_1707212494303_0.9085765748590875"},"_hasShrinkwrap":false},"2.5.23-alpha.1707244387.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707244387.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707244387.0+ca48444","@dumlj/util-lib":"^2.5.23-alpha.1707244387.0+ca48444","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"ca484446e6a02af96822c21b0ea1238e06c39b64","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707244387.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-WIXQxL3K0WHxK94UueomnxtgYyTEGRBw+390DLdRP+3KAz0x+EB585jlEDR63boyL0uWqImDxBNSi7kZ58T3tQ==","shasum":"037c2389b82bf411981a2e2d84ad699fcee7168f","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707244387.0.tgz","fileCount":26,"unpackedSize":66085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn4QSEGqnDYLuMsS1mJV8QVyzVmSnB+btb7FDvhoQXrAIgRFnG9oj3IM5BukUuQZT02ZU1O+zD6PzRF0Oknu0ZIBk="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707244387.0_1707244397103_0.6217765825596637"},"_hasShrinkwrap":false},"2.5.23-alpha.1707245597.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707245597.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707245597.0+d35013b","@dumlj/util-lib":"^2.5.23-alpha.1707245597.0+d35013b","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"d35013b9cfc8ec96139b81a8a3935ffa8232753f","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707245597.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-YoIMQ/2xqmo3WJTe9fdb/9m/fMDpeoEf4qySI0omQNGO3qmiEk7jHApJFMwIdcem4vX1Mg2QUGMbge5+Zv0XMw==","shasum":"189e43d747a70a81963b8766f2a68846297c9ed9","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707245597.0.tgz","fileCount":26,"unpackedSize":66085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMnfdedJIBw5XV3xhlLUIehHjHiLaU3Libnl5nm0auLQIhAPTOMSE2CaF7ABUtDs1mWcXmrYOxy1OQJZ0SHGZwppbM"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707245597.0_1707245605097_0.9470942791216839"},"_hasShrinkwrap":false},"2.5.23-alpha.1707248747.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707248747.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707248747.0+450af64","@dumlj/util-lib":"^2.5.23-alpha.1707248747.0+450af64","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"450af64d7f069d6b3d021a85c605debdea05d681","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707248747.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-0cmSnJfslUyuNjPrMNtOfhlX8hGSoI4gn92GRhr4LYFHETqd2ffdMgKZKB2fidnRirEaQgx1vg7bFszJmxKWlA==","shasum":"b5603c62315cdd9e5561e09de43b3c2b93e81242","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707248747.0.tgz","fileCount":26,"unpackedSize":66085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDg347WrZJvYmOtx211tD8fFh68PMwpxBZKMvGmc/22wAiBOdsd6drNg/y7hMFjFdQOezWRdSsC2+glrU682o+IThg=="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707248747.0_1707248757709_0.7372730013496007"},"_hasShrinkwrap":false},"2.5.23-alpha.1707282212.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707282212.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707282212.0+a85496b","@dumlj/util-lib":"^2.5.23-alpha.1707282212.0+a85496b","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"a85496b71b47e3d2013d0fc005cfe20821f29fcf","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707282212.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-tzONK3naM66CzUazs6lVK1dJuMK/w3wmwBfMNjQxNv8C01VxscpNLSba+mOuZoMGj59M0Zhws6v8KAX+mAQqxA==","shasum":"e97f6036012dcc43346611b5eb53e62575284eab","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707282212.0.tgz","fileCount":26,"unpackedSize":66085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClE3KChBheRKWaeI+koUqgajUjK0ogpYzMiU/ysHL8GAIgZWYvopqviFllaNdQNTjg6qVS9OQrgjFNgK5NRoV1bhE="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707282212.0_1707282235295_0.05713118948915974"},"_hasShrinkwrap":false},"2.5.23-alpha.1707287569.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707287569.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707287569.0+2ddb541","@dumlj/util-lib":"^2.5.23-alpha.1707287569.0+2ddb541","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"2ddb541d35d17b1492f4d0e9d47f865967a410d7","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22lodash%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707287569.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-3M4thrKXzBnFTgIGgpz4le7dZM5tMUsyhwiuSZ6XvkFJLZAb8MxPj23beTUswoLu/bEoQd+hgunAHVaXvY6B/A==","shasum":"d000b8bf94e99b80cad41316c26ff761373f2625","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707287569.0.tgz","fileCount":26,"unpackedSize":66085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWfn8rBNu+F6gnV23JjEMCxdcnoP96NEf1BGVAFWbEDAiB7VCwXbBol/Tw2WenrbXHHCFLIgqwFAFf6+WvosyR2eA=="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707287569.0_1707287588330_0.8909015142401133"},"_hasShrinkwrap":false},"2.5.23-alpha.1707383866.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707383866.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707383866.0+f1578f4","@dumlj/util-lib":"^2.5.23-alpha.1707383866.0+f1578f4","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"f1578f4e16d53e28a109aedcc2f041961b3cb691","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707383866.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-e76Sg+VFiuzt8l5GwRkKUW0MYu/jb9uF9Ul4YugGlygUVr7eZBy8AdmVpOEK4aduV2nzWtceeHufsw6fK9+84w==","shasum":"8c22e1298fcb66bbdbc93a19d1d8bc3f4962b8cc","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707383866.0.tgz","fileCount":26,"unpackedSize":66059,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCli+j5ahZJm1AbNXx34EBIhdRCn5BhvVHsW5y3t2ftEQIhAOLW4oJb3RR2kkQFQtICnsFEXXnUe3rc4Xlzj9wnF+0r"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707383866.0_1707383875342_0.6568491140166606"},"_hasShrinkwrap":false},"2.5.23-alpha.1707390213.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707390213.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707390213.0+56aceec","@dumlj/util-lib":"^2.5.23-alpha.1707390213.0+56aceec","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"56aceec67d41741dcc7560598967ff5728c873d5","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707390213.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-bZXBE8s+8v38sCXKLj8Lfi6IqTpcQzrAKOaZIHItPndqWdprXN3EMIxm/p57T0b+VhKpy3K/H30eSkM1JaoqjQ==","shasum":"abd4528b43cd92be24ff3d1adbe9c4e79989380b","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707390213.0.tgz","fileCount":26,"unpackedSize":66059,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBlDUz3LEFmkIS/Lvy5gqaoopjWFGiUwKuhNq0a9umAgIgdO+tO8pD4GM4nInibX7H6vsSoWktzWIqlHLGFVnvwPw="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707390213.0_1707390222821_0.590817374480568"},"_hasShrinkwrap":false},"2.5.23-alpha.1707401616.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23-alpha.1707401616.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23-alpha.1707401616.0+4161b0b","@dumlj/util-lib":"^2.5.23-alpha.1707401616.0+4161b0b","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.22","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"4161b0bc7ab014dc5e104d9d7d38707cfc215c6e","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n[![DeepSource](https://app.deepsource.com/gh/dumlj/dumlj-build.svg/?label=active+issues&show_trend=true&token=YtSFFZ702Q016pjWlBWT30Iy)](https://app.deepsource.com/gh/dumlj/dumlj-build/)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23-alpha.1707401616.0","_nodeVersion":"20.11.0","_npmVersion":"lerna/7.4.2/node@v20.11.0+x64 (linux)","dist":{"integrity":"sha512-ozjEHODIvbpyb/biSFPLjXY2MOg4j3ZOJFBOeyBCc3wg85Q7hfjGc0FyFqssAHb1zsgiMyNXG3WMXZJGN638AA==","shasum":"e543df5a30cfb102b0cf1a03ee900b290f27c966","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23-alpha.1707401616.0.tgz","fileCount":26,"unpackedSize":66071,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrhEu+pt2njhw5dXjGRtwVzSAuXM3vsU9bSOfpxaZOdgIgR7Wj4/1HwT9Exve8QciIqj0D8nG8+s1w0uBPptJM0T4="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23-alpha.1707401616.0_1707401626876_0.6334256641829279"},"_hasShrinkwrap":false},"2.5.23":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.23","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.23","@dumlj/util-lib":"^2.5.23","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.23","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"af7572cfa6c1e5d6ce8c57588b581e881b1ca679","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.23","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-AlhSuYwZf5Yvv5rSxyhIvsuJsymeagNU0tc2c1lxywEmJn3Vs0vbCEODbTGSnIwSCyTQabSflh+EMNe6630j9A==","shasum":"200d9d09ce7b9c785737166a0b03fd4bc972537a","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.23.tgz","fileCount":26,"unpackedSize":65990,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYomSxlEqYo5mTP2r4fl4gXYPVfJEJ81BTf5Cw5zHeKAiEAlBMC+tabo+TZuZXxir5b5BSUETLf+5AvC4XtK7IwjD8="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.23_1708515509669_0.36093892505480896"},"_hasShrinkwrap":false},"2.5.24":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.24","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.24","@dumlj/util-lib":"^2.5.24","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.24","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"4a0c12e0d7d041313b742ec998b6959a03d91c47","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.24","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-XPxfkBLKdpIRchzHST8Gmf7oyYKuqqr0qybeRbJlGJns3rvIFKHQVgYq/9E7299EUwTQrOWsWOUsS0lkqM2VFQ==","shasum":"033384a40c9cfcc59c869e677dbafe52fd0ab2a9","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.24.tgz","fileCount":22,"unpackedSize":64600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDn+7nY+YBFkFFyBwifo0tFMyHPW237yUZ95YQM4eWUQIgVTqrQDumTSrtQPi80KN4gCZXY51PJd1vJi6VlIX3cDM="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.24_1708529632893_0.6013920163751012"},"_hasShrinkwrap":false},"2.5.25":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.25","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.25","@dumlj/util-lib":"^2.5.25","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.25","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"a3154a2e8f7f6166bcb634f7342408514182c8da","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.25","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-GcP9w574d5KJ13SWiH1HhOCBce2OOpMLq86oXVW4o/urzIHI9AASuXge82U3UpzUaPq1rCSZEl5XQrK2eukwyQ==","shasum":"7778b893dca27c328451c97ac391da21296f2c4c","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.25.tgz","fileCount":22,"unpackedSize":64600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2n0u79tGFpmTPmOT0yo9rLEAGg0iY3Q2hxjZviL+KPAiEAoIIfjDsin2UoR1gS+i+XlbfdXrmPZT25TKv+PH2fbMo="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.25_1708542400795_0.25343359014080424"},"_hasShrinkwrap":false},"2.5.25-alpha.1709135426.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.25-alpha.1709135426.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.25-alpha.1709135426.0+cb7cb7c","@dumlj/util-lib":"^2.5.25-alpha.1709135426.0+cb7cb7c","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.24","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"cb7cb7c4e0951fe2a529a30fe3cda12ec48e61bf","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.24%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.24%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.24%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.24%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.24%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.24%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.24%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.24%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.25-alpha.1709135426.0","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-UL7nOJ+mNWji8A5iT6JkNkhdf16FxXlxiWudVVzNJTEzyYDbGPDDqqOX7yyUy3+0wrf3WjUdk4BE8V5mlBt/7w==","shasum":"e2900c0745ce30a7ee4ff7890a1939c232e0d81f","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.25-alpha.1709135426.0.tgz","fileCount":22,"unpackedSize":64681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRrTM1Q/ffRHVFHqpenJuBw5zJzs/WK03gFfJZ/25KLAIgSOsxy0rkQ3JgZ6OlY123d9bcRYFclGSgQJPARMBY1hU="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.25-alpha.1709135426.0_1709135439300_0.11711891774109584"},"_hasShrinkwrap":false},"2.5.26-alpha.1709136968.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.26-alpha.1709136968.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.26-alpha.1709136968.0+d899b28","@dumlj/util-lib":"^2.5.26-alpha.1709136968.0+d899b28","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.25","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"d899b28856e44b509a3673f0a451460da740a250","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.25%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.25%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.25%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.26-alpha.1709136968.0","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-0TqO9ix1rSoWlnkedCqbWHEvFTveO++dC0eHdg5TrMSV9mnqVo9Kkt+aZh26+uq9Hu7B5Ob15p6bB+v8rDb2nA==","shasum":"35673bec5cb1accb9a35bea0f35fa46537c70060","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.26-alpha.1709136968.0.tgz","fileCount":22,"unpackedSize":64681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzPb9hLzXQA4JTLofRld+rvojTfvSO2mWTuPXIYnX+KgIhAM9HVaplHi4IAd0QxEMlsHLT9dsoR7nRiJ971UZQax3A"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.26-alpha.1709136968.0_1709136981758_0.3442380005261847"},"_hasShrinkwrap":false},"2.5.26-alpha.1709143224.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.26-alpha.1709143224.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.26-alpha.1709143224.0+32c922e","@dumlj/util-lib":"^2.5.26-alpha.1709143224.0+32c922e","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.25","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"32c922eb040d9453db697652a8d8970bf6e6ebcd","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.25%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.25%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.25%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.26-alpha.1709143224.0","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-NHYUtQDi+xmiiuCxIUhGvYCSP9bqbtI/p7lQ3DYbSuA1HyyvnMzb4CAtmX4c+brW0PNNvojyZ0R5VEAEloFCnw==","shasum":"501abad370e1ef17a2461100960ca710b66db33a","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.26-alpha.1709143224.0.tgz","fileCount":22,"unpackedSize":64710,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6TOpPOtSvpOZpmgu5ZbxmNw8NIQnq7H7Eft9fGxJ7DgIhAM8PGbRU61KAZ7/nKOgdd/0vvMfjbpmWgMdq3hoZoqpO"}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.26-alpha.1709143224.0_1709143243829_0.7490232142290327"},"_hasShrinkwrap":false},"2.5.26":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.26","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.26","@dumlj/util-lib":"^2.5.26","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.26","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"4bba4616570b695700c00ddce4b912ec590dbcb2","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.26","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-vMhZCK7xAjLyNNm9aWDzDOlZx9RfnKNoRdqxTe01qaJyhhak0Sb/57hqZFnZ8LhRTmJ4gKz0gVd6TsbcWpXEng==","shasum":"1e6fc5ba35bf2fd42d6181b1edc2428f0c3bc8ac","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.26.tgz","fileCount":22,"unpackedSize":64629,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIHPC6XeJRoJkc/7/4salBzt3qI3E0jH/3Vrq40W8kvAIgdB11Il1jkVIXf6YUnKlPT0W6+3BOgGk+Hix/9OlrPTo="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.26_1710125698294_0.6642873913926952"},"_hasShrinkwrap":false},"2.5.26-alpha.1710126501.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.26-alpha.1710126501.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.26-alpha.1710126501.0+49f782b5","@dumlj/util-lib":"^2.5.26-alpha.1710126501.0+49f782b5","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.25","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"49f782b5c85d157595c6d633aab0f65056bb86e6","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.25%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.25%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.25%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.26-alpha.1710126501.0","_nodeVersion":"20.11.1","_npmVersion":"lerna/7.4.2/node@v20.11.1+x64 (linux)","dist":{"integrity":"sha512-tBPXp+2ZQcNtHdrOGs2OTx9FeK8dPyLfZ04E5ZfxgtQTDCI/i0FRUxCiFqSrgDWvKrRcuxEyanVDkhbWMD085w==","shasum":"b67e90d45bac8dc1169e6d74bb089ca938f8b9aa","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.26-alpha.1710126501.0.tgz","fileCount":22,"unpackedSize":64743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcLBxdMlCja0q/uzMJdi6/wtDSyJ5Uan3WQUaIq+WHcAiEAlDsYUpBiBhyiXs2tOTPdNs14u3w4INBok/GFU8gQzrM="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.26-alpha.1710126501.0_1710126513391_0.8060137507894827"},"_hasShrinkwrap":false},"2.5.27-alpha.1713365667.0":{"name":"@dumlj/pretty-assets-tree-webpack-plugin","version":"2.5.27-alpha.1713365667.0","description":"Pretty print assets tree.","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"license":"MIT","main":"./libs/index.js","types":"./libs/index.d.ts","scripts":{"clear":"rimraf ./libs","compile":"tsc --project ./tsconfig.compile.json","dev":"jest --watch","test":"jest"},"dependencies":{"@dumlj/seed-webpack-plugin":"^2.5.27-alpha.1713365667.0+7f7d4701","@dumlj/util-lib":"^2.5.27-alpha.1713365667.0+7f7d4701","chalk":"^4.1.2","micromatch":"^4.0.5","tslib":"^2.5.0"},"devDependencies":{"@dumlj/mock-lib":"^2.5.26","@jest/types":"^29.6.3","@types/webpack":"^5.28.4","ts-jest":"^29.1.1"},"peerDependencies":{"webpack":"5.x"},"publishConfig":{"access":"public"},"gitHead":"7f7d470192cdb8c90f110335bb1d9f5143f009a0","readme":"<!-- This file is dynamically generated. please edit in __readme__ -->\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-4c1.svg)](https://opensource.org/licenses/MIT)&nbsp;\n[![Github Repo](https://img.shields.io/badge/GITHUB-REPO-0?logo=github)](https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/pretty-assets-tree-webpack-plugin)&nbsp;\n[![NPM Version](https://badge.fury.io/js/@dumlj%2Fpretty-assets-tree-webpack-plugin.svg)](https://www.npmjs.com/package/@dumlj/pretty-assets-tree-webpack-plugin)&nbsp;\n[![See Docs](https://img.shields.io/badge/see-docs-blue?logo=dumi&logoColor=green)](https://dumlj.github.io/dumlj-build/docs)&nbsp;\n[![codecov](https://codecov.io/gh/dumlj/dumlj-build/graph/badge.svg?token=ELV5W1H0C0)](https://codecov.io/gh/dumlj/dumlj-build)&nbsp;\n\n# Pretty Assets Tree Webpack Plugin\n\nPretty print assets tree.\n\n## BACKGROUND\n\nWhen writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.\n\n## INSTALL\n\n```bash\n# use npm\n$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use yarn\n$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin\n# use pnpm\n$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D\n```\n\n## USAGE\n\n```ts\nimport { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'\n\nexport default {\n  mode: 'production',\n  plugins: [\n    new PrettyAssetsTreeWebpackPlugin({\n      banner: chalk.whiteBright.bold('The following files are artifacts.'),\n      include: ['**/*.d.ts'],\n    }),\n  ],\n}\n```\n\n## LIVE DEMO\n\nIn the demo, the files is output to the memory, please check the `console`.\nOr remove the comment `writeToDisk: true` from the `MemfsWebpackPlugin` in `webpack.config.ts` and run `yarn build`.\n\n<dumlj-stackblitz height=\"47vw\" src=\"@dumlj-example/pretty-assets-tree-webpack-plugin\"></dumlj-stackblitz>\n\n## INTERNAL DEPENDENCIES\n\n<pre>\n<b>@dumlj/pretty-assets-tree-webpack-plugin</b>\n├─┬ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/seed-webpack-plugin%22,%22version%22:%222.5.25%22,%22description%22:%22Basic%20webpack%20plugins%22,%22isPrivate%22:false,%22location%22:%22@webpack-plugin/seed-webpack-plugin%22,%22dependencies%22:%5B%22@dumlj/feature-updater%22,%22chalk%22,%22tslib%22,%22utility-types%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22@types/webpack%22,%22ts-jest%22,%22webpack%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-updater%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@webpack-plugin/seed-webpack-plugin\">@dumlj/seed-webpack-plugin</a>\n│ ├─┬─ <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.25%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater\">@dumlj/feature-updater</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.25%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib\">@dumlj/shell-lib</a>\n│ │ ├─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n│ │ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n│ └─── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n├── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.25%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib\">@dumlj/util-lib</a>\n└── <a is=\"dumlj-link\" data-project=\"%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.25%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D\" href=\"https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib\">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"homepage":"https://github.com/dumlj/dumlj-build#readme","_id":"@dumlj/pretty-assets-tree-webpack-plugin@2.5.27-alpha.1713365667.0","_nodeVersion":"20.12.2","_npmVersion":"lerna/7.4.2/node@v20.12.2+x64 (linux)","dist":{"integrity":"sha512-lm8bR600hQu+Ej7zYuxCKPqOjOezPHk9RLULAINQo5Y3VRvi9lJCTGMVOVzXwukdcWkXghihuFuaONjQPhkLzQ==","shasum":"3c72c720f5f3bb6d9e24b2e14b3cb35fa8dbd43e","tarball":"https://registry.npmjs.org/@dumlj/pretty-assets-tree-webpack-plugin/-/pretty-assets-tree-webpack-plugin-2.5.27-alpha.1713365667.0.tgz","fileCount":22,"unpackedSize":64743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6Xz9KJmT9Bii0lJXrA85+hUVsP+nIqASAyyIno9r3jAIgQlb0VgvlqRNWgtQ2xkuUHtQeHIZomX538rnNmvMQ8Q0="}]},"_npmUser":{"name":"davidjones","email":"qowera@qq.com"},"directories":{},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-assets-tree-webpack-plugin_2.5.27-alpha.1713365667.0_1713365687561_0.3214368246828525"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-27T11:05:12.370Z","2.5.18":"2023-11-27T11:05:12.646Z","modified":"2024-04-17T14:54:47.956Z","2.5.19":"2023-11-27T15:22:19.838Z","2.5.20":"2023-11-27T17:51:34.524Z","2.5.21":"2023-12-30T15:47:45.820Z","2.5.22":"2024-01-02T02:07:58.981Z","2.5.23-alpha.1707212485.0":"2024-02-06T09:41:34.497Z","2.5.23-alpha.1707244387.0":"2024-02-06T18:33:17.269Z","2.5.23-alpha.1707245597.0":"2024-02-06T18:53:25.292Z","2.5.23-alpha.1707248747.0":"2024-02-06T19:45:57.919Z","2.5.23-alpha.1707282212.0":"2024-02-07T05:03:55.470Z","2.5.23-alpha.1707287569.0":"2024-02-07T06:33:08.474Z","2.5.23-alpha.1707383866.0":"2024-02-08T09:17:55.488Z","2.5.23-alpha.1707390213.0":"2024-02-08T11:03:42.977Z","2.5.23-alpha.1707401616.0":"2024-02-08T14:13:47.020Z","2.5.23":"2024-02-21T11:38:29.866Z","2.5.24":"2024-02-21T15:33:53.129Z","2.5.25":"2024-02-21T19:06:41.086Z","2.5.25-alpha.1709135426.0":"2024-02-28T15:50:39.496Z","2.5.26-alpha.1709136968.0":"2024-02-28T16:16:21.942Z","2.5.26-alpha.1709143224.0":"2024-02-28T18:00:44.041Z","2.5.26":"2024-03-11T02:54:58.517Z","2.5.26-alpha.1710126501.0":"2024-03-11T03:08:33.624Z","2.5.27-alpha.1713365667.0":"2024-04-17T14:54:47.737Z"},"maintainers":[{"name":"cjfff","email":"cjfff1996@gmail.com"},{"name":"sexymee","email":"sexy.is.353016313@gmail.com"},{"name":"davidjones","email":"qowera@qq.com"}],"description":"Pretty print assets tree.","homepage":"https://github.com/dumlj/dumlj-build#readme","repository":{"type":"git","url":"git+https://github.com/dumlj/dumlj-build.git","directory":"@webpack-plugin/pretty-assets-tree-webpack-plugin"},"bugs":{"url":"https://github.com/dumlj/dumlj-build/issues"},"license":"MIT","readme":"","readmeFilename":""}