From 225fcd45a0ad3b59af1c37190e9192424d06d949 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Wed, 15 Apr 2020 21:39:07 +0800 Subject: [PATCH] fix: README links to command source code result in 404 closes #21 --- README.md | 8 ++++---- package.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3ee5c7c..baf8fd4 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ EXAMPLE } ``` -_See code: [src/commands/auth/index.js](https://github.com/adobe/aio-cli-plugin-auth/blob/v2.0.0/src/commands/auth/index.js)_ +_See code: [src/commands/auth/index.js](https://github.com/adobe/aio-cli-plugin-auth/blob/2.0.0/src/commands/auth/index.js)_ ## `aio auth:ctx` @@ -168,7 +168,7 @@ ALIASES $ aio context ``` -_See code: [src/commands/auth/ctx.js](https://github.com/adobe/aio-cli-plugin-auth/blob/v2.0.0/src/commands/auth/ctx.js)_ +_See code: [src/commands/auth/ctx.js](https://github.com/adobe/aio-cli-plugin-auth/blob/2.0.0/src/commands/auth/ctx.js)_ ## `aio auth:login` @@ -220,7 +220,7 @@ ALIASES $ aio login ``` -_See code: [src/commands/auth/login.js](https://github.com/adobe/aio-cli-plugin-auth/blob/v2.0.0/src/commands/auth/login.js)_ +_See code: [src/commands/auth/login.js](https://github.com/adobe/aio-cli-plugin-auth/blob/2.0.0/src/commands/auth/login.js)_ ## `aio auth:logout` @@ -257,7 +257,7 @@ ALIASES $ aio logout ``` -_See code: [src/commands/auth/logout.js](https://github.com/adobe/aio-cli-plugin-auth/blob/v2.0.0/src/commands/auth/logout.js)_ +_See code: [src/commands/auth/logout.js](https://github.com/adobe/aio-cli-plugin-auth/blob/2.0.0/src/commands/auth/logout.js)_ diff --git a/package.json b/package.json index 20b79ab..c4c35c8 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,8 @@ "bin": "aio", "devPlugins": [ "@oclif/plugin-help" - ] + ], + "repositoryPrefix": "<%- repo %>/blob/<%- version %>/<%- commandPath %>" }, "repository": "https://github.com/adobe/aio-cli-plugin-auth", "scripts": {