renaming phoenix to subspace. pt-2

This commit is contained in:
Richard Ramos 2019-09-27 16:26:14 -04:00
parent 4c258a8da6
commit 7a766ab26c
17 changed files with 42 additions and 36 deletions

View File

@ -1,7 +1,7 @@
/* global web3 */
import React from 'react';
import EmbarkJS from 'Embark/EmbarkJS';
import Subspace from 'phoenix';
import Subspace from '@status-im/subspace';
import Ranking from '../embarkArtifacts/contracts/Ranking';
import { scan, map } from 'rxjs/operators';
import RankItem from './RankItem';

View File

@ -1,5 +1,5 @@
import React from "react";
import { observe } from "phoenix/react";
import { observe } from "@status-im/subspace/react";
const RankItem = ({ items, onUpvote, onDownvote }) => {
if (!items) return null;

View File

@ -11,7 +11,7 @@
"devDependencies": {},
"dependencies": {
"embark": "^4.1.0",
"phoenix": "../..",
"@status-im/subspace": "../..",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rxjs": "^6.5.2",

View File

@ -810,6 +810,21 @@
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==
"@status-im/subspace@../..":
version "0.0.1"
dependencies:
fast-deep-equal "^2.0.1"
lokijs "^1.5.6"
object-hash "^1.3.1"
rxjs "^6.5.2"
web3-eth "^1.2.1"
optionalDependencies:
graphql "^14.4.2"
graphql-tag "^2.10.1"
graphql-tools "^4.0.5"
react "^16.9.0"
reactive-graphql "^3.0.2"
"@szmarczak/http-timer@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
@ -7235,6 +7250,11 @@ object-copy@^0.1.0:
define-property "^0.2.5"
kind-of "^3.0.3"
object-hash@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df"
integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==
object-inspect@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
@ -7684,20 +7704,6 @@ performance-now@^2.1.0:
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
phoenix@../..:
version "1.0.0"
dependencies:
fast-deep-equal "^2.0.1"
lokijs "^1.5.6"
rxjs "^6.5.2"
web3-eth "^1.2.1"
optionalDependencies:
graphql "^14.4.2"
graphql-tag "^2.10.1"
graphql-tools "^4.0.5"
react "^16.9.0"
reactive-graphql "^3.0.2"
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"

View File

@ -11,9 +11,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `@status-im/subspace`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -1,5 +1,5 @@
import React from "react";
import Subspace from "phoenix";
import Subspace from "@status-im/subspace";
import { graphql } from "reactive-graphql";
import gql from "graphql-tag";
import { makeExecutableSchema } from "graphql-tools";

View File

@ -11,9 +11,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `@status-im/subspace`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -1,5 +1,5 @@
import React from "react";
import Subspace from "phoenix";
import Subspace from "@status-im/subspace";
import web3 from './web3';
import MyContract from './MyContract';
import { connect } from "react-redux";

View File

@ -11,9 +11,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `@status-im/subspace`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -1,5 +1,5 @@
import React from "react";
import Subspace from "phoenix";
import Subspace from "@status-im/subspace";
import { scan } from 'rxjs/operators';
import MyComponentObserver from "./MyComponentObserver";
import web3 from './web3';

View File

@ -1,5 +1,5 @@
import React from "react";
import { observe } from "phoenix/react";
import { observe } from "@status-im/subspace/react";
const MyComponent = ({ eventData }) => {
// Handle initial state when no data is available

View File

@ -11,9 +11,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `@status-im/subspace`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -1,4 +1,4 @@
const Subspace = require('phoenix');
const Subspace = require('@status-im/subspace');
const web3 = require('./web3');
const MyContract = require('./MyContract');
const { pluck } = require('rxjs/operators');

View File

@ -11,9 +11,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `"@status-im/subspace"`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -18,7 +18,7 @@ import {
myAction
} from "./actions";
import web3 from "./web3";
import Subspace from "phoenix";
import Subspace from "@status-im/subspace";
let MyContractInstance;
let subspace;

View File

@ -12,9 +12,9 @@ In the parent folder, link the package with `yarn` or `npm`
```
yarn link
```
Then in the current folder link `subspace`, and install the packages
Then in the current folder link `@status-im/subspace`, and install the packages
```
yarn link subspace
yarn link "@status-im/subspace"
yarn
```

View File

@ -1,6 +1,6 @@
import store from './store';
import web3 from './web3';
import Subspace from 'phoenix';
import Subspace from '@status-im/subspace';
import { myAction } from './actions';
import MyContract from './MyContract';