Commit Graph

10 Commits

Author SHA1 Message Date
771b810419 Rename TSInjex to TSinjex and Add Jest Setup in README
Renamed all instances of 'TSInjex' to 'TSinjex' for consistency across the codebase, including interfaces, classes, and test files. Updated the version in `package.json` from 0.0.5 to 0.0.6. Added Jest setup example to the `README.md` to guide developers on initial configuration for testing.
2024-08-14 23:10:44 +02:00
ad4a8fd8c6 Include additional files in release and mark as prerelease
Added `src` folder and `tsconfig.json` to the release preparation to ensure all necessary files are included. Uncommented the deletion of the temporary branch to streamline the workflow. Set releases to be marked as prereleases automatically. Updated version in `package.json` to 0.0.5 and included a `files` field to specify which files to include in the package.
2024-08-14 22:34:15 +02:00
de45d8e791 Update import path and version number
Changed the relative import path in `register.ts` for better module resolution and incremented the package version to 0.0.4 to reflect the updated changes.
2024-08-14 22:29:37 +02:00
bc9376bce7 Remove redundant postinstall npm script
Simplified the npm scripts by removing the unnecessary "postinstall" script which was triggering the TypeScript build. This step was redundant since the build process is already handled separately.
2024-08-14 21:23:20 +02:00
f7dc771e0a Automate release workflow, bump version to 0.0.3
Added the creation of a temporary branch to stage release files before tagging, ensuring a clean release environment. Adjusted the tag creation process and included steps to delete the temporary branch post-tagging. Updated `package.json` to version 0.0.3 and set module type for better compatibility.
2024-08-14 21:22:06 +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
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
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
1341427590 Basic setup of the project. 2024-08-14 19:40:05 +02:00