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

Move off bower #1

Merged
merged 3 commits into from
Sep 2, 2020
Merged

Move off bower #1

merged 3 commits into from
Sep 2, 2020

Conversation

xoxefdp
Copy link
Owner

@xoxefdp xoxefdp commented Sep 2, 2020

Brad van der Laan added 3 commits June 8, 2018 22:43
I just perfer to see the dependancies at the bottom as they can tend to grow
and it makes it easier to view the more important stuff like meta info about
the package and the scripts in a terminal editor if they are at the top
This change set removes 🔥 Bower as the dependancy package manager and
switches over to NPM. Bower requiers all packages to be in git and pulls
them out of a public git repo. NPM on the other hand is a registry of
packages and it has become the go to for JS package dependancy for both
Node and Browser applications. The Bower website even suggests moving
off Bower in favor of NPM/Yarn.
With the change to move off bower I had to update angular-smart-table  because
NPM did not have the very old version we were using. The oldest 1.x version it
had was 1.4.12.

In angular-smart-table  1.4.2 however they refactored their smart-table.module.js
file to no longer pass in the angular global but instead refernce the ng
variable directly. This caused an issue with the Karma config as ng  is unknown.

Looking at lorenzofox3/Smart-Table@13da8c9#diff-40dfb1c53004f1488cbe6eb300b286dd
I see what they did for their Karma test config so this change set is just
copying that to ensure that the angular-smart-table  module is imported
propertly in the tests. This does not seem to be an issue in prod.
@xoxefdp xoxefdp merged commit 323aa61 into v2-delete-tags-no-bower Sep 2, 2020
@xoxefdp xoxefdp deleted the move-off-bower branch September 5, 2020 12:39
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

Successfully merging this pull request may close these issues.

1 participant