-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #397 from ChildMindInstitute/dev
Merge changes from the dev branch into the stage branch
- Loading branch information
Showing
501 changed files
with
11,264 additions
and
9,559 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
NODE_ENV=development | ||
VITE_ENV=dev | ||
VITE_API_HOST=http://localhost:8000/ | ||
VITE_ADMIN_PANEL_HOST=http://localhost:3000/ | ||
VITE_SECURE_LOCAL_STORAGE_HASH_KEY=ML_SECURE | ||
VITE_SECURE_LOCAL_STORAGE_PREFIX=ML_SECURE | ||
VITE_IV_LENGTH=16 | ||
VITE_BUILD_VERSION=dev-build |
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,7 +1,11 @@ | ||
node_modules/ | ||
dist/ | ||
.prettierrc.js | ||
.eslintrc.js | ||
env.d.ts | ||
public | ||
.gitignore | ||
# Ignore everything | ||
/* | ||
|
||
# Except for the src directory | ||
!src | ||
|
||
# And any top-level JS or TS files | ||
!/*.js | ||
!/*.jsx | ||
!/*.ts | ||
!/*.tsx |
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,54 @@ | ||
name: CI | ||
on: [pull_request] | ||
|
||
env: | ||
NODE_VERSION: 20.11.0 | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/node_modules | ||
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- run: yarn install --frozen-lockfile | ||
|
||
- uses: wearerequired/lint-action@v2 | ||
with: | ||
eslint: true | ||
eslint_extensions: mjs,js,jsx,mts,ts,tsx | ||
prettier: true | ||
prettier_extensions: mjs,js,jsx,mts,ts,tsx | ||
continue_on_error: false | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install deps | ||
run: yarn install --frozen-lockfile | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/node_modules | ||
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Running tests | ||
env: | ||
REACT_APP_API_DOMAIN: http://localhost:8080 | ||
run: yarn test |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -26,4 +26,4 @@ coverage | |
*.sw? | ||
.env | ||
.env* | ||
|
||
!.env.example |
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,3 +1,13 @@ | ||
/node_modules | ||
/public | ||
/src/i18n/ | ||
# Ignore everything | ||
/* | ||
|
||
# Except for the src directory | ||
!src | ||
|
||
# And any top-level JS or TS files | ||
!/*.js | ||
!/*.mjs | ||
!/*.jsx | ||
!/*.ts | ||
!/*.mts | ||
!/*.tsx |
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,11 +1,13 @@ | ||
module.exports = { | ||
arrowParens: 'avoid', | ||
bracketSameLine: true, | ||
arrowParens: 'always', | ||
bracketSameLine: false, | ||
bracketSpacing: true, | ||
singleQuote: false, | ||
singleQuote: true, | ||
jsxSingleQuote: false, | ||
trailingComma: 'all', | ||
printWidth: 120, | ||
semi: true, | ||
printWidth: 100, | ||
tabWidth: 2, | ||
useTabs: false, | ||
semi: false | ||
} | ||
endOfLine: 'lf', | ||
}; |
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 +1 @@ | ||
build( job: env.MindloggerWebRefactorNewBuilder ) | ||
build( job: env.MindloggerWebRefactorBuilder ) |
Oops, something went wrong.