Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dooboo-cli

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dooboo-cli - npm Package Compare versions

Comparing version 3.1.0 to 3.1.2

10

CHANGELOG.md
## Changelogs
**[3.1.2]**
- Fix shell script while generating [Provider] file.
**[3.1.1]**
- Fix typo while generating [Provider] file.
**[3.1.0]**
- Install all post installation step for `react-navigation` in `react-native` template.

@@ -4,0 +14,0 @@

57

lib/bin/root.js

@@ -60,2 +60,14 @@ #!/usr/bin/env node

}
const list = selectShell({
pointer: ' ▸ ',
pointerColor: 'yellow',
checked: ' ◉ ',
unchecked: ' ◎ ',
checkedColor: 'blue',
msgCancel: 'No selected options!',
msgCancelColor: 'orange',
multiSelect: false,
inverse: true,
prepend: true,
});
/**

@@ -73,14 +85,2 @@ * init

shell.echo(chalk_1.default.yellow('Select which app you want to generate from dooboo.'));
const list = selectShell({
pointer: ' ▸ ',
pointerColor: 'yellow',
checked: ' ◉ ',
unchecked: ' ◎ ',
checkedColor: 'blue',
msgCancel: 'No selected options!',
msgCancelColor: 'orange',
multiSelect: false,
inverse: true,
prepend: true,
});
// const stream = process.stdin;

@@ -271,14 +271,2 @@ list

if (exists) {
const list = selectShell({
pointer: ' ▸ ',
pointerColor: 'yellow',
checked: ' ◉ ',
unchecked: ' ◎ ',
checkedColor: 'blue',
msgCancel: 'No selected options!',
msgCancelColor: 'orange',
multiSelect: false,
inverse: true,
prepend: true,
});
list

@@ -424,3 +412,3 @@ .option(' BottomTabNavigator ', TYPE_OF_RN_NAVIGATION.BottomTabNavigator)

const providerFile = `./src/providers/${upperCamel}.tsx`;
const providerTestFile = `./src/providers/__tests__/${upperCamel}.tsx`;
const providerTestFile = `./src/providers/__tests__/${upperCamel}.test.tsx`;
const exists = yield functions_1.fsExists(providerFile);

@@ -431,14 +419,2 @@ if (exists) {

}
const list = selectShell({
pointer: ' ▸ ',
pointerColor: 'yellow',
checked: ' ◉ ',
unchecked: ' ◎ ',
checkedColor: 'blue',
msgCancel: 'No selected options!',
msgCancelColor: 'orange',
multiSelect: false,
inverse: true,
prepend: true,
});
list

@@ -451,7 +427,10 @@ .option(' Provider (Reducer Type) ', TYPE_OF_PROVIDER.ReducerProvider)

const template = path.resolve(__dirname, '..', `templates/common/provider/${providerType}.tsx`);
const testTemplate = path.resolve(__dirname, '..', `templates/common/provider/${providerType}.test.tsx`);
shell.cp(template, providerFile);
shell.cp(testTemplate, providerTestFile);
shell.sed('-i', providerType, `${upperCamel}`, providerFile);
shell.sed('-i', `${providerType}`, `${upperCamel}`, providerTestFile);
shell.sed('-i', `../${providerType}`, `../${upperCamel}`, providerTestFile);
shell.echo(chalk_1.default.cyanBright('creating api file...'));
shell.echo(chalk_1.default.green(`generated: src/apis/${camel}.tsx`));
shell.echo(chalk_1.default.cyanBright('creating provider file...'));
shell.echo(chalk_1.default.green(`generated: ${providerFile}${'\n'}testFile: ${providerTestFile}`));
process.exit(0);

@@ -458,0 +437,0 @@ });

{
"name": "dooboo-cli",
"version": "3.1.0",
"version": "3.1.2",
"description": "starting react express app with me!",

@@ -5,0 +5,0 @@ "bin": {

{
"name": "dooboo-cli",
"version": "3.1.0",
"version": "3.1.2",
"description": "starting react express app with me!",

@@ -5,0 +5,0 @@ "bin": {

@@ -12,9 +12,12 @@ # dooboo-cli

## Quick News
Please install `3.1.0` if you'd like to cover the [post install step](https://reactnavigation.org/docs/en/getting-started.html) for `react-navigation`.
- Latest stable version is `3.1.2`.
- Please install `3.1.0` if you'd like to cover the [post install step](https://reactnavigation.org/docs/en/getting-started.html) for `react-navigation`.
## Compatability
- version 3
* React
- React
| package | necessary |

@@ -26,3 +29,3 @@ | ----------------- | --------- |

* React Native
- React Native

@@ -35,3 +38,2 @@ | package | necessary |

## Stacks we use

@@ -38,0 +40,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc