Skip to content

Commit

Permalink
chore(build): swap in tsdx (#212)
Browse files Browse the repository at this point in the history
* chore(build): swap in tsdx

* Fix now-incorrect use of createAction

* Silence ts-jest warnings about unused variables

* Fix up types in tests enough to pass

* Fix UMD config to match existing behavior

- Removed "externals" so that all libs get bundled in
- Fixed dev UMD output file name

* Tweak devtools options setup to hopefully work better in IE11

* 0.9.0-alpha.0

* Fix CJS output

- Removed wrong filename causing CJS dev build to be overwritten
- Change package `main` field to point to CJS index file

* Update TSDX to latest

* Add api-extractor

* Update dist inclusion and typings file

* Revert "Tweak devtools options setup to hopefully work better in IE11"

This reverts commit 0be4ea9.

Apparently IE11 doesn't support Object.assign().  Oops!

* Update Immer to 4.0

* Update redux-thunk to latest

* Silence a bizarre TSLint "rule not found" error

Prevents a whole bunch of repeats of this error:

Definition for rule '@typescript-eslint/no-angle-bracket-type-assertion'
was not found @typescript-eslint/no-angle-bracket-type-assertion

* Remove api-extractor

* Try to fix CI failures under TS 3.3/3.4, attempt 1

* 0.9.0-alpha.1
  • Loading branch information
RichiCoder1 authored and markerikson committed Oct 18, 2019
1 parent c2a785c commit d639996
Show file tree
Hide file tree
Showing 12 changed files with 4,110 additions and 2,909 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

12 changes: 9 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module.exports = {
extends: 'react-app',
extends: [
'react-app',
'prettier/@typescript-eslint',
'plugin:prettier/recommended'
],
parser: '@typescript-eslint/parser',

rules: {
'jsx-a11y/href-no-hash': 'off',
// Taken care of by TypeScript's `noUnusedLocals` / `noUnusedParameters`
'no-unused-vars': 'off'
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
// Silence some bizarre "rule not found" TSLint error
'@typescript-eslint/no-angle-bracket-type-assertion': 'off'
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ lib
es


.idea/
.idea/

.rts2*
Loading

0 comments on commit d639996

Please sign in to comment.