Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek committed Sep 18, 2018
1 parent 2f88083 commit e29f556
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 44 deletions.
64 changes: 42 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,38 @@ This gives you the power to prioritize our work and support the project contribu

## Table of Contents
- [Type Definitions & Complementary Libraries](#type-definitions--complementary-libraries)
- [React Types Cheatsheet](#react-types-cheatsheet) 🌟 __NEW__
- [React Types Cheatsheet](#react-types-cheatsheet)
- [Component Typing Patterns](#component-typing-patterns)
- [Stateless Components - SFC](#stateless-components---sfc)
- [Stateful Components - Class](#stateful-components---class) 📝 __UPDATED__
- [Stateful Components - Class](#stateful-components---class)
- [Generic Components](#generic-components)
- [Render Props](#render-props) 🌟 __NEW__
- [Higher-Order Components](#higher-order-components) 📝 __UPDATED__
- [Render Props](#render-props)
- [Higher-Order Components](#higher-order-components)
- [Redux Connected Components](#redux-connected-components)
- [Redux](#redux)
- [Action Creators](#action-creators) 📝 __UPDATED__
- [Reducers](#reducers) 📝 __UPDATED__
- [Action Creators](#action-creators)
- [Reducers](#reducers)
- [State with Type-level Immutability](#state-with-type-level-immutability)
- [Typing reducer](#typing-reducer)
- [Testing reducer](#testing-reducer)
- [Store Configuration](#store-configuration) 📝 __UPDATED__
- [Async Flow](#async-flow) 📝 __UPDATED__
- [Store Configuration](#store-configuration)
- [Async Flow](#async-flow)
- [Selectors](#selectors)
- [Typing connect](#typing-connect) 🌟 __NEW__
- [Tools](#tools)
- [Tools Npm Scripts](#tools-npm-scripts)
- [TSLint](#tslint)
- [Jest](#jest)
- [Enzyme](#enzyme)
- [Living Style Guide](#living-style-guide) 🌟 __NEW__
- [Common Npm Scripts](#common-npm-scripts)
- [Living Style Guide](#living-style-guide)
- [Recompose](#recompose) 🌟 __NEW__
- [Recipes](#recipes)
- [tsconfig.json](#tsconfigjson)
- [Vendor Types Augmentation](#vendor-types-augmentation)
- [Default and Named Module Exports](#default-and-named-module-exports)
- [FAQ](#faq)
- [Tutorials](#tutorials)
- [Contributors](#contributors)
- [Contributors](#contributors) 🌟 __NEW__

---

Expand Down Expand Up @@ -1147,6 +1148,23 @@ export const SFCCounterConnectedVerbose =
---
# Tools
> Common tools for TypeScript projects
## Tools Npm Scripts
> Tools related npm scripts shared across projects
```
"lint": "tslint -p ./",
"tsc": "tsc -p ./ --noEmit",
"tsc:watch": "tsc -p ./ --noEmit -w",
"pretest": "npm run lint & npm run tsc",
"test": "jest --config jest.config.json",
"test:watch": "jest --config jest.config.json --watch",
"test:update": "jest --config jest.config.json -u",
```
[⇧ back to top](#table-of-contents)
---
## TSLint
Expand Down Expand Up @@ -1214,6 +1232,8 @@ export const SFCCounterConnectedVerbose =
[⇧ back to top](#table-of-contents)
---
## Jest
> Installation
Expand Down Expand Up @@ -1259,9 +1279,10 @@ window.localStorage = {
Object.values = () => [];
```
[⇧ back to top](#table-of-contents)
---
## Enzyme
> Installation
Expand All @@ -1286,16 +1307,15 @@ configure({ adapter: new Adapter() });
[⇧ back to top](#table-of-contents)
## Common Npm Scripts
> Common TS-related npm scripts shared across projects
```
"lint": "tslint -p ./",
"tsc": "tsc -p ./ --noEmit",
"tsc:watch": "tsc -p ./ --noEmit -w",
"pretest": "npm run lint & npm run tsc",
"test": "jest --config jest.config.json",
"test:watch": "jest --config jest.config.json --watch",
"test:update": "jest --config jest.config.json -u",
---
## Recompose
> Installation
`npm i recompose`
```tsx
// WIP
```
[⇧ back to top](#table-of-contents)
Expand Down
41 changes: 30 additions & 11 deletions docs/markdown/3_tools.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
# Tools
> Common tools for TypeScript projects
## Tools Npm Scripts
> Tools related npm scripts shared across projects
```
"lint": "tslint -p ./",
"tsc": "tsc -p ./ --noEmit",
"tsc:watch": "tsc -p ./ --noEmit -w",
"pretest": "npm run lint & npm run tsc",
"test": "jest --config jest.config.json",
"test:watch": "jest --config jest.config.json --watch",
"test:update": "jest --config jest.config.json -u",
```

[⇧ back to top](#table-of-contents)

---

## TSLint

Expand Down Expand Up @@ -66,6 +83,8 @@

[⇧ back to top](#table-of-contents)

---

## Jest

> Installation
Expand Down Expand Up @@ -111,9 +130,10 @@ window.localStorage = {
Object.values = () => [];
```


[⇧ back to top](#table-of-contents)

---

## Enzyme

> Installation
Expand All @@ -138,16 +158,15 @@ configure({ adapter: new Adapter() });

[⇧ back to top](#table-of-contents)

## Common Npm Scripts
> Common TS-related npm scripts shared across projects
```
"lint": "tslint -p ./",
"tsc": "tsc -p ./ --noEmit",
"tsc:watch": "tsc -p ./ --noEmit -w",
"pretest": "npm run lint & npm run tsc",
"test": "jest --config jest.config.json",
"test:watch": "jest --config jest.config.json --watch",
"test:update": "jest --config jest.config.json -u",
---

## Recompose

> Installation
`npm i recompose`

```tsx
// WIP
```

[⇧ back to top](#table-of-contents)
23 changes: 12 additions & 11 deletions docs/markdown/_toc.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
## Table of Contents
- [Type Definitions & Complementary Libraries](#type-definitions--complementary-libraries)
- [React Types Cheatsheet](#react-types-cheatsheet) 🌟 __NEW__
- [React Types Cheatsheet](#react-types-cheatsheet)
- [Component Typing Patterns](#component-typing-patterns)
- [Stateless Components - SFC](#stateless-components---sfc)
- [Stateful Components - Class](#stateful-components---class) 📝 __UPDATED__
- [Stateful Components - Class](#stateful-components---class)
- [Generic Components](#generic-components)
- [Render Props](#render-props) 🌟 __NEW__
- [Higher-Order Components](#higher-order-components) 📝 __UPDATED__
- [Render Props](#render-props)
- [Higher-Order Components](#higher-order-components)
- [Redux Connected Components](#redux-connected-components)
- [Redux](#redux)
- [Action Creators](#action-creators) 📝 __UPDATED__
- [Reducers](#reducers) 📝 __UPDATED__
- [Action Creators](#action-creators)
- [Reducers](#reducers)
- [State with Type-level Immutability](#state-with-type-level-immutability)
- [Typing reducer](#typing-reducer)
- [Testing reducer](#testing-reducer)
- [Store Configuration](#store-configuration) 📝 __UPDATED__
- [Async Flow](#async-flow) 📝 __UPDATED__
- [Store Configuration](#store-configuration)
- [Async Flow](#async-flow)
- [Selectors](#selectors)
- [Typing connect](#typing-connect) 🌟 __NEW__
- [Tools](#tools)
- [Tools Npm Scripts](#tools-npm-scripts)
- [TSLint](#tslint)
- [Jest](#jest)
- [Enzyme](#enzyme)
- [Living Style Guide](#living-style-guide) 🌟 __NEW__
- [Common Npm Scripts](#common-npm-scripts)
- [Living Style Guide](#living-style-guide)
- [Recompose](#recompose) 🌟 __NEW__
- [Recipes](#recipes)
- [tsconfig.json](#tsconfigjson)
- [Vendor Types Augmentation](#vendor-types-augmentation)
- [Default and Named Module Exports](#default-and-named-module-exports)
- [FAQ](#faq)
- [Tutorials](#tutorials)
- [Contributors](#contributors)
- [Contributors](#contributors) 🌟 __NEW__

0 comments on commit e29f556

Please sign in to comment.