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: CONTRIBUTING.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ Below are the steps to guide you through preparing your local environment for th
105
105
To begin, ensure you have network access. Then, you'll need the following
106
106
1.[Git](https://git-scm.com/)
107
107
2.[Node.JS](https://nodejs.org/en/) version >=18 / 20+
108
-
3.[Yarn 1](https://classic.yarnpkg.com/en/)
108
+
3.[Pnpm](https://pnpm.io/)
109
109
4. Alternatively, you can use [Docker](https://www.docker.com/) to build the application.
110
110
111
111
### Local development
@@ -118,15 +118,15 @@ To begin, ensure you have network access. Then, you'll need the following
118
118
```
119
119
2. Install the dependencies
120
120
```bash
121
-
yarn install
121
+
pnpm install
122
122
```
123
123
3. Copy `app/.env.example` to `app/.env` and update the variables
124
124
```bash
125
125
cp app/.env.example app/.env
126
126
```
127
127
4. Start the development server
128
128
```bash
129
-
yarn start:app
129
+
pnpm start:app
130
130
```
131
131
> [!NOTE]\
132
132
> To work on a specific development task, ensure you have the backend setup appropriately and configured properly.
@@ -141,7 +141,7 @@ To begin, ensure you have network access. Then, you'll need the following
141
141
# Stage all changes
142
142
git add .
143
143
# Create a changeset (if changes will affect versioning, like new features or bug fixes)
144
-
yarn changeset
144
+
pnpm changeset
145
145
146
146
# Commit your changes with a message
147
147
git commit -m "some message"
@@ -162,11 +162,11 @@ To begin, ensure you have network access. Then, you'll need the following
162
162
163
163
1. To build the application for production
164
164
```bash
165
-
yarn build
165
+
pnpm build
166
166
```
167
167
2. To locally preview the production build
168
168
```bash
169
-
yarn preview
169
+
pnpm preview
170
170
```
171
171
172
172
### CLI Commands
@@ -176,22 +176,22 @@ This repository contains several scripts and commands for performing tasks. The
176
176
<details>
177
177
<summary>Commands for Running & Building the Web Application</summary>
178
178
179
-
-`yarn start:app` runs the Local Development Server, listening by default on `http://localhost:3000/`.
180
-
-`yarn build` builds the Application in Production mode. The output is by default within the `build` folder.
179
+
-`pnpm start:app` runs the Local Development Server, listening by default on `http://localhost:3000/`.
180
+
-`pnpm build` builds the Application in Production mode. The output is by default within the `build` folder.
181
181
- This is used for Deployments (Preview & Production).
182
-
-`yarn preview` previews the production build of the Application.
183
-
-`yarn generate:type` generates the Typescript types for the API using `openapi-typescript`. The output is by default within the `generated` folder within the `app` workspace.
184
-
-`yarn storybook` starts Storybook's local server for the `@ifrc-go/ui` components library, listening by default on `http://localhost:6006/`.
185
-
-`yarn storybook:build` builds Storybook as a static web application for publishing.
186
-
-`yarn build:ui` builds the `@ifrc-go/ui` components library. To reflect any new changes in the components library we must ensure that it is built beforehand.
182
+
-`pnpm preview` previews the production build of the Application.
183
+
-`pnpm generate:type` generates the Typescript types for the API using `openapi-typescript`. The output is by default within the `generated` folder within the `app` workspace.
184
+
-`pnpm storybook` starts Storybook's local server for the `@ifrc-go/ui` components library, listening by default on `http://localhost:6006/`.
185
+
-`pnpm storybook:build` builds Storybook as a static web application for publishing.
186
+
-`pnpm build:ui` builds the `@ifrc-go/ui` components library. To reflect any new changes in the components library we must ensure that it is built beforehand.
187
187
188
188
</details>
189
189
190
190
<details>
191
191
<summary>Commands for Maintenance Tasks</summary>
192
192
Execute the following commands within the `app` workspace.
193
193
194
-
-`yarn lint` runs the linter for all the css, js, ts, and translation files.
195
-
-`yarn turbo lint:fix` attempts to fix any linting errors for css, js and ts files.
Copy file name to clipboardExpand all lines: collaborating/developing.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ For long-running features, create PRs targeting the specific `project/project-x`
9
9
To begin, ensure you have network access. Then, you'll need the following
10
10
1.[Git](https://git-scm.com/)
11
11
2.[Node.JS](https://nodejs.org/en/) version >=18 / 20+
12
-
3.[Yarn 1](https://classic.yarnpkg.com/en/)
12
+
3.[Pnpm](https://pnpm.io/)
13
13
4. Alternatively, you can use [Docker](https://www.docker.com/) to build the application.
14
14
15
15
### Local development
@@ -22,15 +22,15 @@ To begin, ensure you have network access. Then, you'll need the following
22
22
```
23
23
2. Install the dependencies
24
24
```bash
25
-
yarn install
25
+
pnpm install
26
26
```
27
27
3. Copy `app/.env.example` to `app/.env` and update the variables
28
28
```bash
29
29
cp app/.env.example app/.env
30
30
```
31
31
4. Start the development server
32
32
```bash
33
-
yarn start:app
33
+
pnpm start:app
34
34
```
35
35
> [!NOTE]\
36
36
> To work on a specific development task, ensure you have the backend setup appropriately and configured properly.
@@ -45,7 +45,7 @@ To begin, ensure you have network access. Then, you'll need the following
45
45
# Stage all changes
46
46
git add .
47
47
# Create a changeset (if changes will affect versioning, like new features or bug fixes)
48
-
yarn changeset
48
+
pnpm changeset
49
49
50
50
# Commit your changes with a message
51
51
git commit -m "some message"
@@ -70,24 +70,24 @@ This repository contains several scripts and commands for performing tasks. The
70
70
<details>
71
71
<summary>Commands for Running & Building the Web Application</summary>
72
72
73
-
-`yarn start:app` runs the Local Development Server, listening by default on `http://localhost:3000/`.
74
-
-`yarn build` builds the Application in Production mode. The output is by default within the `build` folder.
73
+
-`pnpm start:app` runs the Local Development Server, listening by default on `http://localhost:3000/`.
74
+
-`pnpm build` builds the Application in Production mode. The output is by default within the `build` folder.
75
75
- This is used for Deployments (Preview & Production).
76
-
-`yarn preview` previews the production build of the Application.
77
-
-`yarn generate:type` generates the Typescript types for the API using `openapi-typescript`. The output is by default within the `generated` folder within the `app` workspace.
78
-
-`yarn storybook` starts Storybook's local server for the `@ifrc-go/ui` components library, listening by default on `http://localhost:6006/`.
79
-
-`yarn build-storybook` builds Storybook as a static web application for publishing.
80
-
-`yarn build:ui` builds the `@ifrc-go/ui` components library. To reflect any new changes in the components library we must ensure that it is built beforehand.
76
+
-`pnpm preview` previews the production build of the Application.
77
+
-`pnpm generate:type` generates the Typescript types for the API using `openapi-typescript`. The output is by default within the `generated` folder within the `app` workspace.
78
+
-`pnpm storybook` starts Storybook's local server for the `@ifrc-go/ui` components library, listening by default on `http://localhost:6006/`.
79
+
-`pnpm build-storybook` builds Storybook as a static web application for publishing.
80
+
-`pnpm build:ui` builds the `@ifrc-go/ui` components library. To reflect any new changes in the components library we must ensure that it is built beforehand.
81
81
</details>
82
82
83
83
<details>
84
84
<summary>Commands for Maintenance Tasks</summary>
85
85
Execute the following commands within the `app` workspace.
86
86
87
-
-`yarn lint` runs the linter for all the css, js, ts, and translation files.
88
-
-`yarn lint:fix` attempts to fix any linting errors for css, js and ts files.
Add your changes, ensuring they follow code style guidelines. Run linting, perform type checking, and ensure the build passes.
22
22
23
-
Run `yarn changeset` in the root of the repository and describe your changes. The resulting files should be committed as they will be used during release.
23
+
Run `pnpm changeset` in the root of the repository and describe your changes. The resulting files should be committed as they will be used during release.
24
24
25
25
>[!NOTE]\
26
26
>Review the [Changesets documentation](./release.md#changesets) and the [versioning guidelines](./release.md#versioning-guidelines-for-ifrc-go-project) for more details.
0 commit comments