{"id":26646049,"url":"https://github.com/hedmor/strapi-remove-guard","last_synced_at":"2026-02-24T01:08:01.896Z","repository":{"id":282867629,"uuid":"949917772","full_name":"Hedmor/strapi-remove-guard","owner":"Hedmor","description":"A simple utility for detecting removed fields in Strapi models.","archived":false,"fork":false,"pushed_at":"2025-03-22T03:58:01.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T20:02:33.809Z","etag":null,"topics":["breaking-changes","cli","cms","git","strapi","utility"],"latest_commit_sha":null,"homepage":"","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/Hedmor.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-17T10:49:02.000Z","updated_at":"2025-03-22T03:57:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d7b6191-f10b-4213-bded-98bf611da9e9","html_url":"https://github.com/Hedmor/strapi-remove-guard","commit_stats":null,"previous_names":["hedmor/strapi-remove-guard"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Hedmor/strapi-remove-guard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hedmor%2Fstrapi-remove-guard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hedmor%2Fstrapi-remove-guard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hedmor%2Fstrapi-remove-guard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hedmor%2Fstrapi-remove-guard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hedmor","download_url":"https://codeload.github.com/Hedmor/strapi-remove-guard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hedmor%2Fstrapi-remove-guard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29765743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T21:02:23.375Z","status":"ssl_error","status_checked_at":"2026-02-23T20:58:31.539Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["breaking-changes","cli","cms","git","strapi","utility"],"created_at":"2025-03-24T22:56:16.257Z","updated_at":"2026-02-24T01:08:01.890Z","avatar_url":"https://github.com/Hedmor.png","language":"TypeScript","readme":"# EN\n\n## Problem Description\n\nWhen developing multiple features in parallel in a single Strapi CMS (v4) project, situations often arise where changes in data models affect the stability and compatibility of the system. Working in a shared environment can lead to conflicts and application malfunctions, especially when breaking changes occur.\n\n## Solution\n\nThe `strapi-remove-guard` package was created to prevent incompatible changes from being made to Strapi data models. It analyzes the current changes in models and components, comparing them with the target branch (default is `develop`), and prevents the removal of fields, ensuring system stability and compatibility during parallel development.\n\n## Installation\n\nThe `strapi-remove-guard` package is available for installation via npm. To install it, run the following command:\n\n```bash\nnpm install strapi-remove-guard\n```\n\n## Usage\n\nAfter installing the package, you can use it to check for changes in data models. Run the following command:\n\n```bash\nnpm run sr-guard --branch \u003cname-branch\u003e\n```\n\n**if COREPACK**\n```bash\nyarn sr-guard --branch \u003cname-branch\u003e\n```\n\n```bash\npnpm sr-guard --branch \u003cname-branch\u003e\n```\n\nwhere:\n--branch (or -b) — the name of the branch to compare the current changes with. If not specified, the default branch develop will be used.\n\n# RU\n\n## Описание проблемы\n\nПри параллельной разработке нескольких функциональных возможностей в одном проекте Strapi CMS (v4) часто возникают ситуации, когда изменения в моделях данных влияют на стабильность и совместимость системы. Работа в едином окружении может привести к конфликтам и нарушению работы приложения, особенно при наличии breaking changes.\n\n## Решение\n\nПакет strapi-remove-guard был разработан для предотвращения внесения несовместимых изменений в модели данных Strapi. Он анализирует текущие изменения в моделях и компонентах, сравнивая их с целевой веткой (по умолчанию develop), и предотвращает удаление полей, что обеспечивает стабильность и совместимость системы при параллельной разработке.\n\n## Установка пакета\n\nПакет strapi-remove-guard доступен для установки через npm. Для его установки выполните следующую команду:\n\n```bash\nnpm install strapi-remove-guard\n```\n\n## Использование\n\nПосле установки пакета вы можете использовать его для проверки изменений в моделях данных. Для этого выполните команду:\n\n```bash\nnpm run sr-guard --branch \u003cимя-ветки\u003e\n```\n**Если COREPACK**\n```bash\nyarn sr-guard --branch \u003cимя-ветки\u003e\n```\n\n```bash\npnpm sr-guard --branch \u003cимя-ветки\u003e\n```\n\nгде:\n--branch (или -b) — имя ветки, с которой необходимо сравнить текущие изменения. Если не указано, по умолчанию используется ветка develop.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedmor%2Fstrapi-remove-guard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhedmor%2Fstrapi-remove-guard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedmor%2Fstrapi-remove-guard/lists"}