Giter Site home page Giter Site logo

raulfdm / generator-react-component-library Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 4.0 1.04 MB

A flexible and up-to-date React Component Library scaffolding

License: MIT License

JavaScript 97.85% CSS 2.15%
react react-boilerplate react-component-library yeoman-generator

generator-react-component-library's Introduction

Hello/Hola/Olá! I'm Raul 👋

Born in the lands of Brazil, making a home in Spain.

Here are a few things you should know about me:

  • memes and Non-sense humor 🤡 give me life!
  • I'm a fervent admirer of all forms of art 🎨
  • I enjoy capturing moments 📸;
  • Traveling and exploring new cultures 🧳 fuels my curiosity and broadens my perspective.
  • When it comes to games 🎮, I'm an all-rounder. No allegiance to a single platform here!
  • I find joy in the rhythm of dance 🕺
  • My dedication extends to fitness 🏋️‍♂️ as well. A healthy body fosters a healthy mind.
  • I have a knack for nifty gadgets 🔮, regardless of their (lack of) practicality.

Oh, and did I mention my affinity for problem-solving? It's not just limited to humans, but extends to machines as well. Teaching both people 👨🏽‍🏫 (in human language) and machines 👨🏽‍💻 (in programming language) is a passion of mine.

Connect With Me

I'm not a social media addict person, but you can find me on:

  • My Website - Consider this my experimental lab and personal blog, where I play around with ideas and share my thoughts and musings.
  • Twitter - A mixed bag of my tech interests, political views, and a dash of humor;
  • Instagram - My visual diary of carefully curated shots;
  • Curriculum - If you're curious about my skills and professional experience.

Let's connect and create together! 😁

generator-react-component-library's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar doriclaudino avatar raulfdm avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generator-react-component-library's Issues

Add "example" repository

In order to show the user already how it's the whole structure, it should be create and commit a folder examples with all workflows

AssertionError [ERR_ASSERTION]: Trying to copy from a source that does

I am submitting a ...

Bug Report

Current Behavior

Issues using react-component-library and I get a trying to copy from a source that does not exists error

Expected

A new library template is created

Minimal Reproduction of Problem

➜  ReactApps yo react-component-library                               
? Your project name test-project-react-image-drag-and-drop
? Some project description fadsfasdf
? What package manager do you want to use? npm
? What library do you want to use to test? Jest + React Testing Library
? Do you want to add storybook? Yes
events.js:187
      throw er; // Unhandled 'error' event
      ^

AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: /usr/local/lib/node_modules/generator-react-component-library/generators/scaffold/templates/.gitignore

Environment

generator version: 1.5.1
node version: v13.1.0
npm version: 6.12.1
OS: Mac OS

Refactor `eslint` file

It's still the old one.

Should be refactored it with the basic setup and allow the user add his own rules.

  • Regenerate examples

Allow option to add SASS

  • have to add node-sass to Work;
  • If has storybook, then:
    • yarn add -D style-loader css-loader postcss-loader autoprefixer sass-loader
    • Enable SASS config inside .storybook/webpack.config.js:
        config.module.rules.push({
          test: /\.scss$/,
          loaders: [
            "style-loader",
            "css-loader",
            {
              loader: "postcss-loader",
              options: { plugins: () => [require("autoprefixer")()] }
            },
            "sass-loader"
          ],
          include: path.resolve(__dirname, "../")
        });

Write README

  • Badges;
  • Project goals
  • Why
  • How to Use;
  • How to install locally;
  • Folder structure;
  • License

Add template README.md and CHANGELOG for the project

All scaffolding is been build without an initial README and CHANGELOG.

Should README be created using EJS + repository name + some information.

Changelog can be something more generic.

TODOS

  • Regenerate example repos

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.