core setup fixes

This commit is contained in:
Oleksandr Honcharov
2024-06-10 22:59:29 +03:00
parent c163ef6585
commit 512b37cdbd
12 changed files with 5198 additions and 7158 deletions
-12
View File
@@ -1,12 +0,0 @@
{
"compilationOptions": {
"followSymlinks": true,
"preferredConfigPath": "../tsconfig.json"
},
"entries": [
{
"filePath": "./src/index.ts",
"outFile": "./dist/index.d.ts"
}
]
}
+2 -2
View File
@@ -2,12 +2,12 @@
"name": "rage-fw-client",
"version": "0.0.10-alpha.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsup && pnpm types",
"types": "dts-bundle-generator --config dts.config.json"
"build": "tsup"
},
"dependencies": {
"@ragempcommunity/types-client": "^2.1.8",
+2 -5
View File
@@ -5,7 +5,7 @@
"node_modules"
],
"compilerOptions": {
"incremental": true,
"incremental": false,
"composite": false,
"target": "ES2022",
"experimentalDecorators": true,
@@ -21,9 +21,6 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"typeRoots": [
"@ragempcommunity/types-client"
]
"skipLibCheck": true
}
}
+1
View File
@@ -5,6 +5,7 @@ export default defineConfig({
outDir: './dist',
format: ['cjs'],
noExternal: ['rage-rpc'],
dts: true,
splitting: false,
sourcemap: false,
clean: true,