From c0ab34de14792f71f6b6cfd1acb2dfc537fae936 Mon Sep 17 00:00:00 2001 From: Fabio Gaming Date: Wed, 27 May 2026 00:14:04 +0200 Subject: [PATCH 1/3] chore: update package name in package.json - Changed package name from "@fabi-dev/jsx-utils" to "@fabiothefox/jsx-utils" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 85ad652..55eebc7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@fabi-dev/jsx-utils", + "name": "@fabiothefox/jsx-utils", "version": "1.0.0", "description": "SolidJS-inspired JSX control flow utilities for React ecosystems", "license": "MIT", From b4e70fd32cc0ac165a48b9ad5014867c31d6c80e Mon Sep 17 00:00:00 2001 From: Fabio Gaming Date: Wed, 27 May 2026 00:14:14 +0200 Subject: [PATCH 2/3] docs: update installation instructions in README.md - Corrected NPM package name for installation. - Updated GitHub installation command with the correct package name. - Adjusted `.npmrc` file instructions to reflect the correct registry. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d722ed0..c344462 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,14 @@ JSX-Utils features both this, as well as a built in documentation that you can v To get started with JSX Utils you can install it both through NPM as well as GitHub's package registry -NPM Install (recommended): `npm install @fabi-dev/jsx-utils` +NPM Install (recommended): `npm install @fabiothefox/jsx-utils` -GitHub Install: `npm install @fabi-dev/jsx-utils --registry=https://npm.pkg.github.com` +GitHub Install: `npm install @fabiogaming/jsx-utils --registry=https://npm.pkg.github.com` **Note** For GitHub the installation might require some additional steps, such as: -- Creating an `.npmrc` file with the following content: `@fabi-dev:registry=https://npm.pkg.github.com` at the root of your project +- Creating an `.npmrc` file with the following content: `@fabiogaming:registry=https://npm.pkg.github.com` at the root of your project - Logging into the GitHub package registry: `npm login --registry=https://npm.pkg.github.com` ### 2.2 Added JSX-Nodes With Examples From 5ccb3f18c233e7ba7b8c559e4f8aa3d19c19a5f4 Mon Sep 17 00:00:00 2001 From: Fabio Gaming Date: Wed, 27 May 2026 00:14:19 +0200 Subject: [PATCH 3/3] ci: add release publish workflow - Create a GitHub Actions workflow for automated release publishing. - Configure steps for building, testing, and publishing to GitHub Packages. - Include asset packing and uploading as part of the release process. --- .github/workflows/release-publish.yml | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/release-publish.yml diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml new file mode 100644 index 0000000..c0cec8c --- /dev/null +++ b/.github/workflows/release-publish.yml @@ -0,0 +1,53 @@ +name: Release Publish + +on: + release: + types: [published] + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + packages: write + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + + - run: npm ci + - run: npm run format:check + - run: npm run build + - run: npm run test:run + + - name: Pack release zip + id: pack + run: | + PACKAGE_TGZ=$(npm pack --silent) + PACKAGE_ZIP="${PACKAGE_TGZ%.tgz}.zip" + zip -9 "$PACKAGE_ZIP" "$PACKAGE_TGZ" + echo "package_zip=$PACKAGE_ZIP" >> "$GITHUB_OUTPUT" + + - name: Upload release asset + uses: softprops/action-gh-release@v2 + with: + files: ${{ steps.pack.outputs.package_zip }} + + - name: Setup GitHub Packages registry + uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://npm.pkg.github.com + scope: "@fabiogaming" + + - name: Set GitHub Packages scope + run: npm pkg set name=@fabiogaming/jsx-utils + + - name: Publish to GitHub Packages + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}