react-clear-cache
Advanced tools
Comparing version 1.0.6 to 1.0.7
#!/usr/bin/env node | ||
// Grab provided args. | ||
// const [, , ...args] = process.argv; | ||
// Print hello world provided args. | ||
// console.log(`Hello world ${args}`); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const uuidv4 = require('uuid/v4'); | ||
@@ -21,4 +14,2 @@ | ||
console.log(path.resolve(__dirname)); | ||
fs.writeFile( | ||
@@ -25,0 +16,0 @@ './public/meta.json', |
{ | ||
"name": "react-clear-cache", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A component to manage application updates.", | ||
@@ -5,0 +5,0 @@ "author": "noahjohn9259", |
@@ -13,2 +13,13 @@ # react-clear-cache | ||
## Add script in package.json | ||
This will generate `meta.json` which will contain the latest version. | ||
```bash | ||
{ | ||
"prebuild": "npm run generate-build-meta", | ||
"generate-build-meta": "./node_modules/react-clear-cache/bin/cli.js" | ||
} | ||
``` | ||
## Usage | ||
@@ -15,0 +26,0 @@ |
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
9034
77
101