From b8bb0ada52723089feadb0cd66fec864721667b5 Mon Sep 17 00:00:00 2001 From: lordlogo2002 Date: Sun, 20 Jul 2025 15:50:12 +0200 Subject: [PATCH] fix: update version to 1.2.2 in package.json and package-lock.json; correct output file name in build script and tsconfig.json --- push | 2 +- source/package-lock.json | 4 ++-- source/package.json | 4 ++-- source/tsconfig.json | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/push b/push index 109f34f..506421b 100755 --- a/push +++ b/push @@ -38,7 +38,7 @@ rm -rf dist npx --yes tsc # ✅ Confirm output exists -if [ ! -f dist/index.jsx ]; then +if [ ! -f dist/index.js ]; then echo "❌ ERROR: Build failed. dist/index.js not found." exit 1 fi diff --git a/source/package-lock.json b/source/package-lock.json index 7a5c7eb..9297ade 100644 --- a/source/package-lock.json +++ b/source/package-lock.json @@ -1,12 +1,12 @@ { "name": "@funky-flask-test/funky-flask-test", - "version": "1.2.0", + "version": "1.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@funky-flask-test/funky-flask-test", - "version": "1.2.0", + "version": "1.2.2", "dependencies": { "nano-jsx": "^0.1.0" }, diff --git a/source/package.json b/source/package.json index ef54d2f..24b38a8 100644 --- a/source/package.json +++ b/source/package.json @@ -1,11 +1,11 @@ { "name": "@funky-flask-test/funky-flask-test", - "version": "1.2.0", + "version": "1.2.2", "type": "module", "main": "./dist/index.jsx", "exports": { ".": { - "import": "./dist/index.jsx", + "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, diff --git a/source/tsconfig.json b/source/tsconfig.json index 4feea7e..a762fc3 100644 --- a/source/tsconfig.json +++ b/source/tsconfig.json @@ -2,15 +2,15 @@ "compilerOptions": { "target": "ES2020", "module": "ES2020", - "jsx": "preserve", + "jsx": "react", "jsxFactory": "h", "jsxFragmentFactory": "Fragment", - "moduleResolution": "node", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "declaration": true, "outDir": "./dist", "rootDir": "./src", + "moduleResolution": "node", + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, "types": ["node"] }, "include": ["./src"]