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

[WIP][ZEPPELIN-2726] Move angular related pkgs from bower to npm (zeppelin-web) #2469

Conversation

1ambda
Copy link
Member

@1ambda 1ambda commented Jul 6, 2017

What is this PR for?

Move angular related packages from bower to npm. Because bower team recommends using npm (or yarn) instead of bower. It will not be maintained.

For angular-websocket, can't move it to npm currently. As it's tightly tangled with node packages like (ws, fs, tls, ...) which are not available on the browser side. We can solve this problem after applying webpack2+

What type of PR is it?

[Improvement]

Todos

  • - Move angular related packages
  • - DO NOT use angular as the global dependency
  • - remove not used global names from .eslintrc

What is the Jira issue?

ZEPPELIN-2726

How should this be tested?

CI will test it, all existing functionalities should work properly.

Screenshots (if appropriate)

NONE

Questions:

  • Does the licenses files need update? - NO
  • Is there breaking changes for older versions? - NO
  • Does this needs documentation? - NO

@1ambda
Copy link
Member Author

1ambda commented Jul 6, 2017

@soralee Could you help review thid?

@soralee
Copy link
Contributor

soralee commented Jul 6, 2017

It looks sounds good!
Sure, Let me test and check this branch.

@1ambda 1ambda closed this Jul 6, 2017
@1ambda 1ambda reopened this Jul 6, 2017
@1ambda 1ambda changed the title [ZEPPELIN-2725] Move angular related pkgs from bower to npm (zeppelin-web) [ZEPPELIN-2726] Move angular related pkgs from bower to npm (zeppelin-web) Jul 6, 2017
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="bower_components/angular/angular.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need angular like this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because angular-websocket requires it.

@1ambda
Copy link
Member Author

1ambda commented Jul 6, 2017

Thanks for the review. @soralee @sravan-s

we are using annotation for angular, but two angular conflicts. (bower side required by angular-websocket)

Thus, I will change this PR as WIP and comment after the fix.

  • applying webpack2 both for zeppelin-web and helium
  • remove angular-websocket from bower using webpack2

@1ambda 1ambda changed the title [ZEPPELIN-2726] Move angular related pkgs from bower to npm (zeppelin-web) [WIP][ZEPPELIN-2726] Move angular related pkgs from bower to npm (zeppelin-web) Jul 6, 2017
@1ambda
Copy link
Member Author

1ambda commented Jul 24, 2017

Will be handled later

@1ambda 1ambda closed this Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants