ember-cli-github-pages
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="0.2.2"></a> | ||
## [0.2.2](https://github.com/poetic/ember-cli-github-pages/compare/v0.2.1...v0.2.2) (2019-06-13) | ||
### Bug Fixes | ||
* Handle parent directory as destination ([#69](https://github.com/poetic/ember-cli-github-pages/issues/69)) ([6c7b365](https://github.com/poetic/ember-cli-github-pages/commit/6c7b365)) | ||
* update deps ([aa46772](https://github.com/poetic/ember-cli-github-pages/commit/aa46772)) | ||
<a name="0.2.1"></a> | ||
@@ -7,0 +18,0 @@ ## [0.2.1](https://github.com/poetic/ember-cli-github-pages/compare/v0.2.0...v0.2.1) (2018-11-06) |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var RSVP = require('rsvp'); | ||
var path = require('path'); | ||
@@ -50,4 +51,5 @@ module.exports = { | ||
function copy() { | ||
if (options.destination === '.') { | ||
return runCommand('cp -R dist/* .', execOptions); | ||
var rel = path.relative(root, options.destination); | ||
if (options.destination === '.' || rel.match(/^\.\.(\/\.\.)*$/)) { | ||
return runCommand('cp -R dist/* ' + options.destination + '/', execOptions); | ||
} else { | ||
@@ -54,0 +56,0 @@ return runCommand('rm -r ' + options.destination, execOptions) |
The MIT License (MIT) | ||
Copyright (c) 2018 | ||
Copyright (c) 2019 | ||
@@ -5,0 +5,0 @@ 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: |
{ | ||
"name": "ember-cli-github-pages", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Easily manage gh-pages of your ember-cli addon", | ||
@@ -34,9 +34,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"@ember/optional-features": "^0.6.3", | ||
"broccoli-asset-rev": "^2.7.0", | ||
"ember-cli": "~3.5.0", | ||
"ember-cli-dependency-checker": "^3.0.0", | ||
"ember-cli-eslint": "^4.2.3", | ||
"ember-cli-htmlbars": "^3.0.0", | ||
"ember-cli-htmlbars-inline-precompile": "^1.0.3", | ||
"@ember/optional-features": "^0.7.0", | ||
"broccoli-asset-rev": "^3.0.0", | ||
"ember-cli": "~3.10.1", | ||
"ember-cli-dependency-checker": "^3.1.0", | ||
"ember-cli-eslint": "^5.1.0", | ||
"ember-cli-htmlbars": "^3.0.1", | ||
"ember-cli-htmlbars-inline-precompile": "^2.1.0", | ||
"ember-cli-inject-live-reload": "^1.8.2", | ||
@@ -48,17 +48,17 @@ "ember-cli-sri": "^2.1.1", | ||
"ember-export-application-global": "^2.0.0", | ||
"ember-load-initializers": "^1.1.0", | ||
"ember-load-initializers": "^2.0.0", | ||
"ember-maybe-import-regenerator": "^0.1.6", | ||
"ember-qunit": "^3.4.1", | ||
"ember-qunit": "^4.4.1", | ||
"ember-resolver": "^5.0.1", | ||
"ember-source": "~3.5.0", | ||
"ember-source": "~3.10.0", | ||
"ember-source-channel-url": "^1.1.0", | ||
"ember-try": "^1.0.0", | ||
"eslint-plugin-ember": "^5.2.0", | ||
"eslint-plugin-node": "^7.0.1", | ||
"eslint-plugin-ember": "^6.2.0", | ||
"eslint-plugin-node": "^9.0.1", | ||
"loader.js": "^4.7.0", | ||
"qunit-dom": "^0.8.0", | ||
"qunit-dom": "^0.8.4", | ||
"standard-version": "^4.4.0" | ||
}, | ||
"engines": { | ||
"node": "6.* || 8.* || >= 10.*" | ||
"node": "8.* || >= 10.*" | ||
}, | ||
@@ -65,0 +65,0 @@ "ember-addon": { |
# ember-cli-github-pages | ||
[![Join the chat at https://gitter.im/poetic/ember-cli-github-pages](https://badges.gitter.im/poetic/ember-cli-github-pages.svg)](https://gitter.im/poetic/ember-cli-github-pages?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![npm version](https://badge.fury.io/js/ember-cli-github-pages.svg)](http://badge.fury.io/js/ember-cli-github-pages) | ||
@@ -11,3 +9,2 @@ [![Ember Observer Score](http://emberobserver.com/badges/ember-cli-github-pages.svg)](http://emberobserver.com/addons/ember-cli-github-pages) | ||
If you need to throw up a quick example of your addon in action, this is the | ||
@@ -51,2 +48,3 @@ addon for you! | ||
``` | ||
### Ember Addons: Add a Demo URL | ||
@@ -68,2 +66,3 @@ | ||
### A complete Org/User Pages example | ||
1. Create a new Ember CLI project `ember new myBlog`. Replace `myBlog` with the name of your project. | ||
@@ -91,2 +90,3 @@ 2. Go to the newly created project and install this addon: `cd myBlog && ember install ember-cli-github-pages`. | ||
``` | ||
| Optional Argument | Default Value | Description | | ||
@@ -101,7 +101,7 @@ |-------------------|---------------|-------------| | ||
do that you can access the repo at `http://username.github.io/repo-name`. It may | ||
take a few minutes after pushing the code to show up. | ||
take a few minutes after pushing the code to show up. | ||
## FAQ | ||
#### How can I create an automated deploy script? | ||
### How can I create an automated deploy script? | ||
@@ -112,3 +112,3 @@ For ease of use you can add the following to your `package.json`: | ||
"scripts": { | ||
"deploy": "ember build && ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\" && git push origin gh-pages:gh-pages" | ||
"deploy": "ember build --environment production && ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\" && git push origin gh-pages:gh-pages" | ||
} | ||
@@ -125,3 +125,3 @@ ``` | ||
- [Jake Craige](http://twitter.com/jakecraige) | ||
* [Jake Craige](http://twitter.com/jakecraige) | ||
@@ -128,0 +128,0 @@ [We are very thankful for our many contributors](https://github.com/poetic/ember-cli-github-pages/graphs/contributors) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16445
170