Skip to content

Commit 291596e

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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6898
-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

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
12+
# misc
13+
/coverage/
14+
15+
# ember-try
16+
/.node_modules.ember-try/
17+
/bower.json.ember-try
18+
/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+
parserOptions: {
4+
ecmaVersion: 2017,
5+
sourceType: 'module'
6+
},
7+
plugins: [
8+
'ember'
9+
],
10+
extends: [
11+
'eslint:recommended',
12+
'plugin:ember/recommended'
13+
],
14+
env: {
15+
browser: true
16+
},
17+
rules: {
18+
},
19+
overrides: [
20+
// node files
21+
{
22+
files: [
23+
'.template-lintrc.js',
24+
'ember-cli-build.js',
25+
'index.js',
26+
'testem.js',
27+
'blueprints/*/index.js',
28+
'config/**/*.js',
29+
'tests/dummy/config/**/*.js'
30+
],
31+
excludedFiles: [
32+
'addon/**',
33+
'addon-test-support/**',
34+
'app/**',
35+
'tests/dummy/app/**'
36+
],
37+
parserOptions: {
38+
sourceType: 'script',
39+
ecmaVersion: 2015
40+
},
41+
env: {
42+
browser: false,
43+
node: true
44+
},
45+
plugins: ['node'],
46+
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
47+
// add your custom rules and overrides for node files here
48+
})
49+
}
50+
]
51+
};

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
/.sass-cache
13+
/connect.lock
14+
/coverage/
15+
/libpeerconnection.log
16+
/npm-debug.log*
17+
/testem.log
18+
/yarn-error.log
19+
20+
# ember-try
21+
/.node_modules.ember-try/
22+
/bower.json.ember-try
23+
/package.json.ember-try

.npmignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# compiled output
2+
/dist/
3+
/tmp/
4+
5+
# dependencies
6+
/bower_components/
7+
8+
# misc
9+
/.bowerrc
10+
/.editorconfig
11+
/.ember-cli
12+
/.eslintignore
13+
/.eslintrc.js
14+
/.gitignore
15+
/.watchmanconfig
16+
/.travis.yml
17+
/bower.json
18+
/config/ember-try.js
19+
/ember-cli-build.js
20+
/testem.js
21+
/tests/
22+
/yarn.lock
23+
.gitkeep
24+
25+
# ember-try
26+
/.node_modules.ember-try/
27+
/bower.json.ember-try
28+
/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

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
language: node_js
3+
node_js:
4+
# we recommend testing addons with the same minimum supported node version as Ember CLI
5+
# so that your addon works for all apps
6+
- "6"
7+
8+
sudo: false
9+
dist: trusty
10+
11+
addons:
12+
chrome: stable
13+
14+
cache:
15+
yarn: true
16+
17+
env:
18+
global:
19+
# See https://git.io/vdao3 for details.
20+
- JOBS=1
21+
22+
jobs:
23+
fail_fast: true
24+
allow_failures:
25+
- env: EMBER_TRY_SCENARIO=ember-canary
26+
27+
include:
28+
# runs linting and tests with current locked deps
29+
30+
- stage: "Tests"
31+
name: "Tests"
32+
install:
33+
- yarn install --non-interactive
34+
script:
35+
- yarn lint:hbs
36+
- yarn lint:js
37+
- yarn test
38+
39+
- name: "Floating Dependencies"
40+
script:
41+
- yarn test
42+
43+
# we recommend new addons test the current and previous LTS
44+
# as well as latest stable release (bonus points to beta/canary)
45+
- stage: "Additional Tests"
46+
env: EMBER_TRY_SCENARIO=ember-lts-2.12
47+
- env: EMBER_TRY_SCENARIO=ember-lts-2.16
48+
- env: EMBER_TRY_SCENARIO=ember-lts-2.18
49+
- env: EMBER_TRY_SCENARIO=ember-release
50+
- env: EMBER_TRY_SCENARIO=ember-beta
51+
- env: EMBER_TRY_SCENARIO=ember-canary
52+
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery
53+
54+
before_install:
55+
- curl -o- -L https://yarnpkg.com/install.sh | bash
56+
- export PATH=$HOME/.yarn/bin:$PATH
57+
58+
install:
59+
- yarn install --no-lockfile --non-interactive
60+
61+
script:
62+
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO

