fix: update version to 1.2.2 in package.json and package-lock.json; correct output file name in build script and tsconfig.json

This commit is contained in:
Chipperfluff 2025-07-20 15:50:12 +02:00
parent e2d9aa60b4
commit b8bb0ada52
4 changed files with 9 additions and 9 deletions

2
push
View File

@ -38,7 +38,7 @@ rm -rf dist
npx --yes tsc npx --yes tsc
# ✅ Confirm output exists # ✅ Confirm output exists
if [ ! -f dist/index.jsx ]; then if [ ! -f dist/index.js ]; then
echo "❌ ERROR: Build failed. dist/index.js not found." echo "❌ ERROR: Build failed. dist/index.js not found."
exit 1 exit 1
fi fi

View File

@ -1,12 +1,12 @@
{ {
"name": "@funky-flask-test/funky-flask-test", "name": "@funky-flask-test/funky-flask-test",
"version": "1.2.0", "version": "1.2.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@funky-flask-test/funky-flask-test", "name": "@funky-flask-test/funky-flask-test",
"version": "1.2.0", "version": "1.2.2",
"dependencies": { "dependencies": {
"nano-jsx": "^0.1.0" "nano-jsx": "^0.1.0"
}, },

View File

@ -1,11 +1,11 @@
{ {
"name": "@funky-flask-test/funky-flask-test", "name": "@funky-flask-test/funky-flask-test",
"version": "1.2.0", "version": "1.2.2",
"type": "module", "type": "module",
"main": "./dist/index.jsx", "main": "./dist/index.jsx",
"exports": { "exports": {
".": { ".": {
"import": "./dist/index.jsx", "import": "./dist/index.js",
"types": "./dist/index.d.ts" "types": "./dist/index.d.ts"
} }
}, },

View File

@ -2,15 +2,15 @@
"compilerOptions": { "compilerOptions": {
"target": "ES2020", "target": "ES2020",
"module": "ES2020", "module": "ES2020",
"jsx": "preserve", "jsx": "react",
"jsxFactory": "h", "jsxFactory": "h",
"jsxFragmentFactory": "Fragment", "jsxFragmentFactory": "Fragment",
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"declaration": true, "declaration": true,
"outDir": "./dist", "outDir": "./dist",
"rootDir": "./src", "rootDir": "./src",
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": ["node"] "types": ["node"]
}, },
"include": ["./src"] "include": ["./src"]