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

Initial refactor #22

Merged
merged 62 commits into from
Dec 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
399a6ae
Refactor CLI entrypoint
onbjerg Nov 19, 2017
93ebb73
Refactor init command
onbjerg Nov 19, 2017
228c779
Compute `cwd` for commands
onbjerg Nov 19, 2017
5925811
Run `init` in cwd
onbjerg Nov 19, 2017
0078192
Actually find `cwd` and project root
onbjerg Nov 19, 2017
a0a1ba0
Clean up CLI entrypoint
onbjerg Nov 19, 2017
07ada4b
Change some naming in init command
onbjerg Nov 19, 2017
8b05eab
Remove unused file
onbjerg Nov 19, 2017
15c9f30
Support async commands
onbjerg Nov 20, 2017
5e2dbfb
Handle command exit code
onbjerg Nov 20, 2017
0114362
Set exit code to 1 on error
onbjerg Nov 20, 2017
2f0a157
Handle errors cloning in init command
onbjerg Nov 20, 2017
22bf269
Remove useless `async` modifier in init command handler
onbjerg Nov 20, 2017
1cc1df6
Refactor `version` command
onbjerg Nov 20, 2017
9643938
Refactor ENS utils
onbjerg Nov 20, 2017
a2b3f8c
Refactor APM
onbjerg Nov 20, 2017
db9d7eb
Refactor `versions` command
onbjerg Nov 20, 2017
842cb05
Rely on `ethereum-ens` to get canonical ENS registyr address
onbjerg Nov 20, 2017
bec482a
Build Web3 instance
onbjerg Nov 20, 2017
c02af32
Fix typo in `versions` command
onbjerg Nov 20, 2017
03a7fe4
Respect `--ens-registry` flag in versions command
onbjerg Nov 20, 2017
157b063
Add `uploadFiles` to APM storage providers
onbjerg Nov 21, 2017
c97cc95
Add `fs` storage provider for APM
onbjerg Nov 21, 2017
10661bb
Import `fs` APM storage provider in APM entrypoint
onbjerg Nov 21, 2017
42c8d32
Refactor `readFileFromApplication` to an async function
onbjerg Nov 21, 2017
9b54956
Add Wallaby configuration
onbjerg Nov 21, 2017
ed9084b
Add tests for `fs` storage provider
onbjerg Nov 21, 2017
08e23ce
Add lint script
onbjerg Nov 24, 2017
e6a93e4
Add .travis.yml
onbjerg Nov 24, 2017
6d37072
Add missing dependencies
onbjerg Nov 24, 2017
a56274a
Remove unused files and dependencies
onbjerg Nov 24, 2017
3506f63
Add badges to README
onbjerg Nov 24, 2017
4b919c2
Add `.node-version`
onbjerg Nov 29, 2017
a2dbd2a
Fix `ConsoleReporter#debug`
onbjerg Nov 30, 2017
68cb345
Resolve manifest and module automatically
onbjerg Nov 30, 2017
58ea714
Write to `module.json` in `version` command
onbjerg Nov 30, 2017
18f23c5
Fix project root resolving
onbjerg Nov 30, 2017
a678070
Refactor APM version functions
onbjerg Nov 30, 2017
0a89e6a
Fix ENS module
onbjerg Nov 30, 2017
415d0cb
Add `apm#getRepoRegistry` function
onbjerg Nov 30, 2017
4ec6a46
Add `apm#publishVersion` function
onbjerg Nov 30, 2017
6cb7df1
Output error stack as debug
onbjerg Nov 30, 2017
cda43e2
Refactor `publish` command
onbjerg Nov 30, 2017
f9c3f72
Only show debug output when `DEBUG` env var is set
onbjerg Nov 30, 2017
a4dda48
Add `--ignore` and `--files` flags for publish command
onbjerg Nov 30, 2017
05d9198
Refactor application artifact generation
onbjerg Nov 30, 2017
d1af67f
Use `Error.captureStackTrace` in `MessageError`
onbjerg Dec 4, 2017
c4a7836
Correct docblock for `ens#resolve`
onbjerg Dec 4, 2017
bf7d381
Clean up imports for publish command
onbjerg Dec 4, 2017
a1d37bf
Clarify app name format in init command
onbjerg Dec 4, 2017
e51b42c
Use Web3 to sign transactions instead of `ethereumjs-tx`
onbjerg Dec 4, 2017
7f07442
Clone module object to artifact object
onbjerg Dec 17, 2017
68c5e04
Optimize `apm#getAllVersions`
onbjerg Dec 25, 2017
9d69d25
Check that transaction would succeed in `apm#publishVersion`
onbjerg Dec 25, 2017
f8c6515
Add missing `await` in `apm#publishVersion`
onbjerg Dec 25, 2017
2b5449a
Add minor tweak to recipes in README
onbjerg Dec 25, 2017
666756c
Add options to APM storage providers
onbjerg Dec 25, 2017
a76d2b7
Rewrite package-lock.json
onbjerg Dec 25, 2017
6b57951
Propogate APM options
onbjerg Dec 25, 2017
efade07
Honor `--silent` flag
onbjerg Dec 25, 2017
29a5a1e
Fix versions command
onbjerg Dec 25, 2017
7e94e67
Improve error message for missing contract interface file
onbjerg Dec 25, 2017
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
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
^8.9.1
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '8'
- '9'
before_script:
- npm prune
script:
- npm run lint
- npm run test
after_success:
- ./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls
53 changes: 51 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,52 @@
# Aragon CLI
<h1 align="center">Aragon CLI</h1>

<div align="center">
<!-- NPM version -->
<a href="https://npmjs.org/package/@aragon/cli">
<img src="https://img.shields.io/npm/v/@aragon/cli.svg?style=flat-square"
alt="NPM version" />
</a>
<!-- Build Status -->
<a href="https://travis-ci.org/aragon/aragon-dev-cli">
<img src="https://img.shields.io/travis/aragon/aragon-dev-cli/master.svg?style=flat-square"
alt="Build Status" />
</a>
<!-- Test Coverage -->
<a href="https://coveralls.io/github/aragon/aragon-dev-cli">
<img src="https://img.shields.io/coveralls/aragon/aragon-dev-cli.svg?style=flat-square"
alt="Test Coverage" />
</a>
<!-- Downloads -->
<a href="https://npmjs.org/package/@aragon/cli">
<img src="https://img.shields.io/npm/dm/@aragon/cli.svg?style=flat-square"
alt="Downloads" />
</a>
<!-- Standard -->
<a href="https://standardjs.com">
<img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square"
alt="Standard" />
</a>
</div>

<div align="center">
<h4>
<a href="https://aragon.one">
Website
</a>
<span> | </span>
<a href="https://github.com/aragon/aragon-dev-cli/tree/master/docs">
Documentation
</a>
<span> | </span>
<a href="https://github.com/aragon/aragon-dev-cli/blob/master/.github/CONTRIBUTING.md">
Contributing
</a>
<span> | </span>
<a href="https://aragon.chat">
Chat
</a>
</h4>
</div>

CLI tool for creating, testing and publishing Aragon applications.

Expand Down Expand Up @@ -55,6 +103,7 @@ aragon-dev-cli publish
```

### Scaffolding from a custom template
```

```bash
aragon-dev-cli init polls.aragonpm.test username/gh-repo
```
201 changes: 0 additions & 201 deletions abi/ens/ENSRegistry.json

This file was deleted.

Loading