Skip to content

Commit b2e0d4e

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

16 files changed

+4717
-0
lines changed

.editorconfig

Lines changed: 20 additions & 0 deletions
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

Lines changed: 9 additions & 0 deletions
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+
}

.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
ecmaVersion: 6,
5+
sourceType: 'module'
6+
},
7+
extends: 'eslint:recommended',
8+
env: {
9+
browser: true
10+
},
11+
rules: {
12+
}
13+
};

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
tmp
3+
dist
4+
5+
npm-debug.log

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
language: node_js
3+
node_js:
4+
- "4"
5+
- "6"
6+
7+
sudo: false
8+
9+
cache:
10+
yarn: true
11+
12+
before_install:
13+
- curl -o- -L https://yarnpkg.com/install.sh | bash
14+
- export PATH=$HOME/.yarn/bin:$PATH
15+
16+
install:
17+
- yarn install --no-lockfile
18+
19+
script:
20+
- yarn test

.watchmanconfig

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

LICENSE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016
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
6+
the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
12+
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
13+
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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# ember-cli-deploy-manifest-json
2+
3+
> An Ember CLI Deploy plugin to ....... (you could add a tag line for your plugin here)
4+
5+
[TODO] You could write a short summary of your plugin here
6+
7+
## What is an Ember CLI Deploy plugin?
8+
9+
A plugin is an addon that can be executed as a part of the Ember CLI Deploy pipeline. A plugin will implement one or more of the Ember CLI Deploy's pipeline hooks.
10+
11+
For more information on what plugins are and how they work, please refer to the [Plugin Documentation][1].
12+
13+
## Quick Start
14+
15+
- Install this plugin
16+
17+
```bash
18+
$ ember install ember-cli-deploy-manifest-json
19+
```
20+
21+
[TODO] You could add some sensible default config examples needed to quickly run your plugin
22+
23+
- Run the pipeline
24+
25+
```bash
26+
$ ember deploy
27+
```
28+
29+
## Installation
30+
Run the following command in your terminal:
31+
32+
```bash
33+
ember install ember-cli-deploy-manifest-json
34+
```
35+
36+
## Ember CLI Deploy Hooks Implemented
37+
38+
For detailed information on what plugin hooks are and how they work, please refer to the [Plugin Documentation][1].
39+
40+
[TODO] You should add a list of the pipeline hooks that your plugin implements here, for example:
41+
42+
- `configure`
43+
- `build`
44+
- `upload`
45+
46+
## Configuration Options
47+
48+
For detailed information on how configuration of plugins works, please refer to the [Plugin Documentation][1].
49+
50+
[TODO] You should describe the config options your plugin accepts here, for example:
51+
52+
### someConfigProperty
53+
54+
[TODO] Some description of this config property should go here
55+
56+
*Default:* `'some sensible default could go here'`
57+
58+
## Prerequisites
59+
60+
The following properties are expected to be present on the deployment context object:
61+
62+
[TODO] You should describe which context properties your plugin depends on, for example:
63+
64+
- `distDir` (provided by [ember-cli-deploy-build][2])
65+
66+
## Tests
67+
68+
* yarn test
69+
70+
## Why `ember test` doesn't work
71+
72+
Since this is a node-only Ember CLI addon, we use mocha for testing and this package does not include many files and devDependencies which are part of Ember CLI's typical `ember test` processes.
73+
74+
[1]: http://ember-cli-deploy.com/plugins/ "Plugin Documentation"
75+
[2]: https://github.com/ember-cli-deploy/ember-cli-deploy-build "ember-cli-deploy-build"

index.js

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*eslint-env node*/
2+
'use strict';
3+
4+
//const RSVP = require('rsvp');
5+
const DeployPluginBase = require('ember-cli-deploy-plugin');
6+
7+
module.exports = {
8+
name: 'ember-cli-deploy-manifest-json',
9+
10+
createDeployPlugin: function(options) {
11+
let DeployPlugin = DeployPluginBase.extend({
12+
name: options.name,
13+
14+
/*
15+
* Define any config validation here
16+
*
17+
* http://ember-cli-deploy.com/docs/v1.0.x/creating-a-plugin/#validating-plugin-config
18+
*/
19+
20+
defaultConfig: {
21+
meaningOfLife: 42 // Example default config. Remove this.
22+
},
23+
requiredConfig: ['isInNeedOfSleep'], // Example required config. Remove this;
24+
25+
/*
26+
* Implement any pipeline hooks here
27+
*
28+
* http://ember-cli-deploy.com/docs/v1.0.x/pipeline-hooks/
29+
*/
30+
31+
//configure(context) {
32+
// let configProp = this.readConfig('foo'); // this is how you access plugin config
33+
//},
34+
35+
//setup(context) {
36+
// // Return an object with values you'd like merged in to the context to be accessed by other pipeline hooks and plugins
37+
// return {
38+
// someProp: 'someValue'
39+
// };
40+
//},
41+
42+
//willDeploy(context) {
43+
// return RSVP.resolve(); // Return a promise if you'd like the pipeline to wait until the hook has performed some function
44+
//},
45+
46+
//willBuild(context) {},
47+
//build(context) {},
48+
//didBuild(context) {},
49+
50+
//willPrepare(context) {},
51+
//prepare(context) {},
52+
//didPrepare(context) {},
53+
54+
//willUpload(context) {},
55+
//upload(context) {},
56+
//didUpload(context) {},
57+
58+
//willActivate(context) {},
59+
//activate(context) {},
60+
//didActivate(context) {},
61+
62+
//fetchInitialRevisions(context) {},
63+
//fetchRevisions(context) {},
64+
65+
//didDeploy(context) {},
66+
67+
//teardown(context) {},
68+
});
69+
70+
return new DeployPlugin();
71+
}
72+
};

package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "ember-cli-deploy-manifest-json",
3+
"version": "0.0.0",
4+
"description": "A brand new Ember CLI Deploy plugin",
5+
"directories": {
6+
"doc": "doc",
7+
"test": "tests"
8+
},
9+
"scripts": {
10+
"test": "node tests/runner.js && ./node_modules/.bin/eslint index.js tests/**/*.js"
11+
},
12+
"repository": "",
13+
"engines": {
14+
"node": ">= 4"
15+
},
16+
"author": "",
17+
"license": "MIT",
18+
"dependencies": {
19+
"ember-cli-deploy-plugin": "^0.2.9",
20+
"rsvp": "^3.5.0"
21+
},
22+
"devDependencies": {
23+
"chai-as-promised": "^6.0.0",
24+
"chai": "^3.5.0",
25+
"ember-cli": "^2.12.0",
26+
"eslint": "^3.18.0",
27+
"glob": "^7.1.1",
28+
"mocha": "^3.2.0"
29+
},
30+
"keywords": [
31+
"ember-addon",
32+
"ember-cli-deploy-plugin"
33+
]
34+
}

0 commit comments

Comments
 (0)