0.10.3-alpha.1 • Published 3 years ago

@git-stack/core v0.10.3-alpha.1

Weekly downloads
98
License
MIT
Repository
github
Last release
3 years ago

Client State Package

All client(cache) state management will be done in this package. It not includes Redux,Apollo Client, Redux-Epics or anything that is used for managing the state.

Redux npm package includes actions, action-types and reducers

  1. TypeScript and Redux: getting started
  2. TypeScript and Redux: async actions
  3. TypeScript and Redux: unit testing with Jest
  4. Integrating TypeScript and redux-thunk

What does it include:

1. exported reducers
2. exported actions
3. exported graphql queries
4. Typescript 2.0.0 => ES6
5. unit testing with jest

Purpose:

This package can be installable in front-end webserver to use the reducers and actions.

The goal is to make a isolated and reusable module that is self-contained. In order to avoid name conflicts, following rules need to be abide. 1. MUST export a function call reducer() 2. MUST export its action creators as functions 3. MUST have action types in the form @npm-module-or-app/ACTION_TYPE eg. @@git-stack/INCREMENT_COUNTER 4. MUST have reducer in the form npm-module-or-app/reducer_name eg. @git-stack/counter

What's not included

  • It does not have any client UI components such as React
  • It does not configure Redux Store

Useful commands:

npm run build       - build the library files
npm run test        - run tests once
npm run test:watch  - run tests in watchmode (Useful for development)

Files explained:

 src                         - directory is used for typescript code that is part of the project
    index.ts                 - Index file of the package. Consists of exported reducers and actions
    index.spec.ts            - Tests file for main
    actions                  - Contains Actions to transform the state tree
        index.ts             - References all the exported actions
    reducers                 - Contains reducers, pure function with (state, action) => state signature. 
        index.ts             - References all the exported reducers.
 package.json                - file is used to describe the library and packages that are required added under peer-dependencies section
 tsconfig.json               - configuration file for the library compilation
 webpack.config.js           - configuration file of the compilation automation process for the library
             
0.10.3-alpha.0

3 years ago

0.10.3-alpha.1

3 years ago

0.0.1-alpha.20

3 years ago

0.0.1-alpha.10

4 years ago

0.0.1-alpha.4

4 years ago

0.0.1-alpha.3

4 years ago

0.0.1-alpha.0

4 years ago

0.10.1-alpha.38

4 years ago

0.10.1-alpha.39

4 years ago

0.10.1-alpha.36

4 years ago

0.10.1-alpha.35

4 years ago

0.10.1-alpha.32

4 years ago

0.10.1-alpha.30

4 years ago

0.10.1-alpha.28

4 years ago

0.10.1-alpha.27

4 years ago

0.10.1-alpha.13

4 years ago

0.10.1-alpha.6

4 years ago

0.10.1-alpha.1

4 years ago

0.0.19-23

6 years ago

0.0.19-22

6 years ago

0.0.19-21

6 years ago

0.0.19-20

6 years ago

0.0.19-19

6 years ago

0.0.19-18

6 years ago

0.0.19-17

6 years ago

0.0.19-16

6 years ago

0.0.19-15

6 years ago

0.0.19-14

6 years ago

0.0.19-10

6 years ago

0.0.19-9

6 years ago

0.0.19-8

6 years ago

0.0.19-7

6 years ago

0.0.19-6

6 years ago

0.0.19-5

6 years ago

0.0.19-4

6 years ago

0.0.20

6 years ago

0.0.19-3

6 years ago

0.0.19-2

6 years ago

0.0.18

6 years ago

0.0.19-1

6 years ago

0.0.19-0

6 years ago

0.0.18-1

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.7-8

6 years ago

0.0.7-7

6 years ago

0.0.7-6

6 years ago

0.0.7-5

6 years ago

0.0.6-0.0.7-4.0

6 years ago

0.0.7-3

6 years ago

0.0.7-2

6 years ago

0.0.7-1

6 years ago

0.0.7-0

6 years ago

0.0.6-29

6 years ago

0.0.6-28

6 years ago

0.0.6-27

6 years ago

0.0.6-26

6 years ago

0.0.6-25

6 years ago

0.0.6-24

6 years ago

0.0.6-23

6 years ago

0.0.6-22

6 years ago

0.0.6-21

6 years ago

0.0.6-20

6 years ago

0.0.6-19

6 years ago

0.0.6-18

6 years ago

0.0.6-17

6 years ago

0.0.6-16

6 years ago

0.0.6-15

6 years ago

0.0.6-14

6 years ago

0.0.6-13

6 years ago

0.0.6-12

6 years ago

0.0.6-11

6 years ago

0.0.6-10

6 years ago

0.0.6-9

6 years ago

0.0.6-8

6 years ago

0.0.6-7

6 years ago

0.0.6-6

6 years ago

0.0.6-0.0.6-6.0

6 years ago

0.0.6-y.0

6 years ago

0.0.6-5

6 years ago

0.0.6-4

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago