-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from department-of-veterans-affairs/chore/6692…
…-add-nvm Chore/6692 add nvm
- Loading branch information
Showing
6 changed files
with
20 additions
and
13 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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
18.18.0 |
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 |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
"lint": "eslint .", | ||
"publish-workspaces": "yarn workspaces foreach --verbose --no-private npm publish --access public --tolerate-republish" | ||
}, | ||
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
"homepage": "https://github.com/department-of-veterans-affairs/va-mobile-library#readme", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
### Prerequisites | ||
|
||
1. Install [Node.js](https://nodejs.org/en) | ||
2. Install [yarn 3.6.1](https://yarnpkg.com/getting-started/install) | ||
2. Install [NVM](https://github.com/nvm-sh/nvm) | ||
3. Install [yarn 3.6.1](https://yarnpkg.com/getting-started/install) | ||
|
||
### Installation | ||
|
||
|
@@ -15,19 +16,21 @@ | |
git clone [email protected]:department-of-veterans-affairs/va-mobile-library.git | ||
``` | ||
|
||
2. Navigate to the components package | ||
2. From the root directory (`va-mobile-library`) run `nvm use`. If you do not have the active Node version installed (you will see an error) run `nvm install v18.18.0` (replacing v.18.18.0 with the version listed in our root-level .nvmrc file), then run `nvm use` to activate it. | ||
|
||
3. Navigate to the components package | ||
|
||
``` | ||
cd va-mobile-library/packages/components | ||
``` | ||
|
||
3. Install dependencies | ||
4. Install dependencies | ||
|
||
``` | ||
yarn | ||
``` | ||
|
||
4. Launch the app | ||
5. Launch the app | ||
|
||
- **Physical Device** | ||
1. Install the Expo Go app from the [App Store](https://itunes.apple.com/app/apple-store/id982107779) or [Play Store](https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=www) | ||
|