generated from projects/testosmaximus
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:
parent
e2d9aa60b4
commit
b8bb0ada52
2
push
2
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
|
||||
|
||||
4
source/package-lock.json
generated
4
source/package-lock.json
generated
@ -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"
|
||||
},
|
||||
|
||||
@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user