Socket
Socket
Sign inDemoInstall

generator-wolmo-bootstrap-rn

Package Overview
Dependencies
Maintainers
9
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-wolmo-bootstrap-rn - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

generators/app/templates/src/app/i18n.ejs

2

generators/app/files.js

@@ -21,2 +21,3 @@ // BASE PATHS

module.exports.SCREENS = `${module.exports.APP_PATH}/screens.js`;
module.exports.APP_I18N = `${module.exports.APP_PATH}/i18n.js`;

@@ -130,2 +131,3 @@ // SCREENS - HOME

module.exports.I18N_CONFIG = `${module.exports.CONFIG_PATH}/i18n.js`;
module.exports.NAVIGATION_CONFIG = `${module.exports.CONFIG_PATH}/navigation.js`;

@@ -132,0 +134,0 @@ // CONSTANTS

@@ -41,3 +41,5 @@ const { copyFile, copyTemplateFile } = require('../../utils');

APP,
SCREENS
SCREENS,
NAVIGATION_CONFIG,
APP_I18N
} = require('../../files');

@@ -80,3 +82,13 @@

const TEMPLATE_FILES = [README, REDUX_STORE, ROUTES_CONSTANTS, REACTOTRON_CONFIG, INDEX, APP, SCREENS];
const TEMPLATE_FILES = [
README,
REDUX_STORE,
ROUTES_CONSTANTS,
REACTOTRON_CONFIG,
INDEX,
APP,
SCREENS,
NAVIGATION_CONFIG,
APP_I18N
];

@@ -83,0 +95,0 @@ module.exports = function baseFilesTemplate() {

7

generators/app/tasks/installDependencies.js

@@ -79,5 +79,5 @@ const latestSemver = require('latest-semver');

successMessage: `${dev ? 'Dev dependencies' : 'Dependencies'} ready!`,
failureMessage: `${dev
? 'Dev dependencies'
: 'Dependencies'} installation failed. Turn verbose mode on for detailed logging`,
failureMessage: `${
dev ? 'Dev dependencies' : 'Dependencies'
} installation failed. Turn verbose mode on for detailed logging`,
context: options

@@ -100,2 +100,3 @@ });

DEPENDENCIES.push('redux-beacon');
DEPENDENCIES.push('@redux-beacon/react-native-google-analytics');
}

@@ -102,0 +103,0 @@

import Config from 'react-native-config';
import { NavigationActions } from 'react-navigation';
import { GoogleAnalyticsTracker } from 'react-native-google-analytics-bridge';
import { GoogleAnalytics } from 'redux-beacon/targets/react-native';
import GoogleAnalytics, { trackEvent } from '@redux-beacon/react-native-google-analytics';
import { createMiddleware } from 'redux-beacon';

@@ -17,6 +17,6 @@

const pageView = (action, prevState) => ({
const pageView = trackEvent((action, prevState) => ({
hitType: 'pageview',
page: getCurrentRouteName(prevState.nav)
});
}));

@@ -23,0 +23,0 @@ const eventsMap = {

{
"name": "generator-wolmo-bootstrap-rn",
"version": "0.3.1",
"version": "0.3.2",
"description": "",

@@ -5,0 +5,0 @@ "files": [

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