Create General and Pipeline

All Thea's Pantry projects need to be set up to work with VSCode in Gitpod (rather than VSCode devcontainers).

  1. All settings from the .devcontainer/devcontainer.json file should be moved to .vscode/settings.json
  2. All extensions from the .devcontainer/devcontainer.json file should be moved to .vscode/extensions.json .gitpod.yml in the extensions list. See .gitpod.yml vscode extensions documentation.

Refactor commands folder to bin

We are moving all developer commands from commands to bin. This is because bin is the standard directory name on Linux systems, and because command is an actual Linux command and so bash-completion has problems with it when using tab expansion.

  1. Rename commands to bin
  2. Some scripts refer to other scripts. Update all scripts paths to use bin.
  3. Make sure that .gitlab-ci.yaml environment variables for pipeline stages like build, test, and release are using the correct path to those scripts. See https://gitlab.com/LibreFoodPantry/client-solutions/theas-pantry/documentation/-/blob/main/.gitlab-ci.yml?ref_type=heads as an example.

Add AlexJS linter to pipelines

We have decided to use the Alex linter for our documentation.

  1. Add the Alex linter to the pipeline for each project.
  2. Add the Alex linter to the bin/lint.sh script.
  3. Run the linter on all files and make corrections where needed.
Edited by Jacob Elbirt