Comparing version 3.0.0 to 3.1.0
@@ -0,1 +1,8 @@ | ||
## v3.1.0 | ||
The cache directory used by `gh-pages` is now `node_modules/.cache/gh-pages`. If you want to use a different location, set the `CACHE_DIR` environment variable. | ||
* [#362](https://github.com/tschaub/gh-pages/pull/362) - Move the cache directory ([@tschaub](https://github.com/tschaub)) | ||
* [#361](https://github.com/tschaub/gh-pages/pull/361) - Update dev dependencies ([@tschaub](https://github.com/tschaub)) | ||
## v3.0.0 | ||
@@ -2,0 +9,0 @@ |
@@ -0,1 +1,2 @@ | ||
const findCacheDir = require('find-cache-dir'); | ||
const Git = require('./git'); | ||
@@ -13,3 +14,3 @@ const filenamify = require('filenamify-url'); | ||
function getCacheDir() { | ||
return path.relative(process.cwd(), path.resolve(__dirname, '../.cache')); | ||
return findCacheDir({name: 'gh-pages'}); | ||
} | ||
@@ -16,0 +17,0 @@ |
{ | ||
"name": "gh-pages", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Publish to a gh-pages branch on GitHub (or any other branch on any other remote)", | ||
@@ -41,2 +41,3 @@ "keywords": [ | ||
"filenamify-url": "^1.0.0", | ||
"find-cache-dir": "^3.3.1", | ||
"fs-extra": "^8.1.0", | ||
@@ -48,5 +49,5 @@ "globby": "^6.1.0" | ||
"dir-compare": "^1.8.0", | ||
"eslint": "^7.1.0", | ||
"eslint": "^7.3.0", | ||
"eslint-config-tschaub": "^13.1.0", | ||
"mocha": "^6.2.2", | ||
"mocha": "^8.0.1", | ||
"sinon": "^8.0.4", | ||
@@ -53,0 +54,0 @@ "tmp": "^0.2.1" |
@@ -387,6 +387,4 @@ | ||
When processing `gh-pages` module generate file in`.cache/` and if stuck some reason like wrong password | ||
it will not automatically cleanup | ||
The `gh-pages` module writes temporary files to a `node_modules/.cache/gh-pages` directory. The location of this directory can be customized by setting the `CACHE_DIR` environemnt variable. | ||
Run `~node_modules/gh-pages/bin/gh-pages-clean` | ||
or remove `~node_modules/gh-pages/.cache` | ||
If `gh-pages` fails, you may find that you need to manually clean up the cache directory. To remove the cache directory, run `node_modules/gh-pages/bin/gh-pages-clean` or remove `node_modules/.cache/gh-pages`. |
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
49004
788
7
390
+ Addedfind-cache-dir@^3.3.1
+ Addedcommondir@1.0.1(transitive)
+ Addedfind-cache-dir@3.3.2(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedmake-dir@3.1.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpkg-dir@4.2.0(transitive)
+ Addedsemver@6.3.1(transitive)