Skip to content

Commit b0c1127

Browse files
authored
docs: remove outdated compile:ts references and clarify Turborepo build (#1154)
1 parent 596a5b4 commit b0c1127

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

src/content/docs/how-to-add-playwright-tests.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,6 @@ npx playwright show-report
292292
cp sample.env .env
293293
```
294294
295-
- Create a config file.
296-
297-
```bash
298-
pnpm run compile:ts
299-
```
300-
301295
- Seed the database
302296
303297
```bash

src/content/docs/how-to-setup-freecodecamp-locally.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ Install the dependencies and set up shared configuration for services.
326326
pnpm install
327327
```
328328

329-
```bash
330-
pnpm run compile:ts
331-
```
332-
333329
### Step 3: Start MongoDB and Seed the Database
334330

335331
Before you can run the application locally, you will need to start a MongoDB Server as a replica set.

src/content/docs/how-to-setup-freecodecamp-mobile-app-locally.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ You only need to follow this section if you're modifying the challenge test runn
431431
4. Install the dependencies for the freeCodeCamp repo:
432432

433433
```bash
434-
pnpm install && pnpm run compile:ts
434+
pnpm install
435435
```
436436

437437
5. Generate the challenge data JSON file:

src/content/docs/language-lead-handbook.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,14 @@ You will want to [build the translated client locally](/how-to-enable-new-langua
174174
<Steps>
175175

176176
1. Update your `.env` file to use your language for `CLIENT_LOCALE` and `CURRICULUM_LOCALE`.
177-
2. Run `pnpm run compile:ts`. This will automatically generate the `trending.json` file for your language under the `/client/i18n/locales/` directory.
177+
178+
2. Run `pnpm -F=client run create:trending`. This will automatically generate the `trending.json` file for your language under the `/client/i18n/locales/` directory.
179+
178180
3. Start the server by running `pnpm run develop:server` in one terminal window.
181+
179182
4. Edit the `trending.json` to contain the titles you want to preview. You may want to convert your `.yaml` file into JSON format with an automatic tool.
180-
5. In another terminal window, run `pnpm run clean:client`, and then `pnpm run develop:client`
183+
184+
5. In another terminal window, run `pnpm run clean:client`, and then `pnpm run develop:client`.
181185

182186
</Steps>
183187

0 commit comments

Comments
 (0)