Skip to content

Feat/refinement#1

Merged
leotrinh merged 4 commits into
mainfrom
feat/refinement
Mar 4, 2026
Merged

Feat/refinement#1
leotrinh merged 4 commits into
mainfrom
feat/refinement

Conversation

@leotrinh
Copy link
Copy Markdown
Owner

@leotrinh leotrinh commented Mar 4, 2026

No description provided.

leotrinh added 4 commits March 4, 2026 22:53
- Add types/index.d.ts with full type declarations for all public APIs
- Add tsconfig.json for hybrid JS + .d.ts approach
- Add tsc:check step to CI test workflow
- Add TypeScript examples (basic + advanced)
- Update package.json with types field, typescript devDeps, keywords
- Update .npmignore/.gitignore for clean packaging
- Update README with TypeScript usage section
- Update CHANGELOG with TypeScript support entry
- Fix JSDoc @type annotations in index.js for TS compatibility
…rom CI

- Fix ApiConfig tests: isV3Enabled() -> isV3(), setApiVersion() -> setVersion(), getApiVersion() -> getVersion()
- Fix ApiVersionManager tests: use instance methods instead of static calls, fix endpoint key names
- Fix CloudController test: accessToken -> UAA_TOKEN property
- Add test:unit script for local-only tests (no live CF API required)
- Update CI to run lint + tsc:check + test:unit (skip integration tests)
@leotrinh leotrinh merged commit e8a9b56 into main Mar 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant