Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.0.0 beta.1 #94

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
language: node_js
notifications:
email: true
node_js:
- '8'
install:
- travis_wait 60 npm install
- travis_wait 60 npm run get-client
- travis_wait 60 npm run get-core-apps
- travis_wait 60 npm run get-dao-templates
- travis_wait 60 npm run get-fundraising
- travis_wait 60 npm run get-open-enterprise
- npm run start
before_script:
- npm prune
before_deploy: echo 'Starting publish to NPM'
deploy:
skip_cleanup: true
provider: npm
email: [email protected]
api_key:
secure: UO/9KUzMStVfgR+pOjURKK+mCrjVsP2a9GhrbpclL9yCGyylHe0uyGX5/pF+crMHoSjgYoew00UZgKEfzSIdYiR7h2hs5J+wcTOnSjapevL4/NA0C608fQOilb7Fj5vmxSuYTjZHCUvEcmTVmGU+zpw+YHYtyl5rmONwWZXHKQzKSPflzl0rJL+HMTgJYjbOB3RqxwK7kcW58wWkJl+x1aFxK1KMTnqUHS8FOITo1c7Gn0wPEPSPogzkXh8RVOpA4xkNbOP2gqqfpfuzBuDhULK1MBxvnSnuvaXBHAFaF1a++wj65+f3mo8zpHOIm6n/rcAbQC5siRHZph83K4oszdPf+oxRXneuezFogdoHlUdKUFy7Kdmca/HYYZDlstH3ERrC/apKyh4+5MG7ElCf1V8xItG1XySbLpMnCs0EYsxnoo1XtLeIBJop2nPbsrpBQULkq6Z7zn+tIU8SSAd5hqnfsa+pkvMKbPirzhy7xdyhK2iV97P+y0EkEEI4MOhjGRbyHOyS5ATeXbKb+l3ZcooJ6+rJz9YvjVsF4Ivy0RDfdADKKR1RLQ3Pw1/MBooTGBAUuw4/RopO5h4h2ivyNpfxkWikS86fn8nyZrGZGQe1lJOIgZ8GEtUppYhmd70jilaY5VGRelXQGYrFt+eBAiDcqYGeMDmOa8ZaTjFSS9k=
on:
branch: master
repo: aragon/aragen
# language: node_js
# notifications:
# email: true
# node_js:
# - '8'
# install:
# - travis_wait 60 npm install
# - travis_wait 60 npm run get-client
# - travis_wait 60 npm run get-core-apps
# - travis_wait 60 npm run get-dao-templates
# - travis_wait 60 npm run get-fundraising
# - travis_wait 60 npm run get-open-enterprise
# - npm run start
# before_script:
# - npm prune
# before_deploy: echo 'Starting publish to NPM'
# deploy:
# skip_cleanup: true
# provider: npm
# email: [email protected]
# api_key:
# secure: UO/9KUzMStVfgR+pOjURKK+mCrjVsP2a9GhrbpclL9yCGyylHe0uyGX5/pF+crMHoSjgYoew00UZgKEfzSIdYiR7h2hs5J+wcTOnSjapevL4/NA0C608fQOilb7Fj5vmxSuYTjZHCUvEcmTVmGU+zpw+YHYtyl5rmONwWZXHKQzKSPflzl0rJL+HMTgJYjbOB3RqxwK7kcW58wWkJl+x1aFxK1KMTnqUHS8FOITo1c7Gn0wPEPSPogzkXh8RVOpA4xkNbOP2gqqfpfuzBuDhULK1MBxvnSnuvaXBHAFaF1a++wj65+f3mo8zpHOIm6n/rcAbQC5siRHZph83K4oszdPf+oxRXneuezFogdoHlUdKUFy7Kdmca/HYYZDlstH3ERrC/apKyh4+5MG7ElCf1V8xItG1XySbLpMnCs0EYsxnoo1XtLeIBJop2nPbsrpBQULkq6Z7zn+tIU8SSAd5hqnfsa+pkvMKbPirzhy7xdyhK2iV97P+y0EkEEI4MOhjGRbyHOyS5ATeXbKb+l3ZcooJ6+rJz9YvjVsF4Ivy0RDfdADKKR1RLQ3Pw1/MBooTGBAUuw4/RopO5h4h2ivyNpfxkWikS86fn8nyZrGZGQe1lJOIgZ8GEtUppYhmd70jilaY5VGRelXQGYrFt+eBAiDcqYGeMDmOa8ZaTjFSS9k=
# on:
# branch: master
# repo: aragon/aragen
12 changes: 7 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module.exports = {
// ENS is deterministically deployed to this address
// Addresses deterministically deployed
ens: '0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1',
commands: {
start: require('./src/commands/start'),
status: require('./src/commands/status'),
},
daoFacotry: '0x5d94e3e7aec542ab0f9129b9a7badeb5b3ca0f77',
minimeFactory: '0xd526b7aba39cccf76422835e7fd5327b98ad73c9',
fifsResolvingRegistrar: '0xf1f8aac64036cdd399886b1c157b7e3b361093f3',
apmRegistry: '0x32296d9f8fed89658668875dc73cacf87e8888b2',
openRegistry: '0x983f1d68a781abbc3a49676a6399dd173de25105',
hatchRegistry: '0xd4592f8b2116d00fc4ce183773eb24c584060cfc',
}
6 changes: 0 additions & 6 deletions lib.js

