Initial Commit from Ember CLI v6.9.1
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
This commit is contained in:
18
app/app.js
Normal file
18
app/app.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import '@warp-drive/ember/install';
|
||||
import Application from '@ember/application';
|
||||
import compatModules from '@embroider/virtual/compat-modules';
|
||||
import Resolver from 'ember-resolver';
|
||||
import config from 'marco/config/environment';
|
||||
import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';
|
||||
import setupInspector from '@embroider/legacy-inspector-support/ember-source-4.12';
|
||||
|
||||
if (macroCondition(isDevelopingApp())) {
|
||||
importSync('./deprecation-workflow');
|
||||
}
|
||||
|
||||
export default class App extends Application {
|
||||
modulePrefix = config.modulePrefix;
|
||||
podModulePrefix = config.podModulePrefix;
|
||||
Resolver = Resolver.withModules(compatModules);
|
||||
inspector = setupInspector(this);
|
||||
}
|
||||
0
app/components/.gitkeep
Normal file
0
app/components/.gitkeep
Normal file
22
app/config/environment.js
Normal file
22
app/config/environment.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import { getGlobalConfig } from '@embroider/macros/src/addon/runtime';
|
||||
|
||||
const ENV = {
|
||||
modulePrefix: 'marco',
|
||||
environment: import.meta.env.DEV ? 'development' : 'production',
|
||||
rootURL: '/',
|
||||
locationType: 'history',
|
||||
EmberENV: {},
|
||||
APP: {},
|
||||
};
|
||||
|
||||
export default ENV;
|
||||
|
||||
export function enterTestMode() {
|
||||
ENV.locationType = 'none';
|
||||
ENV.APP.rootElement = '#ember-testing';
|
||||
ENV.APP.autoboot = false;
|
||||
|
||||
const config = getGlobalConfig()['@embroider/macros'];
|
||||
|
||||
if (config) config.isTesting = true;
|
||||
}
|
||||
24
app/deprecation-workflow.js
Normal file
24
app/deprecation-workflow.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';
|
||||
|
||||
/**
|
||||
* Docs: https://github.com/ember-cli/ember-cli-deprecation-workflow
|
||||
*/
|
||||
setupDeprecationWorkflow({
|
||||
/**
|
||||
false by default, but if a developer / team wants to be more aggressive about being proactive with
|
||||
handling their deprecations, this should be set to "true"
|
||||
*/
|
||||
throwOnUnhandled: false,
|
||||
workflow: [
|
||||
/* ... handlers ... */
|
||||
/* to generate this list, run your app for a while (or run the test suite),
|
||||
* and then run in the browser console:
|
||||
*
|
||||
* deprecationWorkflow.flushDeprecations()
|
||||
*
|
||||
* And copy the handlers here
|
||||
*/
|
||||
/* example: */
|
||||
/* { handler: 'silence', matchId: 'template-action' }, */
|
||||
],
|
||||
});
|
||||
9
app/router.js
Normal file
9
app/router.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import EmberRouter from '@embroider/router';
|
||||
import config from 'marco/config/environment';
|
||||
|
||||
export default class Router extends EmberRouter {
|
||||
location = config.locationType;
|
||||
rootURL = config.rootURL;
|
||||
}
|
||||
|
||||
Router.map(function () {});
|
||||
0
app/routes/.gitkeep
Normal file
0
app/routes/.gitkeep
Normal file
15
app/services/store.js
Normal file
15
app/services/store.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useLegacyStore } from '@warp-drive/legacy';
|
||||
import { JSONAPICache } from '@warp-drive/json-api';
|
||||
|
||||
const Store = useLegacyStore({
|
||||
linksMode: true,
|
||||
cache: JSONAPICache,
|
||||
handlers: [
|
||||
// -- your handlers here
|
||||
],
|
||||
schemas: [
|
||||
// -- your schemas here
|
||||
],
|
||||
});
|
||||
|
||||
export default Store;
|
||||
1
app/styles/app.css
Normal file
1
app/styles/app.css
Normal file
@@ -0,0 +1 @@
|
||||
/* Ember supports plain CSS out of the box. More info: https://cli.emberjs.com/release/advanced-use/stylesheets/ */
|
||||
12
app/templates/application.gjs
Normal file
12
app/templates/application.gjs
Normal file
@@ -0,0 +1,12 @@
|
||||
import { pageTitle } from 'ember-page-title';
|
||||
import { WelcomePage } from 'ember-welcome-page';
|
||||
|
||||
<template>
|
||||
{{pageTitle "Marco"}}
|
||||
|
||||
{{outlet}}
|
||||
|
||||
{{! The following component displays Ember's default welcome message. }}
|
||||
<WelcomePage @extension="gjs" />
|
||||
{{! Feel free to remove this! }}
|
||||
</template>
|
||||
Reference in New Issue
Block a user