Coder Social home page Coder Social logo

michalkvasnicak / create-js-app Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 0.0 354 KB

[DEPRECATED!! - see readme] Create full stack javascript applications with no configuration. Powered by webpack 2, eslint, flowtype, ...

License: MIT License

JavaScript 96.07% Shell 3.89% CSS 0.04%
bundler create-js-app create-react-app javascript universal webpack

create-js-app's Introduction

Hi there 👋

I'm Michal Kvasničák a full stack engineer from 🇸🇰. I ❤️ React, GraphQL, Node.js, Typescript...

I know this README is boring, what'd you like to know? Ask me anything!

create-js-app's People

Contributors

michalkvasnicak avatar

Stargazers

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

Watchers

 avatar  avatar

create-js-app's Issues

Dev tools

Create dev tools that will work like react-dev-utils/webpackHotDevClient but can collect information from multiple webpack compilers + maybe some custom wrappers around test utils so user will have everything he needs in a browser.

  • - collection server
  • - browser dashboard

Init command

Should init basic project structure for universal react app.

Requirements:

  • koa
  • react
  • react-router

CSS is not available on initial build

When npm start is ran for a first time the css is not loaded because server bundle is finished before client bundle and assets.json is not available. Then it is cached like this and needs restart of a server or change in code which will cause compilation restart.

Plugin system

Create-js-app should work as plugin runner which exposes some api to control flow of runner.

For example if user does not want a server build, he/she should disable or enable only plugins he/she wants.

// .app.js

module.exports = {
   plugins: [
      require.resolve('create-js-app-scripts/plugins/default.client'),
      require.resolve('create-js-app-scripts/plugins/default.server'),
      require.resolve('create-js-app-scripts/plugins/graphql.watch')
   ],
   settings: {
      // some settings passed to every plugin
   }
};

Now anyone can create his own plugins.

  • Every plugin should expose methods to control them from tasks eg. start, build.
  • Every plugin should accept api as an argument to initializer so it can communicate with other plugins and with the runner

For example, we don't want to start server build if client assets are not built. Or we want to restart whole build if .app.js changes.

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.