Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Quill pr 3317 setup monorep config #7215

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
0bfff01
chore: create themes and sites dir
hasan-deriv Jan 29, 2024
0594f04
chore: created row and eu sites directiory
hasan-deriv Jan 29, 2024
5539851
chore: created gatsby-theme-deriv directory
hasan-deriv Jan 29, 2024
6a9f9a4
chore: moved src into deriv theme directory
hasan-deriv Jan 29, 2024
b4c1d33
chore: moved types into deriv theme directory
hasan-deriv Jan 29, 2024
2af0a33
chore: moved static and gatsby files into deriv theme directory
hasan-deriv Jan 29, 2024
3b36636
chore: moved storybook and favicons files into deriv theme directory
hasan-deriv Jan 29, 2024
ed42d30
chore: added eslint to theme
hasan-deriv Jan 29, 2024
92d6905
chore: added typescript to theme
hasan-deriv Jan 29, 2024
ab0cda6
chore: added workspaces
hasan-deriv Jan 29, 2024
6a7bba1
chore: added eslint script
hasan-deriv Jan 29, 2024
8f55c98
chore: added stylelint script
hasan-deriv Jan 29, 2024
6cac5ee
chore: added prettier script
hasan-deriv Jan 29, 2024
762e4b1
chore: added prettier and git ignore
hasan-deriv Jan 29, 2024
b5359dc
chore: udpated jest configure
hasan-deriv Jan 29, 2024
b69dbbe
chore: fixed checkbox test
hasan-deriv Jan 29, 2024
4b477b8
chore: added codegen script
hasan-deriv Jan 29, 2024
13638b5
chore: added storybook script
hasan-deriv Jan 29, 2024
49e0919
chore: added react packages
hasan-deriv Jan 29, 2024
70c6c62
chore: moved packages to theme
hasan-deriv Jan 30, 2024
68f88c8
chore: added theme config and options
hasan-deriv Jan 30, 2024
64e8352
chore: added row script
hasan-deriv Jan 30, 2024
c13bca0
chore: moved i18 files to theme
hasan-deriv Jan 30, 2024
1642f02
chore: updated favicon path in gatsby config
hasan-deriv Jan 30, 2024
c2e994f
chore: moved babel tailwind and js config file to theme
hasan-deriv Jan 30, 2024
0930ef3
chore: added clean script
hasan-deriv Jan 30, 2024
3581027
chore: updated eslint and tsconfig to fix alias import error
hasan-deriv Jan 30, 2024
64547f8
chore: added theme to sites
hasan-deriv Jan 30, 2024
4f0b201
chore: fixed sass classnames issue
hasan-deriv Jan 30, 2024
82c566b
chore: updated tailwind config
hasan-deriv Jan 30, 2024
d91a855
chore: fixed env issue
hasan-deriv Jan 30, 2024
771b88d
chore: fixed eslint issues
hasan-deriv Jan 30, 2024
490d003
chore: added build script
hasan-deriv Jan 31, 2024
e99f18e
chore: fixed html minification issue
hasan-deriv Jan 31, 2024
56702a3
chore: fixed html minification issue
hasan-deriv Jan 31, 2024
0b22713
chore: updated partytown scripts
hasan-deriv Jan 31, 2024
f227025
chore: updated serve scripts
hasan-deriv Jan 31, 2024
fdf6e45
chore: updated htaccess script
hasan-deriv Jan 31, 2024
b4bce28
chore: updated translation scripts
hasan-deriv Jan 31, 2024
de32223
chore: updated link generate workflow
hasan-deriv Jan 31, 2024
481365d
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Jan 31, 2024
f2a9451
chore: updated link generate workflow
hasan-deriv Jan 31, 2024
a1ce8c6
chore: added new workflow
hasan-deriv Feb 1, 2024
977a60d
chore: removed workflow
hasan-deriv Feb 1, 2024
5c837b4
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 1, 2024
314b608
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 2, 2024
a3b703d
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 21, 2024
5a74712
feat: added region conditions on home and header nav
fasihali-deriv Feb 22, 2024
ab8498f
Merge pull request #12 from fasihali-deriv/setup-monorepo-config-for-…
hasan-deriv Feb 27, 2024
9919e88
chore: test workflow
hasan-deriv Feb 21, 2024
cd7dda1
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 27, 2024
197d103
chore: merge cleanup
hasan-deriv Feb 27, 2024
118bacc
chore: added region based data for homepage
hasan-deriv Feb 27, 2024
a06ac97
chore: added a different port to eu serve
hasan-deriv Feb 27, 2024
cfe982f
chore: test workflow
hasan-deriv Feb 21, 2024
4b15adc
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 27, 2024
7736903
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 27, 2024
e1c1c9b
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 27, 2024
4b29790
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 27, 2024
9d18eb3
chore: test workflow
hasan-deriv Feb 21, 2024
80b9b65
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 27, 2024
a641e81
chore: test workflow
hasan-deriv Feb 21, 2024
bf0f3c3
chore: removed
hasan-deriv Feb 28, 2024
8cc3682
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 28, 2024
bbba247
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 28, 2024
789ec0d
chore: removed workflow
hasan-deriv Feb 28, 2024
ed2228c
Pr 00 workflow fix 4 (#7182)
hasan-deriv Feb 28, 2024
5fde689
chore: test workflow
hasan-deriv Feb 21, 2024
6f79dfb
chore: test
hasan-deriv Feb 28, 2024
727b178
empty: 🚀 to redeploy and trigger build
hasan-deriv Feb 28, 2024
45895ee
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Feb 28, 2024
83c343f
chore: testing eu domain utility
hasan-deriv Feb 28, 2024
ee7fccd
Agrim/DPROD-3557/Translation 3557 footer change (#7158)
agrim-deriv Feb 28, 2024
518afa5
Agrim/DPROD-3025/Replace the spanish row pdf's with english to spanis…
agrim-deriv Feb 28, 2024
35b8684
behnaz/DPROD-3359/Feb trading data (#7060)
behnaz-deriv Feb 28, 2024
d8473a6
chore: updated eu domains list
hasan-deriv Feb 28, 2024
45e7b64
mayuran/DPROD-2759/ws_improvements (#7070)
mayuran-deriv Feb 28, 2024
4639e4c
chore: updated extract translations
hasan-deriv Feb 29, 2024
88aac2f
chore: updated extract translations
hasan-deriv Feb 29, 2024
cd55be7
chore: removed old preview link action
hasan-deriv Feb 29, 2024
892e6d6
chore: updated who we are page
hasan-deriv Feb 29, 2024
56c9ca7
fix: remove console logs (#7201)
mayuran-deriv Feb 29, 2024
9b89b34
Update smoketests.yml - change e2e skip term (#7194)
markodonnell-deriv Feb 29, 2024
e87e9fe
Update generate-preview-link.yml - Add DRAFT param (#7198)
markodonnell-deriv Feb 29, 2024
7c6f41d
Fasih/DPROD-3590/integrate firebase feature flag for third party item…
fasihali-deriv Feb 29, 2024
937ee44
chore: fixed regulatory type
hasan-deriv Mar 1, 2024
3f9f157
chore: updated regulatory page
hasan-deriv Mar 1, 2024
7596c09
chore: updated contact us and careers page
hasan-deriv Mar 1, 2024
4a48817
chore: updated locations page
hasan-deriv Mar 1, 2024
b943d23
chore: updated partners page
hasan-deriv Mar 1, 2024
9a5a94c
chore: update multiple build action yml (#7210)
habib-deriv Mar 1, 2024
1da0b54
chore: updated deriv prime page
hasan-deriv Mar 1, 2024
c442dd9
chore: updated affiliate ib page
hasan-deriv Mar 1, 2024
fc527c3
chore: updated 404 page
hasan-deriv Mar 1, 2024
f781480
chore: updated payment agent page
hasan-deriv Mar 1, 2024
1424647
chore: test workflow
hasan-deriv Feb 21, 2024
ec6c199
chore: test
hasan-deriv Feb 28, 2024
fe4efde
Merge branch 'master' into quill-pr-3317-setup-monorep-config
hasan-deriv Mar 1, 2024
e44ed7d
empty: 🚀 to redeploy and trigger build
hasan-deriv Mar 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 9 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/no-named-as-default": "off",
"deprecation/deprecation": "warn"
},
"parserOptions": {
Expand Down Expand Up @@ -83,7 +84,7 @@
]
}
],
"import/no-useless-path-segments": "error",
// "import/no-useless-path-segments": "error",
"import/prefer-default-export": 0,
"import/order": [
"error",
Expand Down Expand Up @@ -132,21 +133,16 @@
"jest": true
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"project": ["tsconfig.json", "themes/gatsby-theme-deriv/tsconfig.json"]
},
"node": {
"paths": [
"src"
],
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
"project": ["tsconfig.json", "themes/gatsby-theme-deriv/tsconfig.json"]
}
},
"react": {
"version": "17"
}
}
}
7 changes: 4 additions & 3 deletions .github/workflows/generate-preview-link-eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ concurrency:

jobs:
build_eu_to_cloudflare_pages:
runs-on: Runner_16cores
runs-on: Ubuntu-latest
if: contains(github.event.pull_request.head.ref, 'multiple-build')
permissions:
checks: write
pull-requests: write
Expand Down Expand Up @@ -117,7 +118,7 @@ jobs:
echo "Deploying build to Cloudflare Pages"
directory='sites/eu/public'
projectName='deriv-com-preview-links'
branch=eutestlink-$(echo "$HEAD_BRANCH" | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
branch=eu-$(echo "$HEAD_BRANCH" | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
cf_preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?)
echo "------"
preview_url=https://$branch.deriv-com-preview-links.pages.dev
Expand Down Expand Up @@ -178,4 +179,4 @@ jobs:
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: 'pr-${{github.run_id}}'
path: .pr
path: .pr
6 changes: 4 additions & 2 deletions .github/workflows/generate-preview-link-row.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ concurrency:

jobs:
build_row_to_cloudflare_pages:
runs-on: Runner_16cores
runs-on: Ubuntu-latest
# To be removed once released in production
if: contains(github.event.pull_request.head.ref, 'multiple-build')
permissions:
checks: write
pull-requests: write
Expand Down Expand Up @@ -117,7 +119,7 @@ jobs:
echo "Deploying build to Cloudflare Pages"
directory='sites/row/public'
projectName='deriv-com-preview-links'
branch=rowtestlink-$(echo "$HEAD_BRANCH" | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
branch=row-$(echo "$HEAD_BRANCH" | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
cf_preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?)
echo "------"
preview_url=https://$branch.deriv-com-preview-links.pages.dev
Expand Down
188 changes: 0 additions & 188 deletions .github/workflows/generate-preview-link.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/smoketests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
echo "preview_url=$(cat ./pr/PREVIEW_URL)" >> $GITHUB_OUTPUT
echo "branch_name=$(cat ./pr/BRANCHNAME)" >> $GITHUB_OUTPUT
echo "user_name=$(cat ./pr/USERNAME)" >> $GITHUB_OUTPUT
echo "draft=$(cat ./pr/DRAFT)" >> $GITHUB_OUTPUT

- name: Checkout external repository with Cypress tests
uses: actions/checkout@v4
Expand All @@ -48,7 +49,7 @@ jobs:

- name: Cypress run
# Uses the official Cypress GitHub action https://github.com/cypress-io/github-action
if: "!contains(steps.pr_information.outputs.branch_name, 'quill')"
if: (!steps.pr_information.outputs.draft)
uses: cypress-io/github-action@v6
with:
# Records to Cypress Cloud
Expand All @@ -71,7 +72,7 @@ jobs:

- name: Set comments message
id: set_msg
if: always() && !contains(steps.pr_information.outputs.branch_name, 'quill')
if: always() && (!steps.pr_information.outputs.draft)
run: |
# Using shell script to conditionally set the message
if [[ "${{ job.status }}" == "success" ]]; then
Expand All @@ -81,7 +82,7 @@ jobs:
fi

- name: Leave comment
if: always() && !contains(steps.pr_information.outputs.branch_name, 'quill')
if: always() && (!steps.pr_information.outputs.draft)
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Smoke tests status update
Expand Down
Loading
Loading