{"id":13774895,"url":"https://github.com/TrickyPi/rollup-copy-smartly","last_synced_at":"2025-05-11T07:30:52.537Z","repository":{"id":65491229,"uuid":"458519715","full_name":"TrickyPi/rollup-copy-smartly","owner":"TrickyPi","description":"a rollup copy plugin","archived":false,"fork":false,"pushed_at":"2023-07-18T08:08:59.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T22:20:24.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/TrickyPi.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-12T12:46:56.000Z","updated_at":"2023-03-07T08:01:00.000Z","dependencies_parsed_at":"2024-01-13T12:22:51.957Z","dependency_job_id":"58a8a9fd-a94e-4955-ab63-93c1f1eb858a","html_url":"https://github.com/TrickyPi/rollup-copy-smartly","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"697bc3fc4cbbb03394876ff87dbc7116028ba472"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrickyPi%2Frollup-copy-smartly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrickyPi%2Frollup-copy-smartly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrickyPi%2Frollup-copy-smartly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrickyPi%2Frollup-copy-smartly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrickyPi","download_url":"https://codeload.github.com/TrickyPi/rollup-copy-smartly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253533124,"owners_count":21923365,"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":[],"created_at":"2024-08-03T17:01:31.476Z","updated_at":"2025-05-11T07:30:52.277Z","avatar_url":"https://github.com/TrickyPi.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Output"],"readme":"# rollup-copy-smartly\n\n## Features\n\nSmartly copy files if they are changed, created or deleted.\n\n## Getting Started\n\n```console\nnpm install --save-dev rollup-copy-smartly\n```\n\nor\n\n```console\nyarn add -D rollup-copy-smartly\n```\n\nor\n\n```console\npnpm add -D rollup-copy-smartly\n```\n\n## Use\n\n**rollup.config.js**\n\n```js\nimport copy from \"rollup-copy-smartly\";\nexport default {\n    ...\n    plugins: [\n        copy({\n            src: \"src/\",\n            pattern: /.html$/,\n            dest: \"dist/\",\n        }),\n    ],\n};\n```\n\n## Options\n\n| option  | type                | description                                                                          |\n| ------- | ------------------- | ------------------------------------------------------------------------------------ |\n| src     | string              | Path to dir which will be watching, it could be absolute path or relative path      |\n| pattern | RegExp or RegExp[ ] | Filter specific files                                                                |\n| dest    | string or string[ ] | Paths to dir which are output directorys, it could be absolute path or relative path |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTrickyPi%2Frollup-copy-smartly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTrickyPi%2Frollup-copy-smartly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTrickyPi%2Frollup-copy-smartly/lists"}