@overextended/fx-utils
Advanced tools
@@ -7,2 +7,3 @@ /** | ||
| server_scripts?: string[]; | ||
| shared_scripts?: string[]; | ||
| files?: string[]; | ||
@@ -17,3 +18,3 @@ dependencies?: string[]; | ||
| */ | ||
| export declare function createFxmanifest({ client_scripts, server_scripts, files, dependencies, metadata, }: FxResourceManifest): Promise<string>; | ||
| export declare function createFxmanifest({ client_scripts, server_scripts, shared_scripts, files, dependencies, metadata, }: FxResourceManifest): Promise<string>; | ||
| export {}; |
@@ -31,3 +31,3 @@ import { readJson } from "./readJson.js"; | ||
| */ | ||
| export async function createFxmanifest({ client_scripts, server_scripts, files, dependencies, metadata, }) { | ||
| export async function createFxmanifest({ client_scripts, server_scripts, shared_scripts, files, dependencies, metadata, }) { | ||
| const pkg = await readJson("package.json"); | ||
@@ -50,4 +50,5 @@ const fxmanifest = { | ||
| output += reduceArray("server_scripts", server_scripts); | ||
| output += reduceArray("shared_scripts", shared_scripts); | ||
| await writeFile("fxmanifest.lua", output); | ||
| return output; | ||
| } |
+24
-13
| { | ||
| "name": "@overextended/fx-utils", | ||
| "version": "0.0.4", | ||
| "description": "", | ||
| "version": "0.0.6", | ||
| "description": "WIP development tools when working with the Cfx platform.", | ||
| "keywords": [ | ||
| "fivem", | ||
| "overextended", | ||
| "fxutils" | ||
| ], | ||
| "funding": "https://ko-fi.com/thelindat", | ||
| "bugs": "https://github.com/overextended/fx-utils/issues", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/overextended/fx-utils.git" | ||
| }, | ||
| "license": "MIT", | ||
| "author": "https://github.com/thelindat/", | ||
| "type": "module", | ||
| "exports": { | ||
| ".": "./dist/index.js" | ||
| }, | ||
| "main": "./dist/index.js", | ||
| "bin": { | ||
| "fxdoc": "./dist/bin/fxdoc.js" | ||
| "fxdoc": "dist/bin/fxdoc.js" | ||
| }, | ||
| "exports": { | ||
| ".": "./dist/index.js" | ||
| }, | ||
| "files": [ | ||
@@ -17,6 +30,5 @@ "./dist/**/*.js", | ||
| ], | ||
| "keywords": [], | ||
| "author": "https://github.com/thelindat/", | ||
| "funding": "https://ko-fi.com/thelindat", | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "prepare": "tsc" | ||
| }, | ||
| "dependencies": { | ||
@@ -29,4 +41,3 @@ "esbuild": "^0.23.1", | ||
| "typescript": "^5.6.2" | ||
| }, | ||
| "scripts": {} | ||
| } | ||
| } | ||
| } |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
12279
3.42%286
0.7%5
-16.67%