{"id":19795402,"url":"https://github.com/itemconsulting/xp-part-finder","last_synced_at":"2026-06-12T17:31:43.165Z","repository":{"id":255001150,"uuid":"781958375","full_name":"ItemConsulting/xp-part-finder","owner":"ItemConsulting","description":"Developer utilities for working with xp components","archived":false,"fork":false,"pushed_at":"2025-02-07T14:37:58.000Z","size":516,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-07T15:32:08.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ItemConsulting.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2024-04-04T11:16:23.000Z","updated_at":"2025-02-07T14:37:01.000Z","dependencies_parsed_at":"2024-08-27T12:45:45.031Z","dependency_job_id":"6efb8f36-fa8e-4154-bd3f-27538b9546be","html_url":"https://github.com/ItemConsulting/xp-part-finder","commit_stats":null,"previous_names":["itemconsulting/xp-part-finder"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItemConsulting%2Fxp-part-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItemConsulting%2Fxp-part-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItemConsulting%2Fxp-part-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItemConsulting%2Fxp-part-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItemConsulting","download_url":"https://codeload.github.com/ItemConsulting/xp-part-finder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241137466,"owners_count":19916144,"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-11-12T07:16:17.150Z","updated_at":"2026-06-12T17:31:43.160Z","avatar_url":"https://github.com/ItemConsulting.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Part Finder\n\nWhen you are working on an XP-part – you might want to know all the content where it's being used. This app provides an\nadmin tool that lists usage of your components (parts, layouts, pages) to help you with testing and configuration.\n\n[![](https://repo.itemtest.no/api/badge/latest/releases/no/item/xp-part-finder)](https://repo.itemtest.no/#/releases/no/item/xp-part-finder)\n\n![Part finder icon](./src/main/resources/application.svg)\n\n## Roles\n\nUsers will be able to interact with the application – and see it on their home screen if they have one of the following\nroles:\n 1. `\"system.admin\"`\n 2. `\"no.item.partfinder.viewer\"` _(given in the Users app)_\n\n## Setup\n\nInstall npm-dependencies\n\n```bash\nnpm install\n```\n\nTo prepare the Storybook-environment you need to create a _.env_ file. The easiest way is to copy over the existing\n_.env_example_ file.\n\n```bash\ncp .env_example .env\n```\n\n\u003e [!IMPORTANT]\n\u003e Make sure `STORYBOOK_SERVER_URL` in _.env_ matches a valid service path in **your** local XP setup.\n\n## Running storybook\n\nTo make development easier and quicker, pages, layouts, parts and Freemarker-macros have Storybook-stories that let us\nget immediate feedback when developing.\n\nTo be able to run Storybook locally you need to install [xp-storybook](https://github.com/ItemConsulting/xp-storybook)\nin your local sandbox. When it is installed, you can run storybook locally with the following command:\n\n```bash\nnpm run storybook\n```\n\n## Building\n\nTo build the project, run the following command\n\n```bash\nenonic project build\n```\n\nYou will find the jar-file at _./build/libs/item.jar_\n\n## Deploying locally\n\nTo deploy to a local sandbox, run the following command\n\n```bash\nenonic project deploy\n```\n\n## Deploy to Maven\n\n```bash\n./gradlew publish -P com.enonic.xp.app.production=true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitemconsulting%2Fxp-part-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitemconsulting%2Fxp-part-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitemconsulting%2Fxp-part-finder/lists"}