Skip to content

Commit

Permalink
Fix vunerable dependencies. Upgrade dev dependencies. Add 'how to rel…
Browse files Browse the repository at this point in the history
…ease' documentation.
  • Loading branch information
gcornut committed Jun 11, 2018
1 parent 7b64c30 commit 5f7058e
Show file tree
Hide file tree
Showing 8 changed files with 730 additions and 795 deletions.
9 changes: 9 additions & 0 deletions HOW_TO_RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
1. Update version in package.json
* Use semantic versioning "X.Y.Z"
2. Re-build project (js/css bundling and minification in the ./dist folder)
3. Commit & push to develop
4. Merge develop to master
5. Create tag & release at https://github.com/gnpis/trait-ontology-widget/releases/new
* Use the version in package.json as the release name & tag name
* Add changelogs in release description
6. Re-deploy JSS & CSS were used (ex: https://urgi.versailles.inra.fr/files/ephesis/trait-ontology/widget-v2/)
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ DEST_MIN_FILE="${BUILD_FOLDER}/cropOntologyWidget.min"

echo -ne "[JS]\t"
echo " ${DEST_FILE}.js => ${DEST_MIN_FILE}.js "
"${MODULES}/uglify-js/bin/uglifyjs" "${DEST_FILE}.js" -o "${DEST_MIN_FILE}.js"
"${MODULES}/.bin/uglifyjs" "${DEST_FILE}.js" -o "${DEST_MIN_FILE}.js"

echo -ne "[CSS]\t"
echo " ${DEST_FILE}.css => ${DEST_MIN_FILE}.css "
"${MODULES}/clean-css/bin/cleancss" "${DEST_FILE}.css" -o "${DEST_MIN_FILE}.css"
"${MODULES}/.bin/cleancss" "${DEST_FILE}.css" -o "${DEST_MIN_FILE}.css"

echo ""

Expand Down
6 changes: 3 additions & 3 deletions dist/cropOntologyWidget.css
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
overflow: hidden;
}
.jstree-default .jstree-ellipsis .jstree-anchor {
width: calc(100% - 29px);
width: calc(100% - 24px + 5px);
text-overflow: ellipsis;
overflow: hidden;
}
Expand Down Expand Up @@ -738,7 +738,7 @@
overflow: hidden;
}
.jstree-default-small .jstree-ellipsis .jstree-anchor {
width: calc(100% - 23px);
width: calc(100% - 18px + 5px);
text-overflow: ellipsis;
overflow: hidden;
}
Expand Down Expand Up @@ -922,7 +922,7 @@
overflow: hidden;
}
.jstree-default-large .jstree-ellipsis .jstree-anchor {
width: calc(100% - 37px);
width: calc(100% - 32px + 5px);
text-overflow: ellipsis;
overflow: hidden;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/cropOntologyWidget.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cropOntologyWidget.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cropOntologyWidget.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 5f7058e

Please sign in to comment.