Skip to content

Conversation

@barluq
Copy link
Collaborator

@barluq barluq commented Dec 1, 2025

This pull request introduces a major overhaul of the shared Panther backend library, focusing on modernizing the build, release, and development workflows, updating documentation, and improving code quality. The most important changes include the addition of automated GitHub Actions for versioning, testing, and publishing, a new Rollup-based build configuration, updated package metadata, and the introduction of ESLint configuration for TypeScript. Some legacy code and documentation have been removed or replaced to align with these improvements.

CI/CD Automation and Release Workflows

  • Added GitHub Actions workflows for automated version bumping, release publishing to NPM (including dev tags), and running tests on pull requests for main branches (.github/workflows/version-bump.yml, .github/workflows/release.yml, .github/workflows/release-dev.yml, .github/workflows/tests.yml). [1] [2] [3] [4]

Build System Modernization

  • Introduced a new rollup.config.js for building both browser and NodeJS distributions with support for TypeScript, JSON, and CommonJS modules, including automated local publishing via YALC during development.

Package Metadata and Structure

  • Updated package.json to use scoped naming (@gisatcz/ptr-be-core), added export maps for browser and node entry points, moved dependencies to peerDependencies, and added scripts for linting, testing, and publishing.
  • Removed the auto-generated index.ts barrel file, reflecting a shift in how exports are managed.

Linting and Code Quality

  • Added a modern ESLint configuration for TypeScript projects via eslint.config.mjs, enforcing recommended rules and disabling explicit any checks.

Documentation and Legacy Cleanup

  • Replaced the old Readme.md with updated installation, usage, and resource instructions, reflecting the new development and build processes.
  • Removed legacy universal parsing API code from src/api/parsing.universal.ts.

These changes set up the project for scalable development, robust CI/CD, and easier consumption in both browser and NodeJS environments.

@barluq barluq requested a review from mbabic84 December 1, 2025 15:17
@barluq barluq merged commit 5496970 into main Dec 3, 2025
4 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.

4 participants