Skip to content

Commit 80af07d

Browse files
authored
Merge pull request #1645 from nijil-deriv/rename-binary-to-deriv
Rename binary-com organization to deriv-com
2 parents eff5e5e + 9a322c4 commit 80af07d

10 files changed

+19
-19
lines changed

.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

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Before running or contribute to this project, you need to have the setup of the
3333
2. **Clone using SSH**
3434

3535
```sh
36-
git clone [email protected]:binary-com/SmartCharts.git
36+
git clone [email protected]:deriv-com/SmartCharts.git
3737
```
3838

3939
3. **Enter project directory**
@@ -548,7 +548,7 @@ This has much less freedom compared to [inline SVG](https://github.com/MoOx/reac
548548
549549
SmartCharts uses a variation of [Mobdux](https://medium.com/@cameronfletcher92/mobdux-combining-the-good-parts-of-mobx-and-redux-61bac90ee448) to assist with state management using Mobx.
550550
551-
Each component consists of 2 parts: a **template** (`*.jsx` file), and a **store** (`*Store.js` file). There are 3 scenarios in which the [`connect`](https://github.com/binary-com/SmartCharts/blob/dev/src/store/Connect.js) method is used:
551+
Each component consists of 2 parts: a **template** (`*.jsx` file), and a **store** (`*Store.js` file). There are 3 scenarios in which the [`connect`](https://github.com/deriv-com/SmartCharts/blob/dev/src/store/Connect.js) method is used:
552552
553553
##### 1. Main Components: The component is tied directly to the main store.
554554

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)