Skip to content

Commit 8361611

Browse files
ember-tomstertobiemh
authored andcommitted
Initial Commit from Ember CLI v3.13.1
_..., ,:^;,...; -+===;. ,,--++====++-,,, .: /....., :::::~+++++#:,+#++++++++++++++++++#*..: /,...... (,,,,,,::=+++##++++++++++++++++++++++#. :....../ ...,,,,,::++++++++++++++++++++++++++++++*..,...: *..+...,#@@@@@@@@@++++++++++++++++++++++#*....* @#,;##############@@@+*+#@@@@@@@@@@#*++#..< *@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+ @#@* @#@@@@#@@+--*^^*--#@@@@@@# @#@. @# @##+++@#, .@@#@@ #@# @@ +@@++++#@@ @@ :@@ :@#* @#@++++++@#* #@ @@+ :*+@@#;,.__.+@#@+,-^^.++@# @@++ ;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++. /* ........+++++++++++++#@@@@@###@@#++++, ,: ...,@@@#++===----==@@@####,,....+++++ .: ......@@##@\ ; :@####@,,...... +++. ; .........@###, ; ;xx#@;,,..... *;+, | ........,*;xxxx--^--=xxx,........ :+#; ; ......,,;xxxxxxxxxxxxx;,..... *+# ; ......,::xxxx;. ...... +. . *; ......... +### .... / ,. /:| ,. .+: ... ;##++##, . ,#. (..v..;*./ ** ## ###* .:*&&&+. \.,....<, #&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/ #&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&& ,+*+;~*..*** *.* ### ###* ******* *+#&;* ##,;## **** :, ** ##### ## ### ###, ######## .##### ;## ## ####### ;## #### ,###. ########## ######## ### #### ### ### ### ########## #### #### ,## ### #######* ### ,### ##############: ## ### #### ,## :#### ### ##; ########## ########### ## .## ,### ####### ##### :###### ###### .###### #### ## ### ### ######* :##### #### ############# #### ################ ######## ### #####* *#* #: :### *###* *#### #*
0 parents  commit 8361611

35 files changed

+13158
-0
lines changed

.editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
indent_style = space
14+
indent_size = 2
15+
16+
[*.hbs]
17+
insert_final_newline = false
18+
19+
[*.{diff,md}]
20+
trim_trailing_whitespace = false

.ember-cli

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
/**
3+
Ember CLI sends analytics information by default. The data is completely
4+
anonymous, but there are times when you might want to disable this behavior.
5+
6+
Setting `disableAnalytics` to true will prevent any data from being sent.
7+
*/
8+
"disableAnalytics": false
9+
}

.eslintignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
/node_modules/
12+
13+
# misc
14+
/coverage/
15+
!.*
16+
17+
# ember-try
18+
/.node_modules.ember-try/
19+
/bower.json.ember-try
20+
/package.json.ember-try

.eslintrc.js

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
module.exports = {
2+
root: true,
3+
parser: 'babel-eslint',
4+
parserOptions: {
5+
ecmaVersion: 2018,
6+
sourceType: 'module'
7+
},
8+
plugins: [
9+
'ember'
10+
],
11+
extends: [
12+
'eslint:recommended',
13+
'plugin:ember/recommended'
14+
],
15+
env: {
16+
browser: true
17+
},
18+
rules: {
19+
'ember/no-jquery': 'error'
20+
},
21+
overrides: [
22+
// node files
23+
{
24+
files: [
25+
'.eslintrc.js',
26+
'.template-lintrc.js',
27+
'ember-cli-build.js',
28+
'testem.js',
29+
'blueprints/*/index.js',
30+
'config/**/*.js',
31+
'lib/*/index.js',
32+
'server/**/*.js'
33+
],
34+
parserOptions: {
35+
sourceType: 'script'
36+
},
37+
env: {
38+
browser: false,
39+
node: true
40+
},
41+
plugins: ['node'],
42+
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
43+
// add your custom rules and overrides for node files here
44+
45+
// this can be removed once the following is fixed
46+
// https://github.com/mysticatea/eslint-plugin-node/issues/77
47+
'node/no-unpublished-require': 'off'
48+
})
49+
}
50+
]
51+
};

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist/
5+
/tmp/
6+
7+
# dependencies
8+
/bower_components/
9+
/node_modules/
10+
11+
# misc
12+
/.env*
13+
/.pnp*
14+
/.sass-cache
15+
/connect.lock
16+
/coverage/
17+
/libpeerconnection.log
18+
/npm-debug.log*
19+
/testem.log
20+
/yarn-error.log
21+
22+
# ember-try
23+
/.node_modules.ember-try/
24+
/bower.json.ember-try
25+
/package.json.ember-try

.template-lintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: 'recommended'
5+
};

.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
language: node_js
3+
node_js:
4+
- "8"
5+
6+
sudo: false
7+
dist: trusty
8+
9+
addons:
10+
chrome: stable
11+
12+
cache:
13+
directories:
14+
- $HOME/.npm
15+
16+
env:
17+
global:
18+
# See https://git.io/vdao3 for details.
19+
- JOBS=1
20+
21+
script:
22+
- npm run lint:hbs
23+
- npm run lint:js
24+
- npm test

.watchmanconfig

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignore_dirs": ["tmp", "dist"]
3+
}

