Skip to content

Commit 8cef9d0

Browse files
jedmaotimdorr
andcommitted
Defer to rollup TS plugin to build types (reduxjs#3564)
* 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 <[email protected]> Former-commit-id: 75c882b Former-commit-id: aaa10aa
1 parent b877134 commit 8cef9d0

13 files changed

+15
-15
lines changed

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.DS_Store
2-
*.log
31
node_modules
2+
3+
coverage
4+
45
dist
56
lib
67
es
7-
coverage
88
types
99

1010
website/translated_docs

package.json.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
af8b30bf2781a6c529d0bac9feee9109a4031fda
1+
772f99d6b51677bd2cd88345904b9e29c40eb9bd

rollup.config.js.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cea2874f86ca7091637219e6a88975f5f945bd60
1+
27ce0b7bc959177b6a0d4a3dd4ae43fe27f476d3
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e3594a0712d844fe26a2d8836137624dd9e1e73c
1+
f7a15bcd754e609d63e23bddd636288c72d72c1b

test/typescript/actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Action as ReduxAction } from 'redux'
1+
import { Action as ReduxAction } from '../..'
22

33
namespace FSA {
44
interface Action<P> extends ReduxAction {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae2fc5b32dba9f6959659bfcfc901d366ce0217a
1+
cfc608bad3e6370697f8f4ae049df1efc823cd8f
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
72f89988562262cb211a90298d9ca75c3b37bfa4
1+
9cb125e37a001777f5a3a86146a6b06a746cbbf9
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e39ca83628a4c7b439ab0a5f0e2b883dffea4807
1+
c6d29af6a08539a343f95fedf50be0f8a2927bfa
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f115b699fe3596e938591ff39767c65032362da0
1+
46dc9a70160a8144aae157d53f4180200b6e4f13
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7b1c48443c1f0e03751a219d2a4f97258efabfd5
1+
a0f9afa7f68a7af687107984478c7c4b74367dbd
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5a109eeecee5610220b77259d3b0ee175d8dbd74
1+
f013f83b37aaf1bf8d8183e2bc433a454fa56e9b

test/typescript/replaceReducer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { combineReducers, createStore } from 'redux'
1+
import { combineReducers, createStore } from '../..'
22

33
/**
44
* verify that replaceReducer maintains strict typing if the new types change
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b387c0b15c9aa3a4656445ccc18274fdbd2abfd8
1+
dd7d76296eeac8dd7d6abc7d65a98e7f24bb5bba

0 commit comments

Comments
 (0)