Skip to content

[RFF] Module proposal #17

@idmontie

Description

@idmontie

All commands should be changed and simplified into producing modules that behave in a certain way.

React Component Module:

kitty make:component Namespace MyComponent
components
└Namespace
    └ MyComponent
        ├── MyComponent-spec.js (Test the Component)
        ├── MyComponent.jsx
        ├── MyComponent.md (Documentation on the component)
        └── _MyComponent.scss (Style the Component)

Collection Component Module:

kitty make:collection Namespace MyCollection
collections
└Namespace
    └ MyCollection
        ├── MyCollection-spec.js (Test the Component)
        ├── MyCollection.js
        ├── MyCollectionFactory.js
        ├── MyCollectionSeed.js
        ├── MyCollectionSchema.js
        └── MyComponent.md (Documentation on the component)

I think generating all of this scaffolding upfront would be best.

All commands should also come with a --simple flag to produce JUST the component or collection file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions