hd-app-scripts
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -8,6 +8,15 @@ #!/usr/bin/env node | ||
const commander_1 = require("commander"); | ||
const credentials_1 = __importDefault(require("./credentials")); | ||
const build_1 = __importDefault(require("./build")); | ||
const openai_1 = require("./openai"); | ||
const prebuild_1 = __importDefault(require("./prebuild")); | ||
const program = new commander_1.Command(); | ||
program | ||
.option('-c, --credentials', 'expo install credentials') | ||
.option('-l, --language <action>', 'run language') | ||
.option('-lp, --languagePath <path>', 'language path default=./app') | ||
.option('-o, --openai <oaction>', 'run language open ai') | ||
.option('-op, --openaiLanguagePath <opath>', 'language path default=./app') | ||
.option('-oc, --openaiContext <ocontext>', 'language context') | ||
.option('-d, --doctor', 'run expo doctor') | ||
.option('-prebuild, --prebuild', 'run pre build script') | ||
@@ -24,2 +33,13 @@ .option('-b, --build', 'run github build') | ||
const options = program.opts(); | ||
if (options.credentials) { | ||
(0, credentials_1.default)(); | ||
} | ||
if (options.openai) { | ||
const method = options.openai; | ||
const openaiLanguagePath = options.openaiLanguagePath; | ||
const openaiContext = options.openaiContext; | ||
(0, openai_1.openaiX)(method, openaiLanguagePath, openaiContext).then(() => { | ||
console.log('Done!'); | ||
}); | ||
} | ||
if (options.build) { | ||
@@ -26,0 +46,0 @@ const buildPlatform = options.buildPlatform; |
{ | ||
"name": "hd-app-scripts", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
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 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
25684
11
756
11
2