ember-tribe 3.0.0 → 3.0.2

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.
@@ -1,4 +1,4 @@
1
- import JSONAPIAdapter from '@ember-data/adapter/json-api';
1
+ import { JSONAPIAdapter } from '@warp-drive/legacy/adapter/json-api';
2
2
  import ENV from '<%= dasherizedPackageName %>/config/environment';
3
3
  import { underscore } from '@ember/string';
4
4
 
@@ -1,4 +1,4 @@
1
- import JSONAPISerializer from '@ember-data/serializer/json-api';
1
+ import { JSONAPISerializer } from '@warp-drive/legacy/serializer/json-api';
2
2
  import { underscore } from '@ember/string';
3
3
 
4
4
  export default class ApplicationSerializer extends JSONAPISerializer {
@@ -3,21 +3,15 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title><%= classifiedPackageName %></title>
6
- <meta name="description" content="" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="description" content="">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
 
9
9
  {{content-for "head"}}
10
10
 
11
- <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
12
- <link integrity="" rel="stylesheet" href="{{rootURL}}assets/new.css">
11
+ <link integrity="" rel="stylesheet" href="/@embroider/virtual/vendor.css">
12
+ <link integrity="" rel="stylesheet" href="/@embroider/virtual/app.css">
13
13
 
14
- <link
15
- rel="stylesheet"
16
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
17
- integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
18
- crossorigin="anonymous"
19
- referrerpolicy="no-referrer"
20
- />
14
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
21
15
 
22
16
  {{content-for "head-footer"}}
23
17
  </head>
@@ -41,13 +35,15 @@
41
35
 
42
36
  {{content-for "body"}}
43
37
 
44
- <script src="{{rootURL}}assets/vendor.js"></script>
45
- <script src="{{rootURL}}assets/new.js"></script>
38
+ <script src="/@embroider/virtual/vendor.js"></script>
39
+ <script type="module">
40
+ import Application from './app/app';
41
+ import environment from './app/config/environment';
46
42
 
47
- <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/js/all.min.js"
48
- integrity="sha512-1mCLtfa/wR7Bxm5mXQrN9K5OPF8oE6DSGE+L9XS4MCQl1bWEBIfmFmQjH0BjkgBbXbJxqGvBFHN9VPuVoR3UA=="
49
- crossorigin="anonymous"
50
- referrerpolicy="no-referrer"></script>
43
+ Application.create(environment.APP);
44
+ </script>
45
+
46
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
51
47
 
52
48
  {{content-for "body-footer"}}
53
49
  </body>
@@ -47,7 +47,7 @@ module.exports = {
47
47
  { name: 'ember-promise-helpers' },
48
48
  { name: 'ember-tag-input' },
49
49
  { name: 'ember-file-upload' },
50
- { name: 'ember-toggle' },
50
+ { name: 'ember-data' },
51
51
  { name: 'ember-basic-dropdown' },
52
52
  { name: 'ember-power-select' },
53
53
  { name: 'ember-click-outside' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-tribe",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -1,20 +0,0 @@
1
- 'use strict';
2
- require('dotenv').config();
3
-
4
- const { compatBuild } = require('@embroider/compat');
5
- const EmberApp = require('ember-cli/lib/broccoli/ember-app');
6
-
7
- module.exports = async function (defaults) {
8
- const { buildOnce } = await import('@embroider/vite');
9
-
10
- const app = new EmberApp(defaults, {
11
- emberData: {
12
- deprecations: { DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false }
13
- }
14
- });
15
-
16
- return compatBuild(app, buildOnce, {
17
- staticInvokables: true, // this is the default so you don't need to set it
18
- splitAtRoutes: ['route.name'], // can also be a RegExp
19
- );
20
- };
@@ -1,43 +0,0 @@
1
- import { defineConfig } from 'vite';
2
- import { VitePWA } from 'vite-plugin-pwa';
3
-
4
- export default defineConfig({
5
- plugins: [
6
- // ...your other Ember/Vite plugins
7
-
8
- VitePWA({
9
- registerType: 'autoUpdate',
10
- includeAssets: ['favicon.png', 'favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'],
11
- manifest: {
12
- name: 'ember-tribe',
13
- short_name: 'ember-tribe',
14
- description: 'Built using ember-tribe.',
15
- start_url: '/',
16
- scope: '/',
17
- display: 'standalone',
18
- background_color: '#e9ecef',
19
- theme_color: '#0A1119',
20
- prefer_related_applications: true,
21
- icons: [
22
- {
23
- src: '/favicon.png',
24
- sizes: '512x512',
25
- type: 'image/png',
26
- },
27
- {
28
- // PWA installers prefer a 'any maskable' entry
29
- src: '/favicon.png',
30
- sizes: '512x512',
31
- type: 'image/png',
32
- purpose: 'any maskable',
33
- },
34
- ],
35
- },
36
- // Apple / MS meta that vite-plugin-pwa injects into the HTML <head>
37
- devOptions: {
38
- enabled: true,
39
- },
40
- })
41
- ]
42
- })
43
-