Skip to content

Conversation

@barluq
Copy link
Collaborator

@barluq barluq commented Jan 9, 2026

This pull request introduces significant improvements to the repository's documentation and codebase, focusing on standardizing coding, testing, and build practices, as well as enhancing logging utilities and utility functions. The most important changes are summarized below:

Documentation and Repository Practices:

  • Added comprehensive documentation files (AGENTS.md, .github/copilot-instructions.md, .github/instructions/coding.instructions.md, .github/instructions/testing.instructions.md, .github/instructions/build.instructions.md) detailing repository structure, coding standards, testing guidelines, and build strategies. [1] [2] [3] [4]

Logging Utilities Overhaul:

  • Replaced the previous AppLogger class with a set of functional logging utilities (loggyInfo, loggyDebug, loggyWarn, loggyTrace, loggyFatal, loggyAppStart, loggyRequestReceived, loggyResponseSent) in src/node/logging/logger.ts, and updated exports in src/index.node.ts accordingly. These utilities provide more granular and flexible logging for Node.js applications. [1] [2]

Utility Functions Enhancements:

  • Added new utility functions: isUrl and isArrayOfUrls in src/globals/coding/code.formating.ts for URL validation, and nowPlusTime in src/globals/coding/code.dates.ts for timestamp calculations. Updated exports in both browser and node entrypoints. [1] [2] [3]

Build and Dependency Updates:

  • Removed unused dependencies (pino-pretty, barrelsby, @rollup/plugin-commonjs) and updated package.json to clean up and clarify peer and dev dependencies. [1] [2] [3] [4]
  • Minor adjustment to ESLint config for rule formatting.

These changes collectively improve maintainability, enforce best practices, and enhance the developer experience across the codebase.

barluq and others added 18 commits January 2, 2026 13:29
…ports in index.node.ts; add comprehensive Copilot instructions and build guidelines
- Removed unused peer dependency 'pino-pretty' from peerDependencies.
- Cleaned up devDependencies by removing 'barrelsby' and 'typescript-eslint' duplicate entry.
- Added '@types/luxon' and '@types/node' to devDependencies for better type support.
- Removed the import of '@rollup/plugin-commonjs' from rollup.config.js as it was not being used.
Optimize logger by creating single pino instance at module scope
@barluq barluq requested a review from mbabic84 January 9, 2026 13:31
@barluq barluq merged commit 1186d30 into main Jan 9, 2026
2 checks passed
@barluq barluq deleted the merge/jan26-01 branch January 9, 2026 15:30
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.

4 participants