Skip to content

Improve the current package generation process #7

@yashsehgal

Description

@yashsehgal

As of now, the building and package publishing process is not really ideal for use-github-react Although, it works fine by importing things from dist directory but is something not really ideal to have as a better DX.

In this ticket, we can work on improving the complete build flow in such a way that the imports should look like,

import { useGitHub, type IGitHubUserInfo } from 'use-github-react';

This will require the following steps to cover

  • Removal of the current documentation content and keeping the react app only for keeping the hook-related modules. This way, it will create less chaos while writing new build scripts.
  • Making sure to export the types with proper naming conventions, similar for methods and functions.

This fix will be a part of the version issue v1.3.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions