Skip to content

Commit

Permalink
Migrate pusher from bower to npm (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonkpils authored Oct 10, 2023
1 parent 588455f commit 135c179
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
{{content-for "body"}}

<script src="{{rootURL}}assets/pace/pace.js"></script>
<script src="{{rootURL}}assets/pusher/dist/pusher.js"></script>
<script src="{{rootURL}}assets/drag-drop-polyfill/release/drag-drop-polyfill.js"></script>
<script src="{{rootURL}}assets/vendor.js"></script>

Expand Down
1 change: 1 addition & 0 deletions frontend/app/services/pusher/connection.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Ember from 'ember';
import ENV from 'flaredown/config/environment';
import Pusher from 'pusher-js';

export default Ember.Object.extend({
setConnection: Ember.on('init', function() {
Expand Down
1 change: 0 additions & 1 deletion frontend/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"bourbon": "4.2.3",
"neat": "~1.7.2",
"pace": "vectart/pace",
"pusher": "~3.0.0",
"d3": "~3.5.13",
"drag-drop-polyfill": "2.0.0-beta.1",
"pickadate": "^3.5.6",
Expand Down
1 change: 0 additions & 1 deletion frontend/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ module.exports = function(defaults) {
let vendorLib = new Funnel(assetPath, {
files: [
'/pace/pace.js',
'/pusher/dist/pusher.js',
'/drag-drop-polyfill/release/drag-drop-polyfill.js',
],
destDir: '/assets',
Expand Down
11 changes: 11 additions & 0 deletions frontend/package-lock.json

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

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"moment": "^2.29.4",
"moment-range": "^4.0.2",
"moment-timezone": "^0.5.43",
"pusher-js": "^3.0.0",
"spinkit": "^2.0.1"
}
}

0 comments on commit 135c179

Please sign in to comment.