Skip to content

Commit 9235337

Browse files
authored
Merge pull request #189 from contentstack/fi/resolve-conflicts
Fix/resolve conflicts
2 parents bf3d19a + 6e3d0a1 commit 9235337

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Contentstack is a headless CMS with an API-first approach. It is a CMS that deve
1010

1111
## Description
1212

13-
This package contains core modules and utilities used by the [Contentstack TypeScript Delivery SDK](https://github.com/contentstack/contentstack-javascript/). It provides essential functionality including HTTP client configuration, error handling, request management, parameter serialization, and retry policies.
13+
This package contains core modules and utilities used by the [Contentstack TypeScript Delivery SDK](https://github.com/contentstack/contentstack-typescript/). It provides essential functionality including HTTP client configuration, error handling, request management, parameter serialization, and retry policies.
1414

1515
## Features
1616

@@ -39,8 +39,6 @@ Then import the modules:
3939
```typescript
4040
import {
4141
httpClient,
42-
ContentstackError,
43-
ApiError,
4442
// ... other exports
4543
} from '@contentstack/core';
4644
```
@@ -72,6 +70,7 @@ npm run build
7270
Build specific formats:
7371

7472
```bash
73+
npm run build # Build all
7574
npm run build:cjs # CommonJS
7675
npm run build:esm # ES Modules
7776
npm run build:umd # UMD

test/esm-exports.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('ESM Exports Tests', () => {
2929
it('should re-export getData from ESM index.js', () => {
3030
const indexContent = fs.readFileSync(esmIndexPath, 'utf-8');
3131
// ESM builds include .js extension in import paths
32-
expect(indexContent).toContain("export * from './lib/request.js'");
32+
expect(indexContent).toContain("export * from './lib/request.js.js'");
3333
});
3434

3535
it('should verify getData is a named export in ESM build', () => {

0 commit comments

Comments
 (0)