README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# amber
2+
3+
This README outlines the details of collaborating on this Ember application.
4+
A short introduction of this app could easily go here.
5+
6+
## Prerequisites
7+
8+
You will need the following things properly installed on your computer.
9+
10+
* [Git](https://git-scm.com/)
11+
* [Node.js](https://nodejs.org/) (with npm)
12+
* [Ember CLI](https://ember-cli.com/)
13+
* [Google Chrome](https://google.com/chrome/)
14+
15+
## Installation
16+
17+
* `git clone <repository-url>` this repository
18+
* `cd amber`
19+
* `npm install`
20+
21+
## Running / Development
22+
23+
* `ember serve`
24+
* Visit your app at [http://localhost:4200](http://localhost:4200).
25+
* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).
26+
27+
### Code Generators
28+
29+
Make use of the many generators for code, try `ember help generate` for more details
30+
31+
### Running Tests
32+
33+
* `ember test`
34+
* `ember test --server`
35+
36+
### Linting
37+
38+
* `npm run lint:hbs`
39+
* `npm run lint:js`
40+
* `npm run lint:js -- --fix`
41+
42+
### Building
43+
44+
* `ember build` (development)
45+
* `ember build --environment production` (production)
46+
47+
### Deploying
48+
49+
Specify what it takes to deploy your app.
50+
51+
## Further Reading / Useful Links
52+
53+
* [ember.js](https://emberjs.com/)
54+
* [ember-cli](https://ember-cli.com/)
55+
* Development Browser Extensions
56+
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
57+
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)

app/app.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Application from '@ember/application';
2+
import Resolver from './resolver';
3+
import loadInitializers from 'ember-load-initializers';
4+
import config from './config/environment';
5+
6+
const App = Application.extend({
7+
modulePrefix: config.modulePrefix,
8+
podModulePrefix: config.podModulePrefix,
9+
Resolver
10+
});
11+
12+
loadInitializers(App, config.modulePrefix);
13+
14+
export default App;

app/components/.gitkeep

Whitespace-only changes.

app/controllers/.gitkeep

Whitespace-only changes.

app/helpers/.gitkeep

Whitespace-only changes.

app/index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<title>Amber</title>
7+
<meta name="description" content="">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
10+
{{content-for "head"}}
11+
12+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
13+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/amber.css">
14+
15+
{{content-for "head-footer"}}
16+
</head>
17+
<body>
18+
{{content-for "body"}}
19+
20+
<script src="{{rootURL}}assets/vendor.js"></script>
21+
<script src="{{rootURL}}assets/amber.js"></script>
22+
23+
{{content-for "body-footer"}}
24+
</body>
25+
</html>

app/models/.gitkeep

Whitespace-only changes.

app/resolver.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Resolver from 'ember-resolver';
2+
3+
export default Resolver;

app/router.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import EmberRouter from '@ember/routing/router';
2+
import config from './config/environment';
3+
4+
const Router = EmberRouter.extend({
5+
location: config.locationType,
6+
rootURL: config.rootURL
7+
});
8+
9+
Router.map(function() {
10+
});
11+
12+
export default Router;

app/routes/.gitkeep

Whitespace-only changes.

app/styles/app.css

Whitespace-only changes.

app/templates/application.hbs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{!-- The following component displays Ember's default welcome message. --}}
2+
<WelcomePage />
3+
{{!-- Feel free to remove this! --}}
4+
5+
{{outlet}}

app/templates/components/.gitkeep

Whitespace-only changes.

config/environment.js

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
'use strict';
2+
3+
module.exports = function(environment) {
4+
let ENV = {
5+
modulePrefix: 'amber',
6+
environment,
7+
rootURL: '/',
8+
locationType: 'auto',
9+
EmberENV: {
10+
FEATURES: {
11+
// Here you can enable experimental features on an ember canary build
12+
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
13+
},
14+
EXTEND_PROTOTYPES: {
15+
// Prevent Ember Data from overriding Date.parse.
16+
Date: false
17+
}
18+
},
19+
20+
APP: {
21+
// Here you can pass flags/options to your application instance
22+
// when it is created
23+
}
24+
};
25+
26+
if (environment === 'development') {
27+
// ENV.APP.LOG_RESOLVER = true;
28+
// ENV.APP.LOG_ACTIVE_GENERATION = true;
29+
// ENV.APP.LOG_TRANSITIONS = true;
30+
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
31+
// ENV.APP.LOG_VIEW_LOOKUPS = true;
32+
}
33+
34+
if (environment === 'test') {
35+
// Testem prefers this...
36+
ENV.locationType = 'none';
37+
38+
// keep test console output quieter
39+
ENV.APP.LOG_ACTIVE_GENERATION = false;
40+
ENV.APP.LOG_VIEW_LOOKUPS = false;
41+
42+
ENV.APP.rootElement = '#ember-testing';
43+
ENV.APP.autoboot = false;
44+
}
45+
46+
if (environment === 'production') {
47+
// here you can enable a production-specific feature
48+
}
49+
50+
return ENV;
51+
};

config/optional-features.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"jquery-integration": false
3+
}

config/targets.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'use strict';
2+
3+
const browsers = [
4+
'last 1 Chrome versions',
5+
'last 1 Firefox versions',
6+
'last 1 Safari versions'
7+
];
8+
9+
const isCI = !!process.env.CI;
10+
const isProduction = process.env.EMBER_ENV === 'production';
11+
12+
if (isCI || isProduction) {
13+
browsers.push('ie 11');
14+
}
15+
16+
module.exports = {
17+
browsers
18+
};

ember-cli-build.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
return app.toTree();
24+
};

0 commit comments

Comments
 (0)