diff --git a/bin/prepare_release.sh b/bin/prepare_release.sh index 594f2ac8a..4199fba9b 100644 --- a/bin/prepare_release.sh +++ b/bin/prepare_release.sh @@ -45,8 +45,6 @@ check_command "git" check_command "npm" VENDOR_DIR="src/bundle/Resources/public/vendors/" -ALLOY_DIR="$VENDOR_DIR/alloyeditor" -ALLOY_NOTICE="$ALLOY_DIR/ALLOY_IN_EZPLATFORMADMINUIASSETS.txt" BOOTSTRAP_DIR="$VENDOR_DIR/bootstrap" BOOTSTRAP_NOTICE="$BOOTSTRAP_DIR/BOOTSTRAP_IN_EZPLATFORMADMINUIASSETS.txt" FLATPICKR_DIR="$VENDOR_DIR/flatpickr" @@ -92,12 +90,6 @@ echo "# Installing dependendencies" npm install npm run prepare-release -echo "# Removing unused files from Alloy Editor" -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 -check_process "clean alloyeditor" -echo "This is a customized Alloy Editor version." > $ALLOY_NOTICE -echo "To decrease the size of the bundle, it includes production-only files" >> $ALLOY_NOTICE - echo "# Removing unused files from Bootstrap" 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 check_process "clean bootstrap" diff --git a/package.json b/package.json index 9f923bff2..fb162dd63 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "scripts": { "create-folder": "rm -rf src/bundle/Resources/public/vendors; mkdir src/bundle/Resources/public/vendors", "move-bootstrap": "cp -r node_modules/bootstrap src/bundle/Resources/public/vendors/bootstrap", - "move-alloyeditor": "cp -r node_modules/alloyeditor src/bundle/Resources/public/vendors/alloyeditor", "move-leaflet": "cp -r node_modules/leaflet src/bundle/Resources/public/vendors/leaflet", "move-react": "cp -r node_modules/react src/bundle/Resources/public/vendors/react", "move-react-dom": "cp -r node_modules/react-dom src/bundle/Resources/public/vendors/react-dom", @@ -19,7 +18,7 @@ "move-chart-js": "cp -r node_modules/chart.js src/bundle/Resources/public/vendors/chart-js", "move-js-md5": "cp -r node_modules/js-md5 src/bundle/Resources/public/vendors/js-md5", "move-ckeditor5": "cp -r node_modules/@ckeditor src/bundle/Resources/public/vendors/@ckeditor", - "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" + "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" }, "repository": { "type": "git", @@ -32,22 +31,21 @@ }, "homepage": "https://github.com/ibexa/admin-ui-assets#readme", "dependencies": { - "@ckeditor/ckeditor5-alignment": "^31.1.0", - "@ckeditor/ckeditor5-build-inline": "^31.1.0", - "@ckeditor/ckeditor5-dev-utils": "^27.4.0", - "@ckeditor/ckeditor5-widget": "^31.1.0", - "@ckeditor/ckeditor5-theme-lark": "^31.1.0", - "@ckeditor/ckeditor5-code-block": "^31.1.0", - "alloyeditor": "^1.5.28", + "@ckeditor/ckeditor5-alignment": "^34.1.0", + "@ckeditor/ckeditor5-build-inline": "^34.1.0", + "@ckeditor/ckeditor5-dev-utils": "^30.0.0", + "@ckeditor/ckeditor5-widget": "^34.1.0", + "@ckeditor/ckeditor5-theme-lark": "^34.1.0", + "@ckeditor/ckeditor5-code-block": "^34.1.0", "bootstrap": "^5.1.3", "chart.js": "^2.9.4", "create-react-class": "^15.7.0", "d3": "^5.16.0", "dagre-d3": "^0.6.4", - "flatpickr": "^4.6.9", + "flatpickr": "^4.6.13", "js-md5": "0.7.3", - "leaflet": "^1.7.1", - "moment-timezone": "^0.5.32", + "leaflet": "^1.8.0", + "moment-timezone": "^0.5.34", "@popperjs/core": "^2.10.2", "prop-types": "^15.7.2", "react": "^18.0.0",