{"id":20902604,"url":"https://github.com/jabberbees/neige","last_synced_at":"2026-04-06T08:31:25.869Z","repository":{"id":57309745,"uuid":"391650242","full_name":"jabberbees/neige","owner":"jabberbees","description":"Git dependencies for Node projects, made simple","archived":false,"fork":false,"pushed_at":"2022-04-14T11:21:42.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T20:12:06.715Z","etag":null,"topics":["depen","dependency-manager","git","node","nodejs","npm","npmjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabberbees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-01T14:30:26.000Z","updated_at":"2022-04-14T11:21:44.000Z","dependencies_parsed_at":"2022-09-08T05:21:35.385Z","dependency_job_id":null,"html_url":"https://github.com/jabberbees/neige","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jabberbees/neige","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabberbees%2Fneige","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabberbees%2Fneige/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabberbees%2Fneige/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabberbees%2Fneige/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabberbees","download_url":"https://codeload.github.com/jabberbees/neige/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabberbees%2Fneige/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["depen","dependency-manager","git","node","nodejs","npm","npmjs"],"created_at":"2024-11-18T12:07:34.495Z","updated_at":"2026-04-06T08:31:25.853Z","avatar_url":"https://github.com/jabberbees.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neige\nneige is a command-line tool which facilitates sharing code between Node projects using Git repos as dependencies.\n\nneige emerged from the need to share source code between React projects (shared components, Redux reducers, sagas, i18n files, ...) and not finding any satisfying solution amongst npm packages, Git submodules, ...\n\nThe name neige comes from **N**od**E** G**I**t dependency mana**GE**r. It also means snow in French but that's totally irrelevant.\n\n## How to install\n\n    npm i --save neige\n\n## How to use\n\n```\nnpx neige [--version] [--help] \u003ccommand\u003e [args]\n\nAvailable commands are:\n\ninit    initialises en empty neige.json configuration file\nstatus  provides information on modified, missing, orphan dependency repos\nget     clones missing repos in dependency location\nupdate  updates all repos\ntag     adds the `${name}-${version}` tag to all dependency repos (using name and version fields from package.json)\nuntag   removes the `${name}-${version}` tag from all dependency repos (using name and version fields from package.json)\n```\n\n## Neige's principle\nIt's very simple:\n- describe your Git dependencies in neige.json\n- add your dependencies location (default location is ./src/deps) to .gitignore\n- use neige cli to initialise, update and manage your dependencies\n\nneige assumes the following source tree:\n```\n    \u003cproject root folder\u003e\n        + src/\n            deps/\n                \u003chere are placed Git repos managed by neige\u003e\n            \u003csource files\u003e\n        + package.json\n        + neige.json\n```\n\n## neige.json\nneige.json is Neige's configuration file (JSON).\n\nThe following fields are supported:\n  * root: location where dependency repos are to be cloned. Defaults to ./src/deps\n  * pathConvention: specifies path conventions, values supported are\n    * posix\n    * win32\n  * deps: JSON object describing repo dependencies, using one field per dependency  \n\nExample:\n```\n{\n  \"root\": \"./src/deps\",\n  \"pathConvention\": \"posix\",\n  \"deps\": {\n    \"lib-one\": {\n      \"url\": \"https://github.com/fakeorg/lib1\",\n      \"branch\": \"master\"\n    },\n    \"lib-two\": {\n      \"url\": \"https://github.com/fakeorg/lib2\",\n      \"tag\": \"v3.14\"\n    },\n}\n```\n\nThis would lead to the following source tree:\n```\n    \u003cproject root folder\u003e\n        + src/\n            deps/\n                lib-one/\n                    \u003ccontent cloned from https://github.com/fakeorg/lib1\u003e\n                lib-two/\n                    \u003ccontent cloned from https://github.com/fakeorg/lib2\u003e\n            \u003csource files\u003e\n        + package.json\n        + neige.json\n```\n\n## Neige integration with npm\nWe recommend to add the following scripts in package.json\n\n```\n  ...\n  \"scripts\": {\n    ...\n    \"get-deps\": \"npx neige get\",\n    \"update-deps\": \"npx neige update\",\n  }\n```\n\nand have them executed from postinstall:\n\n```\n  ...\n  \"scripts\": {\n    ...\n    \"postinstall\": \"npm run get-deps \u0026\u0026 npm run update-deps\",\n    ...\n  }\n```\n\nThis way, neige dependencies will be fetched and updated automatically each time you execute:\n```\nnpm install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabberbees%2Fneige","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabberbees%2Fneige","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabberbees%2Fneige/lists"}