lenix 1.0.5 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mac-lua_modules.sh +0 -1
- package/dist/fxmanifest/index.d.ts +2 -2
- package/dist/fxmanifest/index.js +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/wait/index.d.ts +5 -0
- package/dist/wait/index.js +5 -0
- package/package.json +10 -7
package/bin/mac-lua_modules.sh
CHANGED
|
@@ -17,7 +17,6 @@ echo "===================================="
|
|
|
17
17
|
echo ""
|
|
18
18
|
echo "This script will add the following lines to: $SHELL_CONFIG"
|
|
19
19
|
echo ""
|
|
20
|
-
echo "# Lua local modules setup"
|
|
21
20
|
echo "eval \$(luarocks path --bin)"
|
|
22
21
|
echo "export LUA_PATH=\"./lua_modules/share/lua/5.4/?.lua;./lua_modules/share/lua/5.4/?/init.lua;;\""
|
|
23
22
|
echo "export LUA_CPATH=\"./lua_modules/lib/lua/5.4/?.so;;\""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { writeFile } from 'fs/promises';
|
|
2
2
|
type FileContent = Parameters<typeof writeFile>[1];
|
|
3
|
-
declare const createFxmanifest: (content?: FileContent) => Promise<void>;
|
|
4
|
-
export {
|
|
3
|
+
export declare const createFxmanifest: (content?: FileContent) => Promise<void>;
|
|
4
|
+
export {};
|
package/dist/fxmanifest/index.js
CHANGED
|
@@ -20,5 +20,4 @@ const generateContent = () => {
|
|
|
20
20
|
}
|
|
21
21
|
return defaultContent;
|
|
22
22
|
};
|
|
23
|
-
const createFxmanifest = async (content) => await writeFile('fxmanifest.lua', content || generateContent());
|
|
24
|
-
export { createFxmanifest };
|
|
23
|
+
export const createFxmanifest = async (content) => await writeFile('fxmanifest.lua', content || generateContent());
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default _default;
|
|
1
|
+
export { wait } from '~/wait';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { wait } from '~/wait';
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lenix",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Helpful modules for the software engineers",
|
|
5
5
|
"author": "Lenix",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"lenix",
|
|
9
|
+
"modules",
|
|
10
|
+
"typescript",
|
|
9
11
|
"lua",
|
|
10
12
|
"luarocks",
|
|
11
|
-
"
|
|
13
|
+
"fivem",
|
|
14
|
+
"fxmanifest"
|
|
12
15
|
],
|
|
13
16
|
"repository": {
|
|
14
17
|
"type": "git",
|
|
@@ -23,13 +26,13 @@
|
|
|
23
26
|
"dist",
|
|
24
27
|
"bin"
|
|
25
28
|
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"build": "tsc -p src/fxmanifest/tsconfig.json"
|
|
28
|
-
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.3.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@types/node": "^20.7.1"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsc -p src/fxmanifest/tsconfig.json"
|
|
34
37
|
}
|
|
35
|
-
}
|
|
38
|
+
}
|