Skip to content

Commit

Permalink
🆙 Yarn -> V4
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiash98 committed Feb 21, 2024
1 parent 18534a5 commit 9f49b2d
Show file tree
Hide file tree
Showing 6 changed files with 8,364 additions and 5,285 deletions.
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
34 changes: 9 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ First, run the development server:

1. Install nodejs

This will vary depending on your system. Here are a few common systems:
This will vary depending on your system. Here are a few common systems:

Ubuntu: ```sudo apt-get install nodejs```

Fedora ```sudo dnf install nodejs```
Ubuntu: `sudo apt-get install nodejs`

windows: [Download link](https://nodejs.org/dist/v16.15.0/node-v16.15.0-x86.msi)
Fedora `sudo dnf install nodejs`

MacOS: [Download link](https://nodejs.org/dist/v16.15.0/node-v16.15.0.pkg)
windows: [Download link](https://nodejs.org)

MacOS: `brew install node`

2. Install yarn

Expand All @@ -28,6 +28,7 @@ npm i -g yarn

(you get sometoken from someone in the E-service)
from root-folder:

```sh
cd apps/kvarteret.no

Expand All @@ -37,6 +38,7 @@ cd apps/kvarteret.no
```

and:

```sh
cd apps/blifrivillig.no

Expand All @@ -50,27 +52,15 @@ cd apps/blifrivillig.no
Be in the root-folder of the repo and run:

```bash
npm install
yarn install
```

followed by:

```bash
npm run dev
# or
yarn dev
```

5. (Optional)

You might get an error from just the above command. if so, this might help:

```bash
npm install --legacy-peer-deps
```

If this runs successfully, you can repeat step 3.

## Viewing the live localhost server

Open [http://localhost:3000](http://localhost:3000) to access blifrivillig.no and [http://localhost:3001](http://localhost:3001) to access kvarteret.no with your browser to see the result.
Expand All @@ -89,9 +79,3 @@ To learn more about Next.js, take a look at the following resources:
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
],
"devDependencies": {
"turbo": "^1.10.13"
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/dak-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"date-fns-tz": "^1.3.3",
"dotenv": "^10.0.0",
"memory-cache": "^0.2.0",
"pure-cache": "1.0.6",
"plaiceholder": "^2.2.0",
"pure-cache": "1.0.6",
"sharp": "^0.30.7",
"slugify": "^1.6.5"
}
Expand Down
Loading

0 comments on commit 9f49b2d

Please sign in to comment.