mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-18 00:27:17 +00:00
refactor(@embark/geth): move module into own package (#1950)
This commit is contained in:
parent
d46912d0cc
commit
8aa6496f93
@ -106,6 +106,7 @@
|
|||||||
"embark-deployment": "^4.1.1",
|
"embark-deployment": "^4.1.1",
|
||||||
"embark-embarkjs": "^4.1.1",
|
"embark-embarkjs": "^4.1.1",
|
||||||
"embark-ens": "^4.1.1",
|
"embark-ens": "^4.1.1",
|
||||||
|
"embark-geth": "^4.1.1",
|
||||||
"embark-graph": "^4.1.1",
|
"embark-graph": "^4.1.1",
|
||||||
"embark-i18n": "^4.1.1",
|
"embark-i18n": "^4.1.1",
|
||||||
"embark-ipfs": "^4.1.1",
|
"embark-ipfs": "^4.1.1",
|
||||||
|
@ -184,7 +184,7 @@ class Engine {
|
|||||||
|
|
||||||
blockchainComponents() {
|
blockchainComponents() {
|
||||||
// plugins
|
// plugins
|
||||||
this.registerModule('geth', {
|
this.registerModulePackage('embark-geth', {
|
||||||
client: this.client,
|
client: this.client,
|
||||||
locale: this.locale,
|
locale: this.locale,
|
||||||
isDev: this.isDev,
|
isDev: this.isDev,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { __ } from 'embark-i18n';
|
import { __ } from 'embark-i18n';
|
||||||
import {BlockchainClient} from "../geth/blockchain";
|
import {BlockchainClient} from "./blockchain";
|
||||||
const {normalizeInput} = require('embark-utils');
|
const {normalizeInput} = require('embark-utils');
|
||||||
import {BlockchainProcessLauncher} from './blockchainProcessLauncher';
|
import {BlockchainProcessLauncher} from './blockchainProcessLauncher';
|
||||||
import {ws, rpc} from './check.js';
|
import {ws, rpc} from './check.js';
|
||||||
|
4
packages/plugins/geth/.npmrc
Normal file
4
packages/plugins/geth/.npmrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
engine-strict = true
|
||||||
|
package-lock = false
|
||||||
|
save-exact = true
|
||||||
|
scripts-prepend-node-path = true
|
6
packages/plugins/geth/README.md
Normal file
6
packages/plugins/geth/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# `embark-geth`
|
||||||
|
|
||||||
|
> Implementation of the Go-Ethereum blockchain for Embark
|
||||||
|
|
||||||
|
Visit [embark.status.im](https://embark.status.im/) to get started with
|
||||||
|
[Embark](https://github.com/embark-framework/embark).
|
72
packages/plugins/geth/package.json
Normal file
72
packages/plugins/geth/package.json
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"name": "embark-geth",
|
||||||
|
"version": "4.1.1",
|
||||||
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||||
|
"contributors": [],
|
||||||
|
"description": "Implementation of the Go-Ethereum blockchain for Embark",
|
||||||
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/plugins/geth#readme",
|
||||||
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
||||||
|
"keywords": [
|
||||||
|
"blockchain",
|
||||||
|
"dapps",
|
||||||
|
"ethereum",
|
||||||
|
"ipfs",
|
||||||
|
"serverless",
|
||||||
|
"solc",
|
||||||
|
"solidity"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"directory": "packages/plugins/geth",
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/embark-framework/embark.git"
|
||||||
|
},
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"embark-collective": {
|
||||||
|
"build:node": true
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"_build": "npm run solo -- build",
|
||||||
|
"ci": "npm run qa",
|
||||||
|
"clean": "npm run reset",
|
||||||
|
"lint": "npm-run-all lint:*",
|
||||||
|
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
||||||
|
"qa": "npm-run-all lint typecheck _build",
|
||||||
|
"reset": "npx rimraf dist embark-*.tgz package",
|
||||||
|
"solo": "embark-solo",
|
||||||
|
"typecheck": "tsc",
|
||||||
|
"watch": "run-p watch:*",
|
||||||
|
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "../../../.eslintrc.json"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime-corejs2": "7.6.2",
|
||||||
|
"async": "2.6.1",
|
||||||
|
"embark-core": "^4.1.1",
|
||||||
|
"embark-i18n": "^4.1.1",
|
||||||
|
"embark-logger": "^4.1.1",
|
||||||
|
"embark-utils": "^4.1.1",
|
||||||
|
"fs-extra": "8.1.0",
|
||||||
|
"netcat": "1.3.5",
|
||||||
|
"semver": "5.6.0",
|
||||||
|
"ws": "7.1.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"embark-solo": "^4.1.1",
|
||||||
|
"eslint": "5.7.0",
|
||||||
|
"npm-run-all": "4.1.5",
|
||||||
|
"rimraf": "3.0.0",
|
||||||
|
"tslint": "5.16.0",
|
||||||
|
"typescript": "3.6.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.12.0 <12.0.0",
|
||||||
|
"npm": ">=6.4.1",
|
||||||
|
"yarn": ">=1.12.3"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user