Skip to content

Commit

Permalink
Re-enable gulp task transpiling/staging some galaxy code, pending a more
Browse files Browse the repository at this point in the history
thorough review of external accessors.  This fixes (at minimum) IE
launching.
  • Loading branch information
dannon committed Jan 9, 2019
1 parent d16a234 commit 0f04e4f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
14 changes: 13 additions & 1 deletion client/gulpfile.js
Expand Up @@ -5,6 +5,7 @@ var _ = require("underscore");

var gulp = require("gulp");
var uglify = require("gulp-uglify");
var babel = require("gulp-babel");

var paths = {
node_modules: "./node_modules",
Expand Down Expand Up @@ -57,6 +58,17 @@ gulp.task("fonts", function() {
.pipe(gulp.dest("../static/images/fonts"));
});

gulp.task("scripts", function() {
return gulp
.src(paths.scripts)
.pipe(
babel({
plugins: ["transform-es2015-modules-amd"]
})
)
.pipe(gulp.dest("../static/scripts/"));
});

gulp.task("libs", function() {
return gulp
.src(paths.libs)
Expand All @@ -75,4 +87,4 @@ gulp.task("clean", function() {

gulp.task("staging", ["stage-libs", "fonts"]);

gulp.task("default", ["libs"]);
gulp.task("default", ["libs", "scripts"]);
1 change: 1 addition & 0 deletions client/package.json
Expand Up @@ -26,6 +26,7 @@
"d3": "3",
"decode-uri-component": "^0.2.0",
"font-awesome": "^4.7.0",
"gulp-babel": "^8.0.0",
"gulp-uglify": "^3.0.1",
"handsontable": "^2.0.0",
"imports-loader": "^0.8.0",
Expand Down
31 changes: 29 additions & 2 deletions client/yarn.lock
Expand Up @@ -1104,6 +1104,13 @@ ansi-align@^1.0.0:
dependencies:
string-width "^1.0.1"

ansi-colors@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-1.1.0.tgz#6374b4dd5d4718ff3ce27a671a3b1cad077132a9"
integrity sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==
dependencies:
ansi-wrap "^0.1.0"

ansi-colors@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.1.0.tgz#dcfaacc90ef9187de413ec3ef8d5eb981a98808f"
Expand Down Expand Up @@ -1158,7 +1165,7 @@ ansi-styles@~1.0.0:
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178"
integrity sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=

ansi-wrap@0.1.0:
ansi-wrap@0.1.0, ansi-wrap@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
integrity sha1-qCJQ3bABXponyoLoLqYDu/pF768=
Expand Down Expand Up @@ -5829,6 +5836,16 @@ growl@1.10.5:
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==

gulp-babel@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/gulp-babel/-/gulp-babel-8.0.0.tgz#e0da96f4f2ec4a88dd3a3030f476e38ab2126d87"
integrity sha512-oomaIqDXxFkg7lbpBou/gnUkX51/Y/M2ZfSjL2hdqXTAlSWZcgZtd2o0cOH0r/eE8LWD0+Q/PsLsr2DKOoqToQ==
dependencies:
plugin-error "^1.0.1"
replace-ext "^1.0.0"
through2 "^2.0.0"
vinyl-sourcemaps-apply "^0.2.0"

gulp-sourcemaps@^2.6.4:
version "2.6.4"
resolved "https://registry.yarnpkg.com/gulp-sourcemaps/-/gulp-sourcemaps-2.6.4.tgz#cbb2008450b1bcce6cd23bf98337be751bf6e30a"
Expand Down Expand Up @@ -9338,6 +9355,16 @@ pkg-dir@^3.0.0:
dependencies:
find-up "^3.0.0"

plugin-error@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/plugin-error/-/plugin-error-1.0.1.tgz#77016bd8919d0ac377fdcdd0322328953ca5781c"
integrity sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==
dependencies:
ansi-colors "^1.0.1"
arr-diff "^4.0.0"
arr-union "^3.1.0"
extend-shallow "^3.0.2"

plur@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/plur/-/plur-1.0.0.tgz#db85c6814f5e5e5a3b49efc28d604fec62975156"
Expand Down Expand Up @@ -10899,7 +10926,7 @@ replace-ext@0.0.1:
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924"
integrity sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=

replace-ext@1.0.0:
replace-ext@1.0.0, replace-ext@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=
Expand Down

0 comments on commit 0f04e4f

Please sign in to comment.