File tree Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ $ bundle install
26
26
27
27
This gem requires Webpacker for the Javascript. Add the npm package:
28
28
``` bash
29
- $ yarn add activeadmin-chat
29
+ $ yarn add @rootstrap/ activeadmin-chat
30
30
```
31
31
32
32
And install it:
@@ -62,7 +62,7 @@ Add including of CSS to `app/assets/stylesheets/active_admin.css.scss`:
62
62
63
63
Create a file named ` app/javascript/packs/activeadmin-chat.js ` , with the following content:
64
64
``` js
65
- import ' activeadmin-chat' ;
65
+ import ' @rootstrap/ activeadmin-chat' ;
66
66
```
67
67
68
68
### Example diagram
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " activeadmin-chat" ,
2
+ "name" : " @rootstrap/ activeadmin-chat" ,
3
3
"version" : " 1.0.1" ,
4
4
"description" : " Get a chat for your ActiveAdmin app out of the box." ,
5
5
"main" : " javascript/index.js" ,
Original file line number Diff line number Diff line change 1
- import 'activeadmin-chat' ;
1
+ import '@rootstrap/ activeadmin-chat' ;
Original file line number Diff line number Diff line change 3
3
"private" : true ,
4
4
"dependencies" : {
5
5
"@rails/webpacker" : " 5.1.1" ,
6
- "activeadmin-chat" : " file:../.."
6
+ "@rootstrap/ activeadmin-chat" : " file:../.."
7
7
},
8
8
"devDependencies" : {
9
9
"webpack-dev-server" : " ^3.11.0"
Original file line number Diff line number Diff line change 843
843
resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7"
844
844
integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw==
845
845
846
- " @rails/actioncable@^ 6.0.3-1 " :
847
- version "6.0.3-2 "
848
- resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-6.0.3-2 .tgz#18933d870649e356f3c47a134af9430f17ce51ca "
849
- integrity sha512-zgMwnvn0zmJuy1N7IgZpd4X1ERWBL/bd9ZrqaSKtWay7F4ZB+Q6F5dc1D2I3IyUYYQU5dssQb5VaygvMLc7+GA ==
846
+ " @rails/actioncable@>= 6.0 " :
847
+ version "6.0.3"
848
+ resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-6.0.3.tgz#722b4b639936129307ddbab3a390f6bcacf3e7bc "
849
+ integrity sha512-I01hgqxxnOgOtJTGlq0ZsGJYiTEEiSGVEGQn3vimZSqEP1HqzyFNbzGTq14Xdyeow2yGJjygjoFF1pmtE+SQaw ==
850
850
851
851
" @rails/webpacker@5.1.1 " :
852
852
version "5.1.1"
892
892
webpack-cli "^3.3.11"
893
893
webpack-sources "^1.4.3"
894
894
895
+ " @rootstrap/activeadmin-chat@file:../.. " :
896
+ version "1.0.1"
897
+ dependencies :
898
+ " @rails/actioncable" " >= 6.0"
899
+
895
900
" @types/glob@^7.1.1 " :
896
901
version "7.1.3"
897
902
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.3.tgz#e6ba80f36b7daad2c685acd9266382e68985c183"
@@ -1098,11 +1103,6 @@ acorn@^6.4.1:
1098
1103
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474"
1099
1104
integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==
1100
1105
1101
- " activeadmin-chat@file:../.. " :
1102
- version "1.0.1"
1103
- dependencies :
1104
- " @rails/actioncable" " ^6.0.3-1"
1105
-
1106
1106
aggregate-error@^3.0.0 :
1107
1107
version "3.1.0"
1108
1108
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a"
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def link_client!
106
106
return if @linked
107
107
108
108
yarn! '--cwd' , '../../..' , 'link'
109
- yarn! 'link' , 'activeadmin-chat'
109
+ yarn! 'link' , '@rootstrap/ activeadmin-chat'
110
110
yarn! 'install'
111
111
112
112
clear_webpacker_cache!
@@ -117,7 +117,7 @@ def link_client!
117
117
def unlink_client!
118
118
return unless @linked
119
119
120
- yarn! 'unlink' , 'activeadmin-chat'
120
+ yarn! 'unlink' , '@rootstrap/ activeadmin-chat'
121
121
end
122
122
123
123
private
You can’t perform that action at this time.
0 commit comments