{"id":17116072,"url":"https://github.com/andersevenrud/osjs-build-parallel-cli","last_synced_at":"2025-07-05T17:38:29.627Z","repository":{"id":57316487,"uuid":"242874639","full_name":"andersevenrud/osjs-build-parallel-cli","owner":"andersevenrud","description":"OS.js Webpack Parallel build CLI module","archived":false,"fork":false,"pushed_at":"2020-02-25T21:51:28.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T03:36:06.988Z","etag":null,"topics":["osjs","osjs-cli"],"latest_commit_sha":null,"homepage":null,"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/andersevenrud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"andersevenrud","patreon":"andersevenrud","open_collective":"osjs","liberapay":"os-js","custom":"https://paypal.me/andersevenrud"}},"created_at":"2020-02-25T00:34:23.000Z","updated_at":"2020-05-26T01:12:52.000Z","dependencies_parsed_at":"2022-08-25T20:31:59.713Z","dependency_job_id":null,"html_url":"https://github.com/andersevenrud/osjs-build-parallel-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fosjs-build-parallel-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fosjs-build-parallel-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fosjs-build-parallel-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fosjs-build-parallel-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersevenrud","download_url":"https://codeload.github.com/andersevenrud/osjs-build-parallel-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207720,"owners_count":20416105,"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":["osjs","osjs-cli"],"created_at":"2024-10-14T17:47:46.364Z","updated_at":"2025-03-24T00:50:59.953Z","avatar_url":"https://github.com/andersevenrud.png","language":"JavaScript","funding_links":["https://github.com/sponsors/andersevenrud","https://patreon.com/andersevenrud","https://opencollective.com/osjs","https://liberapay.com/os-js","https://paypal.me/andersevenrud","https://www.patreon.com/user?u=2978551\u0026ty=h\u0026u=2978551","https://liberapay.com/os-js/"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"OS.js Logo\" src=\"https://raw.githubusercontent.com/os-js/gfx/master/logo-big.png\" /\u003e\n\u003c/p\u003e\n\n[OS.js](https://www.os-js.org/) is an [open-source](https://raw.githubusercontent.com/os-js/OS.js/master/LICENSE) web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.\n\n[![Support](https://img.shields.io/badge/patreon-support-orange.svg)](https://www.patreon.com/user?u=2978551\u0026ty=h\u0026u=2978551)\n[![Support](https://img.shields.io/badge/opencollective-donate-red.svg)](https://opencollective.com/osjs)\n[![Donate](https://img.shields.io/badge/liberapay-donate-yellowgreen.svg)](https://liberapay.com/os-js/)\n[![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://paypal.me/andersevenrud)\n[![Community](https://img.shields.io/badge/join-community-green.svg)](https://community.os-js.org/)\n\n# OS.js Webpack Parallel build CLI module (WIP)\n\nThis CLI extensions supports building distro, packages and custom targets in parallel.\n\n\u003e **Please note that this is a work in progress**. Also note that this is **not** the same as [parallel-webpack](https://github.com/trivago/parallel-webpack) as this spawns independent processes with its own cwd.\n\n## Installation\n\n```bash\nnpm install osjs-build-parallel-cli\n```\n\nThen in your `src/cli/index.js` file:\n\n```javascript\nconst pbCli = require('osjs-build-parallel-cli');\n\n// Add this to your tasks array in exports\nmodule.exports = {\n  tasks: [pbCli]\n};\n```\n\n**Optionally** in your `package.json` file add the following to your script section to make a shortcut (see usage below for more examples on usage):\n\n```json\n{\n  \"scripts\": {\n    \"build:parallel\": \"osjs-cli build:parallel\"\n  }\n}\n```\n\n## Usage\n\n\u003e *Please note that using watch on a larger amount of targets leads to insane memory usage. Use sparingly*\n\n```\n# For help\nnpx osjs-cli build:parallel --help\n\n# Run standard (only distro)\nnpx osjs-cli build:parallel\n\n# Run standard (only distro) with watch\nnpx osjs-cli build:parallel --watch\n\n# Run with packages\nnpx osjs-cli build:parallel --with-packages\n\n# Run with custom paths\nnpx osjs-cli build:parallel --with ~/home/user/osjs-client\n```\n\n## Contribution\n\n* **Sponsor on [Github](https://github.com/sponsors/andersevenrud)**\n* **Become a [Patreon](https://www.patreon.com/user?u=2978551\u0026ty=h\u0026u=2978551)**\n* **Support on [Open Collective](https://opencollective.com/osjs)**\n* [Contribution Guide](https://github.com/os-js/OS.js/blob/master/CONTRIBUTING.md)\n\n## Documentation\n\nSee the [Official Manuals](https://manual.os-js.org/v3/) for articles, tutorials and guides.\n\n## Links\n\n* [Official Chat](https://gitter.im/os-js/OS.js)\n* [Community Forums and Announcements](https://community.os-js.org/)\n* [Homepage](https://os-js.org/)\n* [Twitter](https://twitter.com/osjsorg) ([author](https://twitter.com/andersevenrud))\n* [Google+](https://plus.google.com/b/113399210633478618934/113399210633478618934)\n* [Facebook](https://www.facebook.com/os.js.org)\n* [Docker Hub](https://hub.docker.com/u/osjs/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersevenrud%2Fosjs-build-parallel-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersevenrud%2Fosjs-build-parallel-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersevenrud%2Fosjs-build-parallel-cli/lists"}