diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 4492916f1..b1ddd9c08 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,11 @@ ## RELEASE NOTES +### Version 1.9.3 - February 19, 2015 + +- **Tab** - Fixed bug when loading `remote` content with `tab` where current tab would not hide while loading +- **Tab** - Tab with remote content and `auto: true` now removes duplicate slashes from url path +- **API** - Simplified `api` debug output to console to more clearly label url and data sent + ### Version 1.9.2 - February 19, 2015 Added new repositories for css and less only versions, can be installed with diff --git a/tasks/admin/register-repos.js b/tasks/admin/register-repos.js deleted file mode 100644 index 70f4411e3..000000000 --- a/tasks/admin/register-repos.js +++ /dev/null @@ -1,64 +0,0 @@ -/******************************* - Register PM -*******************************/ - -/* - Task to register component repos with Package Managers - * Registers component with bower - * Registers component with NPM -*/ - -var - // node dependencies - process = require('child_process'), - - // config - release = require('../config/admin/release'), - - total = release.components.length, - index = -1, - stream, - stepRepo -; - -module.exports = function(callback) { - - console.log('Registering repos with package managers'); - - // Do Git commands synchronously per component, to avoid issues - stepRepo = function() { - index = index + 1; - if(index >= total) { - return; - } - var - component = release.components[index], - outputDirectory = release.outputRoot + component + '/', - capitalizedComponent = component.charAt(0).toUpperCase() + component.slice(1), - packageName = release.packageRoot + component, - repoName = release.repoRoot + capitalizedComponent, - gitURL = 'https://github.com/' + release.org + '/' + repoName + '.git', - exec = process.exec, - execSettings = {cwd: outputDirectory}, - registerBower = 'bower register ' + packageName + ' ' + gitURL, - updateNPM = 'npm publish' - - ; - - /* Register with Bower */ - /* One Time - exec(registerBower, execSettings, function(err, stdout, stderr) { - stepRepo(); - }); - */ - - /* Register with NPM */ - exec(updateNPM, execSettings, function(err, stdout, stderr) { - console.log(err, stdout, stderr); - stepRepo(); - }); - - }; - stepRepo(); -}; - diff --git a/tasks/admin/release-all.js b/tasks/admin/release-all.js deleted file mode 100644 index 20df1f9dd..000000000 --- a/tasks/admin/release-all.js +++ /dev/null @@ -1,29 +0,0 @@ -/******************************* - Release All -*******************************/ - -/* - This task update all SUI individual component repos with new versions of components - - * Initializes repositories with current versions - * Creates local files at ../components/ with each repo for release - * Commits changes from create components - * Registers new versions with NPM Publish - -*/ - -var - runSequence = require('run-sequence') -; - -/* Release All */ -module.exports = function() { - - runSequence( - 'build', // build Semantic - 'init components', // sync with current github version - 'create components', // update each repo - 'update components' // commit changes to github - ); - -}; \ No newline at end of file diff --git a/tasks/admin/release.js b/tasks/admin/release.js index f37992879..e25afdbfb 100644 --- a/tasks/admin/release.js +++ b/tasks/admin/release.js @@ -7,8 +7,6 @@ * Initializes repositories with current versions * Creates local files at ../distributions/ with each repo for release - * Commits changes from create components - * Registers new versions with NPM Publish */ @@ -23,7 +21,8 @@ module.exports = function() { 'build', // build Semantic 'init distributions', // sync with current github version 'create distributions', // update each repo with changes from master repo - 'update distributions' // commit changes to github + 'init components', // sync with current github version + 'create components' // update each repo ); }; \ No newline at end of file diff --git a/tasks/collections/admin.js b/tasks/collections/admin.js index 21fe420f1..a384d1fab 100644 --- a/tasks/collections/admin.js +++ b/tasks/collections/admin.js @@ -26,25 +26,24 @@ module.exports = function(gulp) { createDistributions = require('../admin/distributions/create'), updateDistributions = require('../admin/distributions/update'), - // one time register with PM - registerRepos = require('../admin/register-repos'), - - // meta tasks - releaseAll = require('../admin/release-all'), - release = require('../admin/release') + release = require('../admin/release'), + publish = require('../admin/publish'), + register = require('../admin/register') ; - gulp.task('release', 'Publishes only packaged releases', release); - gulp.task('release all', 'Publishes all releases (components, package)', releaseAll); - + /* Release */ gulp.task('init distributions', 'Grabs each component from GitHub', initDistributions); gulp.task('create distributions', 'Updates files in each repo', createDistributions); - gulp.task('update distributions', 'Commits component updates from create to GitHub', updateDistributions); - gulp.task('init components', 'Grabs each component from GitHub', initComponents); gulp.task('create components', 'Updates files in each repo', createComponents); + + /* Publish */ + gulp.task('update distributions', 'Commits component updates from create to GitHub', updateDistributions); gulp.task('update components', 'Commits component updates from create to GitHub', updateComponents); - gulp.task('register repos', 'Registers all packages with NPM', registerRepos); + /* Tasks */ + gulp.task('release', 'Stages changes in GitHub repos for all distributions', release); + gulp.task('publish', 'Publishes all releases (components, package)', publish); + gulp.task('register', 'Registers all packages with NPM', register); }; \ No newline at end of file diff --git a/tasks/config/admin/release.js b/tasks/config/admin/release.js index 5694a30b6..7b8cb18b4 100644 --- a/tasks/config/admin/release.js +++ b/tasks/config/admin/release.js @@ -61,6 +61,7 @@ module.exports = { // components that get separate repositories for bower/npm components : [ 'accordion', + 'ad', 'api', 'breadcrumb', 'button',