@joshgmw/rw-plugin-two
Advanced tools
Comparing version 0.0.2 to 0.0.3
21
index.js
@@ -1,13 +0,8 @@ | ||
// TEMP Example of potential RedwoodJS CLI plugins | ||
const memoryCommand = require('./commands/memory.js') | ||
const setupCommands = require('./commands/setup.js') | ||
const commands = [ | ||
setupCommands, | ||
memoryCommand | ||
] | ||
module.exports = { | ||
commands | ||
} | ||
export async function setup({projectDirectory}){ | ||
console.log("This is an example setup package running.") | ||
console.log("The project directory is: " + projectDirectory) | ||
console.log("You could use this to: ") | ||
console.log(" - Add dependencies to the project") | ||
console.log(" - Add files to the project") | ||
console.log("And more!") | ||
} |
{ | ||
"name": "@joshgmw/rw-plugin-two", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"type": "module", | ||
"exports": { | ||
"./index.js": "./index.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"author": "", | ||
"author": "Josh GM Walker", | ||
"license": "ISC", | ||
@@ -10,0 +12,0 @@ "description": "", |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1
2
Yes
711
2
7
1