1.0.2 • Published 8 days ago

@timmons-group/shared-react-components v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
8 days ago

Timmons Group Shared React Components

Overview 📚

This repo contains the source code for the Timmons Group Shared React Components npm library.

Core Files/Folders 📂

src/helpers - Helper/utility functions.

src/hooks - Reusable hooks for generic routines such as auth and data fetching.

src/stories - Storybook stories and reusable components.

Install Dependencies 🧩

  1. Install the LTS version of Node JS
  2. npm i

How to Run Storybook Locally 📖

Storybook will let you develop locally without the need to integrate this lib with an application (see the section below on Running Locally with a Target Project 🏃‍♂️). This sort of development is best suited for isolated component development.

  1. cd src
  2. npm start

How to Run Locally and Link to a Target Project 🏃‍♂️

We can run this library within a target project/application by using npm link. This sort of development is best suited for situations where you need to work on the hooks/helpers or want to do some manual integration testing of the components within your target project.

  1. Delete the @timmons-group folder in the node_modules folder of the target project.
  2. Boot up the target project's dev web server and let webpack fail (due to the goodies we just deleted).
  3. Stop your dev web server.
  4. In this repo run npm run build:package
  5. In this repo run npm link
  6. In the target repo run npm link @timmons-group/shared-react-components
  7. Restart the target repo's web server and you should be all set
  8. Make changes to this shared component repo and then run npm run build:package-localdev (or indiviudally run any of the commands within this command if you specifically know which of the Core Files 📂 you are updating - which hopefully you do 🧙‍♂️).

