{"id":26878097,"url":"https://github.com/fellwork/foreman","last_synced_at":"2025-03-31T12:19:18.637Z","repository":{"id":42450499,"uuid":"472024030","full_name":"fellwork/foreman","owner":"fellwork","description":"Package building monorepo","archived":false,"fork":false,"pushed_at":"2022-04-07T19:50:20.000Z","size":657,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T20:33:42.810Z","etag":null,"topics":["build","esbuild","package","rollup"],"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/fellwork.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":"2022-03-20T15:40:02.000Z","updated_at":"2022-04-05T15:39:51.000Z","dependencies_parsed_at":"2022-08-28T07:00:31.363Z","dependency_job_id":null,"html_url":"https://github.com/fellwork/foreman","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellwork%2Fforeman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellwork%2Fforeman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellwork%2Fforeman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellwork%2Fforeman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fellwork","download_url":"https://codeload.github.com/fellwork/foreman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465256,"owners_count":20781919,"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","esbuild","package","rollup"],"created_at":"2025-03-31T12:19:17.949Z","updated_at":"2025-03-31T12:19:18.628Z","avatar_url":"https://github.com/fellwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Foreman\n\n## Usage\n\n### External package managers\n\n\u003e Do not use package managers to install/remove dependencies.\n\n**Example:**\n\n```sh\n# Bad\n$ pnpm add -D example-lib\n\n# Good\n$ rush add --package example-lib\n```\n\n### Add dependencies\n\n\u003e Use `rush add` in specific project folder\n\n```sh\n# 'example-lib' is the npm package being added\n$ rush add -p example-lib\n# Add dep as a dev dep\n$ rush add -p example-lib --dev\n# Add dep for all packages in repo\n$ rush add -p example-lib --all\n# Specific version with tilde: \"~1.2.3\"\n$ rush add -p example-lib@1.2.3\n# Specific version with caret: \"^1.2.3\"\n$ rush add -p example-lib@1.2.3 --caret\n# Specific versions made consistent thru out repo\n$ rush add -p example-lib@1.2.3 -m\n```\n\n### Update project dependencies\n\n\u003e When to run `rush update`\n\n- After `git pull` or `git clone`\n- Manual **package.json** changes\n  - Adding deps, removing deps, etc.\n- Edits to **common/config** files\n\n**Example:**\n\n```sh\n# Pull the latest changes from Git\n$ git pull\n\n# Install NPM packages as needed\n$ rush update\n```\n\nUse `rush update --full` if you need all deps updated or dependency errors are causing `rush update` failures.\n\n### Rebuild projects\n\n\u003e When to run `rush rebuild`\n\n- After pulling changes\n- After successfully completing a prior `rush build`\n\n**Example:**\n\n```sh\n# Pull the latest changes from Git\n$ git pull\n\n# Install NPM packages as needed\n$ rush update\n\n# Then do a clean rebuild\n$ rush rebuild\n```\n\n### Build projects\n\n\u003e When to run `rush build`\n\n- Ready for build\n- Incremental builds (build changed projects)\n\n### Enable Git Hook\n\n1. Create an **autoinstaller**\n2. Navigate to `common/autoinstallers/rush-example`\n3. Install dependencies\n4. Update **autoinstaller**\n\n**Example:**\n\n```sh\n# Creates 'common/autoinstallers/rush-example/package.json'\n$ rush init-autoinstaller --name rush-example\n# Changes directories\n$ cd common/autoinstallers/rush-example\n# Install deps for `package.json`\n$ pnpm install example-npm-dep\n# Update autoinstaller\n$ rush update-autoinstaller --name rush-example\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellwork%2Fforeman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffellwork%2Fforeman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellwork%2Fforeman/lists"}