From 54702cae7755c30e3e405de77e05f8cf1652dcbe Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Wed, 15 Apr 2020 22:17:55 +0800 Subject: [PATCH] fix: README links to command source code result in 404 (#102) closes #99 --- README.md | 14 +++++++------- package.json | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9e04127..c18665d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ $ npm install -g @adobe/aio-cli-plugin-console $ ./bin/run COMMAND running command... $ ./bin/run (-v|--version|version) -@adobe/aio-cli-plugin-console/2.0.4 darwin-x64 node-v10.15.3 +@adobe/aio-cli-plugin-console/2.0.4 darwin-x64 node-v10.18.1 $ ./bin/run --help [COMMAND] USAGE $ ./bin/run COMMAND @@ -82,7 +82,7 @@ EXAMPLES $ aio console current-integration ``` -_See code: [src/commands/console/index.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/index.js)_ +_See code: [src/commands/console/index.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/index.js)_ ## `./bin/run console:integration NAMESPACE` @@ -103,7 +103,7 @@ ALIASES $ ./bin/run console:int ``` -_See code: [src/commands/console/integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/integration.js)_ +_See code: [src/commands/console/integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/integration.js)_ ## `./bin/run console:list-integrations` @@ -124,7 +124,7 @@ ALIASES $ ./bin/run console:list ``` -_See code: [src/commands/console/list-integrations.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/list-integrations.js)_ +_See code: [src/commands/console/list-integrations.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/list-integrations.js)_ ## `./bin/run console:reset-integration [INTEGRATION_ID]` @@ -142,7 +142,7 @@ ALIASES $ ./bin/run console:reset ``` -_See code: [src/commands/console/reset-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/reset-integration.js)_ +_See code: [src/commands/console/reset-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/reset-integration.js)_ ## `./bin/run console:select-integration [INTEGRATION_ID]` @@ -169,7 +169,7 @@ ALIASES $ ./bin/run console:select ``` -_See code: [src/commands/console/select-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/select-integration.js)_ +_See code: [src/commands/console/select-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/select-integration.js)_ ## `./bin/run console:selected-integration` @@ -187,5 +187,5 @@ ALIASES $ ./bin/run console:current ``` -_See code: [src/commands/console/selected-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.4/src/commands/console/selected-integration.js)_ +_See code: [src/commands/console/selected-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/2.0.4/src/commands/console/selected-integration.js)_ diff --git a/package.json b/package.json index 9cb77bb..d886751 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "console": { "description": "List or select console integrations for the Adobe I/O Runtime" } - } + }, + "repositoryPrefix": "<%- repo %>/blob/<%- version %>/<%- commandPath %>" }, "repository": "adobe/aio-cli-plugin-console", "scripts": {