Skip to content

Add Utilities, CI Workflow, and Documentation Enhancements#2

Merged
teneplaysofficial merged 10 commits into
mainfrom
dev
Jul 19, 2025
Merged

Add Utilities, CI Workflow, and Documentation Enhancements#2
teneplaysofficial merged 10 commits into
mainfrom
dev

Conversation

@teneplaysofficial

Copy link
Copy Markdown
Owner

Description

This PR adds new utility functions, a GitHub Actions test workflow with approval gates, and various documentation and metadata improvements.

Utilities

number

  • clamp()
  • isEven()
  • isOdd()
  • randomInt()
  • randomFloat()

environment

  • Environment enum
  • Environment detection functions:
    • isNode()
    • isBrowser()
    • isDev()
    • isProd()
    • isTest()
    • getRunTimeEnvironment

CI Workflow

  • Triggers test runs with approval on PRs and auto-runs on main branch pushes.

Documentation and Metadata

  • Updated README.md with examples, FAQ, and contribution guidelines
  • Added issue templates for bug reports and proposals
  • Updated typedoc.json configuration
  • Expanded package.json keywords
  • Added project badges and visual branding

Introduced GitHub issue templates for bug reports and utility proposals, and added a config to guide user contributions. Enhanced the README with new badges and a visual header, expanded keywords in package.json for better discoverability, and updated typedoc.json with custom footer, hidden generator, project documents, and cname for documentation.
Introduces an Environment enum and utility functions to detect production, development, test, Node.js, and browser environments. Includes comprehensive unit tests for environment checks.
Updated the README to provide clearer usage instructions, including modular, full, and CommonJS import examples. Added a new FAQ section, clarified requirements, and improved contribution guidelines for better onboarding and user experience.
Introduces a workflow that runs tests on pull requests and pushes to the main branch. Includes a manual approval step for pull requests before tests are executed.
@teneplaysofficial teneplaysofficial merged commit 3827dd3 into main Jul 19, 2025
1 check 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