@gluestack/framework
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -0,3 +1,5 @@ | ||
const { info } = require('../helpers/print'); | ||
module.exports = async () => { | ||
console.log("\nHello world!\n") | ||
info('Hello world!'); | ||
}; |
const commands = () => { | ||
return [require('./hello-world')]; | ||
return [ | ||
require('./hello-world'), | ||
require('./plugin-init'), | ||
require('./publish'), | ||
require('./install'), | ||
]; | ||
}; | ||
module.exports = commands; |
@@ -16,4 +16,4 @@ const { Command } = require('commander'); | ||
.name('glue') | ||
.version('GlueStack Version ' + version) | ||
.description('GlueStack framework'); | ||
.version('gluestack Version ' + version) | ||
.description('gluestack framework'); | ||
}; | ||
@@ -26,2 +26,7 @@ | ||
// adds all the commands from the directory | ||
commander.addCommand = async (program) => { | ||
return cmd(program); | ||
}; | ||
// parses and closes the command | ||
@@ -28,0 +33,0 @@ commander.close = async () => { |
{ | ||
"name": "@gluestack/framework", | ||
"version": "0.0.1", | ||
"description": "Framework code of GlueStack", | ||
"version": "0.0.2", | ||
"description": "Framework code of gluestack", | ||
"main": "glue.js", | ||
"scripts": {}, | ||
@@ -17,5 +18,11 @@ "repository": { | ||
"dependencies": { | ||
"colors": "^1.4.0", | ||
"commander": "^9.4.1", | ||
"shelljs": "^0.8.5" | ||
"lodash": "^4.17.21", | ||
"shelljs": "^0.8.5", | ||
"tsc": "^2.0.4" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.14" | ||
} | ||
} |
## About @gluestack/framework | ||
> **Note:** This repository contains the framework code of the GlueStack framework. If you want to build an application using GlueStack, visit the main [GlueStack repository](https://github.com/gluestack/create-gluestack-app). | ||
> **Note:** This repository contains the framework code of the gluestack framework. If you want to build an application using gluestack, visit the main [gluestack repository](https://github.com/gluestack/create-gluestack-app). | ||
@@ -5,0 +5,0 @@ ## Usage |
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
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
Network access
Supply chain riskThis module accesses the network.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
22213
37
684
5
1
13
4
+ Addedcolors@^1.4.0
+ Addedlodash@^4.17.21
+ Addedtsc@^2.0.4
+ Addedcolors@1.4.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedtsc@2.0.4(transitive)