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

Output publish information before publishing #574

Merged
merged 17 commits into from
Jul 5, 2019
Merged
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
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square"
alt="Standard" />
</a>
<!-- Greenkeeper -->
<a href="https://greenkeeper.io">
<img src="https://badges.greenkeeper.io/aragon/aragon-cli.svg?style=flat-square"
alt="Greenkeeper" />
</a>
<!-- Lerna -->
<a href="https://lerna.js.org/">
<img src="https://img.shields.io/badge/maintained%20with-lerna-blueviolet.svg?style=flat-square"
Expand Down Expand Up @@ -83,17 +78,14 @@ Stable versions:
[latest-stable-npm-badge]: https://img.shields.io/npm/v/@aragon/cli/stable.svg?style=flat-square
[latest-stable-docs-badge]: https://img.shields.io/badge/docs-latest%20stable-blue.svg?style=flat-square
[latest-stable-docs-link]: https://hack.aragon.org/docs/cli-intro.html

[593-npm-badge]: https://img.shields.io/badge/npm-v5.9.3-blue.svg?style=flat-square
[593-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.9.3
[593-docs-badge]: https://img.shields.io/badge/docs-v5.9.3-blue.svg?style=flat-square
[593-docs-link]: https://github.com/aragon/aragon-cli/blob/v5.9.3/docs/Intro.md

[580-npm-badge]: https://img.shields.io/badge/npm-v5.8.0-blue.svg?style=flat-square
[580-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.7.0
[580-docs-badge]: https://img.shields.io/badge/docs-v5.8.0-blue.svg?style=flat-square
[580-docs-link]: https://github.com/aragon/aragon-cli/blob/v5.8.0/docs/Intro.md

[562-npm-badge]: https://img.shields.io/badge/npm-v5.6.2-blue.svg?style=flat-square
[562-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.6.2
[562-docs-badge]: https://img.shields.io/badge/docs-v5.6.2-blue.svg?style=flat-square
Expand Down Expand Up @@ -131,7 +123,6 @@ npm run link
[nightly-coverage-link]: https://coveralls.io/github/aragon/aragon-cli
[nightly-build-badge]: https://img.shields.io/travis/aragon/aragon-cli/master.svg?style=flat-square
[nightly-build-link]: https://travis-ci.org/aragon/aragon-cli/branches

[npm-link]: https://npmjs.org/package/@aragon/cli
[stability-stable-badge]: https://img.shields.io/badge/stability-stable-brightgreen.svg?style=flat-square
[stability-experimental-badge]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
Expand Down
5 changes: 4 additions & 1 deletion docs/Apm-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,18 @@ The command has the following parameters:

- `--only-content`: For minor and patch upgrades; whether to skip contract compilation, deployment and contract artifact generation.
- `--only-artifacts`: Whether just generate artifacts file without publishing.
- `--init`: Arguments to be passed to contract constructor on deploy. Need to be separated by a space. The `@ARAGON_ENS` alias can be used and it will be replaced by the address of the ENS registry in the devchain.
- `--provider`: The provider where the files of the package will be published to. Defaults to `ipfs`.
- `--files`: The path to the files that will be published. Defaults to the current directory.
- `--ignore`: A gitignore pattern of files to ignore. Specify multiple times to add multiple patterns. Defaults to just the `node_modules` directory.
- `--publish-dir`: The path to the directory where all the files and generated artifacts will be copied to before publishing. If it is not specified, it will create a temporary directory.
- `--build`: A flag to specify whether the webapp should be built while publishing, running the script specified in `build-script` of `package.json`. Defaults to `true`.
- `--build-script`: The name of the NPM script in your app that will be used for building the webapp.
- `--prepublish`: A flag to specify whether to run a prepublish script specified in `prepublish-script` of `package.json`. Defaults to `true`.
- `--prepublish-script`: The name of the NPM script in your app that will be run before publishing the app.
- `--prepublish-script`: The name of the NPM script in your app that will be run before publishing the app. Defaults to `prepublishOnly`.
- `--http`: The URI for the HTTP server that will be serving your app files (e.g. localhost:1234). See [instructions on running from HTTP](#running-your-app-from-a-development-http-server) for more information.
- `--http-served-from`: Path to the directory that the HTTP server exposes (e.g. ./dist). Some artifacts are generated and placed in this directory during the publishing process of your app.
- `--ipfs-check`: Whether to have start IPFS if not started. Defaults to `true`.
- `--reuse`: Whether to reuse the previous version contract and skip deployment on non-major versions. Defaults to `false`.
- `--propagate-content`: Whether to propagate the content once published. Defaults to `true`.
- `--skip-confirmation`: Whether to skip the confirmation step. Defaults to `false`.
3 changes: 2 additions & 1 deletion docs/Main-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Available options to customize the `run` command:
- `--build`: A flag to specify whether the webapp should be built while publishing, running the script specified in `build-script` of `package.json`. Defaults to `true`.
- `--build-script`: The name of the NPM script in your app that will be used for building the webapp.
- `--prepublish`: A flag to specify whether to run a prepublish script specified in `prepublish-script` of `package.json`. Defaults to `true`.
- `--prepublish-script`: The name of the NPM script in your app that will be run before publishing the app.
- `--prepublish-script`: The name of the NPM script in your app that will be run before publishing the app. Defaults to `prepublishOnly`.
- `bump`: Type of bump (major, minor or patch) or version number to publish the app.
- `--client`: Whether to start the Aragon client or not. Defaults to `true`.
- `--client-version`: Version of Aragon client used to run your sandboxed app.
- `--client-port`: Port being used by Aragon client.
Expand Down
9 changes: 0 additions & 9 deletions packages/aragon-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square"
alt="Standard" />
</a>
<!-- Greenkeeper -->
<a href="https://greenkeeper.io">
<img src="https://badges.greenkeeper.io/aragon/aragon-cli.svg?style=flat-square"
alt="Greenkeeper" />
</a>
<!-- Lerna -->
<a href="https://lerna.js.org/">
<img src="https://img.shields.io/badge/maintained%20with-lerna-blueviolet.svg?style=flat-square"
Expand Down Expand Up @@ -83,17 +78,14 @@ Stable versions:
[latest-stable-npm-badge]: https://img.shields.io/npm/v/@aragon/cli/stable.svg?style=flat-square
[latest-stable-docs-badge]: https://img.shields.io/badge/docs-latest%20stable-blue.svg?style=flat-square
[latest-stable-docs-link]: https://hack.aragon.org/docs/cli-intro.html

[593-npm-badge]: https://img.shields.io/badge/npm-v5.9.3-blue.svg?style=flat-square
[593-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.9.3
[593-docs-badge]: https://img.shields.io/badge/docs-v5.9.3-blue.svg?style=flat-square
[593-docs-link]: https://github.com/aragon/aragon-cli/blob/v5.9.3/docs/Intro.md

[580-npm-badge]: https://img.shields.io/badge/npm-v5.8.0-blue.svg?style=flat-square
[580-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.7.0
[580-docs-badge]: https://img.shields.io/badge/docs-v5.8.0-blue.svg?style=flat-square
[580-docs-link]: https://github.com/aragon/aragon-cli/blob/v5.8.0/docs/Intro.md

[562-npm-badge]: https://img.shields.io/badge/npm-v5.6.2-blue.svg?style=flat-square
[562-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.6.2
[562-docs-badge]: https://img.shields.io/badge/docs-v5.6.2-blue.svg?style=flat-square
Expand Down Expand Up @@ -131,7 +123,6 @@ npm run link
[nightly-coverage-link]: https://coveralls.io/github/aragon/aragon-cli
[nightly-build-badge]: https://img.shields.io/travis/aragon/aragon-cli/master.svg?style=flat-square
[nightly-build-link]: https://travis-ci.org/aragon/aragon-cli/branches

[npm-link]: https://npmjs.org/package/@aragon/cli
[stability-stable-badge]: https://img.shields.io/badge/stability-stable-brightgreen.svg?style=flat-square
[stability-experimental-badge]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
Expand Down
Loading