{"id":15896943,"url":"https://github.com/msutkowski/remix-yarn2-test","last_synced_at":"2025-04-02T19:10:50.393Z","repository":{"id":151677281,"uuid":"381428759","full_name":"msutkowski/remix-yarn2-test","owner":"msutkowski","description":"A quick example of running remix.run with yarn2","archived":false,"fork":false,"pushed_at":"2021-06-29T16:23:44.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T04:04:17.351Z","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/msutkowski.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":"2021-06-29T16:23:01.000Z","updated_at":"2021-06-29T16:23:47.000Z","dependencies_parsed_at":"2023-06-29T21:01:12.894Z","dependency_job_id":null,"html_url":"https://github.com/msutkowski/remix-yarn2-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/msutkowski%2Fremix-yarn2-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fremix-yarn2-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fremix-yarn2-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fremix-yarn2-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msutkowski","download_url":"https://codeload.github.com/msutkowski/remix-yarn2-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875906,"owners_count":20848048,"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-06T09:24:27.991Z","updated_at":"2025-04-02T19:10:50.370Z","avatar_url":"https://github.com/msutkowski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Overview\n\nThis repo uses yarn2 without PnP. You can see the config in `yarnrc.yml`.\n\nYou'll need to run `yarn install` with dotenv cli or prefixing it with the env var.\n\n```sh\ncp env.example .env\n# set your token in your .env\ndotenv yarn install # or you can run: REMIX_AUTH_TOKEN=YOURTOKEN yarn install\nyarn dev\n```\n\n---\n\n# Welcome to Remix!\n\n- [Remix Docs](https://docs.remix.run)\n- [Customer Dashboard](https://remix.run/dashboard)\n\n## Vercel Setup\n\nFirst you'll need the [Vercel CLI](https://vercel.com/docs/cli):\n\n```sh\nnpm i -g vercel\n```\n\nBefore you can run the app in development, you need link this project to a new Vercel project on your account.\n\n**It is important that you use a new project. If you try to link this project to an existing project (like a Next.js site) you will have problems.**\n\n```sh\n$ vercel link\n```\n\nFollow the prompts, and when its done you should be able to get started.\n\n## Development\n\nYou will be running two processes during development when using Vercel as your server.\n\n- Your Vercel server in one\n- The Remix development server in another\n\n```sh\n# in one tab\n$ vercel dev\n\n# in another\n$ npm run dev\n```\n\nOpen up [http://localhost:3000](http://localhost:3000) and you should be ready to go!\n\nIf you'd rather run everything in a single tab, you can look at [concurrently](https://npm.im/concurrently) or similar tools to run both processes in one tab.\n\n## Deploying\n\nYou will need to add your npmrc with your Remix token to your server's environment:\n\nWhen you ran `npm init remix`, we probably created an npmrc in your home directory. Go take a look, it should look something like this:\n\n```\n//npm.remix.run/:_authToken={your-token}\n@remix-run:registry=https://npm.remix.run\n```\n\nIf it looks something like that, then you can run these commands to add your npmrc from the command line:\n\n```bash\n$ vercel env add NPM_RC development \u003c ~/.npmrc\n$ vercel env add NPM_RC preview \u003c ~/.npmrc\n$ vercel env add NPM_RC production \u003c ~/.npmrc\n```\n\nYou can also add this environment variable in your vercel project dashboard.\n\nOnce that's done you can deploy!\n\n```sh\n$ npm run build\n# preview deployment\n$ vercel\n\n# production deployment\n$ vercel --prod\n```\n\n### GitHub Automatic Deployments\n\nFor some reason the GitHub integration doesn't deploy the public folder. We're working with Vercel to figure this out.\n\nFor now, [you can set up a GitHub action with this config](https://gist.github.com/mcansh/91f8effda798b41bb373351fad217070) from our friend @mcansh.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fremix-yarn2-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsutkowski%2Fremix-yarn2-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fremix-yarn2-test/lists"}