Skip to content

Commit

Permalink
Merge pull request #5 from laxmanpokhrel/dev
Browse files Browse the repository at this point in the history
Build configuration changes
  • Loading branch information
laxmanpokhrel committed Mar 21, 2024
2 parents b973776 + 0bf5b73 commit b89931b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode/*
.vscode/*
lib/*
lib
2 changes: 1 addition & 1 deletion .release/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"versionUpgradeType": "major",
"versionUpgradeType": "patch",
"releaseType": "--latest"
}
4 changes: 2 additions & 2 deletions .release/release-notes.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Changes
- Sementic release removed
# Fix
- Build configuration changes to map import
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
},
"homepage": "https://github.com/laxmanpokhrel/xmanscript-use-local-storage#readme",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",

"scripts": {
"build": "rm -rf lib && tsc",
"prepare": "husky install",
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"strict": true,
"lib": ["ES2020", "DOM"],
"removeComments": false,
"jsx": "react", // Make sure this option is set to "react"
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
Expand All @@ -17,8 +18,8 @@
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": false
"allowSyntheticDefaultImports": true // You can set this to true
},
"exclude": ["node_modules"],
"include": [".eslintrc.js", "src", "src/**/*.ts"]
"include": ["src/**/*.ts", "src/**/*.tsx"] // Update the path to include .tsx files
}

0 comments on commit b89931b

Please sign in to comment.