client / server ragempcommunity types peerDependency

This commit is contained in:
Oleksandr Honcharov 2024-06-11 20:29:07 +03:00
parent 0a81acf49e
commit acd7ad3406
4 changed files with 6154 additions and 8170 deletions

View File

@ -2,7 +2,7 @@
"name": "rage-fw-client", "name": "rage-fw-client",
"version": "0.0.15-alpha.0", "version": "0.0.15-alpha.0",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/src/index.d.ts",
"files": [ "files": [
"dist/**/*" "dist/**/*"
], ],
@ -10,10 +10,12 @@
"build": "tsup" "build": "tsup"
}, },
"dependencies": { "dependencies": {
"@ragempcommunity/types-client": "^2.1.8",
"rage-fw-shared-types": "workspace:^", "rage-fw-shared-types": "workspace:^",
"rage-rpc": "^0.4.0" "rage-rpc": "^0.4.0"
}, },
"peerDependencies": {
"@ragempcommunity/types-client": "^2.1.8"
},
"keywords": [], "keywords": [],
"author": "SashaGoncharov19", "author": "SashaGoncharov19",
"license": "MIT", "license": "MIT",

View File

@ -5,7 +5,7 @@ export default defineConfig({
outDir: './dist', outDir: './dist',
format: ['cjs'], format: ['cjs'],
noExternal: ['rage-rpc'], noExternal: ['rage-rpc'],
dts: true, experimentalDts: true,
splitting: false, splitting: false,
sourcemap: false, sourcemap: false,
clean: true, clean: true,

14312
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,10 +10,12 @@
"build": "tsup" "build": "tsup"
}, },
"dependencies": { "dependencies": {
"@ragempcommunity/types-server": "^2.1.8",
"rage-fw-shared-types": "workspace:^", "rage-fw-shared-types": "workspace:^",
"rage-rpc": "^0.4.0" "rage-rpc": "^0.4.0"
}, },
"peerDependencies": {
"@ragempcommunity/types-server": "^2.1.8"
},
"keywords": [], "keywords": [],
"author": "SashaGoncharov19", "author": "SashaGoncharov19",
"license": "MIT", "license": "MIT",