mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 13:26:10 +00:00
refactor(@embark/contracts-manager): move contracts_manager into embark-contracts-manager package
This commit is contained in:
parent
65f3a270c0
commit
436cfcbca0
4
packages/embark-contracts-manager/.npmrc
Normal file
4
packages/embark-contracts-manager/.npmrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
engine-strict = true
|
||||||
|
package-lock = false
|
||||||
|
save-exact = true
|
||||||
|
scripts-prepend-node-path = true
|
6
packages/embark-contracts-manager/README.md
Normal file
6
packages/embark-contracts-manager/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# `embark-contracts-manager`
|
||||||
|
|
||||||
|
> Smart contracts manager for Embark
|
||||||
|
|
||||||
|
Visit [embark.status.im](https://embark.status.im/) to get started with
|
||||||
|
[Embark](https://github.com/embark-framework/embark).
|
70
packages/embark-contracts-manager/package.json
Normal file
70
packages/embark-contracts-manager/package.json
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"name": "embark-contracts-manager",
|
||||||
|
"version": "4.1.0-beta.0",
|
||||||
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||||
|
"contributors": [],
|
||||||
|
"description": "Smart contracts manager for Embark",
|
||||||
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embark-contracts-manager#readme",
|
||||||
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
||||||
|
"keywords": [
|
||||||
|
"blockchain",
|
||||||
|
"dapps",
|
||||||
|
"ethereum",
|
||||||
|
"ipfs",
|
||||||
|
"serverless",
|
||||||
|
"solc",
|
||||||
|
"solidity"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"directory": "packages/embark-contracts-manager",
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/embark-framework/embark.git"
|
||||||
|
},
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
|
||||||
|
"ci": "npm run qa",
|
||||||
|
"clean": "npm run reset",
|
||||||
|
"lint": "npm-run-all lint:*",
|
||||||
|
"lint:js": "eslint src/",
|
||||||
|
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
||||||
|
"package": "npm pack",
|
||||||
|
"// qa": "npm-run-all lint typecheck build package",
|
||||||
|
"qa": "npm-run-all lint build package",
|
||||||
|
"reset": "npx rimraf dist embark-*.tgz package",
|
||||||
|
"start": "npm run watch",
|
||||||
|
"// typecheck": "tsc",
|
||||||
|
"watch": "run-p watch:*",
|
||||||
|
"watch:build": "npm run build -- --verbose --watch",
|
||||||
|
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "../../.eslintrc.json"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime-corejs2": "7.3.1",
|
||||||
|
"async": "2.6.1",
|
||||||
|
"clone-deep": "4.0.0",
|
||||||
|
"embark-core": "^4.1.0-beta.0",
|
||||||
|
"embark-utils": "^4.1.0-beta.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@babel/cli": "7.2.3",
|
||||||
|
"@babel/core": "7.2.2",
|
||||||
|
"cross-env": "5.2.0",
|
||||||
|
"eslint": "5.7.0",
|
||||||
|
"npm-run-all": "4.1.5",
|
||||||
|
"rimraf": "2.6.3",
|
||||||
|
"tslint": "5.11.0",
|
||||||
|
"typescript": "3.3.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.12.0",
|
||||||
|
"npm": ">=6.4.1",
|
||||||
|
"yarn": ">=1.12.3"
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
let async = require('async');
|
const async = require('async');
|
||||||
const cloneDeep = require('clone-deep');
|
const cloneDeep = require('clone-deep');
|
||||||
const constants = require('embark-core/constants');
|
const constants = require('embark-core/constants');
|
||||||
const path = require('path');
|
const path = require('path');
|
4
packages/embark-contracts-manager/tsconfig.json
Normal file
4
packages/embark-contracts-manager/tsconfig.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"include": ["src/**/*"]
|
||||||
|
}
|
3
packages/embark-contracts-manager/tslint.json
Normal file
3
packages/embark-contracts-manager/tslint.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tslint.json"
|
||||||
|
}
|
@ -93,6 +93,7 @@
|
|||||||
"ejs": "2.6.1",
|
"ejs": "2.6.1",
|
||||||
"embark-authenticator": "^4.1.0-beta.0",
|
"embark-authenticator": "^4.1.0-beta.0",
|
||||||
"embark-compiler": "^4.0.0",
|
"embark-compiler": "^4.0.0",
|
||||||
|
"embark-contracts-manager": "^4.1.0-beta.0",
|
||||||
"embark-core": "^4.1.0-beta.0",
|
"embark-core": "^4.1.0-beta.0",
|
||||||
"embark-ens": "^4.1.0-beta.0",
|
"embark-ens": "^4.1.0-beta.0",
|
||||||
"embark-logger": "^4.1.0-beta.0",
|
"embark-logger": "^4.1.0-beta.0",
|
||||||
|
@ -216,7 +216,7 @@ class Engine {
|
|||||||
this.registerModulePackage('embark-compiler', {plugins: this.plugins, isCoverage: options.isCoverage});
|
this.registerModulePackage('embark-compiler', {plugins: this.plugins, isCoverage: options.isCoverage});
|
||||||
this.registerModule('solidity', {ipc: this.ipc, useDashboard: this.useDashboard});
|
this.registerModule('solidity', {ipc: this.ipc, useDashboard: this.useDashboard});
|
||||||
this.registerModulePackage('embark-vyper');
|
this.registerModulePackage('embark-vyper');
|
||||||
this.registerModule('contracts_manager', {plugins: this.plugins, compileOnceOnly: options.compileOnceOnly});
|
this.registerModulePackage('embark-contracts-manager', {plugins: this.plugins, compileOnceOnly: options.compileOnceOnly});
|
||||||
}
|
}
|
||||||
|
|
||||||
deploymentService(options) {
|
deploymentService(options) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*global describe, it, require*/
|
/*global describe, it, require*/
|
||||||
import { File, Types } from "../lib/core/file";
|
import { File, Types } from "../lib/core/file";
|
||||||
|
|
||||||
let ContractsManager = require('../lib/modules/contracts_manager/index.js');
|
let ContractsManager = require('embark-contracts-manager');
|
||||||
let Compiler = require('embark-compiler');
|
let Compiler = require('embark-compiler');
|
||||||
let Logger = require('embark-logger');
|
let Logger = require('embark-logger');
|
||||||
let TestLogger = require('../lib/utils/test_logger');
|
let TestLogger = require('../lib/utils/test_logger');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user