This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Niloofar/83822/gatsby migration to v5 (#5646)
* refactor: node18, react18 and gatsby5 migration * fix: robot.txt file is changed when compared from production * refactor: replace react helmet with gatsby head api * fix: page direction issue * fix: glitches in market page * build: triger build * refactor: replace helmet with gatsby head in options pages * build: regenerate package-lock * docs: added react 18 development guide * docs: update documentation * fix: options page error * fix: fix issue where gatsby 5 bundles all files into one chunk * build: trigger build * fix: build error * fix: createroot not found issue * fix: scroll issue in signup and check email * fix: seo issue in some of the routes * fix: scroll issue in deriv prime and markets * fix: seo issue * fix: seo issue in 404 and some other pages * fix: seo script issues * fix: seo issues * fix: eu site has extra credit & debit cards section * fix: search input auto focus issue * fix: search input auto focus issue * build: trigger build --------- Co-authored-by: niloofar sadeghi <[email protected]> Co-authored-by: adrienne-rio <[email protected]>
- Loading branch information
1 parent
7cf6c1c
commit d415cbd
Showing
225 changed files
with
5,401 additions
and
6,072 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,4 +1,11 @@ | ||
{ | ||
"presets": ["babel-preset-gatsby"], | ||
"presets": [ | ||
[ | ||
"babel-preset-gatsby", | ||
{ | ||
"stage": "build-javascript" // This fixes the code splitting issue, refer https://github.com/gatsbyjs/gatsby/issues/35731 | ||
} | ||
] | ||
], | ||
"plugins": ["@loadable/babel-plugin"] | ||
} |
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
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 |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
node-version: '18.x' | ||
- name: Installing Crowdin | ||
run: npm i -g @crowdin/[email protected] | ||
- name: Delete Branch [${{ github.event.workflow_run.head_branch }}] 🗑️ | ||
|
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
node-version: '18.x' | ||
- name: Installing Crowdin | ||
run: npm i -g @crowdin/[email protected] | ||
- name: Download New Translations ⬇️ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
node-version: '18.x' | ||
- run: npm i -g @crowdin/[email protected] | ||
- name: Fetch Crowdin Master Translation ⬇️ | ||
run: | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
node-version: '18.x' | ||
|
||
- run: npm i -g @crowdin/cli | ||
- run: npm ci | ||
|
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
Oops, something went wrong.