Skip to content

Commit 93a5e2b

Browse files
committed
Merge fix/p2-repo-health into main
2 parents 1ebe4ed + 762e631 commit 93a5e2b

6 files changed

Lines changed: 33 additions & 44 deletions

File tree

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
---
22
name: Bug Report
3-
about: Report a bug in the eodhd SDK
3+
about: Report a bug in the EODHD Node.js SDK
4+
title: ''
45
labels: bug
6+
assignees: ''
57
---
68

7-
## Description
9+
**SDK version:**
10+
**Node.js version:**
11+
**Runtime:** (Node.js / Deno / Bun / Browser)
812

9-
A clear description of the bug.
10-
11-
## Steps to Reproduce
13+
**Describe the bug**
14+
A clear description of what the bug is.
1215

16+
**To Reproduce**
1317
```typescript
14-
import { EODHDClient } from 'eodhd';
15-
16-
const client = new EODHDClient({ apiToken: 'demo' });
17-
// code that triggers the bug
18+
// Minimal code to reproduce
1819
```
1920

20-
## Expected Behavior
21-
21+
**Expected behavior**
2222
What you expected to happen.
2323

24-
## Actual Behavior
25-
24+
**Actual behavior**
2625
What actually happened. Include error messages if any.
2726

28-
## Environment
29-
30-
- **eodhd version:** x.x.x
31-
- **Node.js version:** x.x.x
32-
- **OS:** (e.g., macOS 15, Ubuntu 24.04)
33-
- **TypeScript version** (if applicable): x.x.x
27+
**Additional context**
28+
Any other context (OS, network setup, etc.)
Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
---
22
name: Feature Request
3-
about: Suggest a new feature or improvement
3+
about: Suggest a new feature or API endpoint
4+
title: ''
45
labels: enhancement
6+
assignees: ''
57
---
68

7-
## Problem
9+
**Is your feature request related to a problem?**
10+
A clear description of the problem.
811

9-
What problem does this solve?
12+
**Describe the solution you'd like**
13+
What you want to happen.
1014

11-
## Proposed Solution
15+
**API endpoint (if applicable)**
16+
Link to EODHD API docs for the endpoint: https://eodhd.com/financial-apis/
1217

13-
Describe the feature or API you'd like.
14-
15-
```typescript
16-
// Example usage
17-
```
18-
19-
## Alternatives Considered
20-
21-
Any alternative approaches you've considered.
22-
23-
## Additional Context
24-
25-
Links to relevant EODHD API docs, use cases, etc.
18+
**Additional context**
19+
Any other context or screenshots.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
## What
22

3-
Brief description of the change.
3+
Brief description of changes.
44

55
## Why
66

7-
Motivation or issue link.
8-
9-
## How
10-
11-
Implementation approach (if non-obvious).
7+
Motivation / issue link.
128

139
## Checklist
1410

1511
- [ ] `npm run typecheck` passes
1612
- [ ] `npm run test:unit` passes
1713
- [ ] `npm run build` succeeds
18-
- [ ] Updated CHANGELOG.md (if user-facing)
14+
- [ ] Types are exported correctly
15+
- [ ] CHANGELOG.md updated (if user-facing change)

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
77
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
88
[![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](https://nodejs.org/)
9+
[![Bundle Size](https://img.shields.io/bundlephobia/minzip/eodhd)](https://bundlephobia.com/package/eodhd)
910

1011
Official Node.js/TypeScript library for [EODHD Financial Data APIs](https://eodhd.com).
1112

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "eodhd",
33
"version": "1.0.0",
4+
"type": "module",
45
"description": "Official Node.js/TypeScript library for EODHD Financial Data APIs",
56
"main": "dist/index.js",
67
"module": "dist/index.mjs",
@@ -32,7 +33,7 @@
3233
"test": "node --import tsx test/smoke.ts",
3334
"test:unit": "vitest run",
3435
"test:coverage": "vitest run --coverage",
35-
"prepublishOnly": "npm run build"
36+
"prepublishOnly": "npm run typecheck && npm run test:unit && npm run build"
3637
},
3738
"keywords": [
3839
"eodhd",

0 commit comments

Comments
 (0)