{"id":13531236,"url":"https://github.com/TheSharpieOne/plop-pack-remove","last_synced_at":"2025-04-01T19:31:50.158Z","repository":{"id":57325995,"uuid":"421593387","full_name":"TheSharpieOne/plop-pack-remove","owner":"TheSharpieOne","description":"Plop actions that provides the ability to remove individual and globs of files","archived":false,"fork":false,"pushed_at":"2021-10-27T12:59:09.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T16:03:36.387Z","etag":null,"topics":["hacktoberfest","hacktoberfest2021","plop","plop-generators","plop-pack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheSharpieOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-26T21:46:19.000Z","updated_at":"2024-06-06T14:27:22.000Z","dependencies_parsed_at":"2022-09-21T01:50:58.605Z","dependency_job_id":null,"html_url":"https://github.com/TheSharpieOne/plop-pack-remove","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSharpieOne%2Fplop-pack-remove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSharpieOne%2Fplop-pack-remove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSharpieOne%2Fplop-pack-remove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSharpieOne%2Fplop-pack-remove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSharpieOne","download_url":"https://codeload.github.com/TheSharpieOne/plop-pack-remove/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246700464,"owners_count":20819877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","hacktoberfest2021","plop","plop-generators","plop-pack"],"created_at":"2024-08-01T07:01:01.227Z","updated_at":"2025-04-01T19:31:45.133Z","avatar_url":"https://github.com/TheSharpieOne.png","language":"JavaScript","funding_links":[],"categories":["Actions"],"sub_categories":[],"readme":"# plop-pack-remove\n\nA plop action which allows you to remove individual files or many files (via glob pattern).\n\n## Installation\n\n```sh\nyarn add plop-pack-remove\n```\n\n```sh\nnpm i plop-pack-remove\n```\n\n## Example\n\n```javascript\nmodule.exports = function(plop) {\n  // Loads the gitInit action type\n  plop.load('plop-pack-remove');\n\n  plop.setGenerator('generate', {\n    prompts: [\n        // ...\n    ],\n    actions: [{\n      type: 'remove',\n      path: 'some/file/path.txt',\n      force: true // Allow removal of files outside of the project root. Defaults to false\n      skipIfNonexistent: true // When true it will skip if the file does not exist. When false, it will throw an error. Defaults to false\n    },\n    {\n      type: 'removeMany',\n      path: 'some/directory/**',\n    },\n    {\n      type: 'removeMany',\n      path: ['some/directory/**', 'some/other/directory/**', '/tmp/outside/of/project/specific-file.txt'],\n      force: true // Allow removal of files outside of the project root. Defaults to false\n    }];\n  })\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheSharpieOne%2Fplop-pack-remove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheSharpieOne%2Fplop-pack-remove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheSharpieOne%2Fplop-pack-remove/lists"}