You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,26 @@ We welcome all contributors to Ignite CLI! This contributing guide will help you
4
4
5
5
Before submitting a pull request, you will want to make sure that your branch meets the following requirements:
6
6
7
-
_Working on Ignite CLI requires Yarn v1._
7
+
\_Working on Ignite CLI requires pnpm 10.9.0
8
8
9
9
- Everything works on iOS/Android
10
-
- Jest tests pass in the root folder (`yarn test`)
10
+
- Jest tests pass in the root folder (`pnpm run test`)
11
11
- New tests are included for any new functionality
12
-
- Code is compliant with our linter and prettier (`yarn format:write && yarn lint`)
12
+
- Code is compliant with our linter and prettier (`pnpm run format:write && pnpm run lint`)
13
13
- Branch has already been [synced with the upstream repo](https://help.github.com/articles/syncing-a-fork/) and any merge-conflicts have been resolved.
14
14
15
15
## Requirements
16
16
17
17
- Node (reasonably recent version)
18
-
-Yarn (while you can use Ignite CLI without Yarn, we require it for contributors)
18
+
-pnpm (while you can use Ignite CLI without pnpm, we require it for contributors)
19
19
20
20
## Getting Started
21
21
22
22
1. Fork and then clone the repo (`git clone [email protected]:<YOURGITHUBUSER>/ignite.git`)
23
23
2. CD into the directory (`cd ignite`)
24
-
3. Uninstall npm version (`yarn global remove ignite-cli`)
25
-
4. Pull all package dependencies (`yarn`)
26
-
5. Link the local binary (`yarn link`)
24
+
3. Uninstall npm version (`pnpm remove ignite-cli -g`)
Copy file name to clipboardExpand all lines: boilerplate/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,19 @@ This is the boilerplate that [Infinite Red](https://infinite.red) uses as a way
10
10
## Getting Started
11
11
12
12
```bash
13
-
yarn
14
-
yarn start
13
+
pnpm run
14
+
pnpm run start
15
15
```
16
16
17
17
To make things work on your local simulator, or on your phone, you need first to [run `eas build`](https://github.com/infinitered/ignite/blob/master/docs/expo/EAS.md). We have many shortcuts on `package.json` to make it easier:
18
18
19
19
```bash
20
-
yarn build:ios:sim # build for ios simulator
21
-
yarn build:ios:device # build for ios device
22
-
yarn build:ios:prod # build for ios device
20
+
pnpm run build:ios:sim # build for ios simulator
21
+
pnpm run build:ios:device # build for ios device
22
+
pnpm run build:ios:prod # build for ios device
23
23
```
24
24
25
-
### `./assets` directory
25
+
### `./assets`
26
26
27
27
This directory is designed to organize and store various assets, making it easy for you to manage and use them in your application. The assets are further categorized into subdirectories, including `icons` and `images`:
Copy file name to clipboardExpand all lines: docs/Guide.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,8 +114,6 @@ The react-native ecosystem moves quickly and sometimes, you may need to patch a
114
114
Igniting an app allows you to choose `npm`, `yarn`, `pnpm`, or `bun` as a package manager, so we don't have configuration in the boilerplate for patches. If you find that you need to patch a library in your app, we recommend the following:
115
115
116
116
-`npm` - use [`patch-package`](https://www.npmjs.com/package/patch-package).
117
-
-`yarn@1` - use [`patch-package`](https://www.npmjs.com/package/patch-package).
118
-
-`yarn@3` - use [`yarn patch` tool](https://v3.yarnpkg.com/features/protocols#patch).
119
117
-`yarn@4` - use [`yarn patch` tool](https://yarnpkg.com/features/patching).
120
118
-`pnpm` - use [`pnpm patch <package>`](https://pnpm.io/cli/patch).
121
119
-`bun` - use [`bun patch <package>`](https://bun.sh/docs/install/patch).
Copy file name to clipboardExpand all lines: docs/QuickStart.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,9 @@ Once the app has been created, change to the project directory and fire it up vi
43
43
# first
44
44
cd MyFirstApp
45
45
# then one of the following
46
-
yarn run android
47
-
yarn run ios
48
-
yarn run web
46
+
pnpm run android
47
+
pnpm run ios
48
+
pnpm run web
49
49
```
50
50
51
51
Android and iOS will take a few moments to build depending on your machine's hardware.
@@ -60,9 +60,9 @@ Ignite uses EAS Build to make the proper binaries for App Store and Google Play
60
60
61
61
```bash
62
62
# Running a local Android build
63
-
yarn run build:android:prod
63
+
pnpm run build:android:prod
64
64
# or a local iOS build
65
-
yarn build:ios:prod
65
+
pnpm build:ios:prod
66
66
```
67
67
68
68
Follow the instructions in your terminal upon running these commands. With a successful build you'll end up with binaries in the AAB or IPA format (depending on which platform you're building for). Those can be submitted to the appropriate app stores.
0 commit comments