Skip to content

Commit

Permalink
yarn upgrade, wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMulein committed Dec 11, 2024
1 parent 324d52a commit 3e3f12a
Show file tree
Hide file tree
Showing 107 changed files with 22,232 additions and 162,979 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
"GitHub.copilot",
"GitHub.copilot-chat",
"Codeium.codeium",
"bruno-api-client.bruno"
"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": {
Expand Down
14 changes: 12 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
"root": true,
"ignorePatterns": ["**/*.test.ts", "**/build/**", "**/dist/**"],
"plugins": ["@nx", "prettier"],
"extends": ["plugin:@nx/typescript"],
"parserOptions": {
"project": ["./tsconfig.base.json", "./*/tsconfig.json"]
},
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error"
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down Expand Up @@ -30,14 +38,16 @@
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": "error"
"prettier/prettier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": "error"
"prettier/prettier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error"
}
},
{
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- dev
pull_request:

permissions:
Expand All @@ -26,21 +27,25 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22.9.0
cache: 'yarn'
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
./fontawesome-npmrc.sh --ci
env:
FONTAWESOME_KEY: ${{ secrets.FONTAWESOME_KEY }}

- name: Install dependencies
run: |
./do-yarn.sh --frozen-lockfile --ignore-scripts
./do-yarn.sh --immutable
- uses: nrwl/nx-set-shas@v4

Expand Down
36 changes: 32 additions & 4 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches: # Specify your branches here
- main # The 'main' branch
- dev # The 'dev' branch
- 'releases/*' # The release branches

jobs:
Expand All @@ -15,14 +16,41 @@ jobs:
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
- 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
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'
QODANA_ENDPOINT: 'https://qodana.cloud'
10 changes: 9 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint",
"bruno-api-client.bruno"
"bruno-api-client.bruno",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"mongodb.mongodb-vscode",
"ms-playwright.playwright",
"mermaidchart.vscode-mermaid-chart",
"graphite.gti-vscode",
"codeium.codeium"
]
}
Binary file added .yarn/install-state.gz
Binary file not shown.
Loading

0 comments on commit 3e3f12a

Please sign in to comment.