This file was deleted.

35 changes: 4 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
{
"name": "@aragon/aragen",
"version": "5.4.2",
"version": "6.0.0-beta.1",
"description": "Generate Aragon local dev environment snapshots",
"main": "index.js",
"bin": {
"aragen": "./src/cli.js"
},
"scripts": {
"prepare": "npm run gen",
"prepublishOnly": "npm run build",
"build": "webpack-cli --config ./src/webpack/webpack.node.config.js",
"start": "npm run start-ganache-bg && npm run deploy",
"start:local": "npm run start-ganache-bg && npm run link-repos && npm run deploy",
"link-repos": "scripts/link-repos",
Expand All @@ -32,8 +27,7 @@
"files": [
"index.js",
"aragon-ganache",
"ipfs-cache",
"src"
"ipfs-cache"
],
"repository": {
"type": "git",
Expand All @@ -48,20 +42,7 @@
"url": "https://github.com/aragon/aragen/issues"
},
"homepage": "https://github.com/aragon/aragen#readme",
"dependencies": {
"@aragon/cli-utils": "^0.0.8",
"@babel/polyfill": "^7.0.0",
"chalk": "^2.1.0",
"ethers": "^4.0.0",
"execa": "^2.0.3",
"find-process": "^1.4.2",
"listr": "^0.14.3",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"rimraf": "^2.6.2",
"source-map-support": "0.5.12",
"yargs": "^13.2.4"
},
"dependencies": {},
"devDependencies": {
"@aragon/cli": "^6.0.0",
"@aragon/id": "^2.0.0",
Expand All @@ -70,15 +51,7 @@
"eth-ens-namehash": "^2.0.8",
"ganache-cli": "^6.7.0",
"ganache-core": "^2.8.0",
"js-scrypt": "0.2.0",
"node-loader": "^0.6.0",
"on-build-webpack": "^0.1.0",
"prepend-file": "^1.3.1",
"scrypt": "6.0.3",
"shebang-loader": "0.0.1",
"truffle": "4.1.14",
"webpack": "^4.18.0",
"webpack-cli": "3.1.0"
"truffle": "4.1.14"
},
"publishConfig": {
"access": "public"
Expand Down
13 changes: 5 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@ The Aragen package published to NPM contains a ganache snapshot that can be used
By default it has set up:

- ENS: `0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1`
- DAO_FACTORY: `0x5d94e3e7aec542ab0f9129b9a7badeb5b3ca0f77`
- MINIME_FACTORY: `0xd526b7aba39cccf76422835e7fd5327b98ad73c9`
- FIFResolvingRegistrar: `0xf1f8aac64036cdd399886b1c157b7e3b361093f3`

- APM: `ens.addr('aragonpm.eth')`
- AragonID: `ens.owner('aragonid.eth')`
- Aragon apps: As APM repos, e.g. `apm.getLatest('voting.aragonpm.eth')`
- Beta templates: As APM repos, e.g. `apm.getLatest('democracy-template.aragonpm.eth')`

To use directly with ganache-cli:

```
npm install @aragon/aragen
npx aragen start
```
- Templates: As APM repos, e.g. `apm.getLatest('democracy-template.aragonpm.eth')`

If you wish to access from code, for example to run ganache-core directly:

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/start-ganache
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd $(dirname $0)/..
BASEPATH=$(pwd)
mnemonic=$(node -p "require(require('path').join(\"${BASEPATH}\", 'src/helpers/ganache-vars')).MNEMONIC")
mnemonic=$(node -p "require(require('path').join(\"${BASEPATH}\", 'scripts/helpers/ganache-vars')).MNEMONIC")

rm -rf aragon-ganache
mkdir aragon-ganache
Expand Down
51 changes: 0 additions & 51 deletions src/cli.js

This file was deleted.

Loading