Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the UI dependency management away from bower #344

Open
dalelane opened this issue Nov 4, 2020 · 2 comments
Open

Migrate the UI dependency management away from bower #344

dalelane opened this issue Nov 4, 2020 · 2 comments

Comments

@dalelane
Copy link
Member

dalelane commented Nov 4, 2020

see https://bower.io/blog/2017/how-to-migrate-away-from-bower/

Bower is used here:

taxinomitis/Gruntfile.js

Lines 71 to 86 in b62ec10

'bower-install-simple' : {
options : {
cwd : './public',
directory : '../web/static/bower_components'
},
prod : {
options : {
production : true
}
},
dev : {
options : {
production : false
}
}
},

Using the list of dependencies here:

"angular": "1.8.1",
"angular-animate": "1.8.1",
"angular-aria": "1.8.1",
"angular-jwt": "0.1.11",
"angular-material": "1.2.1",
"angular-messages": "1.8.1",
"angular-moment": "1.3.1",
"angular-scroll": "1.0.2",
"angular-sanitize": "1.8.1",
"angular-ui-router": "1.0.28",
"angular-translate": "2.18.3",
"angular-translate-loader-static-files": "2.18.3",
"angular-lock": "3.0.4",
"auth0.js": "9.14.0",
"auth0-lock": "11.27.0",
"bootstrap": "3.4.1",
"webcam": "webcam-directive#3.2.1",
"blueimp-canvas-to-blob": "3.28.0",
"jquery": "3.5.1"

It'd be great if this was migrated to something more current.

@aamuzakii
Copy link

Is anyone working on this?
Otherwise, I would be glad to explore

@dalelane
Copy link
Member Author

This still needs doing, so that would be great!

Things have moved around a bit since I wrote the issue

bower.json is now at https://github.com/IBM/taxinomitis/blob/master/mlforkids-api/public/bower.json

And I'm using gulp, rather than Grunt, which you can find at https://github.com/IBM/taxinomitis/blob/master/mlforkids-api/gulpfile.js

So using it can now be done as:

cd mlforkids-api
./node_modules/.bin/gulp bower

But otherwise, I still think this would be a useful change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants