try-npx-scripts
Advanced tools
Comparing version 1.0.3 to 1.0.4
24
index.js
@@ -1,3 +0,21 @@ | ||
console.log('yay') | ||
console.log(process.cwd()) | ||
console.log(__dirname) | ||
const fs = require('fs-extra') | ||
const { promptForLibName, createLibDir, copyTemplates, updateLibFiles } = require('./src/tasks') | ||
/** | ||
* Flow | ||
* 1. prompt for lib name(kebab-case) | ||
* 2. create lib folder | ||
* 3. copy templates | ||
* 4. update files | ||
* 5. run `npm install` | ||
* 6. run `git init` and `git commit ...` | ||
*/ | ||
promptForLibName() | ||
.then(createLibDir) | ||
.then(copyTemplates) | ||
.then(updateLibFiles) | ||
.catch(err => console.error(err)) | ||
// console.log('yay') | ||
// console.log(process.cwd()) | ||
// console.log(__dirname) |
{ | ||
"name": "try-npx-scripts", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Create typescript libraries in no time", | ||
@@ -22,3 +22,9 @@ "main": "index.js", | ||
}, | ||
"homepage": "https://github.com/igodorogea/try-npx-scripts#readme" | ||
"homepage": "https://github.com/igodorogea/try-npx-scripts#readme", | ||
"devDependencies": { | ||
"inquirer": "^5.1.0" | ||
}, | ||
"dependencies": { | ||
"fs-extra": "^5.0.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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
6789
15
157
1
2
1
1
1
6
+ Addedfs-extra@^5.0.0
+ Addedfs-extra@5.0.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addeduniversalify@0.1.2(transitive)