lenix 1.4.1 → 1.4.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.
@@ -1,4 +1,4 @@
1
- export { wait } from '~/wait'
2
- export { caughtFetch } from '~/fetch'
3
- export { entries } from '~/entries'
4
- export { lint } from '~/lint'
1
+ export { wait } from './wait'
2
+ export { caughtFetch } from './fetch'
3
+ export { entries } from './entries'
4
+ export { lint } from './lint'
@@ -1,6 +1,5 @@
1
1
  {
2
- "outFile": "eslint.config.mts",
3
- "rules": {
2
+ "strict": {
4
3
  "accessor-pairs": "error",
5
4
  "array-callback-return": "warn",
6
5
  "arrow-body-style": "error",
@@ -359,12 +358,5 @@
359
358
  "@typescript-eslint/switch-exhaustiveness-check": "error",
360
359
  "@typescript-eslint/unbound-method": "warn",
361
360
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "error"
362
- },
363
- "completedSections": [
364
- "Core — Other",
365
- "TypeScript",
366
- "TypeScript — type-aware"
367
- ],
368
- "pausedSection": null,
369
- "pausedAt": 0
361
+ }
370
362
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lenix",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "The All-in-one Package",
5
5
  "author": "Lenix",
6
6
  "license": "GPL-3.0",
@@ -26,15 +26,19 @@
26
26
  },
27
27
  "main": "./modules/src/index.ts",
28
28
  "types": "./modules/src/index.ts",
29
- "bin": {
30
- "mac-lua-modules": "oop/mac-lua-modules.sh",
31
- "lenix": "./lint/dist/lint.mjs"
29
+ "exports": {
30
+ ".": "./modules/src/index.ts",
31
+ "./lint": "./modules/src/lint/preset.json"
32
32
  },
33
33
  "files": [
34
34
  "modules/src",
35
35
  "oop",
36
36
  "lint/dist"
37
37
  ],
38
+ "bin": {
39
+ "mac-lua-modules": "oop/mac-lua-modules.sh",
40
+ "lenix": "./lint/dist/lint.mjs"
41
+ },
38
42
  "dependencies": {
39
43
  "@eslint/js": "^10.0.1",
40
44
  "eslint": "^10.0.3",
@@ -1,6 +0,0 @@
1
- import preset from "./preset.json"
2
- /**
3
- * Load eslint presets rules.
4
- * @see https://raw.githubusercontent.com/LenixDev/lenix/refs/heads/main/lint/src/lint-preset.json
5
- */
6
- export const lint = { strict: preset.rules }