113 Commits

Author SHA1 Message Date
5ac3918ca2 Update project version to 0.0.2
Bumped the project version from 0.0.1 to 0.0.2 in the package-lock.json. Added `hasInstallScript` attribute to the main package metadata, indicating the presence of an installation script.
2024-08-14 20:52:26 +02:00
c6ba0b7801 Update version and expand exports
Upgraded package version from 0.0.1 to 0.0.2 to reflect new functionality. Added exports for `resolve` and `register` functions to extend the library capabilities.
2024-08-14 20:50:09 +02:00
92402f1523 Add postinstall script to build TypeScript
Added a new "postinstall" script to `package.json` to automatically build TypeScript files using the `build:tsc` command after dependencies are installed. This ensures that the TypeScript code is compiled immediately following an `npm install`, improving the setup process consistency.
2024-08-14 20:39:02 +02:00
3dbbfc8e1e Rename DIContainer to TSInjex and refactor interfaces
- Renamed DIContainer class and related references to TSInjex to better indicate its purpose as a TypeScript-based dependency injection container.
- Extracted IDependency interface to a separate file to improve modularity.
- Split the ITSInjex interface into ITSInjexRegister and ITSInjexResolve, then extended them in a new ITSInjex interface to clarify the separation of concerns.
- Updated tests and decorators to reflect the renaming and interface changes.
- Adjusted helper, functions, and index export to align with the new TSInjex structure.
2024-08-14 20:23:02 +02:00
8d607c7f0c Change exit code for unchanged version condition
Modified the workflow to exit with code 1 instead of 0 when the version has not changed. This prevents the release job from being considered successful when no new release is created, improving the accuracy of pipeline status.
2024-08-14 20:02:33 +02:00
587918136e Disable file uploads in release action
Commented out the file uploads section in the CreateRelease GitHub Action workflow. This prevents specified files from being included in the release, likely streamlining the release process or addressing issues with file attachments.
2024-08-14 19:58:49 +02:00
1389dfc947 Add npm script to display current version
Introduced a new script `version:show` to easily display the current project version from the package.json. This enhances developer efficiency by providing quick access to the version number.
2024-08-14 19:55:11 +02:00
6f3b740c55 Merge branch 'main' of https://github.com/PxaMMaxP/TSinjex 2024-08-14 19:53:21 +02:00
079249aa3c Add automated release workflow and update configs
Introduced a GitHub Actions workflow to automate release creation upon pushes to the main branch, enhancing CI/CD efficiency. Updated the pull request workflow to support manual triggers. Adjusted Jest's coverage thresholds from 80% to 70% to reflect current testing standards. Added "types" field in package.json for TypeScript declarations. Created an empty README.md.
2024-08-14 19:53:09 +02:00
f307233fe7 Enable manual workflow run and add TypeScript types
Added `workflow_dispatch` to GitHub Actions to permit manual execution of pull request tests, enhancing flexibility in CI/CD processes. Included `types` field in `package.json` to specify TypeScript declaration file, improving TypeScript support and integration.
2024-08-14 19:51:45 +02:00
6c4db19926 First check-in of the code from the Obsidian Prj project. 2024-08-14 19:40:52 +02:00
1341427590 Basic setup of the project. 2024-08-14 19:40:05 +02:00
Max P.
0fc0f6ac82 Initial commit 2024-07-19 09:51:22 +02:00