Skip to content

Commit

Permalink
Removed bootstrap-select and jquery from project
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Jan 23, 2024
1 parent 54b9d7c commit 04dea35
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 40 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ update_vendor_assets:
cp node_modules/bootstrap/dist/js/bootstrap.min.js* sedos_dashboard/static/vendors/bootstrap/js/

# Bootstrap-Select https://github.com/snapappointments/bootstrap-select
rm -r sedos_dashboard/static/vendors/bootstrap-select/css/*
cp -r node_modules/bootstrap-select/dist/css/* sedos_dashboard/static/vendors/bootstrap-select/css/
rm -r sedos_dashboard/static/vendors/bootstrap-select/js/*
cp node_modules/bootstrap-select/dist/js/bootstrap-select.js sedos_dashboard/static/vendors/bootstrap-select/js/
# rm -r sedos_dashboard/static/vendors/bootstrap-select/css/*
# cp -r node_modules/bootstrap-select/dist/css/* sedos_dashboard/static/vendors/bootstrap-select/css/
# rm -r sedos_dashboard/static/vendors/bootstrap-select/js/*
# cp node_modules/bootstrap-select/dist/js/bootstrap-select.js sedos_dashboard/static/vendors/bootstrap-select/js/

# jQuery https://github.com/jquery/jquery
rm -r sedos_dashboard/static/vendors/jquery/js/*
cp node_modules/jquery/dist/jquery.min.* sedos_dashboard/static/vendors/jquery/js/
# rm -r sedos_dashboard/static/vendors/jquery/js/*
# cp node_modules/jquery/dist/jquery.min.* sedos_dashboard/static/vendors/jquery/js/

# Done
30 changes: 1 addition & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"dependencies": {
"bootstrap": "^5.3.2",
"bootstrap-select": "^1.13.18"
"bootstrap": "^5.3.2"
}
}
2 changes: 0 additions & 2 deletions sedos_dashboard/static/vendors/jquery/js/jquery.min.js

This file was deleted.

1 change: 0 additions & 1 deletion sedos_dashboard/static/vendors/jquery/js/jquery.min.map

This file was deleted.

0 comments on commit 04dea35

Please sign in to comment.