{"id":25077846,"url":"https://github.com/nandascott/multistack-package-test","last_synced_at":"2025-09-08T15:36:51.269Z","repository":{"id":40380739,"uuid":"479091813","full_name":"NandaScott/multistack-package-test","owner":"NandaScott","description":"An example of how a single in-house npm package can be shared across multiple apps.","archived":false,"fork":false,"pushed_at":"2022-06-06T21:08:52.000Z","size":1585,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T02:39:53.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NandaScott.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-04-07T17:50:38.000Z","updated_at":"2022-04-08T20:57:15.000Z","dependencies_parsed_at":"2022-08-09T18:51:16.723Z","dependency_job_id":null,"html_url":"https://github.com/NandaScott/multistack-package-test","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/NandaScott%2Fmultistack-package-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NandaScott%2Fmultistack-package-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NandaScott%2Fmultistack-package-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NandaScott%2Fmultistack-package-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NandaScott","download_url":"https://codeload.github.com/NandaScott/multistack-package-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246563376,"owners_count":20797446,"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":"2025-02-07T02:39:56.217Z","updated_at":"2025-04-01T00:48:49.492Z","avatar_url":"https://github.com/NandaScott.png","language":"TypeScript","readme":"# Multistack Package Test\n\nA little test or example about how to create an npm package that can share reusable code across multiple apps or services.\n\n## Brief Overview\n\n- `nds-common` is the custom package that wraps some functionality for forms and exports a few React components.\n- `react-mui-js` is using React with Material UI for styling, written in JS.\n- `react-tailwind-ts` is using React with TailwindCSS for styling, written in TS.\n\n## Installation\n\nThis project uses Docker with docker-compose to build and run all of its parts. After cloning, simply run the following commands:\n\n```bash\n  cd ./react-mui-js \u0026\u0026 npm i\n  cd ./react-tailwind \u0026\u0026 npm i\n  cd ./nds-common \u0026\u0026 npm i\n  docker-compose up -d\n```\n\nand it should build all the correct images and everything for you.\n\n## Development\n\nThere are two ways to go about development with the package.\n\n### The long way\n\nThis method is ideal for smaller bug fixes that can be verified with tests. This works well with development with docker.\n\n```\n1. Update package logic\n2. Build/Test\n3. Publish Patch\n4. Pull patch in app or rebuild images and containers\n5. Test changes\n```\n\n### The short way\n\nThis method is ideal for larger logic changes and the need to quickly test iterations. This works best when running the app\nthrough `npm start`, rather than docker containers. Unless you want to set up sym links to the container, but I didn't feel like\ndoing that.\n\n```\n1. cd into package directory\n2. npm link\n3. cd into app directory\n4. npm link \u003cpackage_name\u003e\n```\n\n## Authors\n\n- [@NandaScott](https://github.com/NandaScott)\n- [@darjama](https://github.com/darjama)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandascott%2Fmultistack-package-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnandascott%2Fmultistack-package-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandascott%2Fmultistack-package-test/lists"}