From c280f179bd296ae3cabb8e7dc943022f88e9e8a4 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 3 Nov 2014 17:26:58 +0000 Subject: [PATCH 1/9] v0.0.17 --- README.md | 1 + VERSION | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d84c310..90e8381 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ The package will be registered with the registry on a first come first serve bas Release History =============== +- 0.0.17 - Added extra check current working directory for installing. See Issue #23 - 0.0.16 - Improved download progress bar; fixed dependency of the download package to a fork to avoid version conflict with decompress package. This should be temporary until the conflict is resolved. - 0.0.15 - fixed Issue #22 - 0.0.14 - fixed Issue #15 diff --git a/VERSION b/VERSION index e3b86dd..cd23180 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.16 +0.0.17 diff --git a/package.json b/package.json index b322685..98b67ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adapt-cli", - "version": "0.0.16", + "version": "0.0.17", "description": "Command line tools for Adapt", "main": "./lib/cli.js", "directories": { @@ -13,7 +13,7 @@ "q": "~0.9.7", "prompt": "~0.2.12", "slug": "~0.4.0", - "download": "git://github.com/SpongeUK/download.git", + "download": "git://github.com/adaptlearning/download.git", "url-join": "0.0.1", "uuid": "~1.4.1", "install": "~0.1.7", From 9845fb5916de5ab3ce7c17153fe2740ad42f8c54 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 4 Nov 2014 12:01:37 +0000 Subject: [PATCH 2/9] v0.0.18 --- README.md | 1 + VERSION | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 90e8381..1bbdd6b 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ The package will be registered with the registry on a first come first serve bas Release History =============== +- 0.0.18 - Fixed Issue #23 - 0.0.17 - Added extra check current working directory for installing. See Issue #23 - 0.0.16 - Improved download progress bar; fixed dependency of the download package to a fork to avoid version conflict with decompress package. This should be temporary until the conflict is resolved. - 0.0.15 - fixed Issue #22 diff --git a/VERSION b/VERSION index cd23180..32786aa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.17 +0.0.18 diff --git a/package.json b/package.json index 98b67ce..1d6bc59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adapt-cli", - "version": "0.0.17", + "version": "0.0.18", "description": "Command line tools for Adapt", "main": "./lib/cli.js", "directories": { From a31179bbd4d4e82a2839241b7da223d06da12b91 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 30 Jan 2015 15:00:04 +0000 Subject: [PATCH 3/9] slugerize component names --- lib/commands/create/component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands/create/component.js b/lib/commands/create/component.js index 1c7c27d..c1044d1 100644 --- a/lib/commands/create/component.js +++ b/lib/commands/create/component.js @@ -3,6 +3,7 @@ var chalk = require('chalk'), getRepository = require('../../promise/getRepository'), removeTemporaryDownload = require('../../promise/removeTemporaryDownload'), replaceTextContent = require('../../promise/replaceTextContent'), + slug = require('speakingurl'), Constants = require('../../Constants'); module.exports = function (properties) { @@ -10,7 +11,7 @@ module.exports = function (properties) { path = require('path'); properties.component = { - name: properties.localDir, + name: slug(properties.localDir), files: [] }; properties.relative = function (file) { @@ -31,7 +32,6 @@ module.exports = function (properties) { if(addComponentToCurrentCourse()) { properties.renderer.log(chalk.grey('To use this component in your course, use the registered name:') + chalk.yellow(properties.component.name)); } - }); }; From 2e0f33ac232759e3e3238e77d207ebeed35d18a4 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 30 Jan 2015 15:12:45 +0000 Subject: [PATCH 4/9] updated readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 830109e..408b85c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Usage type - What to create. Only the value "course" is currently supported. path - The directory of the new course. -branch - Optional - The branch of the framework to be downlaoded. +branch - Optional - The branch of the framework to be downloaded. For example... @@ -29,6 +29,15 @@ For example... This will download the Adapt framework and create an new course in the directory "My Course", in your current directory. +##### Creating an Adapt component + + adapt create component {name} [{branch}] + +name - The name of the new component. +branch - Optional - The branch of the component template to be downloaded. The default is master. + +If you run this in an existing course, the component will be created in the `src/components` directory. Otherwise it will be created in the current directory. + ##### Searching for an Adapt plugin. adapt search {name or partial name of plugin to search for} From 5efff89fb920f8227dc6bd65a91e316c7e359e97 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 5 Feb 2015 09:56:30 +0000 Subject: [PATCH 5/9] v0.0.20 --- README.md | 1 + VERSION | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 408b85c..709e0ed 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ The package will be registered with the registry on a first come first serve bas Release History =============== +- 0.0.20 - Fixed an issue where the new slug library does not maintain case. - 0.0.19 - Removed slug library due to annoying python dependency, added create component command. - 0.0.18 - Fixed Issue #23 - 0.0.17 - Added extra check current working directory for installing. See Issue #23 diff --git a/VERSION b/VERSION index 44517d5..fe04e7f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.19 +0.0.20 diff --git a/package.json b/package.json index 0d71d51..0937e98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adapt-cli", - "version": "0.0.19", + "version": "0.0.20", "description": "Command line tools for Adapt", "main": "./lib/cli.js", "directories": { From 868d45ab5eaa87086aab970048d43cb0cf4d716e Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 5 Feb 2015 10:18:34 +0000 Subject: [PATCH 6/9] v0.0.21 --- README.md | 2 +- VERSION | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 709e0ed..2ef9a33 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ The package will be registered with the registry on a first come first serve bas Release History =============== -- 0.0.20 - Fixed an issue where the new slug library does not maintain case. +- 0.0.21 - Fixed an issue where the new slug library does not maintain case. - 0.0.19 - Removed slug library due to annoying python dependency, added create component command. - 0.0.18 - Fixed Issue #23 - 0.0.17 - Added extra check current working directory for installing. See Issue #23 diff --git a/VERSION b/VERSION index fe04e7f..236c7ad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.20 +0.0.21 diff --git a/package.json b/package.json index 0937e98..07b79ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adapt-cli", - "version": "0.0.20", + "version": "0.0.21", "description": "Command line tools for Adapt", "main": "./lib/cli.js", "directories": { From 3bb6db796dc0a968423d8058cd8ff5c03894294e Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 3 Aug 2015 18:28:46 +0100 Subject: [PATCH 7/9] package.json version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 07b79ec..e16c8f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adapt-cli", - "version": "0.0.21", + "version": "0.0.24", "description": "Command line tools for Adapt", "main": "./lib/cli.js", "directories": { From 1aa208d4ad5002f0babaff1a98ae00cab9a895d2 Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 3 Aug 2015 18:29:01 +0100 Subject: [PATCH 8/9] VERSION version bump --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 236c7ad..b056f41 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.21 +0.0.24 From 73c487ff9ef934b0f58400082a0d350c35ac87fe Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 3 Aug 2015 18:29:33 +0100 Subject: [PATCH 9/9] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2ef9a33..e3c9f81 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ The package will be registered with the registry on a first come first serve bas Release History =============== +- 0.0.24 - Pre v2.0.0 release update - 0.0.21 - Fixed an issue where the new slug library does not maintain case. - 0.0.19 - Removed slug library due to annoying python dependency, added create component command. - 0.0.18 - Fixed Issue #23