From 8a42d44632fcd69b3e94757213f9b843353d717e Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 16 Mar 2018 09:46:12 +0100 Subject: [PATCH] Minor changes: - replaced the ember-template-compiler from bower by the npm package - renamed `npm build` to `npm run build` - updated dependencies --- README.md | 3 +-- bower.json | 22 ---------------------- gulpfile.js | 2 +- package.json | 21 ++++++++++++--------- 4 files changed, 14 insertions(+), 34 deletions(-) delete mode 100644 bower.json diff --git a/README.md b/README.md index 6afee2c..b17f2b6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ Skeleton Rancher UI driver for custom docker-machine drivers * Update the "name" in package.json to match * You should also update description, URLs, etc, but these aren't strictly required. * `npm install` -* `bower install` ## Development @@ -22,7 +21,7 @@ This package contains a small web-server that will serve up the custom driver UI For other users to see your driver, you need to build it and host the output on a server accessible from their browsers. -* `npm build` +* `npm run build` * Copy the contents of the `dist` directory onto a webserver. * If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS. diff --git a/bower.json b/bower.json deleted file mode 100644 index 8a156c5..0000000 --- a/bower.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ui-custom-driver-composer", - "description": "A small utility to build custom UI for custom drivers added to the Rancher UI project", - "main": "", - "authors": [ - "Westly Wright " - ], - "license": "MIT", - "homepage": "https://github.com/westlywright/ui-custom-driver-composer", - "moduleType": [], - "private": true, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "dependencies": { - "ember": "2.16.2" - } -} diff --git a/gulpfile.js b/gulpfile.js index 0781dc2..18c8ae3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,7 @@ const gulp = require('gulp'); const clean = require('gulp-clean'); const gulpConcat = require('gulp-concat'); const gulpConnect = require('gulp-connect'); -const emCompiler = require('./bower_components/ember/ember-template-compiler'); +const emCompiler = require('ember-source/dist/ember-template-compiler'); const htmlbars = require('gulp-htmlbars-compiler'); const wrapAmd = require('gulp-wrap-amd'); const replace = require('gulp-replace'); diff --git a/package.json b/package.json index ae98f42..658759b 100644 --- a/package.json +++ b/package.json @@ -19,17 +19,20 @@ }, "homepage": "https://github.com/rancher/ui-driver-skel#readme", "devDependencies": { - "del": "2.2.0", + "del": "3.0.0", "gulp": "3.9.1", - "gulp-clean": "0.3.2", - "gulp-concat": "2.6.0", - "gulp-connect": "3.2.2", + "gulp-clean": "0.4.0", + "gulp-concat": "2.6.1", + "gulp-connect": "5.5.0", "gulp-htmlbars-compiler": "0.0.2", - "gulp-jshint": "2.0.0", - "gulp-replace": "0.5.4", - "gulp-sourcemaps": "1.6.0", + "gulp-jshint": "2.1.0", + "gulp-replace": "0.6.1", + "gulp-sourcemaps": "2.6.4", "gulp-wrap-amd": "0.5.0", - "jshint": "2.9.1", - "yargs": "4.6.0" + "jshint": "2.9.5", + "yargs": "11.0.0" + }, + "dependencies": { + "ember-source": "^3.0.0" } }