Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions bin/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ REACT_DIR="$VENDOR_DIR/react"
REACT_NOTICE="$REACT_DIR/REACT_IN_ADMINUIASSETS.txt"
REACT_DOM_DIR="$VENDOR_DIR/react-dom"
REACT_DOM_NOTICE="$REACT_DOM_DIR/REACT_DOM_IN_ADMINUIASSETS.txt"
TAGGIFY_DIR="$VENDOR_DIR/taggify"
TAGGIFY_NOTICE="$TAGGIFY_DIR/TAGGIFY_IN_ADMINUIASSETS.txt"
MOMENT_DIR="$VENDOR_DIR/moment"
MOMENT_NOTICE="$MOMENT_DIR/MOMENT_IN_ADMINUIASSETS.txt"
MOMENT_TIMEZONE_DIR="$VENDOR_DIR/moment-timezone"
Expand Down Expand Up @@ -135,12 +133,6 @@ check_process "clean ReactDOM"
echo "This is a customized ReactDOM version." > $REACT_DOM_NOTICE
echo "To decrease the size of the bundle, it includes production-only files" >> $REACT_DOM_NOTICE

echo "# Removing unused files from taggify"
rm -r "$TAGGIFY_DIR/test" "$TAGGIFY_DIR/src/css" $TAGGIFY_DIR/src/js/taggify-script.js $TAGGIFY_DIR/src/js/taggify.es6.js $TAGGIFY_DIR/src/js/taggify.min.js.gz $TAGGIFY_DIR/.travis.yml $TAGGIFY_DIR/db.json $TAGGIFY_DIR/gulpfile.js $TAGGIFY_DIR/index.html $TAGGIFY_DIR/karma.conf.js $TAGGIFY_DIR/module-generator.js $TAGGIFY_DIR/taggify-comment.js $TAGGIFY_DIR/template.common.js $TAGGIFY_DIR/template.es6.js
check_process "clean Taggify"
echo "This is a customized Taggify version." > $TAGGIFY_NOTICE
echo "To decrease the size of the bundle, it includes production-only files" >> $TAGGIFY_NOTICE

echo "# Removing unused files from moment"
rm -r "$MOMENT_DIR/src"
check_process "clean moment"
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"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",
"move-taggify": "cp -r node_modules/taggify src/bundle/Resources/public/vendors/taggify",
"move-popperjs": "cp -r node_modules/@popperjs src/bundle/Resources/public/vendors/@popperjs",
"move-flatpickr": "cp -r node_modules/flatpickr src/bundle/Resources/public/vendors/flatpickr",
"move-create-react-class": "cp -r node_modules/create-react-class src/bundle/Resources/public/vendors/create-react-class",
Expand All @@ -23,7 +22,7 @@
"move-ckeditor5-core": "cp -r node_modules/ckeditor5 src/bundle/Resources/public/vendors/ckeditor5",
"move-ids-assets": "mkdir src/bundle/Resources/public/vendors/ids-assets && cp -r node_modules/@ibexa/design-system/packages/assets/dist src/bundle/Resources/public/vendors/ids-assets/dist",
"move-ids-components": "mkdir src/bundle/Resources/public/vendors/ids-components && cp -r node_modules/@ibexa/design-system/packages/components/dist src/bundle/Resources/public/vendors/ids-components/dist",
"prepare-release": "yarn run create-folder; yarn run move-bootstrap; yarn run move-jquery; yarn run move-leaflet; yarn run move-react; yarn run move-react-dom; yarn run move-taggify; yarn run move-popperjs; yarn run move-flatpickr; yarn run move-create-react-class; yarn run move-prop-types; yarn run move-moment; yarn run move-moment-timezone; yarn run move-d3; yarn run move-dagre-d3; yarn run move-chart-js; yarn run move-js-md5; yarn run move-ckeditor5; yarn run move-ckeditor5-core; yarn run move-chartjs-plugin-datalabels; yarn run move-ids-assets; yarn run move-ids-components"
"prepare-release": "yarn run create-folder; yarn run move-bootstrap; yarn run move-jquery; yarn run move-leaflet; yarn run move-react; yarn run move-react-dom; yarn run move-popperjs; yarn run move-flatpickr; yarn run move-create-react-class; yarn run move-prop-types; yarn run move-moment; yarn run move-moment-timezone; yarn run move-d3; yarn run move-dagre-d3; yarn run move-chart-js; yarn run move-js-md5; yarn run move-ckeditor5; yarn run move-ckeditor5-core; yarn run move-chartjs-plugin-datalabels; yarn run move-ids-assets; yarn run move-ids-components"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -53,8 +52,7 @@
"@popperjs/core": "^2.11.8",
"prop-types": "^15.8.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"taggify": "git+ssh://[email protected]/ibexa/taggify.git#v1.2.2"
"react-dom": "^19.1.0"
},
"packageManager": "[email protected]"
}
Loading