* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* docs: reduce abstraction and make it easier to read
* Clearer text, for better readiablity
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* fix old file name and make things clearer
* clear stray string, and improve the readiblty
Co-authored-by: SemBauke <semboot699@gmail.com>
* Link the documentation to sidebar
* Add issue to trouble shooting and simplify npm command
* feat: add issue about 404 page
* Revert removal of optional scope
* fix grammar issues and make it more concise
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* rename contribution file, and move rebase advice
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: SemBauke <semboot699@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix(mod-guide): clarified how to deal with soln.
* Apply suggestions from code review
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* docs: mention clean command in add new lang docs
* Clearer description and structure of the solution
Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
* chore: add section about how the articles are built
* removing factual inaccuracies and clearing up how it works
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
* docs: add issue assignment template
* docs: note about labels
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
* Done Short-Circuiting in docs/index.html file
* Refactor(change var to let and const) the code in docs/index.html file
* Update docs/index.html
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update docs/index.html
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>
* docs: update all-langs.js link
* Update docs/how-to-work-on-localized-client-webapp.md
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
In line 95, `we are humans all around the world` has been changed to `we are humans from all around the world`
In line 122, added a `,` after anything else to separate the sentences
* add MongoDB tip for WSL Users on setup doc
* Combining MongoDB notes on local setup page
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Added extra line to comply with linter
Co-authored-by: Pat Peters <Pat_Peters@gallup.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* add how to give proofreader permissions on crowdin
* Update docs/language-lead-handbook.md
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
* Update moderator-handbook.md
- add a section describing some of the quirks of moderating with a cell-phone
* updated the "dealing with spam" section
* added a "posted solution" section to mod-guide
* minor edits in "dealing with solutions" section of the mod guide
* Update moderator-handbook.md
Added details for contacting support with required details when user is underage. Started a section on dealing with forum flags but it is incomplete until more feedback is received from the mod-team.
* updated the wording for the solutions sections (mod-guide update)
* added dealing with flags draft (mod-guide update)
* Refinements to handling spam section.
* Undo of flag handling section
* chg user id to username in under-13 mod guide section
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* add 4th point to include obvious spammers
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Undo Notable Situations addition
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Update docs/moderator-handbook.md
Co-authored-by: Rex Schrader <rex.schrader@gmail.com>
* Update to min first post typing paragraph
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Update docs/moderator-handbook.md
Co-authored-by: Rex Schrader <rex.schrader@gmail.com>
* re-order underage forum user steps
* removed notable situations
we will work on a future doc for moderator onboarding to mention notable situations
* Fix Linting Problem
Co-authored-by: Taranbeer singh <staranbeer@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Rex Schrader <rex.schrader@gmail.com>
* TYPO: improved words
* Update docs/how-to-open-a-pull-request.md
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
* Update docs/how-to-open-a-pull-request.md
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
* Update docs/how-to-open-a-pull-request.md
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
* Update docs/how-to-open-a-pull-request.md
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* Update docs/how-to-open-a-pull-request.md
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* docs: add challenge-editor instructions
* chore: apply sboonny's review suggestions
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
* fix(docs): Fixed Typo in language lead handbook
* docs: Updated docs language-lead-handbook
updated line 269 making it more concise as suggested.
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Adding cooo-author
Co-authored-by: Hrittik Garain <84389562+hrittik2002@users.noreply.github.com>
* revert the file back
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: Hrittik Garain <84389562+hrittik2002@users.noreply.github.com>
* docs: add how to translate info boxes headers
* Apply suggestions from code review
Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
* docs: add tip at top of translation page to call out article
* docs: add note about maintaining client json files
* docs: add instructions for missing github json files