Skip to content

Commit 12edd8f

Browse files
committed
chore: replace binary with deriv
1 parent 61d48f7 commit 12edd8f

11 files changed

+212
-216
lines changed

.github/CODEOWNERS

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Configuration of code ownership and review approvals for the binary-com/deriv-app repo.
1+
# Configuration of code ownership and review approvals for the deriv-com/deriv-app repo.
2+
23
#
3-
# More info: https://help.github.com/articles/about-codeowners/
4+
5+
# More info: https://help.github.com/articles/about-codeowners/
6+
47
#
58

6-
* @binary-com/write-admin-smartcharts
9+
- @deriv-com/write-admin-smartcharts

.github/workflows/generate_preview_link.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@ jobs:
2929
head_sha: ${{github.event.pull_request.head.sha}}
3030

3131
- name: Checkout SmartCharts
32-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
32+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
3333
with:
3434
repository: ${{github.event.pull_request.user.login}}/SmartCharts
3535
path: SmartCharts
3636
ref: ${{github.head_ref}}
37-
alternate_repository: 'binary-com/SmartCharts'
37+
alternate_repository: 'deriv-com/SmartCharts'
3838
alternate_ref: master
3939

4040
- name: Checkout deriv-app
4141
id: deriv_app
42-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
42+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
4343
with:
4444
repository: ${{github.event.pull_request.user.login}}/deriv-app
4545
path: deriv-app
4646
ref: ${{github.head_ref}}
47-
alternate_repository: 'binary-com/deriv-app'
47+
alternate_repository: 'deriv-com/deriv-app'
4848
alternate_ref: master
4949

5050
- name: Custom flutter-chart
5151
id: flutter_chart
52-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
52+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
5353
with:
5454
repository: ${{github.event.pull_request.user.login}}/flutter-chart
5555
path: flutter-chart

.github/workflows/publish_deriv_charts_and_update_deriv_app.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
contents: write
1010
steps:
1111
- name: Checkout SmartCharts
12-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
12+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
1313
with:
14-
repository: 'binary-com/SmartCharts'
14+
repository: 'deriv-com/SmartCharts'
1515
path: SmartCharts
1616
ref: master
1717

1818
- name: Custom flutter-chart
1919
id: flutter_chart
20-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
20+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
2121
with:
2222
repository: 'regentmarkets/flutter-chart'
2323
path: flutter-chart
@@ -70,7 +70,7 @@ jobs:
7070
needs: [build_and_publish_deriv_charts]
7171
steps:
7272
- name: Checkout deriv-app
73-
uses: 'binary-com/SmartCharts/.github/actions/checkout@master'
73+
uses: 'deriv-com/SmartCharts/.github/actions/checkout@master'
7474
with:
7575
repository: 'deriv-com/deriv-app'
7676
path: deriv-app

README.md

+189-196
Large diffs are not rendered by default.

app/connection/ConnectionManager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import EventEmitter from 'event-emitter-es6';
2-
import { PendingPromise } from '@binary-com/smartcharts'; // eslint-disable-line import/no-extraneous-dependencies,import/no-unresolved
2+
import { PendingPromise } from '@deriv-com/smartcharts'; // eslint-disable-line import/no-extraneous-dependencies,import/no-unresolved
33
// @ts-ignore
44
import RobustWebsocket from 'robust-websocket';
55
import { IPendingPromise, Listener, TBinaryAPIRequest, TBinaryAPIResponse } from 'src/types';

app/connection/NetworkMonitor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PendingPromise } from '@binary-com/smartcharts';
1+
import { PendingPromise } from '@deriv-com/smartcharts';
22
import { PingResponse } from '@deriv/api-types';
33
import { TNetworkConfig, TRequestAPI } from 'src/types';
44
// eslint-disable-line import/no-extraneous-dependencies,import/no-unresolved

app/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
StudyLegend,
1515
ToolbarWidget,
1616
Views,
17-
} from '@binary-com/smartcharts'; // eslint-disable-line import/no-unresolved
17+
} from '@deriv-com/smartcharts'; // eslint-disable-line import/no-unresolved
1818
import whyDidYouRender from '@welldone-software/why-did-you-render';
1919
import { configure } from 'mobx';
2020
import moment from 'moment';

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"license": "ISC",
1717
"repository": {
1818
"type": "git",
19-
"url": "git+ssh://[email protected]/binary-com/SmartCharts.git"
19+
"url": "git+ssh://[email protected]/deriv-com/SmartCharts.git"
2020
},
21-
"homepage": "https://github.com/binary-com/SmartCharts#readme",
21+
"homepage": "https://github.com/deriv-com/SmartCharts#readme",
2222
"keywords": [
2323
"charts",
2424
"binary.com"

release.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
{ name: 'beta', prerelease: true },
1010
{ name: 'alpha', prerelease: true },
1111
],
12-
repositoryUrl: '[email protected]:binary-com/SmartCharts.git',
12+
repositoryUrl: '[email protected]:deriv-com/SmartCharts.git',
1313
plugins: [
1414
[
1515
'@semantic-release/commit-analyzer',

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"skipLibCheck": true,
2828
"forceConsistentCasingInFileNames": true,
2929
"paths": {
30-
"@binary-com/smartcharts": ["src/"]
30+
"@deriv-com/smartcharts": ["src/"]
3131
},
3232
"useDefineForClassFields": true
3333
},

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const config = {
2929
output,
3030
resolve: {
3131
alias: {
32-
'@binary-com/smartcharts': path.resolve(__dirname, 'src/'),
32+
'@deriv-com/smartcharts': path.resolve(__dirname, 'src/'),
3333
src: path.resolve(__dirname, 'src'),
3434
chart: path.resolve(__dirname, 'chart_app/build/web'),
3535
},

0 commit comments

Comments
 (0)