chore: rename org to @embarklabs (#62)

* chore: rename org to @embarklabs
* fix: remove yarn-error.log
This commit is contained in:
Richard Ramos 2020-01-22 15:44:51 -04:00 committed by GitHub
parent b4905fbb49
commit f821569301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 36 additions and 11269 deletions

View File

@ -12,7 +12,7 @@ https://subspace.status.im
### Install
Subspace can be used in browser, node and native script environments. You can install it through `npm` or `yarn`:
```
npm install --save @status-im/subspace
npm install --save @embarklabs/subspace
```
### Usage
@ -20,10 +20,10 @@ npm install --save @status-im/subspace
#### Import into a dApp
```js
// ESM (might require babel / browserify)
import Subspace from '@status-im/subspace';
import Subspace from '@embarklabs/subspace';
// CommonJS
const Subspace = require('@status-im/subspace');
const Subspace = require('@embarklabs/subspace');
```

View File

@ -1,7 +1,7 @@
/* global web3 */
import React from 'react';
import EmbarkJS from 'Embark/EmbarkJS';
import Subspace from '@status-im/subspace';
import Subspace from '@embarklabs/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 "@status-im/subspace/react";
import { observe } from "@embarklabs/subspace/react";
const RankItem = ({ items, onUpvote, onDownvote }) => {
if (!items) return null;

View File

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

View File

@ -810,7 +810,7 @@
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==
"@status-im/subspace@../..":
"@embarklabs/subspace@../..":
version "0.0.1"
dependencies:
fast-deep-equal "^2.0.1"

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

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

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

@ -1,6 +1,6 @@
import React from "react";
import Subspace from "@status-im/subspace";
import { $average, $max, $min, $latest } from "@status-im/subspace";
import Subspace from "@embarklabs/subspace";
import { $average, $max, $min, $latest } from "@embarklabs/subspace";
import { map } from 'rxjs/operators';
import ProductComponent from "./ProductComponent";
import web3 from './web3';

View File

@ -1,5 +1,5 @@
import React from "react";
import { observe } from "@status-im/subspace/react";
import { observe } from "@embarklabs/subspace/react";
const ProductComponent = ({ maxRating, minRating, averageRating, title, balance, last5Ratings }) => {
// Handle initial state when no data is available

File diff suppressed because it is too large Load Diff

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

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

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

@ -1,5 +1,5 @@
import React from "react";
import Subspace from "@status-im/subspace";
import Subspace from "@embarklabs/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 "@status-im/subspace/react";
import { observe } from "@embarklabs/subspace/react";
const MyComponent = ({ eventData }) => {
// Handle initial state when no data is available

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

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

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `"@status-im/subspace"`, and install the packages
Then in the current folder link `"@embarklabs/subspace"`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

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

View File

@ -14,9 +14,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

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

View File

@ -13,9 +13,9 @@ yarn
yarn build:dev
yarn link
```
Then in the current folder link `@status-im/subspace`, and install the packages
Then in the current folder link `@embarklabs/subspace`, and install the packages
```
yarn link "@status-im/subspace"
yarn link "@embarklabs/subspace"
yarn
```

View File

@ -7,7 +7,7 @@
<script>
import MyComponent from './components/MyComponent.vue'
import Subspace from "@status-im/subspace";
import Subspace from "@embarklabs/subspace";
import web3 from './web3';
import MyContract from './MyContract';

View File

@ -1,5 +1,5 @@
{
"name": "@status-im/subspace",
"name": "@embarklabs/subspace",
"version": "1.1.1",
"description": "Library for Reactive Dapp Development with auto syncing and caching capabilities https://subspace.status.im",
"homepage": "https://subspace.status.im",

View File

@ -3,7 +3,7 @@ const Web3Eth = require('web3-eth');
const {deployRatingContract} = require('./utils-web3');
const Subspace = require('../dist/node.js');
let eth = new Web3Eth("ws://localhost:8545");
let eth = new Web3Eth("http://localhost:8545");
let myscan = scan((acc, curr) => {
acc.push(curr);