lenix 1.3.0 → 1.3.2
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/Readme.md +46 -2
- package/{bin → lint}/dist/lint.mjs +2 -2
- package/{bin/.eslint-preset.json → lint/lint-preset.json} +54 -18
- package/{bin → lint}/lint.mts +2 -2
- package/lua/LICENSE +21 -0
- package/lua/_dev/firstAttempt.lua +202 -0
- package/lua/_dev/secondAttempt.lua +166 -0
- package/lua/_dev/tests.lua +298 -0
- package/lua/index.lua +322 -0
- package/lua/lenix-0.1.0-1.rockspec +25 -0
- package/package.json +14 -10
- package/bin/Readme.md +0 -33
- /package/{bin → lint}/tsconfig.json +0 -0
- /package/{bin/mac-lua_modules.sh → lua/mac-lua-modules.sh} +0 -0
- /package/{dist → ts/dist}/fetch/index.d.ts +0 -0
- /package/{dist → ts/dist}/fetch/index.js +0 -0
- /package/{dist → ts/dist}/fxmanifest/fxmanifest.json +0 -0
- /package/{dist → ts/dist}/fxmanifest/index.d.ts +0 -0
- /package/{dist → ts/dist}/fxmanifest/index.js +0 -0
- /package/{dist → ts/dist}/index.d.ts +0 -0
- /package/{dist → ts/dist}/index.js +0 -0
- /package/{dist → ts/dist}/wait/index.d.ts +0 -0
- /package/{dist → ts/dist}/wait/index.js +0 -0
package/bin/Readme.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
## Lua Modules Setup
|
|
2
|
-
|
|
3
|
-
Auto-configure Lua to use `./lua_modules` (like `node_modules`).
|
|
4
|
-
|
|
5
|
-
### Install
|
|
6
|
-
- MAC
|
|
7
|
-
```bash
|
|
8
|
-
npx mac-lua-modules
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Usage
|
|
12
|
-
```bash
|
|
13
|
-
# Install Lua packages
|
|
14
|
-
luarocks install --tree ./lua_modules inspect
|
|
15
|
-
|
|
16
|
-
# Use in code (no setup needed)
|
|
17
|
-
local inspect = require('inspect')
|
|
18
|
-
print(inspect({name = "Lenix"}))
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### What it does
|
|
22
|
-
|
|
23
|
-
Adds environment variables to your shell config (for mac users: `~/.zshrc` or `~/.bashrc`) to automatically change your Lua modules configurations to `./lua_modules` instead of hidden nested directories.
|
|
24
|
-
|
|
25
|
-
## ESLINT Usage
|
|
26
|
-
### Build your own linter
|
|
27
|
-
```zsh
|
|
28
|
-
npx lenix --lint
|
|
29
|
-
```
|
|
30
|
-
### Clone a preset lint
|
|
31
|
-
```zsh
|
|
32
|
-
npx lenix --lint --preset
|
|
33
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|