Skip to content

Conversation

@vinayak25
Copy link
Member

@vinayak25 vinayak25 commented Mar 22, 2025

This PR contains the following changes:

  1. @integrations/sample-app: Change the imports as per the ESM nomenclature.
  2. @intentjs/cli: Improve the dev server and build process, along with a new configuration file for intentrc.ts for safe typings.
  3. @intentjs/core: Migrate the packages/core to ESM structure

fix(core): handle kill signals in queue workers
…ance configuration

- Converted the sample application to use ES modules.
- Updated package dependencies including React and TypeScript.
- Enhanced the configuration files for better module resolution and added new imports.
- Removed the old .intentrc file and replaced it with a new intentrc.ts file.
- Updated various service and controller files to use new import paths.
- Added a new server entry point for improved application structure.
- Introduced a public directory with an HTML template for server-side rendering.
…error handling

- Removed the old server and console initialization code in favor of a new Actuator-based approach.
- Introduced ApplicationExceptionHandler for improved error handling in the server.
- Updated the console command handling to utilize the new Actuator and IntentProcess classes.
- Enhanced the structure of the sample application for better modularity and maintainability.
- Updated intentrc.ts to clarify type checking description.
- Modified tsconfig.json to include additional ES2022 and ESNext libraries.
- Refactored UserController to return JSON response directly.
- Improved module exports in package.json for the rest module.
- Streamlined response handling by consolidating imports in http-server.
- Removed deprecated response.ts file to clean up the codebase.
- Consolidated imports across various files to improve clarity and organization.
- Updated import paths to align with the new module structure for better maintainability.
- Refactored console commands and error handling to utilize specific modules.
- Enhanced the configuration files to streamline the application setup.
- Improved the overall modularity of the sample application by restructuring imports.
- Changed the default hostname from '0.0.0.0' to '127.0.0.1'.
- Incremented package version to 0.1.46-alpha.1 to reflect recent changes.
- Incremented version to 0.1.46-alpha.2.
- Updated various dependencies including @nestjs, eslint, and prettier for improved functionality and security.
- Refactored import of 'ms' to use 'humanize-ms' for better readability.
- Removed unused 'console.mute' import to clean up the codebase.
- Increased maximum line length for commit body to 200 characters.
- Increased maximum header length to 100 characters for better commit message formatting.
- Updated @clack/prompts to version 0.10.0.
- Updated @swc/core to version 1.11.11 and related dependencies.
- Incremented cli package version to 0.0.17.
- Added @intentjs/cli as a peer dependency in core package.
- Updated various devDependencies including prettier and ts-loader for improved functionality.
- Added disposeLogger function to improve logger management.
- Refactored console log command to include a return statement for better flow.
- Updated database migration files to use ES module syntax for consistency.
- Improved cache driver initialization by ensuring modules are loaded before use.
- Updated various package dependencies and improved import statements for clarity.
- Enhanced mail message rendering with direct imports from @react-email/render.
- Updated package version to 0.0.18-alpha.1.
- Removed outdated Rollup plugins from dependencies for a cleaner package.json.
- Updated package version to 0.0.18-alpha.2.
- Removed @swc/plugin-transform-imports from dependencies for a cleaner package.json.
…n exclusions

- Deleted tsconfig.build.json as it was no longer needed.
- Updated tsconfig.json to exclude test files and specific patterns for better type checking.
- Removed the unused TSCONFIG_BUILD_JSON constant from tsconfig-loader.ts.
- Updated loadPath method to only use TSCONFIG_JSON for loading configuration files.
…ependencies

- Introduced the new @intentjs/tooling package with initial configuration and scripts.
- Updated sample app to use workspace references for @intentjs/cli and @intentjs/tooling.
- Refactored tsconfig.json in sample app to extend from the new tooling package.
- Bumped version of @intentjs/cli to 0.0.18-alpha.3 and cleaned up unused exports in CLI commands.
@vinayak25 vinayak25 merged commit dcc1c0c into main Mar 23, 2025
0 of 2 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.

2 participants