Giter Site home page Giter Site logo

shrynx / react-super-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/create-react-app

88.0 88.0 7.0 3.59 MB

adds super powers to create-react-app and allows custom configs without ejecting.

Home Page: https://react-super-scripts.netlify.com

License: Other

JavaScript 69.84% AppleScript 1.77% HTML 1.43% CSS 1.13% Shell 25.83%

react-super-scripts's People

Contributors

anilreddykatta avatar bebbi avatar dceddia avatar eanplatter avatar enoahnetzach avatar existentialism avatar fson avatar gaearon avatar gaumala avatar hnordt avatar insin avatar johann-sonntagbauer avatar keyz avatar koistya avatar kripod avatar lacker avatar mareksuscak avatar mxstbr avatar n3tr avatar nhajidin avatar pd4d10 avatar ro-savage avatar ryansully avatar shrynx avatar sidoshi avatar timer avatar tuchk4 avatar valscion avatar viankakrisna avatar vjeux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-super-scripts's Issues

Failed to run tests

Can you reproduce the problem with latest npm?

npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Done, the problem can still be reproduced ([email protected]).

Description

  1. npm install -g create-react-app
  2. create-react-app my-app --scripts-version react-super-scripts
  3. Running npm test fails with
 FAIL  src/App.test.js
  ● Test suite failed to run

    Cannot find module 'src/App' from 'App.test.js'
      
      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
      at Object.<anonymous> (src/App.test.js:3:38)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.734s
Ran all test suites.

Expected behavior

src/App should be found from App.test.js and tests should be passed

Actual behavior

Test suite failed to run

    Cannot find module 'src/App' from 'App.test.js'

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected):
~/temp/my-app6 $ npm ls react-scripts
[email protected] /home/segrey/temp/my-app6
└── (empty)

~/temp/my-app6 $ npm ls react-super-scripts
[email protected] /home/segrey/temp/my-app6
└── [email protected] 
  1. node -v:
    v8.2.0
  2. npm -v:
    5.3.0

Operating system: Linux 3.19.0-32-generic 37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Browser and version:
No browser involved here

Reproducible Demo

It can be reproduced on a freshly generated app.

Maybe add support for preact

Not sure if preact will play well with it, though i see no apparent issues with using preact. More research needed. Plans to add it via package.json option

{
     ...
    "react-super-scripts": {
       "preact": true
   }
}

Nofication issue: not responding

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.

Can you reproduce the problem with latest npm?

Yes, I messaged you like yesterday
Many errors, especially related to "missing modules", are due to npm bugs.

If you're using Windows, follow these instructions to update npm.

If you're using OS X or Linux, run this to update npm:

npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Then try to reproduce the issue again.

Can you still reproduce it?
Josh has also tried messaging you

Description

What are you reporting?

Expected behavior

A response from our friend
Tell us what you think should happen.
He should reply and not be a b-arch

Actual behavior

No response after messaging several attempts at contact
Tell us what actually happens.

Environment

Friendship
Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected):
  2. node -v:
  3. npm -v:

Then, specify:

  1. Operating system:
  2. Browser and version:

Reproducible Demo

Please take the time to create a new app that reproduces the issue.

Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.

(Accidentally, you might get to the root of your problem during that process.)

Push to GitHub and paste the link here.

By doing this, you're helping the Create React App contributors a big time!
Demonstrable issues gets fixed faster.

pre-execution question...

Is this a bug report? NO

This is a pre-execution question: Is the following environment supported?

Environment

  1. node -v: 10.10.0
  2. npm -v: 6.4.1
  3. yarn --version: 1.9.4
  4. npm ls react-scripts (if you haven’t ejected): 1.5.2
  5. Operating system: Linux Ubuntu 18.04
  6. Browser and version (if relevant): n/a

Thank you in advance, AgileQ

HMR setup

Is HMR supposed to work without any configs?
Mine doesnt seem to work. using Preact though.

Public Server

Could we have a public server started at the same time on npm start like browsersync?
would help with IE testing, iOS...

Customize build folder

There is already an issue in official repo: facebook#1354

I wonder whether react-super-scripts support customizing build folder? If not, would you consider to add this feature?

Adding boiler plate generator options

Initially add options during installation to either generate a basic app (like the one now) or generate an advanced one.

Thing to include in advanced

  • Redux
    • Dev tools
    • Hot reloading
  • React Router (probably v4)

support for Offline Plugin

Add support for offline plugin, and make it configurable via a packge.json option

{
     ...

    "react-super-scripts": {
           "offline": true
     }
}

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.