├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc.yml ├── .release-it.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── eslint.config.js ├── lib └── index.d.ts ├── package.json ├── src └── index.js └── test ├── fixtures ├── array │ ├── expected │ │ ├── preserved.css │ │ └── preserved.md │ └── src │ │ ├── ignored.json │ │ ├── ignored.md │ │ ├── preserved.css │ │ ├── preserved.md │ │ ├── removed.js │ │ └── removed.yaml ├── object │ ├── expected │ │ ├── preserved.css │ │ └── preserved.md │ └── src │ │ ├── ignored.json │ │ ├── ignored.md │ │ ├── preserved.css │ │ ├── preserved.md │ │ ├── removed.js │ │ └── removed.yaml ├── other │ ├── expected │ │ ├── preserved.css │ │ └── preserved.md │ └── src │ │ ├── preserved.css │ │ └── preserved.md ├── string-tilda │ ├── expected │ │ ├── preserved.css │ │ └── preserved.md │ └── src │ │ ├── preserved.css │ │ ├── preserved.md │ │ └── preserved.md~ └── string │ ├── expected │ ├── preserved.css │ └── preserved.md │ └── src │ ├── ignored.json │ ├── ignored.md │ ├── preserved.css │ └── preserved.md └── index.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/.release-it.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/eslint.config.js -------------------------------------------------------------------------------- /lib/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/lib/index.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/src/index.js -------------------------------------------------------------------------------- /test/fixtures/array/expected/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/expected/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/ignored.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/ignored.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/removed.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/array/src/removed.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/expected/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/expected/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/ignored.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/ignored.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/removed.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/object/src/removed.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/other/expected/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/other/expected/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/other/src/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/other/src/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string-tilda/expected/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string-tilda/expected/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string-tilda/src/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string-tilda/src/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string-tilda/src/preserved.md~: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/expected/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/expected/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/src/ignored.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/src/ignored.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/src/preserved.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/string/src/preserved.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metalsmith/remove/HEAD/test/index.js --------------------------------------------------------------------------------