Skip to content

Commit b9e61fc

Browse files
committed
fix(javascript): common package types
1 parent 44e58c7 commit b9e61fc

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

clients/algoliasearch-client-javascript/packages/client-common/index.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export * from './cache';
2+
export * from './constants';
3+
export * from './createAlgoliaAgent';
4+
export * from './createAuth';
5+
export * from './createIterablePromise';
6+
export * from './getAlgoliaAgent';
7+
export * from './logger';
8+
export * from './transporter';
9+
export * from './types';

clients/algoliasearch-client-javascript/packages/client-common/tsup.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export default defineConfig([
88
{
99
...getBaseNodeOptions(pkg, __dirname),
1010
format: 'cjs',
11-
dts: { entry: { common: 'index.ts' } },
12-
entry: { common: 'index.ts' },
11+
dts: { entry: { common: 'src/index.ts' } },
12+
entry: { common: 'src/index.ts' },
1313
},
1414
{
1515
...getBaseNodeOptions(pkg, __dirname),
1616
format: 'esm',
17-
dts: { entry: { common: 'index.ts' } },
18-
entry: { common: 'index.ts' },
17+
dts: { entry: { common: 'src/index.ts' } },
18+
entry: { common: 'src/index.ts' },
1919
},
2020
]);

0 commit comments

Comments
 (0)