Skip to content

Commit 9926d23

Browse files
committed
fix: removed duped core types
Signed-off-by: Todd Baert <[email protected]>
1 parent 4114e63 commit 9926d23

8 files changed

+39
-3
lines changed

packages/client/tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

packages/nest/tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

packages/react/tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

packages/server/tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

packages/shared/tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

rollup.config.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// this config rolls up all the types in the project to a single declaration (d.ts) file.
22
// we do NOT use rollup to build (we use esbuild for that)
33

4-
import alias from '@rollup/plugin-alias';
54
import dts from 'rollup-plugin-dts';
65

76
export default {
@@ -18,6 +17,7 @@ export default {
1817
}
1918
],
2019
plugins: [
21-
dts({tsconfig: './tsconfig.json'}),
20+
// use the rollup override tsconfig (applies equivalent in each sub-packages as well)
21+
dts({tsconfig: './tsconfig.rollup.json'}),
2222
],
2323
};

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3131
"paths": {
3232
"@openfeature/core": [ "./packages/shared/src" ]
33-
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
33+
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3434
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3535
// "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
3636
// "types": [], /* Specify type package names to be included without being referenced in a source file. */

tsconfig.rollup.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {}
5+
}
6+
}

0 commit comments

Comments
 (0)