ember-tribe 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +47 -0
  3. package/blueprints/ember-tribe/files/app/adapters/application.js +11 -0
  4. package/blueprints/ember-tribe/files/app/components/footer.hbs +0 -0
  5. package/blueprints/ember-tribe/files/app/components/header.hbs +0 -0
  6. package/blueprints/ember-tribe/files/app/styles/app.scss +1 -0
  7. package/blueprints/ember-tribe/files/app/templates/application.hbs +2 -0
  8. package/blueprints/ember-tribe/files/app/templates/index.hbs +11 -0
  9. package/blueprints/ember-tribe/files/ember-cli-build.js +32 -0
  10. package/blueprints/ember-tribe/files/public/_redirects +1 -0
  11. package/blueprints/ember-tribe/files/public/assets/css/custom.css +0 -0
  12. package/blueprints/ember-tribe/files/public/assets/fontawesome/LICENSE.txt +18 -0
  13. package/blueprints/ember-tribe/files/public/assets/fontawesome/all.css +24624 -0
  14. package/blueprints/ember-tribe/files/public/assets/fontawesome/attribution.js +3 -0
  15. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  16. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  17. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
  18. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
  19. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-light-300.ttf +0 -0
  20. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  21. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  22. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  23. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  24. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  25. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-thin-100.ttf +0 -0
  26. package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-thin-100.woff2 +0 -0
  27. package/blueprints/ember-tribe/files/public/assets/img/crafted-by-wildfire.png +0 -0
  28. package/blueprints/ember-tribe/files/public/assets/img/i-heart-kheti.jpg +0 -0
  29. package/blueprints/ember-tribe/files/public/assets/js/custom.js +0 -0
  30. package/blueprints/ember-tribe/files/public/favicon.png +0 -0
  31. package/blueprints/ember-tribe/index.js +16 -0
  32. package/config/environment.js +5 -0
  33. package/index.js +5 -0
  34. package/package.json +78 -0
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ ember-tribe
2
+ ==============================================================================
3
+
4
+ An addon that connects EmberJS to Tribe API.
5
+ Tribe is a project management framework by Wildfire - https://github.com/wil-ldf-ire/tribe
6
+
7
+ In config/environment.js of your ember installation:
8
+ ```
9
+ //Wildfire Tribe config for EmberJS
10
+ TribeENV: {
11
+ WEB_URL: 'https://xyx.com',
12
+ API_URL: 'https://xyz.com/api',
13
+ },
14
+ ```
15
+
16
+ Compatibility
17
+ ------------------------------------------------------------------------------
18
+
19
+ * Ember.js v3.24 or above
20
+ * Ember CLI v3.24 or above
21
+ * Node.js v12 or above
22
+
23
+
24
+ Installation
25
+ ------------------------------------------------------------------------------
26
+
27
+ ```
28
+ ember install ember-tribe
29
+ ```
30
+
31
+
32
+ Usage
33
+ ------------------------------------------------------------------------------
34
+
35
+ For more info visit https://wildfiretech.co/page/our-approach
36
+
37
+
38
+ Contributing
39
+ ------------------------------------------------------------------------------
40
+
41
+ See the [Contributing](CONTRIBUTING.md) guide for details.
42
+
43
+
44
+ License
45
+ ------------------------------------------------------------------------------
46
+
47
+ This project is licensed under the [MIT License](LICENSE.md).
@@ -0,0 +1,11 @@
1
+ import JSONAPIAdapter from '@ember-data/adapter/json-api';
2
+ import config from '<%= dasherizedPackageName %>/config/environment';
3
+ import { underscore } from '@ember/string';
4
+
5
+ export default class ApplicationAdapter extends JSONAPIAdapter {
6
+ host = config.TribeENV.API_URL;
7
+
8
+ pathForType(type) {
9
+ return underscore(type);
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ @import "node_modules/bootstrap/scss/bootstrap";
@@ -0,0 +1,2 @@
1
+ {{page-title "<%= classifiedPackageName %>"}}
2
+ {{outlet}}
@@ -0,0 +1,11 @@
1
+ {{page-title "Home"}}
2
+
3
+ <Header />
4
+
5
+ <main>
6
+ <h1 class="text-uppercase visually-hidden"><%= classifiedPackageName %></h1>
7
+ </main>
8
+
9
+ <Footer />
10
+
11
+ {{outlet}}
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
4
+
5
+ module.exports = function (defaults) {
6
+ let app = new EmberApp(defaults, {
7
+ // Add options here
8
+ });
9
+
10
+ // Use `app.import` to add additional libraries to the generated
11
+ // output files.
12
+ //
13
+ // If you need to use different assets in different
14
+ // environments, specify an object as the first parameter. That
15
+ // object's keys should be the environment name and the values
16
+ // should be the asset to use in that environment.
17
+ //
18
+ // If the library that you are including contains AMD or ES6
19
+ // modules that you would like to import into your application
20
+ // please specify an object with the list of modules as keys
21
+ // along with the exports of each module as its value.
22
+
23
+ app.import('public/assets/fontawesome/all.css');
24
+ app.import('node_modules/plyr/dist/plyr.css');
25
+ app.import('public/assets/css/custom.css');
26
+
27
+ app.import('node_modules/plyr/dist/plyr.polyfilled.min.js');
28
+ app.import('node_modules/bootstrap/dist/js/bootstrap.bundle.min.js');
29
+ app.import('public/assets/js/custom.js');
30
+
31
+ return app.toTree();
32
+ };
@@ -0,0 +1 @@
1
+ /* /index.html 200
@@ -0,0 +1,18 @@
1
+ Font Awesome Pro License
2
+ ------------------------
3
+
4
+ Font Awesome Pro is commercial software that requires a paid license. Full
5
+ Font Awesome Pro license: https://fontawesome.com/license.
6
+
7
+ # Commercial License
8
+ The Font Awesome Pro commercial license allows you to pay for FA Pro once, own
9
+ it, and use it just about everywhere you'd like.
10
+
11
+ # Attribution
12
+ Attribution is not required by the Font Awesome Pro commercial license.
13
+
14
+ # Brand Icons
15
+ All brand icons are trademarks of their respective owners. The use of these
16
+ trademarks does not indicate endorsement of the trademark holder by Font
17
+ Awesome, nor vice versa. **Please do not use brand logos for any purpose except
18
+ to represent the company, product, or service to which they refer.**