Comparing version 9.0.2 to 9.1.0
@@ -9,2 +9,3 @@ 'use strict' | ||
const Hubot = require('..') | ||
const create = require('../src/GenHubot.js') | ||
@@ -90,10 +91,7 @@ const switches = [ | ||
if (options.create) { | ||
console.error("'hubot --create' is deprecated. Use the yeoman generator instead:") | ||
console.error(' npm install -g yo generator-hubot') | ||
console.error(` mkdir -p ${options.path}`) | ||
console.error(` cd ${options.path}`) | ||
console.error(' yo hubot') | ||
console.error('See https://github.com/github/hubot/blob/main/docs/index.md for more details on getting started.') | ||
process.exit(1) | ||
options.hubotInstallationPath = process.env.HUBOT_INSTALLATION_PATH ?? 'hubot' | ||
create(options.path, options) | ||
process.exit(0) | ||
} | ||
if (options.file) { | ||
@@ -100,0 +98,0 @@ options.adapter = options.file.split('/').pop().split('.')[0] |
{ | ||
"name": "hubot", | ||
"version": "9.0.2", | ||
"version": "9.1.0", | ||
"author": "hubot", | ||
@@ -27,3 +27,2 @@ "keywords": [ | ||
"devDependencies": { | ||
"semantic-release": "^21.0.1", | ||
"standard": "^17.1.0" | ||
@@ -41,2 +40,3 @@ }, | ||
"start": "bin/hubot", | ||
"gen": "bin/hubot --create myhubot", | ||
"pretest": "standard", | ||
@@ -43,0 +43,0 @@ "test": "node --test", |
@@ -18,4 +18,14 @@ ![Build Status: MacOS](https://github.com/hubotio/hubot/actions/workflows/nodejs-macos.yml/badge.svg) | ||
# Create your own Hubot instance | ||
```sh | ||
mkdir myhubot | ||
cd myhubot | ||
npx hubot --create myhubot --adapter @hubot-friends/hubot-slack | ||
``` | ||
Review `scripts/example.mjs`. Create more scripts in the `scripts` folder. | ||
## License | ||
See the [LICENSE](LICENSE.md) file for license rights and limitations (MIT). |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
95046
1
23
2439
31
37
4