Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek committed Sep 17, 2018
1 parent f6402d3 commit 3ef9535
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,36 +44,37 @@ 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)
- [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 @@ -1111,6 +1112,23 @@ export const getFilteredTodos = createSelector(getTodos, getTodosFilter, (todos,
---
# 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 @@ -1178,6 +1196,8 @@ export const getFilteredTodos = createSelector(getTodos, getTodosFilter, (todos,
[⇧ back to top](#table-of-contents)
---
## Jest
> Installation
Expand Down Expand Up @@ -1223,9 +1243,10 @@ window.localStorage = {
Object.values = () => [];
```
[⇧ back to top](#table-of-contents)
---
## Enzyme
> Installation
Expand All @@ -1250,16 +1271,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,32 +1,33 @@
## 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)
- [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 3ef9535

Please sign in to comment.