Commit Graph

1009 Commits

Author SHA1 Message Date
camperbot
3b67c922c7 chore(i18n,docs): processed translations (#50191) 2023-04-26 09:34:33 -07:00
Jake Hathaway
293fb65063 fix: update ChineseTrandational to ChineseTraditional (#50188) 2023-04-26 05:54:13 +02:00
Tom
17c9d98159 chore(client): add warning codeally is down, remove new/beta from superblock titles (#50172)
* feat: remove new and beta from superblocks

* feat: add codeally down warning
2023-04-25 13:53:41 -07:00
camperbot
8ce5b84103 chore(i18n,docs): processed translations (#50178) 2023-04-25 19:03:29 +02:00
Marvin
216e4e8141 docs: fix typos (#50142)
* Fixed Some typos
2023-04-24 18:58:30 +02:00
camperbot
55b6cc83d6 chore(i18n,docs): processed translations (#50164) 2023-04-24 08:59:50 -07:00
Naomi Carrigan
c6db3714ff docs: add snapshot update command (#50123) 2023-04-21 18:53:22 +02:00
camperbot
251e3ef0e0 chore(i18n,docs): processed translations (#50111) 2023-04-20 22:28:03 +09:00
Naomi Carrigan
01ad433bf3 chore(docs): remove inactive mod section (#50104) 2023-04-20 06:52:50 +02:00
Shaun Hamilton
6e1d2fb760 feat(docs): add api test best practices (#50091) 2023-04-19 16:21:28 +02:00
Mrugesh Mohapatra
0de62f69e8 docs: update reply template (#50095) 2023-04-19 15:10:41 +02:00
camperbot
181f954693 chore(i18n,docs): processed translations (#50089) 2023-04-18 08:52:17 -07:00
Gregory J Stathis
16f0c4b7cc docs: Added command to build config dependency (#50071) 2023-04-17 23:17:43 +05:30
camperbot
f6d4a7ec48 chore(i18n,docs): processed translations (#50078)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2023-04-18 00:55:27 +09:00
camperbot
f76a376b20 chore(i18n,docs): processed translations (#50037) 2023-04-12 01:14:00 +05:30
camperbot
c21ca3c6d0 chore(i18n,docs): processed translations (#50030) 2023-04-10 10:40:37 -05:00
Huyen Nguyen
c743f6ca67 fix(docs): format and fix typo (#50029) 2023-04-10 15:24:42 +01:00
Kolade Chris
d614c4173f docs: update pnpm commands, fix typos and grammar (#49990
* fix: improving the docs

* fix: did some more typos and gramos fixes

* fix: fixed typographical and grammatical errors, capitalized headings, made adjustments to the directories to run pnpm run create-project.

* Implemented Shaun's suggested changes

* Removed duplicate lines from my end

* Fixed a few "open-source" and "open source" confusion
2023-04-10 15:15:26 +05:30
Moshe
709b259f9d docs(e2e): typo at how-to-run-cyress-tests (#50027) 2023-04-10 09:28:40 +02:00
camperbot
1558ce16f1 chore(i18n,docs): processed translations (#49992) 2023-04-07 11:05:13 -05:00
camperbot
919bdca177 chore(i18n,docs): processed translations (#49979) 2023-04-06 18:56:02 +02:00
Rafael D. Hernandez
530a80fcc6 docs: remove Atom as a recommended code editor (#49974)
* update: docs - remove atom as recommendation

* Update docs/how-to-setup-freecodecamp-locally.md

LGTM

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

* Update docs/how-to-setup-freecodecamp-locally.md

Agreed  - LGTM

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

* Update docs/how-to-setup-freecodecamp-locally.md

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

---------

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-04-06 15:09:53 +09:00
camperbot
49fe1fa0ac chore(i18n,docs): processed translations (#49957) 2023-04-05 20:18:33 +05:30
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