Remove unused js packages (dapp cleanups) (#7046)

This commit is contained in:
Jaco Greeff 2017-11-13 16:51:57 +01:00 committed by GitHub
parent b5fc6419e6
commit 0f92856c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 65 additions and 167 deletions

View File

@ -5,6 +5,8 @@ set -e
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
PRECOMPILED_BRANCH="v1"
GIT_JS_PRECOMPILED="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/js-precompiled.git"
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
# setup the git user defaults for the current repo
function setup_git_user {
@ -15,8 +17,6 @@ function setup_git_user {
}
# change into the build directory
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
pushd $BASEDIR
cd ../.dist

View File

@ -1 +1 @@
// test script 13
// test script 14

189
js/package-lock.json generated
View File

@ -40,47 +40,14 @@
}
}
},
"@parity/dapp-account": {
"version": "github:paritytech/dapp-account#65b03835243219a678c1a517e2eb69845a097dcd",
"requires": {
"@parity/dapp-accounts": "github:paritytech/dapp-accounts#ca55be1774563862e7b0cc72740d0747a60036b8",
"@parity/dapp-vaults": "github:paritytech/dapp-vaults#1bd5de3994227e6b733e7b3e985117a59f0ad638"
}
},
"@parity/dapp-accounts": {
"version": "github:paritytech/dapp-accounts#ca55be1774563862e7b0cc72740d0747a60036b8",
"requires": {
"@parity/dapp-vaults": "github:paritytech/dapp-vaults#1bd5de3994227e6b733e7b3e985117a59f0ad638"
}
},
"@parity/dapp-address": {
"version": "github:paritytech/dapp-address#9b40c93dac5efa0d6a3b8aa30ea6ba19c9fd71cb",
"requires": {
"@parity/dapp-account": "github:paritytech/dapp-account#65b03835243219a678c1a517e2eb69845a097dcd",
"@parity/dapp-addresses": "github:paritytech/dapp-addresses#525453c8484b9c0e1b7ede1c5929b2e3374e2715"
}
},
"@parity/dapp-addresses": {
"version": "github:paritytech/dapp-addresses#525453c8484b9c0e1b7ede1c5929b2e3374e2715",
"requires": {
"@parity/dapp-accounts": "github:paritytech/dapp-accounts#ca55be1774563862e7b0cc72740d0747a60036b8"
}
},
"@parity/dapp-chaindeploy": {
"version": "github:paritytech/dapp-chaindeploy#2adc0da8514c171957823d1b72131f48274300b9"
},
"@parity/dapp-contract": {
"version": "github:paritytech/dapp-contract#0196d82260dbb54b468a27bed94fb0b8669ca6a0",
"requires": {
"@parity/dapp-account": "github:paritytech/dapp-account#65b03835243219a678c1a517e2eb69845a097dcd"
}
},
"@parity/dapp-contracts": {
"version": "github:paritytech/dapp-contracts#30db6a5e6aba7cc7626972f9569319549efb7888",
"requires": {
"@parity/dapp-account": "github:paritytech/dapp-account#65b03835243219a678c1a517e2eb69845a097dcd",
"@parity/dapp-accounts": "github:paritytech/dapp-accounts#ca55be1774563862e7b0cc72740d0747a60036b8"
}
"@parity/dapp-console": {
"version": "github:paritytech/dapp-console#71561b4f216d12395bc35b5affb1fc5182626a38"
},
"@parity/dapp-dapp-accounts": {
"version": "github:paritytech/dapp-dapp-accounts#4cdbb5962c7a946da9df2fd80f120d9195087d41"
@ -94,52 +61,18 @@
"@parity/dapp-dappreg": {
"version": "github:paritytech/dapp-dappreg#9cd360d7dc505b5661470ee9d6b98650c85b83b3"
},
"@parity/dapp-develop": {
"version": "github:paritytech/dapp-develop#85e436cdd1710e39ac45eb546ae8c029015a70ca",
"requires": {
"@parity/dapp-contracts": "github:paritytech/dapp-contracts#30db6a5e6aba7cc7626972f9569319549efb7888"
}
},
"@parity/dapp-githubhint": {
"version": "github:paritytech/dapp-githubhint#8e299c739e1663d8590d6a8d345147e974341664"
},
"@parity/dapp-home": {
"version": "github:paritytech/dapp-home#d32073c41a048bb1be98cda2f569e70f6ee38070",
"requires": {
"@parity/dapp-web": "github:paritytech/dapp-web#fb0dbd86eeeacabda786150d1d1c2a9add8584d2"
}
},
"@parity/dapp-localtx": {
"version": "github:paritytech/dapp-localtx#087d32621c5ab87e72bd777b4dd580e9a3c844c4"
},
"@parity/dapp-playground": {
"version": "github:paritytech/dapp-playground#e136730fa64aceae2d7e0d2cd2aeea24d22b30f3",
"requires": {
"@parity/api": "2.1.3",
"@parity/shared": "2.2.5",
"@parity/ui": "2.2.6"
}
},
"@parity/dapp-registry": {
"version": "github:paritytech/dapp-registry#654b44d9bccb324d27803c8751742d63e4c7690e"
},
"@parity/dapp-settings": {
"version": "github:paritytech/dapp-settings#96d9f7a3c5e0d6fd21a8363bce1cf2a02bf746e7"
},
"@parity/dapp-signaturereg": {
"version": "github:paritytech/dapp-signaturereg#508ff60a6ed59d1d693e39fbcebce92f79ad9691"
},
"@parity/dapp-signer": {
"version": "github:paritytech/dapp-signer#96514150d210530eb3261399de84874b80a71f60",
"requires": {
"@parity/api": "2.1.3",
"@parity/shared": "2.2.5",
"@parity/ui": "2.2.6"
}
},
"@parity/dapp-status": {
"version": "github:paritytech/dapp-status#397de2851688213091e161cd0c8251368406697d"
},
"@parity/dapp-tokendeploy": {
"version": "github:paritytech/dapp-tokendeploy#ef5df286fa9eaed7a393fc93224004221d840af5"
},
@ -149,12 +82,6 @@
"@parity/dapp-vaults": {
"version": "github:paritytech/dapp-vaults#1bd5de3994227e6b733e7b3e985117a59f0ad638"
},
"@parity/dapp-wallet": {
"version": "github:paritytech/dapp-wallet#055fba4e8c3dd1e58ebc091a08df50583ac82fe0",
"requires": {
"@parity/dapp-account": "github:paritytech/dapp-account#65b03835243219a678c1a517e2eb69845a097dcd"
}
},
"@parity/dapp-web": {
"version": "github:paritytech/dapp-web#fb0dbd86eeeacabda786150d1d1c2a9add8584d2",
"requires": {
@ -202,16 +129,6 @@
"@parity/plugin-signer-qr": {
"version": "github:paritytech/plugin-signer-qr#8d937dd5f5d726fb22be72967fd9a472fa467bfd"
},
"@parity/shapeshift": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/@parity/shapeshift/-/shapeshift-2.1.2.tgz",
"integrity": "sha512-Ea2q/XY1N2LN8VZkBEsPb6+Aou268qabozlw9JM145acZNaOx+PDfw9+I7sQQqTZ00uKrJqsTSjPbdSQy1m9KA==",
"requires": {
"es6-promise": "4.1.1",
"node-fetch": "1.7.3",
"whatwg-fetch": "2.0.3"
}
},
"@parity/shared": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/@parity/shared/-/shared-2.2.5.tgz",
@ -688,7 +605,7 @@
"chokidar": "1.7.0",
"commander": "2.11.0",
"convert-source-map": "1.5.0",
"fs-readdir-recursive": "1.0.0",
"fs-readdir-recursive": "1.1.0",
"glob": "7.1.2",
"lodash": "4.17.4",
"output-file-sync": "1.1.2",
@ -1562,7 +1479,7 @@
"babel-plugin-transform-es2015-unicode-regex": "6.24.1",
"babel-plugin-transform-exponentiation-operator": "6.24.1",
"babel-plugin-transform-regenerator": "6.26.0",
"browserslist": "2.8.0",
"browserslist": "2.9.0",
"invariant": "2.2.2",
"semver": "5.4.1"
}
@ -2022,9 +1939,9 @@
}
},
"browserslist": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.8.0.tgz",
"integrity": "sha512-iiWHM1Et6Q4TQpB7Ar6pxuM3TNMXasVJY4Y/oh3q38EwR3Z+IdZ9MyVf7PI4MJFB4xpwMcZgs9bEUnPG2E3TCA==",
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.9.0.tgz",
"integrity": "sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw==",
"dev": true,
"requires": {
"caniuse-lite": "1.0.30000760",
@ -2279,7 +2196,7 @@
"requires": {
"anymatch": "1.3.2",
"async-each": "1.0.1",
"fsevents": "1.1.2",
"fsevents": "1.1.3",
"glob-parent": "2.0.0",
"inherits": "2.0.3",
"is-binary-path": "1.0.1",
@ -2525,11 +2442,10 @@
}
},
"commonmark-react-renderer": {
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/commonmark-react-renderer/-/commonmark-react-renderer-4.3.3.tgz",
"integrity": "sha1-nEvKE4vIMoe655LM8TNzi+nLxvo=",
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/commonmark-react-renderer/-/commonmark-react-renderer-4.3.4.tgz",
"integrity": "sha512-+/Rzo3sI37NR8LaVdkUiqBH3+CEW75hc86shwY4E9eEERg78VCy4rSkaP/p7OG5bTvosUMkvhn5d1ZJ5iyt/ag==",
"requires": {
"in-publish": "2.0.0",
"lodash.assign": "4.2.0",
"lodash.isplainobject": "4.0.6",
"pascalcase": "0.1.1",
@ -3843,6 +3759,14 @@
"object.values": "1.0.4",
"prop-types": "15.5.10",
"uuid": "3.1.0"
},
"dependencies": {
"uuid": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
"integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==",
"dev": true
}
}
},
"errno": {
@ -4041,7 +3965,7 @@
"debug": "2.6.9",
"doctrine": "1.5.0",
"escope": "3.6.0",
"espree": "3.5.1",
"espree": "3.5.2",
"estraverse": "4.2.0",
"esutils": "2.0.2",
"file-entry-cache": "2.0.0",
@ -4141,9 +4065,9 @@
"dev": true
},
"espree": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-3.5.1.tgz",
"integrity": "sha1-DJiLirRttTEAoZVK5LqZXd0n2H4=",
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/espree/-/espree-3.5.2.tgz",
"integrity": "sha512-sadKeYwaR/aJ3stC2CdvgXu1T16TdYN+qwCpcWbMnGJ8s0zNWemzrvb2GbD4OhmJ/fwpJjudThAlLobGbWZbCQ==",
"dev": true,
"requires": {
"acorn": "5.2.1",
@ -4752,9 +4676,9 @@
}
},
"fs-readdir-recursive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz",
"integrity": "sha1-jNF0XItPiinIyuw5JHaSG6GV9WA=",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
"integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==",
"dev": true
},
"fs.realpath": {
@ -4764,14 +4688,14 @@
"dev": true
},
"fsevents": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz",
"integrity": "sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz",
"integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==",
"dev": true,
"optional": true,
"requires": {
"nan": "2.7.0",
"node-pre-gyp": "0.6.36"
"node-pre-gyp": "0.6.39"
},
"dependencies": {
"abbrev": {
@ -4929,7 +4853,6 @@
"version": "2.0.5",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"boom": "2.10.1"
}
@ -4977,6 +4900,12 @@
"dev": true,
"optional": true
},
"detect-libc": {
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true
},
"ecc-jsbn": {
"version": "0.1.1",
"bundled": true,
@ -5118,7 +5047,6 @@
"version": "3.1.3",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"boom": "2.10.1",
"cryptiles": "2.0.5",
@ -5290,11 +5218,13 @@
"optional": true
},
"node-pre-gyp": {
"version": "0.6.36",
"version": "0.6.39",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"detect-libc": "1.0.2",
"hawk": "3.1.3",
"mkdirp": "0.5.1",
"nopt": "4.0.1",
"npmlog": "4.1.0",
@ -5502,7 +5432,6 @@
"version": "1.0.9",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"hoek": "2.16.3"
}
@ -6128,7 +6057,7 @@
"ncname": "1.0.0",
"param-case": "2.1.1",
"relateurl": "0.2.7",
"uglify-js": "3.1.8"
"uglify-js": "3.1.9"
},
"dependencies": {
"source-map": {
@ -6138,9 +6067,9 @@
"dev": true
},
"uglify-js": {
"version": "3.1.8",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.8.tgz",
"integrity": "sha512-1lnTkrJWw6LJ7n43ZyYVXx0eN2PQh0c3Inb0nY/vj5fNfwykXQFif2kvNgm/Bf0ClLA8R6SKaMHFzo9io4Q+vg==",
"version": "3.1.9",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.9.tgz",
"integrity": "sha512-ari2E89bD7f+fMU173NgF12JBcOhgoxeyuCs97h5K58IBENrnG9eVj2lFadrOPdqf0KifsxVmUQfzA2cHNxCZQ==",
"dev": true,
"requires": {
"commander": "2.11.0",
@ -7258,11 +7187,6 @@
"nan": "2.7.0",
"prebuild-install": "2.3.0"
}
},
"uuid": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.0.tgz",
"integrity": "sha1-Zyj8BFnEUNeWqZwxg3VpvfZy1yg="
}
}
},
@ -10260,7 +10184,7 @@
"integrity": "sha1-scYZBP7liViGgDvZ332yPD3DqJ4=",
"requires": {
"commonmark": "0.24.0",
"commonmark-react-renderer": "4.3.3",
"commonmark-react-renderer": "4.3.4",
"in-publish": "2.0.0",
"prop-types": "15.5.10"
}
@ -10774,7 +10698,7 @@
"stringstream": "0.0.5",
"tough-cookie": "2.3.3",
"tunnel-agent": "0.4.3",
"uuid": "3.1.0"
"uuid": "3.0.0"
},
"dependencies": {
"extend": {
@ -12060,13 +11984,13 @@
"chownr": "1.0.1",
"mkdirp": "0.5.1",
"pump": "1.0.2",
"tar-stream": "1.5.4"
"tar-stream": "1.5.5"
}
},
"tar-stream": {
"version": "1.5.4",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.4.tgz",
"integrity": "sha1-NlSc8E7RrumyowwBQyUiONr5QBY=",
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.5.tgz",
"integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==",
"requires": {
"bl": "1.2.1",
"end-of-stream": "1.4.0",
@ -12585,10 +12509,9 @@
"dev": true
},
"uuid": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
"integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==",
"dev": true
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.0.tgz",
"integrity": "sha1-Zyj8BFnEUNeWqZwxg3VpvfZy1yg="
},
"v8flags": {
"version": "2.1.1",
@ -13111,13 +13034,13 @@
"dev": true,
"requires": {
"http-parser-js": "0.4.9",
"websocket-extensions": "0.1.2"
"websocket-extensions": "0.1.3"
}
},
"websocket-extensions": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.2.tgz",
"integrity": "sha1-Dhh4HeYpoYMIzhSBZQ9n/6JpOl0=",
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",
"integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==",
"dev": true
},
"whatwg-encoding": {

View File

@ -130,42 +130,25 @@
"yargs": "6.6.0"
},
"dependencies": {
"@parity/abi": "2.1.x",
"@parity/api": "2.1.x",
"@parity/dapp-account": "paritytech/dapp-account",
"@parity/dapp-accounts": "paritytech/dapp-accounts",
"@parity/dapp-address": "paritytech/dapp-address",
"@parity/dapp-addresses": "paritytech/dapp-addresses",
"@parity/dapp-chaindeploy": "paritytech/dapp-chaindeploy",
"@parity/dapp-contract": "paritytech/dapp-contract",
"@parity/dapp-contracts": "paritytech/dapp-contracts",
"@parity/dapp-console": "paritytech/dapp-console",
"@parity/dapp-dapp-accounts": "paritytech/dapp-dapp-accounts",
"@parity/dapp-dapp-methods": "paritytech/dapp-dapp-methods",
"@parity/dapp-dapp-visible": "paritytech/dapp-dapp-visible",
"@parity/dapp-dappreg": "paritytech/dapp-dappreg",
"@parity/dapp-develop": "paritytech/dapp-develop",
"@parity/dapp-githubhint": "paritytech/dapp-githubhint",
"@parity/dapp-home": "paritytech/dapp-home",
"@parity/dapp-localtx": "paritytech/dapp-localtx",
"@parity/dapp-playground": "paritytech/dapp-playground",
"@parity/dapp-registry": "paritytech/dapp-registry",
"@parity/dapp-settings": "paritytech/dapp-settings",
"@parity/dapp-signaturereg": "paritytech/dapp-signaturereg",
"@parity/dapp-signer": "paritytech/dapp-signer",
"@parity/dapp-status": "paritytech/dapp-status",
"@parity/dapp-tokendeploy": "paritytech/dapp-tokendeploy",
"@parity/dapp-tokenreg": "paritytech/dapp-tokenreg",
"@parity/dapp-vaults": "paritytech/dapp-vaults",
"@parity/dapp-wallet": "paritytech/dapp-wallet",
"@parity/dapp-web": "paritytech/dapp-web",
"@parity/etherscan": "2.1.x",
"@parity/jsonrpc": "2.1.x",
"@parity/ledger": "2.1.x",
"@parity/plugin-signer-account": "paritytech/plugin-signer-account",
"@parity/plugin-signer-default": "paritytech/plugin-signer-default",
"@parity/plugin-signer-hardware": "paritytech/plugin-signer-hardware",
"@parity/plugin-signer-qr": "paritytech/plugin-signer-qr",
"@parity/shapeshift": "2.1.x",
"@parity/dapp-vaults": "paritytech/dapp-vaults",
"@parity/shared": "2.2.x",
"@parity/ui": "2.2.x",
"keythereum": "1.0.2",

View File

@ -5,6 +5,7 @@ set -e
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
BRANCH=$CI_BUILD_REF_NAME
GIT_PARITY="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/parity.git"
GITLOG=./.git/.git-release.log
# setup the git user defaults for the current repo
function setup_git_user {
@ -14,11 +15,6 @@ function setup_git_user {
git config user.name "GitLab Build Bot"
}
# change into the build directory
BASEDIR=`dirname $0`
GITLOG=.git-release.log
pushd $BASEDIR/..
echo "*** [cargo] Setting up GitHub config for parity"
setup_git_user
git remote set-url origin $GIT_PARITY
@ -48,9 +44,5 @@ git add Cargo.lock
git commit -m "[ci skip] js-precompiled $UTCDATE"
git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG
# back to root
echo "*** [cargo] Release completed"
popd
# exit with exit code
exit 0

View File

@ -5,6 +5,8 @@ set -e
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
BRANCH=$CI_BUILD_REF_NAME
GIT_JS_PRECOMPILED="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/js-precompiled.git"
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
# setup the git user defaults for the current repo
function setup_git_user {
@ -15,8 +17,6 @@ function setup_git_user {
}
# change into the build directory
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
pushd $BASEDIR
cd ../.dist

View File

@ -1 +1 @@
// test script 18
// test script 19