{"id":14973725,"url":"https://github.com/warmthsea/scripts-deploy","last_synced_at":"2025-10-04T13:47:31.910Z","repository":{"id":270705432,"uuid":"830794430","full_name":"warmthsea/scripts-deploy","owner":"warmthsea","description":"Use scripts to quick deploy your build files.","archived":false,"fork":false,"pushed_at":"2024-10-31T07:27:10.000Z","size":477,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T12:49:13.482Z","etag":null,"topics":["build","deploy","dist","fs","react","script","ssh","ssh-client","ssh-server","vue"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/scripts-deploy","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warmthsea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["antfu"],"opencollective":"antfu"}},"created_at":"2024-07-19T02:41:43.000Z","updated_at":"2025-01-06T03:19:51.000Z","dependencies_parsed_at":"2025-01-02T17:15:56.128Z","dependency_job_id":null,"html_url":"https://github.com/warmthsea/scripts-deploy","commit_stats":{"total_commits":38,"total_committers":2,"mean_commits":19.0,"dds":0.07894736842105265,"last_synced_commit":"25e39799ad810a8436218c8af366339978ddb124"},"previous_names":["warmthsea/scripts-deploy"],"tags_count":9,"template":false,"template_full_name":"antfu/starter-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmthsea%2Fscripts-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmthsea%2Fscripts-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmthsea%2Fscripts-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmthsea%2Fscripts-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warmthsea","download_url":"https://codeload.github.com/warmthsea/scripts-deploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238422903,"owners_count":19469653,"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":["build","deploy","dist","fs","react","script","ssh","ssh-client","ssh-server","vue"],"created_at":"2024-09-24T13:49:18.542Z","updated_at":"2025-10-04T13:47:26.882Z","avatar_url":"https://github.com/warmthsea.png","language":"TypeScript","readme":"# scripts-deploy\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\nUse scripts to quick deploy your build files.\n\n## 📦 Install\n\n```shell\npnpm i scripts-deploy -D\n```\n\nIf install warning, you can use `pnpm i scripts-deploy -D --ignore-scripts`\n\n## 🦄 Usage\n\n#### Open cmd, Init `deploy.config` file and write it\n```shell\ndeploy init\n```\n\n![screenshots](https://github.com/user-attachments/assets/2c67bce4-89a2-4ac4-9e0f-919e3b9599cd)\n\n\u003cdetails\u003e\n  \u003csummary\u003eShow examples\u003c/summary\u003e\n\n```js\nexport default {\n  host: '192.xxx',\n  port: 10022,\n  username: 'xxx',\n  password: 'xxx',\n  wwwPath: '/usr/xxx/xxx',\n  rootDir: '/dist',\n  confirm: true\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eShow types\u003c/summary\u003e\n\n```ts\nexport interface ScriptsDeployOption {\n  /** Server host */\n  host: string\n  /** Server post */\n  port: number\n  /** Server login username */\n  username: string\n  /** Server login password */\n  password: string\n  /** Server folder path */\n  wwwPath: string\n  /** Build output folder */\n  rootDir: string\n  /** Confirm execution */\n  confirm?: boolean\n  /** Number of concurrent uploads, Default is 15  */\n  limit?: number\n}\n```\n\n[See file](https://github.com/warmthsea/scripts-deploy/blob/main/src/type.ts)\n\u003c/details\u003e\n\n#### Run\n\n```shell\ndeploy\n```\n\n![screenshots](https://github.com/user-attachments/assets/226db360-02d0-4dc7-a323-bda3683bedf8)\n\n## License\n\n[MIT](./LICENSE) License © 2024-PRESENT [warmthsea](https://github.com/warmthsea)\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/scripts-deploy?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/scripts-deploy\n[npm-downloads-src]: https://img.shields.io/npm/dm/scripts-deploy?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/scripts-deploy\n[license-src]: https://img.shields.io/github/license/warmthsea/scripts-deploy.svg?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[license-href]: https://github.com/warmthsea/scripts-deploy/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[jsdocs-href]: https://www.jsdocs.io/package/scripts-deploy\n","funding_links":["https://github.com/sponsors/antfu","antfu"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmthsea%2Fscripts-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarmthsea%2Fscripts-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmthsea%2Fscripts-deploy/lists"}