5.1.0 โ€ข Published 1 month ago

atomic-fuel v5.1.0

Weekly downloads
61
License
MIT
Repository
github
Last release
1 month ago

๐Ÿ”‹ Atomic Fuel

This package contains all of the front-end library code for Atomic Jolt apps. It includes all front-end code that was previously in the client/libs directory.

๐Ÿงฑ Installation

You should install atomic fuel into each individual app not in the client directory. Just add as a regular dependency.

yarn add atomic-fuel

๐Ÿง‘โ€๐Ÿ”ฌ Usage

All of the code is found in the libs folder which has the following structure

libs/
-- actions
-- api
-- communications
-- components
-- constants
-- decorators
-- graphql
-- libs
-- loaders
-- middleware
-- reducers
-- specs_support
-- store

If you wanted to use, for example, libs/store/configure_store.js you would write the following:

import configureStore from 'atomic-fuel/libs/configure_store.js';

Alternatively, there is an index file which simply exports everything for convenience, so you can do this:

import { configureStore } from 'atomic-fuel';

๐Ÿ› ๏ธ Development

Develop using Storybook, which features hot-reloading, component browsing, and testing of React Components.

Run Storybook: yarn storybook

๐Ÿ“ Note

Component file structure should be organized in the following structure.

src/components/
-- ComponentName/
---- index.js
---- index.spec.js
---- index.stories.js
---- styles.scss

๐Ÿšง Building

To build the lib folders and types run: yarn build

๐Ÿงช Testing

Run tests: yarn test

Run tests with Chrome DevTools (i.e. use debugger in your tests): 1. Open a Chromium browser at chrome://inspect 2. Click on the "Open dedicated DevTools for Node"

Then you can run tests using: yarn test:debug

5.1.0

1 month ago

4.19.0

12 months ago

5.0.0

11 months ago

4.18.0

2 years ago

4.17.0

2 years ago

4.16.0

2 years ago

4.15.2

2 years ago

4.15.3

2 years ago

4.12.0

2 years ago

4.14.0

2 years ago

4.15.0

2 years ago

4.15.1

2 years ago

4.11.0

2 years ago

4.11.1

2 years ago

4.13.0

2 years ago

4.10.1

3 years ago

4.10.2

3 years ago

4.10.3

3 years ago

4.10.0

3 years ago

4.9.1

3 years ago

4.9.0

4 years ago

4.8.1

4 years ago

4.8.0

4 years ago

4.7.0

4 years ago

4.6.0

4 years ago

4.5.0

4 years ago

4.4.1

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

1.13.1

5 years ago

3.0.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.0

6 years ago

2.7.0

6 years ago

2.6.0

6 years ago

2.5.0

6 years ago

2.4.5

6 years ago

2.4.4

6 years ago

2.4.3

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago