Skip to content

Feature/v4.0#243

Merged
rsaz merged 25 commits into
mainfrom
feature/v4.0
Jun 16, 2026
Merged

Feature/v4.0#243
rsaz merged 25 commits into
mainfrom
feature/v4.0

Conversation

@rsaz

@rsaz rsaz commented Jun 16, 2026

Copy link
Copy Markdown
Member

Pull Request Guidelines

Our guidelines for submitting a pull request.

Before submitting a Pull Request, please make sure you have verified the following:

  • The commit message follows our guidelines:
    • A good commit message should be two things: meaningful and concise. It should not contain every single detail, describing each changed line—we can see all the changes in Git—but, at the same time, it should say enough to avoid ambiguity.
    • We use Microverse's commit message convention
    • The convention stablish that a commit message has to be in the present tense, imperative and lowercase.
    • Example: fix typo in README.md
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Please describe the current behavior that you are modifying, or link to a relevant issue.

Issue Number: N/A

What is the new behavior?

Describe the new behavior or link to a relevant issue.

Does this PR introduce a breaking change?

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications below.

Other information

Any other information that is important to this PR.

rsaz and others added 20 commits December 21, 2025 21:08
…orts

- scripts/build-esm.js + scripts/write-esm-pkg.js: new atomic ESM
  builder. Temporarily swaps package.json to type=module during tsc,
  then restores it, renames the entry to index.mjs and drops a
  lib/esm/package.json marker so Node's resolver picks the right
  module format for both import and require consumers.
- package.json: include build:esm in the default build pipeline; move
  reflect-metadata from runtime dependencies to devDependencies (it is
  consumed by core, not shared at runtime).
- src/index.ts + src/interfaces/index.ts: convert all relative re-exports
  to use 'export type ... from ./X.js' for type-only symbols. ESM
  validates named exports at link time, so type-only namespaces like
  multer have to be re-exported with 'export type' or imports crash
  with 'does not provide an export named ...'. Add explicit .js
  extensions on all relative imports for NodeNext compliance.
- src/env/environment.ts: drop a leftover console.log(vaultPath) debug
  statement and fix a misleading warning message that referenced the
  wrong file path.
- .github/workflows/build.yaml: bump actions/checkout and
  actions/setup-node from v2 to v4; remove the now-incorrect
  working-directory: ./src override.

Made-with: Cursor
Graduate @expressots/shared from 4.0.0-beta.1 to 4.0.0 GA as part of the ExpressoTS v4.0.0 release bundle.

See CHANGELOG.md for the full v4 feature summary.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ucture

- Changed project title to '@expressots/shared' and updated logo link.
- Added description of the package's purpose and its role within the ExpressoTS ecosystem.
- Streamlined installation instructions and added links to documentation and community resources.
- Removed outdated sections and improved overall readability.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ts, Express 5 compatibility

- Bump version to 4.0.0-preview.3
- Add prepare-publish.mjs / restore-package-json.mjs release scripts
- Update CI: add feature/v4.0 triggers, npm caching, permissions, lint step
- Add publish-preview.yml manual-dispatch workflow
- Fix configDotenv null-guard in environment.ts
- Change Pattern const-enum to enum for isolatedModules compatibility
- Update CHANGELOG

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…changelog 8→11

Co-authored-by: Cursor <cursoragent@cursor.com>
- Enhanced ESLint commands in package.json to utilize caching.
- Added lint-staged configuration for pre-commit linting and formatting.
- Updated commit-msg hook to ensure npx is available in various environments.
- Introduced pre-commit hook to run lint-staged before commits.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add prepublishOnly guard to prevent publishing with file: deps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@rsaz rsaz self-assigned this Jun 16, 2026
@rsaz rsaz added the enhancement New feature or request label Jun 16, 2026
@codecov-commenter

codecov-commenter commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.64%. Comparing base (b76de9a) to head (cb6fa84).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   83.85%   86.64%   +2.78%     
==========================================
  Files           5        6       +1     
  Lines         254      262       +8     
  Branches       59       60       +1     
==========================================
+ Hits          213      227      +14     
+ Misses         38       35       -3     
+ Partials        3        0       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rsaz rsaz moved this to 👀 In review in Expressots Project Jun 16, 2026
rsaz and others added 4 commits June 15, 2026 23:47
Co-authored-by: Cursor <cursoragent@cursor.com>
Regenerate the lock file so npm ci resolves release-it transitive deps.
Use Node 20.19.0 in workflows to match devDependency engine requirements.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve npm ci sync errors for conventional-commits-parser@6.4.0
and meow@13.2.0 required by @release-it/conventional-changelog.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@rsaz rsaz merged commit a6a9d22 into main Jun 16, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Expressots Project Jun 16, 2026
@rsaz rsaz deleted the feature/v4.0 branch June 16, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants