Skip to content

Commit 6df9fc7

Browse files
authored
IBX-2982: Upgraded frontend dependencies (#11)
1 parent a5ac224 commit 6df9fc7

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

bin/prepare_release.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ check_command "git"
4545
check_command "npm"
4646

4747
VENDOR_DIR="src/bundle/Resources/public/vendors/"
48-
ALLOY_DIR="$VENDOR_DIR/alloyeditor"
49-
ALLOY_NOTICE="$ALLOY_DIR/ALLOY_IN_EZPLATFORMADMINUIASSETS.txt"
5048
BOOTSTRAP_DIR="$VENDOR_DIR/bootstrap"
5149
BOOTSTRAP_NOTICE="$BOOTSTRAP_DIR/BOOTSTRAP_IN_EZPLATFORMADMINUIASSETS.txt"
5250
FLATPICKR_DIR="$VENDOR_DIR/flatpickr"
@@ -92,12 +90,6 @@ echo "# Installing dependendencies"
9290
npm install
9391
npm run prepare-release
9492

95-
echo "# Removing unused files from Alloy Editor"
96-
rm -rf "$ALLOY_DIR/api" "$ALLOY_DIR/api-theme" "$ALLOY_DIR/gulp-tasks" "$ALLOY_DIR/lib" "$ALLOY_DIR/src" "$ALLOY_DIR/test" "$ALLOY_DIR/dist/.gitignore" $ALLOY_DIR/dist/alloy-editor/alloy-editor-all-min.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-all.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-core-min.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-core.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-no-ckeditor-min.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-no-ckeditor.js $ALLOY_DIR/dist/alloy-editor/alloy-editor-no-react.js $ALLOY_DIR/dist/alloy-editor/BREAKING_CHANGES.md $ALLOY_DIR/dist/alloy-editor/CHANGELOG.md $ALLOY_DIR/.editorconfig $ALLOY_DIR/.eslintrc.js $ALLOY_DIR/.jshintrc $ALLOY_DIR/.travis.yml $ALLOY_DIR/bower.json $ALLOY_DIR/BREAKING_CHANGES.md $ALLOY_DIR/CHANGELOG.md $ALLOY_DIR/gulpfile.js $ALLOY_DIR/README.md $ALLOY_DIR/yarn.lock
97-
check_process "clean alloyeditor"
98-
echo "This is a customized Alloy Editor version." > $ALLOY_NOTICE
99-
echo "To decrease the size of the bundle, it includes production-only files" >> $ALLOY_NOTICE
100-
10193
echo "# Removing unused files from Bootstrap"
10294
rm -rf "$BOOTSTRAP_DIR/build" "$BOOTSTRAP_DIR/dist/css" "$BOOTSTRAP_DIR/js" $BOOTSTRAP_DIR/dist/js/bootstrap.js $BOOTSTRAP_DIR/dist/js/bootstrap.js.map $BOOTSTRAP_DIR/dist/js/bootstrap.bundle.js $BOOTSTRAP_DIR/dist/js/bootstrap.bundle.js.map $BOOTSTRAP_DIR/dist/js/bootstrap.bundle.min.js $BOOTSTRAP_DIR/dist/js/bootstrap.bundle.min.js.map $BOOTSTRAP_DIR/.eslintignore $BOOTSTRAP_DIR/Gemfile
10395
check_process "clean bootstrap"

package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"scripts": {
44
"create-folder": "rm -rf src/bundle/Resources/public/vendors; mkdir src/bundle/Resources/public/vendors",
55
"move-bootstrap": "cp -r node_modules/bootstrap src/bundle/Resources/public/vendors/bootstrap",
6-
"move-alloyeditor": "cp -r node_modules/alloyeditor src/bundle/Resources/public/vendors/alloyeditor",
76
"move-leaflet": "cp -r node_modules/leaflet src/bundle/Resources/public/vendors/leaflet",
87
"move-react": "cp -r node_modules/react src/bundle/Resources/public/vendors/react",
98
"move-react-dom": "cp -r node_modules/react-dom src/bundle/Resources/public/vendors/react-dom",
@@ -19,7 +18,7 @@
1918
"move-chart-js": "cp -r node_modules/chart.js src/bundle/Resources/public/vendors/chart-js",
2019
"move-js-md5": "cp -r node_modules/js-md5 src/bundle/Resources/public/vendors/js-md5",
2120
"move-ckeditor5": "cp -r node_modules/@ckeditor src/bundle/Resources/public/vendors/@ckeditor",
22-
"prepare-release": "npm run create-folder; npm run move-bootstrap; npm run move-alloyeditor; npm run move-leaflet; npm run move-react; npm run move-react-dom; npm run move-taggify; npm run move-popperjs; npm run move-flatpickr; npm run move-create-react-class; npm run move-prop-types; npm run move-moment; npm run move-moment-timezone; npm run move-d3; npm run move-dagre-d3; npm run move-chart-js; npm run move-js-md5; npm run move-ckeditor5"
21+
"prepare-release": "npm run create-folder; npm run move-bootstrap; npm run move-leaflet; npm run move-react; npm run move-react-dom; npm run move-taggify; npm run move-popperjs; npm run move-flatpickr; npm run move-create-react-class; npm run move-prop-types; npm run move-moment; npm run move-moment-timezone; npm run move-d3; npm run move-dagre-d3; npm run move-chart-js; npm run move-js-md5; npm run move-ckeditor5"
2322
},
2423
"repository": {
2524
"type": "git",
@@ -32,22 +31,21 @@
3231
},
3332
"homepage": "https://github.com/ibexa/admin-ui-assets#readme",
3433
"dependencies": {
35-
"@ckeditor/ckeditor5-alignment": "^31.1.0",
36-
"@ckeditor/ckeditor5-build-inline": "^31.1.0",
37-
"@ckeditor/ckeditor5-dev-utils": "^27.4.0",
38-
"@ckeditor/ckeditor5-widget": "^31.1.0",
39-
"@ckeditor/ckeditor5-theme-lark": "^31.1.0",
40-
"@ckeditor/ckeditor5-code-block": "^31.1.0",
41-
"alloyeditor": "^1.5.28",
34+
"@ckeditor/ckeditor5-alignment": "^34.1.0",
35+
"@ckeditor/ckeditor5-build-inline": "^34.1.0",
36+
"@ckeditor/ckeditor5-dev-utils": "^30.0.0",
37+
"@ckeditor/ckeditor5-widget": "^34.1.0",
38+
"@ckeditor/ckeditor5-theme-lark": "^34.1.0",
39+
"@ckeditor/ckeditor5-code-block": "^34.1.0",
4240
"bootstrap": "^5.1.3",
4341
"chart.js": "^2.9.4",
4442
"create-react-class": "^15.7.0",
4543
"d3": "^5.16.0",
4644
"dagre-d3": "^0.6.4",
47-
"flatpickr": "^4.6.9",
45+
"flatpickr": "^4.6.13",
4846
"js-md5": "0.7.3",
49-
"leaflet": "^1.7.1",
50-
"moment-timezone": "^0.5.32",
47+
"leaflet": "^1.8.0",
48+
"moment-timezone": "^0.5.34",
5149
"@popperjs/core": "^2.10.2",
5250
"prop-types": "^15.7.2",
5351
"react": "^18.0.0",

0 commit comments

Comments
 (0)