{"id":18051594,"url":"https://github.com/sinclairnick/next.js","last_synced_at":"2026-03-19T03:03:26.530Z","repository":{"id":118852160,"uuid":"277745450","full_name":"sinclairnick/next.js","owner":"sinclairnick","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-07T07:19:02.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T14:52:52.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/sinclairnick.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}},"created_at":"2020-07-07T07:18:53.000Z","updated_at":"2023-03-07T09:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3a12b1e-a735-4780-b94e-7d1435acbd9e","html_url":"https://github.com/sinclairnick/next.js","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/sinclairnick%2Fnext.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fnext.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fnext.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fnext.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinclairnick","download_url":"https://codeload.github.com/sinclairnick/next.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299850,"owners_count":20916193,"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-10-30T22:50:09.073Z","updated_at":"2026-02-02T15:06:02.008Z","avatar_url":"https://github.com/sinclairnick.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yarn workspaces example\n\nWorkspaces are a new way to setup your package architecture that’s available by default starting from Yarn 1.0. It allows you to setup multiple packages in such a way that you only need to run yarn install once to install all of them in a single pass.\n\nIn this example we have three workspaces:\n\n- **web-app**: A Next.js app\n- **foo**: A normal node module\n- **bar**: A react component, that gets compiled by Next.js (see [packages/web-app/next.config.js](./packages/web-app/next.config.js) for more info)\n\n## Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-yarn-workspaces)\n\n## How to use\n\n### Using `create-next-app`\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:\n\n```bash\nnpx create-next-app --example with-yarn-workspaces with-yarn-workspaces-app\n# or\nyarn create next-app --example with-yarn-workspaces with-yarn-workspaces-app\n```\n\n### Download manually\n\nDownload the example:\n\n```bash\ncurl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-yarn-workspaces\ncd with-yarn-workspaces\n```\n\nInstall it and run:\n\n```bash\nyarn\nyarn dev\n```\n\nDeploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js\u0026utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).\n\n\u003e Choose `packages/web-app` as root directory when deploying.\n\n## Useful Links\n\n- [Documentation](https://yarnpkg.com/en/docs/workspaces)\n- [yarn workspaces](https://yarnpkg.com/lang/en/docs/cli/workspace)\n- [yarn workspace](https://yarnpkg.com/lang/en/docs/cli/workspaces)\n- [next-transpile-modules](https://www.npmjs.com/package/next-transpile-modules)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairnick%2Fnext.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinclairnick%2Fnext.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairnick%2Fnext.js/lists"}