Code Monkey home page Code Monkey logo

create-react-microservice's People

Contributors

c0de1ovr avatar immowelt-ci avatar inkdpixels avatar rarkins avatar renovate-bot avatar renovate[bot] 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

create-react-microservice's Issues

create-react-microservice command strips numeric values from npm org

Describe the problem:

create-react-microservice strips numeric values from npm orgs, which are actually legal in org names.

Steps to reproduce:

  1. Run create-react-microservice my-project
  2. Set an org name with some numeric values (e.g. test39)

Observed Results:

  • What happened? This could be a description, log output, etc.

The org scope will be set to @test/

Expected Results:

  • What did you expect to happen?

Numeric values should be preserved, so the org scope should be set to @test39/

Filter files for broken symlinks

Describe the problem:

In case you developed the scaffold further, cleaned it afterwards and executed the integration tests. The scaffold creation will fail with an EOENT error that the .editorconfig or .prettierrc does not exist.

create-react-microservice command with @notated npm org cause failure

Describe the problem:

Running create-react-microservice with @ notated org, appends instantly a second @, for example in cli configuration on creating react microservice we use @tesorg after hitting enter the cli appends a second @ to the name @@testorg/. This cause in the yarn install process a error package.json: Name contains illegal characters

Steps to reproduce:

create-react-microservice my-fancy-ui
What is the preffered license for the mono repository and its packages? MIT
What is the NPM organization scope for the mono repositories packages? @testorg

Observed Results:

create-react-microservice ยป Error: Command failed: yarn install
error package.json: Name contains illegal characters

Add a help flag

Describe the problem:

Currently the create-react-microservice does not support the --help flag. Since this is common for most CLIs and users expect a way to see all options/flags the CLI exposes, we should integrate it as soon as possible.

Ask for a git repository URL

It would be nice if all mono-repo packages automatically get the git repository URL written into the package.json. We could make this question optional and if it was provided install husky / linted-staged, and if not remove the .lintstagedrc file from the root of the repo.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: docker

Published components package scaffold misses files

Describe the problem:

The published artifact of the components package misses the .babelrc, .eslintrc and most importantly the package.json.

Steps to reproduce:

  1. Simply try to create a new service with the service based on the releases published on NPM.

Support asynchronous rendering

It would be nice if we could enhance the code splitting into one module for the store, and one for the current route. That way we can get more out of HTTP/2's multi-plexing.

create-react-microservice failing on windows

Describe the problem:

create-react-microservice failing on windows

Steps to reproduce:

Run create-react-microservice to create a mono-repo on a Windows machine

Observed Results:

  • What happened? This could be a description, log output, etc.
create-react-microservice test-ui-microservice
? What is the preffered license for the mono repository and its packages? (Use a
rrow keys)
> Unlicense
? What is the preffered license for the mono repository and its packages? MIT
? What is the NPM organization scope for the mono repositories packages? @TFG
? What is the NPM organization scope for the mono repositories packages? @tfg/
? What is the git repository URL for the mono repositories packages? https://github.com/ERS-HCL/react-microservice.git
? What is the git repository URL for the mono repositories packages? https://git
hub.com/ERS-HCL/react-microservice.git
{ Error: E:\workspace\test-ui-microservice\E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\create-react-microservice-scaffold\src\__tests__ contains invalid WIN32 path characters.
    at Object.mkdirs (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\fs-extra\lib\mkdirs\mkdirs.js:18:22)
    at Object.mkdirs (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\universalify\index.js:5:67)
    at pathExists (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\fs-extra\lib\output\index.js:20:11)
    at fn.apply.then.r (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\universalify\index.js:23:46)
    at <anonymous> code: 'EINVAL' }

Add flow support for all selectors spec files

Describe the problem:

As of now the scaffold does not provide flow support for the jest spec files of reselect selectors. The reason why we haven't added it in the first place was that the selector is typed with the global StateType of the application, and the tests only provide a subset of it since it would otherwise increase the maintainability of the tests into nowhere.

A possible solution would be to either add a } | Object to the global StateType declaration, but this solution would also lead to less feedback from flow in the real world usage.

Automatically register newly created redux-modules

Describe the problem:

When creating a new redux-module via yarn run create in the root of the mono-repo, it would be nice to not having the manual register process of the module outsourced to the user.

Instead we should think about having some kind of process with e.g. babel to automatically register it

https://github.com/ImmoweltGroup/create-react-microservice/blob/master/packages/create-react-microservice-scaffold/src/build/templates/redux-module/create-config.js#L22-L34

Add and document `create` templates for browser/node packages

Describe the problem:

Since we've already got the create-any-cli tool setup in the root of the scaffold, it would be nice to have templates to scaffold new node or browser related packages.

We should also make sure to document the workflow with the create CLI.

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.