-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from square/deanpapastrat/prep-0.2.0-release
Add deploy plugins
- Loading branch information
Showing
3 changed files
with
157 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint-env node */ | ||
'use strict'; | ||
|
||
module.exports = function(deployTarget) { | ||
let ENV = { | ||
build: {} | ||
// include other plugin configuration that applies to all deploy targets here | ||
}; | ||
|
||
if (deployTarget === 'development') { | ||
ENV.build.environment = 'development'; | ||
// configure other plugins for development deploy target here | ||
} | ||
|
||
if (deployTarget === 'staging') { | ||
ENV.build.environment = 'production'; | ||
// configure other plugins for staging deploy target here | ||
} | ||
|
||
if (deployTarget === 'production') { | ||
ENV.build.environment = 'production'; | ||
// configure other plugins for production deploy target here | ||
} | ||
|
||
// Note: if you need to build some configuration asynchronously, you can return | ||
// a promise that resolves with the ENV object instead of returning the | ||
// ENV object synchronously. | ||
return ENV; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3840,6 +3840,20 @@ core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.5: | |
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" | ||
integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== | ||
|
||
[email protected]: | ||
version "2.0.6" | ||
resolved "https://registry.yarnpkg.com/core-object/-/core-object-2.0.6.tgz#60134b9c40ff69b27bc15e82db945e4df782961b" | ||
integrity sha1-YBNLnED/abJ7wV6C25ReTfeClhs= | ||
dependencies: | ||
chalk "^1.1.3" | ||
|
||
core-object@^2.0.0: | ||
version "2.1.1" | ||
resolved "https://registry.yarnpkg.com/core-object/-/core-object-2.1.1.tgz#4b7a5f1edefcb1e6d0dcb58eab1b9f90bfc666a8" | ||
integrity sha1-S3pfHt78sebQ3LWOqxufkL/GZqg= | ||
dependencies: | ||
chalk "^1.1.3" | ||
|
||
core-object@^3.1.5: | ||
version "3.1.5" | ||
resolved "https://registry.yarnpkg.com/core-object/-/core-object-3.1.5.tgz#fa627b87502adc98045e44678e9a8ec3b9c0d2a9" | ||
|
@@ -3890,6 +3904,15 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: | |
safe-buffer "^5.0.1" | ||
sha.js "^2.4.8" | ||
|
||
cross-spawn@^5.0.1: | ||
version "5.1.0" | ||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" | ||
integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= | ||
dependencies: | ||
lru-cache "^4.0.1" | ||
shebang-command "^1.2.0" | ||
which "^1.2.9" | ||
|
||
cross-spawn@^6.0.0, cross-spawn@^6.0.5: | ||
version "6.0.5" | ||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" | ||
|
@@ -3992,7 +4015,7 @@ cyclist@~0.2.2: | |
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" | ||
integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= | ||
|
||
dag-map@^2.0.2: | ||
dag-map@^2.0.1, dag-map@^2.0.2: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/dag-map/-/dag-map-2.0.2.tgz#9714b472de82a1843de2fba9b6876938cab44c68" | ||
integrity sha1-lxS0ct6CoYQ94vuptodpOMq0TGg= | ||
|
@@ -4259,6 +4282,11 @@ dot-prop@^4.1.0, dot-prop@^4.1.1: | |
dependencies: | ||
is-obj "^1.0.0" | ||
|
||
dotenv@^1.2.0: | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-1.2.0.tgz#7cd73e16e07f057c8072147a5bc3a8677f0ab5c6" | ||
integrity sha1-fNc+FuB/BXyAchR6W8OoZ38KtcY= | ||
|
||
duplex@~1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/duplex/-/duplex-1.0.0.tgz#6abc5c16ec17e4c578578727126700590d3a2dda" | ||
|
@@ -4455,7 +4483,7 @@ ember-cli-babel-plugin-helpers@^1.0.0, ember-cli-babel-plugin-helpers@^1.1.0: | |
resolved "https://registry.yarnpkg.com/ember-cli-babel-plugin-helpers/-/ember-cli-babel-plugin-helpers-1.1.0.tgz#de3baedd093163b6c2461f95964888c1676325ac" | ||
integrity sha512-Zr4my8Xn+CzO0gIuFNXji0eTRml5AxZUTDQz/wsNJ5AJAtyFWCY4QtKdoELNNbiCVGt1lq5yLiwTm4scGKu6xA== | ||
|
||
ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.0.0-beta.7, ember-cli-babel@^6.10.0, ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0, ember-cli-babel@^6.6.0, ember-cli-babel@^6.8.0, ember-cli-babel@^6.8.1, ember-cli-babel@^6.8.2: | ||
ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.0.0-beta.7, ember-cli-babel@^6.10.0, ember-cli-babel@^6.11.0, ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0, ember-cli-babel@^6.6.0, ember-cli-babel@^6.8.0, ember-cli-babel@^6.8.1, ember-cli-babel@^6.8.2: | ||
version "6.18.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-6.18.0.tgz#3f6435fd275172edeff2b634ee7b29ce74318957" | ||
integrity sha512-7ceC8joNYxY2wES16iIBlbPSxwKDBhYwC8drU3ZEvuPDMwVv1KzxCNu1fvxyFEBWhwaRNTUxSCsEVoTd9nosGA== | ||
|
@@ -4545,6 +4573,63 @@ ember-cli-dependency-checker@^3.1.0: | |
resolve "^1.5.0" | ||
semver "^5.3.0" | ||
|
||
ember-cli-deploy-build@^1.1.1: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy-build/-/ember-cli-deploy-build-1.1.1.tgz#de515b04536a569f42626ef28aea139f32ef00e8" | ||
integrity sha512-q6Svm9PhEO2t5bCjsHfwkm36Cdou1eTdzvw00dU/nAHnysmai7sIqEzT7k20zawjGws7CgttZzMz6Oek5TOZ1w== | ||
dependencies: | ||
chalk "^1.0.0" | ||
ember-cli-deploy-plugin "^0.2.1" | ||
glob "^7.1.1" | ||
rsvp "^3.5.0" | ||
|
||
ember-cli-deploy-git-ci@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy-git-ci/-/ember-cli-deploy-git-ci-1.0.1.tgz#846b046f82196538cc6eea2aa5d410c9111f76f4" | ||
integrity sha512-F5lbie3T6vBCHYSCi7yT6KC+4dlM/BkeOv+6oPra0a2Px4q2J3Rv4Yuh8aailOVVRE+2iRyVFM57ijB8QBb9WA== | ||
dependencies: | ||
ember-cli-deploy-plugin "^0.2.9" | ||
execa "^0.7.0" | ||
fs-extra "^4.0.0" | ||
|
||
ember-cli-deploy-git@^1.3.3: | ||
version "1.3.3" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy-git/-/ember-cli-deploy-git-1.3.3.tgz#7fdd035ad93af4016d1eecbc0a5bac35ae7da60f" | ||
integrity sha512-skwu+ROq38SuWqcrTh0e/iTCLWOdeANMz2PcnSIiPUcOocVCZUX0FbV4YmQ9Wn6yavzg7VTKrZPxN1YA9eHwYg== | ||
dependencies: | ||
ember-cli-babel "^6.11.0" | ||
ember-cli-deploy-plugin "^0.2.9" | ||
fs-extra "^5.0.0" | ||
rsvp "^4.8.1" | ||
|
||
ember-cli-deploy-plugin@^0.2.1, ember-cli-deploy-plugin@^0.2.9: | ||
version "0.2.9" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy-plugin/-/ember-cli-deploy-plugin-0.2.9.tgz#a3d395b8adad7ef68d8bacdd0b0f4a61bcf9e651" | ||
integrity sha1-o9OVuK2tfvaNi6zdCw9KYbz55lE= | ||
dependencies: | ||
chalk "^1.0.0" | ||
core-object "2.0.6" | ||
lodash.clonedeep "^4.5.0" | ||
|
||
ember-cli-deploy-progress@^1.3.0: | ||
version "1.3.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy-progress/-/ember-cli-deploy-progress-1.3.0.tgz#18663deed25b4d5397476332f25eed3c3fdf225a" | ||
integrity sha1-GGY97tJbTVOXR2My8l7tPD/fIlo= | ||
|
||
ember-cli-deploy@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/ember-cli-deploy/-/ember-cli-deploy-1.0.2.tgz#9ab39188c882b57937418db5b3da6fc65b16b916" | ||
integrity sha1-mrORiMiCtXk3QY21s9pvxlsWuRY= | ||
dependencies: | ||
chalk "^1.1.3" | ||
core-object "^2.0.0" | ||
dag-map "^2.0.1" | ||
dotenv "^1.2.0" | ||
ember-cli-deploy-progress "^1.3.0" | ||
lodash "^4.0.0" | ||
rsvp "^3.3.3" | ||
silent-error "^1.0.0" | ||
|
||
ember-cli-eslint@^5.1.0: | ||
version "5.1.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-eslint/-/ember-cli-eslint-5.1.0.tgz#acdb9b072911e04b07c313b610f514db4086d21a" | ||
|
@@ -5619,6 +5704,19 @@ exec-sh@^0.3.2: | |
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b" | ||
integrity sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg== | ||
|
||
execa@^0.7.0: | ||
version "0.7.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" | ||
integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= | ||
dependencies: | ||
cross-spawn "^5.0.1" | ||
get-stream "^3.0.0" | ||
is-stream "^1.1.0" | ||
npm-run-path "^2.0.0" | ||
p-finally "^1.0.0" | ||
signal-exit "^3.0.0" | ||
strip-eof "^1.0.0" | ||
|
||
execa@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" | ||
|
@@ -6043,7 +6141,7 @@ fs-extra@^0.24.0: | |
path-is-absolute "^1.0.0" | ||
rimraf "^2.2.8" | ||
|
||
fs-extra@^4.0.2, fs-extra@^4.0.3: | ||
fs-extra@^4.0.0, fs-extra@^4.0.2, fs-extra@^4.0.3: | ||
version "4.0.3" | ||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" | ||
integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== | ||
|
@@ -6297,7 +6395,7 @@ glob@^5.0.10: | |
once "^1.3.0" | ||
path-is-absolute "^1.0.0" | ||
|
||
glob@^7.0.3, glob@^7.0.4, glob@^7.1.2, glob@^7.1.3: | ||
glob@^7.0.3, glob@^7.0.4, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: | ||
version "7.1.4" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" | ||
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== | ||
|
@@ -7752,7 +7850,7 @@ lodash.castarray@^4.4.0: | |
resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115" | ||
integrity sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU= | ||
|
||
lodash.clonedeep@^4.4.1: | ||
lodash.clonedeep@^4.4.1, lodash.clonedeep@^4.5.0: | ||
version "4.5.0" | ||
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" | ||
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= | ||
|
@@ -8035,6 +8133,14 @@ lowercase-keys@^1.0.0: | |
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" | ||
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== | ||
|
||
lru-cache@^4.0.1: | ||
version "4.1.5" | ||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" | ||
integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== | ||
dependencies: | ||
pseudomap "^1.0.2" | ||
yallist "^2.1.2" | ||
|
||
lru-cache@^5.1.1: | ||
version "5.1.1" | ||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" | ||
|
@@ -9375,6 +9481,11 @@ prr@~1.0.1: | |
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" | ||
integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= | ||
|
||
pseudomap@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" | ||
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= | ||
|
||
psl@^1.1.24, psl@^1.1.28: | ||
version "1.1.32" | ||
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.32.tgz#3f132717cf2f9c169724b2b6caf373cf694198db" | ||
|
@@ -9979,7 +10090,7 @@ rollup@^0.57.1: | |
signal-exit "^3.0.2" | ||
sourcemap-codec "^1.4.1" | ||
|
||
rsvp@^3.0.14, rsvp@^3.0.17, rsvp@^3.0.18, rsvp@^3.0.21, rsvp@^3.0.6, rsvp@^3.1.0: | ||
rsvp@^3.0.14, rsvp@^3.0.17, rsvp@^3.0.18, rsvp@^3.0.21, rsvp@^3.0.6, rsvp@^3.1.0, rsvp@^3.3.3, rsvp@^3.5.0: | ||
version "3.6.2" | ||
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" | ||
integrity sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw== | ||
|
@@ -11635,6 +11746,11 @@ y18n@^4.0.0: | |
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" | ||
integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== | ||
|
||
yallist@^2.1.2: | ||
version "2.1.2" | ||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" | ||
integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= | ||
|
||
yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: | ||
version "3.0.3" | ||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" | ||
|