.watchmanconfig

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

LICENSE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018
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.

README.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
ember-cli-bundlesize
2+
==============================================================================
3+
4+
[Short description of the addon.]
5+
6+
Installation
7+
------------------------------------------------------------------------------
8+
9+
```
10+
ember install ember-cli-bundlesize
11+
```
12+
13+
14+
Usage
15+
------------------------------------------------------------------------------
16+
17+
[Longer description of how to use the addon in apps.]
18+
19+
20+
Contributing
21+
------------------------------------------------------------------------------
22+
23+
### Installation
24+
25+
* `git clone <repository-url>`
26+
* `cd ember-cli-bundlesize`
27+
* `yarn install`
28+
29+
### Linting
30+
31+
* `yarn lint:hbs`
32+
* `yarn lint:js`
33+
* `yarn lint:js --fix`
34+
35+
### Running tests
36+
37+
* `ember test` – Runs the test suite on the current Ember version
38+
* `ember test --server` – Runs the test suite in "watch mode"
39+
* `ember try:each` – Runs the test suite against multiple Ember versions
40+
41+
### Running the dummy application
42+
43+
* `ember serve`
44+
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
45+
46+
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
47+
48+
License
49+
------------------------------------------------------------------------------
50+
51+
This project is licensed under the [MIT License](LICENSE.md).

addon/.gitkeep

Whitespace-only changes.

app/.gitkeep

Whitespace-only changes.

config/ember-try.js

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
'use strict';
2+
3+
const getChannelURL = require('ember-source-channel-url');
4+
5+
module.exports = function() {
6+
return Promise.all([
7+
getChannelURL('release'),
8+
getChannelURL('beta'),
9+
getChannelURL('canary')
10+
]).then((urls) => {
11+
return {
12+
useYarn: true,
13+
scenarios: [
14+
{
15+
name: 'ember-lts-2.12',
16+
npm: {
17+
devDependencies: {
18+
'ember-source': '~2.12.0'
19+
}
20+
}
21+
},
22+
{
23+
name: 'ember-lts-2.16',
24+
npm: {
25+
devDependencies: {
26+
'ember-source': '~2.16.0'
27+
}
28+
}
29+
},
30+
{
31+
name: 'ember-lts-2.18',
32+
npm: {
33+
devDependencies: {
34+
'ember-source': '~2.18.0'
35+
}
36+
}
37+
},
38+
{
39+
name: 'ember-release',
40+
npm: {
41+
devDependencies: {
42+
'ember-source': urls[0]
43+
}
44+
}
45+
},
46+
{
47+
name: 'ember-beta',
48+
npm: {
49+
devDependencies: {
50+
'ember-source': urls[1]
51+
}
52+
}
53+
},
54+
{
55+
name: 'ember-canary',
56+
npm: {
57+
devDependencies: {
58+
'ember-source': urls[2]
59+
}
60+
}
61+
},
62+
{
63+
name: 'ember-default',
64+
npm: {
65+
devDependencies: {}
66+
}
67+
},
68+
{
69+
name: 'ember-default-with-jquery',
70+
env: {
71+
EMBER_OPTIONAL_FEATURES: JSON.stringify({
72+
'jquery-integration': true
73+
})
74+
},
75+
npm: {
76+
devDependencies: {
77+
'@ember/jquery': '^0.5.1'
78+
}
79+
}
80+
}
81+
]
82+
};
83+
});
84+
};

config/environment.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = function(/* environment, appConfig */) {
4+
return { };
5+
};

ember-cli-build.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'use strict';
2+
3+
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
4+
5+
module.exports = function(defaults) {
6+
let app = new EmberAddon(defaults, {
7+
// Add options here
8+
});
9+
10+
/*
11+
This build file specifies the options for the dummy test app of this
12+
addon, located in `/tests/dummy`
13+
This build file does *not* influence how the addon or the app using it
14+
behave. You most likely want to be modifying `./index.js` or app's build file
15+
*/
16+
17+
return app.toTree();
18+
};

0 commit comments

Comments
 (0)