Giter Club home page Giter Club logo

react-raise's People

Contributors

iamao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-raise's Issues

Generate a package.json file

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently the project does not generate a package.json file

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

After setup information have been collected, a package.json file should be generated using that information

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Get the current directory base

Do you want to request a feature or report a bug?

Feature, bug

What is the current behavior?

Currently there is no way for react-raise to know the base directory in order to create files in the project directory.
What it does instead is create the project inside react-raise folder

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should get the current base directory and create project in that directory

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Add cli argument to create a new component

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

currently I can only create a new react application

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

I should be able to create a new component by typing something like:
$ raise component -C Dashboard

  • where -C is connected. i.e I intend to make Dashboard a container component. It then generates Dashboard and connects it to the redux store
  • Dashboard is the name of the component
  • if -C is not provided then it is a presentational component by default

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Add sample webpack config

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

There is no sample webpack config to follow

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

There should be a sample webpack config file to build from

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

Create sample files for auto generated files

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently the command just generates empty files

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should populate generated files with a sample template
for example if generating a react component, it should add the following template:

import React from 'react';

/**
 * Home view of the project
 * @class
 */
class Home extends React.Component {
  
  /**
   * render lifecycle of the component, 'renders' the component
   * to the DOM.
   * @returns{Object} react component to render
   */
  render() {
    return (<h1>Home</h1>);
  }
}

export default Home;

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Add the sample files to their corresponding generated file

Do you want to request a feature or report a bug?

Feature and bug

What is the current behavior?

Currently generated files are empty

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

Generated files should have a starter template in them.
If a file like Home.component.js is generated, then it should contains something along the lines of:

import React from 'react';

/**
 * Home view of the project
 * @class
 */
class Home extends React.Component {
  
  /**
   * render lifecycle of the component, 'renders' the component
   * to the DOM.
   * @returns{Object} react component to render
   */
  render() {
    return (<h1>Home</h1>);
  }
}

export default Home;

In this case all that I need to do is add my own methods and implementations.

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Configure express server if the option was chosen

Do you want to request a feature or report a bug?

Feature & Bug

What is the current behavior?

Currently it just installs express and its dependencies when a user selects to use with express

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should set up a basic express server when the use chooses so.

  • It should use the port 7000 on local
  • It should serve static files at '/dist/'
  • It should be integrated with webpack-dev-server

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Setup Continous Integrations

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently there are no continous integrations

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

Continous integrations should check for code breaks and code quality

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

Build a folder structure from the schema that has been defined

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

There is no way to build the actual folder structure from the schema provided

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

There should be a way to render the folder schema structure provided
For example, if the schema provided is:

{ src: [
    { actions: ['index.js'] }
  ] 
}

Then it should create a file structure like:

/app
    /src
        /actions
            index.js

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Create a mapping of folder structure that react-raise will use

Do you want to request a feature or report a bug?

feature

What is the current behavior?

Currently react-raise has no definite structure to use to create a react file structure

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

There should be a consistent file structure that react-raise will use to render and generate a new react application
Example:

{ app: [
  {
    src: [{
       components: [...],
       'index.js'
    }]
   //...
  ]
}

Where the object keys that are arrays are folders and strings are files.

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

Add to documentation

Do you want to request a feature or report a bug?

Chore

What is the current behavior?

Currently the documentation is very limited

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

What is the expected behavior?

The documentation should be split into two:

  • For users:
    • Doc should cover installation and setup process
    • Doc should cover use cases
    • Doc should contain plenty of clear examples
  • For developers:
    • Doc should cover setup process
    • Doc should cover startup process
    • Doc should cover contribution guides

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Generate a .babelrc file

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

A .babelrc file is currently not generated

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

After user answers setup questions, a .babelrc file should be generated
using the presets:

  • stage-2
  • es2015
  • react

And the plugins:

  • transform-object-rest-spread,
  • transform-decorators-legacy

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Compile a list of all dependencies and devDependecies that will be required

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently there is no compiled list of dependencies

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

There should be a list of dependencies that will enable react-raise to create a package.json that contains those dependencies

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

Setup express dependencies

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently there are no dependencies for the express server

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should have dependencies for express in case the user wants to build with express server

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Setup eslint and houndCI

Do you want to request a feature or report a bug?

feature

What is the current behavior?

Currently there are no code linters in the project

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

  • eslint should check for coding style locally
  • houndCI should review and comment on open PRs

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Parse the cli arguments

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently the project does not handle any cli argument

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

Command line arguments should be parsed.
For example, if I type:
$ raise new app
Then it should know I wish to create a new react application
List of cli args:
new - create new react app
component - create new component
action - create new action
reducer - create new reducer
test:e2e - create new e2e test spec
test:component - create new component test spec
test:action - create new action test spec
test:reducer - create new reducer test spec

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Should validate user's main entry

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Currently I can type anything as my main entry file. It should not be so

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

I should only be allowed to use javascript files as my main entry in package.json.
If i type in something without a js extension then I should get an error
or better yet if it should append the .js for me.

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Show a graphical 'React Raise' on start up

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently it show nothing

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should render a graphical 'React Raise' on start up

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Generate a webpack.config file

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently, a webpack config file is not generated

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

A webpack.config.js should be auto generated with information from the webpack smple config.

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Make react-raise into a cli available command

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently the only way to start react-raise is by navigating to the directory and run:
$ node index.js

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

I should be able to create a react app in any directory on my filesystem by running a command.

  • I should be able to create a new react application by running: $ raise new <app name>
  • I should see a list of all available commands by running: $ raise --help or $ raise -h
  • I should see the version by running $ raise -v or $ raise --version

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Get user's project information on init of the command

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently nothing happens when a user starts the command

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

It should prompt me for the following questions:

  1. Description of my app(optional)
  2. My name(optional)[so it can add the author field in package.json]
  3. Main entry of app(Default: index.js)
  4. License(Default: MIT)
  5. Initialize with express(y/n)

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Create a file structure if 'new' is passed as the first argument of the command

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently nothing happens when you pass in the new argument

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

N/A

What is the expected behavior?

A new react app and structure should be created if I pass in new as the first argument
I.E if i type:
$ raise new awesome-app
Then I should get a bootstrapped react application

Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of react-raise?

N/A

NB: You can drop a comment below for more clarification

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.