diff --git a/package/client/tsconfig.json b/package/client/tsconfig.json index a2b57ce3f..8bfde8168 100644 --- a/package/client/tsconfig.json +++ b/package/client/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": ".", + "types": ["@citizenfx/client"] }, "include": ["./**/*"], "exclude": ["**/node_modules"] diff --git a/package/package.json b/package/package.json index ff111dff3..15d39f557 100644 --- a/package/package.json +++ b/package/package.json @@ -23,6 +23,8 @@ }, "license": "LGPL-3.0", "dependencies": { + "@citizenfx/client": "2.0.5885-1", + "@citizenfx/server": "2.0.5885-1", "@fortawesome/fontawesome-common-types": "6.1.1", "@types/node": "16.9.1", "@types/react": "^18.0.20", diff --git a/package/pnpm-lock.yaml b/package/pnpm-lock.yaml index d47ceb5d2..c14dd3d23 100644 --- a/package/pnpm-lock.yaml +++ b/package/pnpm-lock.yaml @@ -1,6 +1,8 @@ lockfileVersion: 5.4 specifiers: + '@citizenfx/client': 2.0.5885-1 + '@citizenfx/server': 2.0.5885-1 '@fortawesome/fontawesome-common-types': 6.1.1 '@types/node': 16.9.1 '@types/react': ^18.0.20 @@ -8,6 +10,8 @@ specifiers: typescript: ^4.8.3 dependencies: + '@citizenfx/client': 2.0.5885-1 + '@citizenfx/server': 2.0.5885-1 '@fortawesome/fontawesome-common-types': 6.1.1 '@types/node': 16.9.1 '@types/react': 18.0.20 @@ -18,6 +22,14 @@ devDependencies: packages: + /@citizenfx/client/2.0.5885-1: + resolution: {integrity: sha512-Ba5YYfxhZ82PcOY+2rjqDElTzPt7NrN6/o2U+wYPKK2VU/wRdCsMonpMsr7dYob2ToN5Qe96w5VNI3m5OrouJQ==} + dev: false + + /@citizenfx/server/2.0.5885-1: + resolution: {integrity: sha512-q8KRecfjJ3RjCfBT/3CSHNTr2efUs9uq8pIoPF4TGkn5X7jgTBprrp3VMayaee3Xekay3RTufpzsOaeHUntQeA==} + dev: false + /@fortawesome/fontawesome-common-types/6.1.1: resolution: {integrity: sha512-wVn5WJPirFTnzN6tR95abCx+ocH+3IFLXAgyavnf9hUmN0CfWoDjPT/BAWsUVwSlYYVBeCLJxaqi7ZGe4uSjBA==} engines: {node: '>=6'} diff --git a/package/server/tsconfig.json b/package/server/tsconfig.json index a2b57ce3f..a0b89888c 100644 --- a/package/server/tsconfig.json +++ b/package/server/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": ".", + "types": ["@citizenfx/server"] }, "include": ["./**/*"], "exclude": ["**/node_modules"] diff --git a/package/shared/tsconfig.json b/package/shared/tsconfig.json index a2b57ce3f..9d94f305f 100644 --- a/package/shared/tsconfig.json +++ b/package/shared/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": ".", + "types": ["@citizenfx/client", "@citizenfx/server"] }, "include": ["./**/*"], "exclude": ["**/node_modules"] diff --git a/package/tsconfig.json b/package/tsconfig.json index feaa36bed..b0ec3999f 100644 --- a/package/tsconfig.json +++ b/package/tsconfig.json @@ -3,7 +3,7 @@ "baseUrl": ".", "strict": true, "module": "CommonJS", - "types": ["@types/node"], + "types": ["@types/node", "@citizenfx/client", "@citizenfx/server"], "declaration": true, "sourceMap": true, "target": "ESNext", @@ -18,6 +18,6 @@ "noImplicitAny": false, "noEmit": false }, - "include": ["client"], + "include": ["client", "server", "shared"], "exclude": ["**/node_modules"] }