Skip to content

Commit

Permalink
Defer to rollup TS plugin to build types (reduxjs#3564)
Browse files Browse the repository at this point in the history
* Defer to rollup TS plugin to build types

* index.ts -> redux.js, redux.d.ts

* Only output one copy of the types.

This also puts them back into the types path. However, I don't know how to have them output as a single file bundle to match our other outputs.

* Remove the move


Co-authored-by: Tim Dorr <git@timdorr.com>
Former-commit-id: 75c882b
Former-commit-id: aaa10aa
  • Loading branch information
jedmao and timdorr committed Sep 6, 2019
1 parent b20b00b commit b2dd15b
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.DS_Store
*.log
node_modules

coverage

dist
lib
es
coverage
types

website/translated_docs
Expand Down
2 changes: 1 addition & 1 deletion package.json.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
af8b30bf2781a6c529d0bac9feee9109a4031fda
772f99d6b51677bd2cd88345904b9e29c40eb9bd
2 changes: 1 addition & 1 deletion rollup.config.js.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cea2874f86ca7091637219e6a88975f5f945bd60
27ce0b7bc959177b6a0d4a3dd4ae43fe27f476d3
2 changes: 1 addition & 1 deletion test/typescript/actionCreators.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e3594a0712d844fe26a2d8836137624dd9e1e73c
f7a15bcd754e609d63e23bddd636288c72d72c1b
2 changes: 1 addition & 1 deletion test/typescript/actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action as ReduxAction } from 'redux'
import { Action as ReduxAction } from '../..'

namespace FSA {
interface Action<P> extends ReduxAction {
Expand Down
2 changes: 1 addition & 1 deletion test/typescript/compose.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ae2fc5b32dba9f6959659bfcfc901d366ce0217a
cfc608bad3e6370697f8f4ae049df1efc823cd8f
2 changes: 1 addition & 1 deletion test/typescript/dispatch.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
72f89988562262cb211a90298d9ca75c3b37bfa4
9cb125e37a001777f5a3a86146a6b06a746cbbf9
2 changes: 1 addition & 1 deletion test/typescript/enhancers.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e39ca83628a4c7b439ab0a5f0e2b883dffea4807
c6d29af6a08539a343f95fedf50be0f8a2927bfa
2 changes: 1 addition & 1 deletion test/typescript/injectedDispatch.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f115b699fe3596e938591ff39767c65032362da0
46dc9a70160a8144aae157d53f4180200b6e4f13
2 changes: 1 addition & 1 deletion test/typescript/middleware.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7b1c48443c1f0e03751a219d2a4f97258efabfd5
a0f9afa7f68a7af687107984478c7c4b74367dbd
2 changes: 1 addition & 1 deletion test/typescript/reducers.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5a109eeecee5610220b77259d3b0ee175d8dbd74
f013f83b37aaf1bf8d8183e2bc433a454fa56e9b
2 changes: 1 addition & 1 deletion test/typescript/replaceReducer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { combineReducers, createStore } from 'redux'
import { combineReducers, createStore } from '../..'

/**
* verify that replaceReducer maintains strict typing if the new types change
Expand Down
2 changes: 1 addition & 1 deletion test/typescript/store.ts.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b387c0b15c9aa3a4656445ccc18274fdbd2abfd8
dd7d76296eeac8dd7d6abc7d65a98e7f24bb5bba

0 comments on commit b2dd15b

Please sign in to comment.