-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade yarn and node engines (#3)
* build: upgrade yarn and node engines * build: fix formatting
- Loading branch information
Showing
10 changed files
with
7,301 additions
and
7,847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
19 | ||
20.11.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
|
||
## Overview | ||
|
||
This project contains the application's UI built with React, Vite, TypeScript, and SWC. | ||
This project contains the application's UI built with React, Vite, TypeScript, and SWC. It requires Node.js v20, [nvm](https://github.com/nvm-sh/nvm) (or [n](https://github.com/tj/n)), and Yarn v4. | ||
|
||
## System Requirements | ||
|
||
- [Node 19](https://nodejs.org/en/download) | ||
- [Node 20](https://nodejs.org/en/download) | ||
- [Yarn](https://yarnpkg.com/getting-started/install) | ||
- [GitLeaks](https://github.com/gitleaks/gitleaks/tree/master#installing) | ||
|
||
|
@@ -20,7 +20,22 @@ git clone [email protected]:aquia/template-vite-react` | |
cd template-vite-react | ||
``` | ||
|
||
2. Install dependencies: | ||
2. Setup Node.js and Yarn | ||
|
||
```shell | ||
# using nvm | ||
nvm install --latest-npm | ||
nvm use | ||
# using n | ||
n install auto | ||
n use auto | ||
# enable corepack | ||
corepack enable yarn | ||
``` | ||
|
||
3. Install dependencies: | ||
|
||
```shell | ||
yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ | |
"Sinan Bolel" | ||
], | ||
"type": "module", | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "20.11.0", | ||
"npm": "please-use-yarn", | ||
"yarn": "4.0.2" | ||
}, | ||
"scripts": { | ||
"start": "yarn run dev", | ||
"dev": "vite", | ||
|
@@ -37,12 +43,6 @@ | |
"storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "19", | ||
"npm": "please-use-yarn", | ||
"yarn": "3.6.1" | ||
}, | ||
"dependencies": { | ||
"@emotion/react": "^11.11.1", | ||
"@emotion/styled": "^11.11.0", | ||
|
Oops, something went wrong.