To remove the npm link, simply run npm i in the target project (worst case scenario, you may need to delete some stuff in node_modules of the target proejct and re- npm i if the first npm i doesn't work).

How to Build 🔨

  1. npm run build:package

How to Publish to NPM 📦

TODO: add some goodies here about tagging

https://docs.npmjs.com/cli/v9/commands/npm-publish

Who do I Talk to? 🙋‍♀️

  • Bryant Overgard
  • Nathan Grant
  • Travis Walters
  • Chaz Mateer

Create React App (CRA) Boilerplate Below 🍽


Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.\ Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.\ You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

2.0.0-alpha.0

8 days ago

1.0.3-alpha.3

15 days ago

1.0.3-alpha.2

15 days ago

1.1.0-alpha.1

15 days ago

1.0.3-alpha.1

16 days ago

1.0.2

17 days ago

1.0.2-alpha.8

17 days ago

1.1.0-alpha.0

18 days ago

1.0.2-alpha.7

25 days ago

1.0.2-alpha.6

1 month ago

1.0.2-alpha.4

1 month ago

1.0.2-alpha.5

1 month ago

1.0.2-alpha.2

1 month ago

1.0.2-alpha.3

1 month ago

1.0.2-alpha.1

1 month ago

1.0.2-alpha.0

2 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.0.1-alpha.12

3 months ago

0.0.1-alpha.14

3 months ago

0.0.1-alpha.13

3 months ago

1.0.0-gamma.5

3 months ago

1.0.0-gamma.4

3 months ago

1.0.0-gamma.3

5 months ago

1.0.0-gamma.2

5 months ago

1.0.0-gamma.1

5 months ago

1.0.0-gamma.0

5 months ago

1.0.0-alpha.9

6 months ago

1.0.0-alpha.8

6 months ago

1.0.0-alpha.7

6 months ago

1.0.0-alpha.6

6 months ago

1.0.0-alpha.5

6 months ago

1.0.0-alpha.4

6 months ago

1.0.0-alpha.3

6 months ago

1.0.0-alpha.2

6 months ago

1.0.0-alpha.1

6 months ago

1.0.0-alpha.0

6 months ago

0.9.5-beta.6

10 months ago

0.9.5-beta.5

11 months ago

0.9.5-beta.9

10 months ago

0.9.5-beta.8

10 months ago

0.9.5-beta.7

10 months ago

0.9.6

6 months ago

0.9.5

7 months ago

0.9.5-beta.17

10 months ago

0.9.5-beta.16

10 months ago

0.9.5-beta.19

9 months ago

0.9.5-beta.18

9 months ago

0.9.5-beta.11

10 months ago

0.9.5-beta.10

10 months ago

0.9.5-beta.13

10 months ago

0.9.5-beta.12

10 months ago

0.9.5-beta.15

10 months ago

0.9.5-beta.14

10 months ago

0.9.5-beta.28

8 months ago

0.9.5-beta.27

8 months ago

0.9.5-beta.29

7 months ago

0.9.5-beta.20

9 months ago

0.9.5-beta.22

9 months ago

0.9.5-beta.21

9 months ago

0.9.5-beta.24

8 months ago

0.9.5-beta.23

9 months ago

0.9.5-beta.26

8 months ago

0.9.5-beta.25

8 months ago

0.9.5-beta.31

7 months ago

0.9.5-beta.30

7 months ago

0.9.5-beta.33

7 months ago

0.9.5-beta.32

7 months ago

0.9.5-beta.35

7 months ago

0.9.5-beta.34

7 months ago

0.9.5-beta.36

7 months ago

1.0.0-beta.0

6 months ago

0.9.7-alpha.0

6 months ago

0.9.5-beta.2

11 months ago

0.9.5-beta.1

11 months ago

0.9.5-beta.4

11 months ago

0.9.5-beta.3

11 months ago

0.9.5-beta.0

11 months ago

0.9.4

11 months ago

0.9.3

11 months ago

0.9.3-beta.3

11 months ago

0.9.3-beta.4

11 months ago

0.9.3-beta.2

11 months ago

0.9.3-beta.0

11 months ago

0.9.1-beta.0

12 months ago

0.9.1-beta.1

12 months ago

0.9.1-beta.2

12 months ago

0.9.1-beta.3

12 months ago

0.9.1-beta.4

12 months ago

0.9.2-beta.2

12 months ago

0.9.2-beta.1

12 months ago

0.9.2-beta.0

12 months ago

0.9.0

1 year ago

0.9.2

12 months ago

0.9.1

12 months ago

0.9.0-beta.5

1 year ago

0.9.0-beta.7

1 year ago

0.9.0-beta.6

1 year ago

0.9.0-beta.9

1 year ago

0.9.0-beta.8

1 year ago

0.9.0-beta.12

1 year ago

0.9.0-beta.11

1 year ago

0.9.0-beta.10

1 year ago

0.8.0

1 year ago

0.8.0-beta.18

1 year ago

0.8.0-beta.14

1 year ago

0.8.0-beta.15

1 year ago

0.8.0-beta.16

1 year ago

0.8.0-beta.17

1 year ago

0.8.0-beta.10

1 year ago

0.8.0-beta.11

1 year ago

0.8.0-beta.12

1 year ago

0.8.0-beta.13

1 year ago

0.9.0-beta.1

1 year ago

0.9.0-beta.3

1 year ago

0.9.0-beta.2

1 year ago

0.9.0-beta.4

1 year ago

0.8.0-beta.7

1 year ago

0.8.0-beta.8

1 year ago

0.8.0-beta.5

1 year ago

0.8.0-beta.6

1 year ago

0.8.0-beta.9

1 year ago

0.8.0-beta.3

1 year ago

0.8.0-beta.4

1 year ago

0.8.0-beta.1

1 year ago

0.8.0-beta.2

1 year ago

0.7.0-beta.21

1 year ago

0.7.0-beta.20

1 year ago

0.7.0-beta.16

1 year ago

0.7.0-beta.15

1 year ago

0.7.0-beta.18

1 year ago

0.7.0-beta.17

1 year ago

0.7.0-beta.19

1 year ago

0.7.0-beta.14

1 year ago

0.7.0-beta.13

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.3

1 year ago

0.7.0

1 year ago

0.7.0-beta.1

1 year ago

0.7.0-beta.2

1 year ago

0.7.0-beta.3

1 year ago

0.7.0-beta.8

1 year ago

0.7.0-beta.9

1 year ago

0.7.0-beta.4

1 year ago

0.7.0-beta.5

1 year ago

0.7.0-beta.6

1 year ago

0.7.0-beta.7

1 year ago

0.7.0-beta.10

1 year ago

0.7.0-beta.12

1 year ago

0.7.0-beta.11

1 year ago

0.6.1-beta.1

1 year ago

0.6.1-beta.2

1 year ago

0.6.1

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.2-beta.1

1 year ago

0.3.17

1 year ago

0.4.2-beta.2

1 year ago

0.5.1-beta.1

1 year ago

0.4.10

1 year ago

0.4.11

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.5.2

1 year ago

0.4.3

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.4.2

1 year ago

0.3.16

1 year ago

0.3.15

1 year ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.9

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago