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
# ✅ 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

View File

@ -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"
},

View File

@ -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"
}
},

View File

@ -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"]