Commit Graph

986 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
f1fee66b0f
docs: update the setup guide (#49941)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-04-04 14:25:41 -07:00
camperbot
a9eca7a167
chore(i18n,docs): processed translations (#49900) 2023-03-30 20:56:19 -07:00
Mrugesh Mohapatra
e5590e56d7
chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
camperbot
ae939979fb
chore(i18n,docs): processed translations (#49871) 2023-03-27 20:14:33 +02:00
camperbot
ef216af787
chore(i18n,docs): processed translations (#49822) 2023-03-24 18:06:08 +05:30
Muhammed Mustafa
7761915f39
fix(docs): instruction of how to install local development environment (#49808)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-03-24 01:01:43 +05:30
camperbot
4b8846c934
chore(i18n,docs): processed translations (#49801) 2023-03-23 08:14:49 -05:00
camperbot
b6c727dded
chore(i18n,docs): processed translations (#49783) 2023-03-21 10:14:12 -07:00
camperbot
965660122f
chore(i18n,docs): processed translations (#49769) 2023-03-20 08:55:13 -07:00
camperbot
bca5958201
chore(i18n,docs): processed translations (#49739) 2023-03-18 17:09:12 +05:30
camperbot
ef1115c47e
chore(i18n,docs): processed translations (#49728)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-03-16 12:08:26 -05:00
camperbot
31a03a69ed
chore(i18n,docs): processed translations (#49706) 2023-03-14 10:38:07 -07:00
camperbot
0811e8ca46
chore(i18n,docs): processed translations (#49692) 2023-03-13 11:36:38 -05:00
Oliver Eyton-Williams
fe4de8dfe6
docs(devops): correct build command for updates (#49646) 2023-03-10 09:19:50 +02:00
camperbot
194ea36103
chore(i18n,docs): processed translations (#49639) 2023-03-10 09:16:50 +02:00
Oliver Eyton-Williams
3864d36e35
fix: remove use-node-version + update devops docs (#49636)
* fix: drop use-node-version + explain npmrc config

* docs(devops): go back to installing node directly

* docs(devops): update scripts + cleanup

* docs: add note about updating node

---------

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2023-03-09 14:09:13 +00:00
camperbot
7f5d162ada
chore(i18n,docs): processed translations (#49622) 2023-03-08 19:45:04 +01:00
Shaun Hamilton
e08797c2df
fix(docs): update wsl instructions for pnpm (#49624) 2023-03-08 19:14:54 +05:30
Oliver Eyton-Williams
16dec4ef86
feat: use pnpm to manage pm2 (#49574)
* fix(api): use pnpm to manage pm2

This means that pm2 will get the correct NODE_PATH environment variable.
Also, if we use pnpm to manage node, this ensure that pm2 will use that
node version.

* docs(devops): update api install and update docs

* feat: set node version via npmrc

This means that all scripts (pnpm run ...) will use this node version.
The only way to get other node versions is to invoke `node` directly.

* fix(docs): update api docs for pnpm installation

* feat: use pm2 from root

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-07 14:54:31 -08:00
camperbot
ba0f56e4a7
chore(i18n,docs): processed translations (#49572) 2023-03-06 08:51:28 +01:00
Oliver Eyton-Williams
d7848ae01a
feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
camperbot
39c975ce15
chore(i18n,docs): processed translations (#49558) 2023-03-01 08:24:55 -08:00
camperbot
07ddf58776
chore(i18n,docs): processed translations (#49470) 2023-02-22 09:58:27 -06:00
camperbot
a84f209eca
chore(i18n,docs): processed translations (#49455) 2023-02-21 13:53:00 +01:00
camperbot
f05bf7af9d
chore(i18n,docs): processed translations (#49441) 2023-02-20 08:26:52 -08:00
Mrugesh Mohapatra
9377e085c1
docs: update reload instructions (#49379)
* docs: update reload instructions

* Update docs/devops.md

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update docs/devops.md

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove errant spaces

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-02-19 19:04:05 +05:30
Masaki Mori
6acbade16f
fix(docs): the description of npm run seed in the how-to-setup-freecodecamp-locally page (#49424)
fix: npm run seed description in the docs
2023-02-18 14:20:14 +00:00
camperbot
190ce3fea7
chore(i18n,docs): processed translations (#49390) 2023-02-15 20:33:57 -08:00
camperbot
30eb3e541f
chore(i18n,docs): processed translations (#49051) 2023-01-17 08:43:31 -06:00
Ankit Chaudhary
f59849b495
fix(docs): button padding in mobile device (#49014)
* fix(docs): button padding in mobile device (#48848)

* fix(docs): button margin in mobile device (#48848)
2023-01-17 15:48:50 +05:30
camperbot
58a91ae2e3
chore(i18n,docs): processed translations (#49044) 2023-01-16 21:02:17 +01:00
camperbot
0108ae0b56
chore(i18n,docs): processed translations (#48979) 2023-01-10 07:53:51 -06:00
Ahmad Abdolsaheb
0694ca91aa
feat(docs): update analytics images (#48978) 2023-01-10 08:54:16 +05:30
camperbot
a65077701f
chore(i18n,docs): processed translations (#48975) 2023-01-09 07:41:43 -06:00
imgbot[bot]
3af28d0252
chore: [ImgBot] Optimize images (#48945)
*Total -- 1,429.06kb -> 947.62kb (33.69%)

/docs/images/google-analytics/filter-by-author.png -- 626.72kb -> 408.78kb (34.77%)
/docs/images/google-analytics/search-by-language.png -- 611.57kb -> 400.59kb (34.5%)
/docs/images/crowdin/context.png -- 62.84kb -> 42.79kb (31.91%)
/docs/images/crowdin/pre-translate3.png -- 35.13kb -> 24.50kb (30.24%)
/docs/images/crowdin/pre-translate1.png -- 66.87kb -> 47.69kb (28.68%)
/docs/images/crowdin/pre-translate2.png -- 3.35kb -> 2.60kb (22.18%)
/docs/images/crowdin/tag-hover.png -- 22.59kb -> 20.66kb (8.54%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-01-06 20:21:55 +05:30
camperbot
85182f0ad2
chore(i18n,docs): processed translations (#48946) 2023-01-06 20:21:03 +05:30
Ahmad Abdolsaheb
2a6af266a7
feat(docs): add authors analytics manual (#48901)
* feat(docs):add analytics manual

* Update docs/authors-analytics-manual.md

* Apply suggestions from code review

Co-authored-by: Sem Bauke <semboot699@gmail.com>

* Apply suggestions from code review

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-01-06 09:56:35 +00:00
Ansh Phirani
008c4e2c4c
docs: update command for running a single cypress test (#48932)
* Corrected documentation for running single Cypress test

* docs: update command for running a single cypress test

* Update docs/how-to-add-cypress-tests.md

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

* docs: update command for running a single cypress test

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-01-05 19:18:15 -06:00
camperbot
fa25279a32
chore(i18n,docs): processed translations (#48923) 2023-01-04 19:27:18 +05:30
camperbot
c56212ffd2
chore(i18n,docs): processed translations (#48904) 2023-01-03 07:23:31 -08:00
Taimoor Ahmad
c4b8f73383
docs: fix typos in user token workflow (#48892)
Fixing Typos

Co-authored-by: Taimoor Ahmad <81186933+taimoorahmadl@users.noreply.github.com>
2023-01-02 11:18:51 -06:00
camperbot
26c3ce67d5
chore(i18n,docs): processed translations (#48893) 2023-01-02 11:17:35 -06:00
Shaun Hamilton
378fff4870
fix(docs): formatting and verbosity (#48889)
* fix(docs): formatting and verbosity

* fix: typo "is uses"
2023-01-02 08:45:55 -08:00
camperbot
1a6ce1258c
chore(i18n,docs): processed translations (#48853) 2023-01-02 08:56:28 +01:00
Pratik Bhangire
2d166ae5b4
docs: improved the syntax in the codebase best practice docs (#48885)
* typo-fixed

* Syntax Improved

* Syntax Improved

Co-authored-by: unknown <Pratik Bhangire>
2022-12-31 21:09:30 +02:00
Naomi Carrigan
b768c642fb
docs: clean up some typos (#48867) 2022-12-30 07:47:17 +01:00
Aditya753b
379d18f01d
fix: Typo in codebase best practices (#48843)
fix: Typo in codebase best practices
2022-12-24 21:56:06 +01:00
camperbot
54e11bb271
chore(i18n,docs): processed translations (#48826) 2022-12-23 12:47:17 -06:00
Muhammed Mustafa
e451a54d25
chore: add best practices for styling a component in codebase (#48808)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-12-22 08:48:58 +01:00
Tayyab Zain
e269c36e1f
docs: remove extra line breaks in the FAQ (#48812)
* Documentation Update

* Removed Line Breaks

* Removing All the line breaks in Moderator Section

* Update docs/FAQ.md

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Update docs/FAQ.md

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Discord Chat Moderator

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Forum Moderator

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* GitHub moderator

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Moderator HandBook

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Remove the duplication

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2022-12-21 14:26:14 -06:00