-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new theme, start ripping out auth0, bring in improvements from CurseFund
- Loading branch information
1 parent
afae1c1
commit 9da4bc7
Showing
321 changed files
with
27,807 additions
and
163,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
MONGO_DB_USERNAME=chilicilantro | ||
MONGO_DB_PASSWORD=db!Passw0rd | ||
FONTAWESOME_KEY=XXXXXXXXXXXXXX | ||
GRAPHITE_KEY=XXXXXXXXXXXXXX | ||
|
||
COMPOSE_PROJECT_NAME=chili-and-cilantro_devcontainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm | ||
|
||
# Install MongoDB command line tools - though mongo-database-tools not available on arm64 | ||
ARG MONGO_TOOLS_VERSION=6.0 | ||
RUN . /etc/os-release \ | ||
&& curl -sSL "https://www.mongodb.org/static/pgp/server-${MONGO_TOOLS_VERSION}.asc" | gpg --dearmor > /usr/share/keyrings/mongodb-archive-keyring.gpg \ | ||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg] http://repo.mongodb.org/apt/debian ${VERSION_CODENAME}/mongodb-org/${MONGO_TOOLS_VERSION} main" | tee /etc/apt/sources.list.d/mongodb-org-${MONGO_TOOLS_VERSION}.list \ | ||
&& apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get install -y mongodb-mongosh \ | ||
&& if [ "$(dpkg --print-architecture)" = "amd64" ]; then apt-get install -y mongodb-database-tools; fi \ | ||
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* | ||
|
||
# [Optional] Uncomment this section to install additional OS packages. | ||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
# && apt-get -y install --no-install-recommends <your-package-list-here> | ||
|
||
# [Optional] Uncomment if you want to install an additional version of node using nvm | ||
# ARG EXTRA_NODE_VERSION=10 | ||
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" | ||
|
||
# [Optional] Uncomment if you want to install more global node modules | ||
# RUN su node -c "npm install -g <your-package-list-here>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,57 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node | ||
{ | ||
"name": "Node.js & TypeScript", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
"name": "Node.js & TypeScript", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": {}, | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": {}, | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
"forwardPorts": [27017], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
"forwardPorts": [27017, 3000], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "./setup-nvm.sh && ./fontawesome-npmrc.sh && ./do-yarn.sh && git config --global --add safe.directory /workspace", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "./setup-nvm.sh && ./fontawesome-npmrc.sh && ./do-yarn.sh && git config --global --add safe.directory /workspace", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
"customizations": { | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"mongodb.mongodb-vscode", | ||
"rangav.vscode-thunder-client", | ||
"github.vscode-github-actions", | ||
"eamodio.gitlens", | ||
"ms-azuretools.vscode-docker", | ||
"esbenp.prettier-vscode", | ||
"ms-vscode-remote.remote-containers", | ||
"firsttris.vscode-jest-runner", | ||
"ms-playwright.playwright", | ||
"nrwl.angular-console", | ||
"TabNine.tabnine-vscode", | ||
"GitHub.copilot", | ||
"GitHub.copilot-chat" | ||
], | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/usr/bin/zsh" | ||
}, | ||
}, | ||
}, | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
"customizations": { | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"mongodb.mongodb-vscode", | ||
"rangav.vscode-thunder-client", | ||
"github.vscode-github-actions", | ||
"eamodio.gitlens", | ||
"ms-azuretools.vscode-docker", | ||
"esbenp.prettier-vscode", | ||
"ms-vscode-remote.remote-containers", | ||
"firsttris.vscode-jest-runner", | ||
"ms-playwright.playwright", | ||
"nrwl.angular-console", | ||
"GitHub.copilot", | ||
"GitHub.copilot-chat", | ||
"Codeium.codeium", | ||
"bruno-api-client.bruno", | ||
"GitHub.vscode-pull-request-github", | ||
"MermaidChart.vscode-mermaid-chart", | ||
"Graphite.gti-vscode" | ||
], | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/usr/bin/zsh" | ||
} | ||
} | ||
}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
"remoteUser": "root" | ||
} | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
"remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: 'devcontainers' | ||
directory: '/' | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Clean workspace | ||
run: | | ||
rm -rf node_modules | ||
rm -rf dist | ||
rm -rf .cache | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.x | ||
|
||
- name: Enable Yarn Berry | ||
run: | | ||
corepack enable | ||
yarn set version 4.5.3 | ||
- name: Clear Yarn cache | ||
run: yarn cache clean | ||
|
||
- name: Setup FontAwesome | ||
run: | | ||
./fontawesome-npmrc.sh --ci | ||
env: | ||
FONTAWESOME_KEY: ${{ secrets.FONTAWESOME_KEY }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
./do-yarn.sh --immutable | ||
- uses: nrwl/nx-set-shas@v4 | ||
|
||
# Run lint, test, build, and e2e tasks explicitly | ||
- name: Run Lint | ||
run: npx nx run-many --target=lint --all --skip-nx-cache --parallel=3 | ||
|
||
- name: Run Tests | ||
run: npx nx run-many --target=test --all --skip-nx-cache --parallel=3 | ||
|
||
- name: Run Build | ||
run: npx nx run-many --target=build --all --skip-nx-cache --parallel=3 | ||
|
||
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps | ||
|
||
- name: Run E2E Tests | ||
run: npx nx run-many --target=e2e --all --skip-nx-cache --parallel=3 | ||
env: | ||
CI: true | ||
timeout-minutes: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Qodana | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: # Specify your branches here | ||
- main # The 'main' branch | ||
- dev # The 'dev' branch | ||
- 'releases/*' # The release branches | ||
|
||
jobs: | ||
qodana: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
checks: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit | ||
fetch-depth: 0 # a full history is required for pull request analysis | ||
|
||
- name: Clean workspace | ||
run: | | ||
rm -rf node_modules | ||
rm -rf dist | ||
rm -rf .cache | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.x | ||
|
||
- name: Enable Yarn Berry | ||
run: | | ||
corepack enable | ||
yarn set version 4.5.3 | ||
- name: Setup FontAwesome | ||
run: | | ||
./fontawesome-npmrc.sh --ci | ||
env: | ||
FONTAWESOME_KEY: ${{ secrets.FONTAWESOME_KEY }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
./do-yarn.sh --immutable | ||
- name: 'Qodana Scan' | ||
uses: JetBrains/qodana-action@v2024.2 | ||
with: | ||
pr-mode: false | ||
env: | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_57397973 }} | ||
QODANA_ENDPOINT: 'https://qodana.cloud' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.