Feature/v4.0#243
Merged
Merged
Conversation
… apiVersions to IConsoleMessage
…r's listening port
…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>
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>
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Guidelines
Our guidelines for submitting a pull request.
Before submitting a Pull Request, please make sure you have verified the following:
fix typo in README.mdPR Type
What kind of change does this PR introduce?
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?
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.