From a2468070ac3ca3cc062825f026f616e94a8a28c3 Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 5 Feb 2015 17:28:27 -0500 Subject: [PATCH] Some cleanup --- package.json | 19 ++++++++++--------- tasks/install.js | 6 ++---- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 5e4d5b68c..27d1a9376 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,10 @@ "bugs": { "url": "https://github.com/Semantic-Org/Semantic-UI/issues" }, + "dependencies": { + "jquery" : "x.x.x" + }, "peerDependencies": { - "jquery" : "x.x.x", "gulp" : "3.x.x", "better-console" : "0.x.x", "del" : "1.x.x", @@ -45,17 +47,16 @@ "gulp-uglify" : "1.x.x", "gulp-util" : "3.x.x", "gulp-watch" : "2.x.x", - "mkdirp" : "0.x.x", "require-dot-file" : "0.x.x", "wrench" : "1.x.x" }, "devDependencies": { - "github": "^0.2.3", - "gulp-concat-filenames": "^0.0.3", - "gulp-git": "^0.5.5", - "gulp-karma": "0.0.4", - "gulp-tap": "^0.1.3", - "karma": "^0.12.28", - "run-sequence": "^1.0.2" + "github" : "^0.2.3", + "gulp-concat-filenames" : "^0.0.3", + "gulp-git" : "^0.5.5", + "gulp-karma" : "0.0.4", + "gulp-tap" : "^0.1.3", + "karma" : "^0.12.28", + "run-sequence" : "^1.0.2" } } diff --git a/tasks/install.js b/tasks/install.js index 92c93a95d..99ec38e38 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -106,15 +106,15 @@ module.exports = function () { console.log('Updating Semantic UI from ' + currentConfig.version + ' to ' + release.version); console.info('Updating ui definitions...'); - // fs.renameSync(oldPath, newPath); swap to move before debut wrench.copyDirSyncRecursive(source.definitions, updatePaths.definition, settings.wrench.update); console.info('Updating default theme...'); wrench.copyDirSyncRecursive(source.themes, updatePaths.theme, settings.wrench.update); console.info('Updating gulp tasks...'); - wrench.copyDirSyncRecursive(source.modules, updatePaths.modules, settings.wrench.update); wrench.copyDirSyncRecursive(source.tasks, updatePaths.tasks, settings.wrench.update); + + console.info('Adding new site theme files...'); wrench.copyDirSyncRecursive(source.site, updatePaths.site, settings.wrench.site); console.info('Updating version...'); @@ -245,14 +245,12 @@ module.exports = function () { console.error('NPM does not have permissions to create folders at your specified path. Adjust your folders permissions and run "npm install" again'); } - // fs.renameSync(oldPath, newPath); swap to move before debut // copy gulp node_modules console.info('Copying definitions to ', installPaths.definition); wrench.copyDirSyncRecursive(source.definitions, installPaths.definition, settings.wrench.install); wrench.copyDirSyncRecursive(source.themes, installPaths.theme, settings.wrench.install); console.info('Copying build tools', installPaths.tasks); - //wrench.copyDirSyncRecursive(source.modules, installPaths.modules, settings.wrench.install); wrench.copyDirSyncRecursive(source.tasks, installPaths.tasks, settings.wrench.install); // copy theme import