limina 0.0.6 → 0.1.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/LICENSE.md +105 -30
- package/README.md +18 -11
- package/README.zh-CN.md +17 -10
- package/bin/limina.js +2 -1
- package/chunks/{dep-Ce6cDHmw.js → dep-DJz9JBTi.js} +649 -1316
- package/chunks/dep-mnWOqiGN.js +244 -0
- package/cli.js +34575 -7481
- package/flow-renderer-process.js +101 -0
- package/index.d.ts +680 -163
- package/index.js +2 -3
- package/package.json +11 -12
- package/schemas/tsconfig-schema.json +54 -0
- package/chunks/dep-COZNKoxO.js +0 -15582
- package/config.d.ts +0 -683
- package/config.js +0 -3
package/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as loadConfig, n as getActiveCheckerExtensions, o as validateLiminaConfig, r as getActiveCheckers, t as defineConfig } from "./chunks/dep-Ce6cDHmw.js";
|
|
1
|
+
import { t as defineConfig } from "./chunks/dep-DJz9JBTi.js";
|
|
3
2
|
|
|
4
|
-
export {
|
|
3
|
+
export { defineConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "limina",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Senao Xi",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/
|
|
20
|
+
"url": "git+https://github.com/senaoxi/docs-islands.git",
|
|
21
21
|
"directory": "packages/limina"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
24
|
-
"url": "https://github.com/
|
|
24
|
+
"url": "https://github.com/senaoxi/docs-islands/issues"
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://docs.senao.me/docs-islands/limina",
|
|
27
27
|
"publishConfig": {
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"oxc-resolver": "^11.20.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arethetypeswrong/core": "^0.18.
|
|
41
|
-
"@typescript/native-preview": "7.0.0-dev.20260527.1",
|
|
42
|
-
"@vue/compiler-sfc": "^3.5.
|
|
40
|
+
"@arethetypeswrong/core": "^0.18.0",
|
|
41
|
+
"@typescript/native-preview": ">=7.0.0-dev.20260527.1 <7.0.0",
|
|
42
|
+
"@vue/compiler-sfc": "^3.5.0",
|
|
43
43
|
"knip": "^6.15.0",
|
|
44
|
-
"publint": "^0.3.
|
|
45
|
-
"svelte-check": "^4.4.
|
|
46
|
-
"typescript": "
|
|
47
|
-
"vue-tsc": "
|
|
48
|
-
"vue-tsgo": "0.2.2"
|
|
44
|
+
"publint": "^0.3.0",
|
|
45
|
+
"svelte-check": "^4.4.0",
|
|
46
|
+
"typescript": "^5.9.0",
|
|
47
|
+
"vue-tsc": "^3.2.4",
|
|
48
|
+
"vue-tsgo": "^0.2.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@arethetypeswrong/core": {
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
"types": "./index.d.ts",
|
|
80
80
|
"exports": {
|
|
81
81
|
".": "./index.js",
|
|
82
|
-
"./config": "./config.js",
|
|
83
82
|
"./schemas/tsconfig-schema.json": "./schemas/tsconfig-schema.json",
|
|
84
83
|
"./package.json": "./package.json"
|
|
85
84
|
},
|
|
@@ -28,6 +28,48 @@
|
|
|
28
28
|
"description": "Limina-specific options for this TypeScript project.",
|
|
29
29
|
"additionalProperties": true,
|
|
30
30
|
"properties": {
|
|
31
|
+
"implicitRefs": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"description": "Additional source tsconfig references that Limina should map into the generated declaration graph when static import analysis cannot prove an edge.",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": true,
|
|
37
|
+
"required": ["path", "reason"],
|
|
38
|
+
"properties": {
|
|
39
|
+
"path": {
|
|
40
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
41
|
+
"description": "Path to another ordinary source tsconfig, relative to the tsconfig that declares this implicit reference."
|
|
42
|
+
},
|
|
43
|
+
"reason": {
|
|
44
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
45
|
+
"description": "Human-readable reason for the implicit reference."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"outputs": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"description": "User-facing artifact output build options for this ordinary source tsconfig.",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"properties": {
|
|
55
|
+
"target": {
|
|
56
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
57
|
+
"description": "TypeScript target for generated artifact output builds."
|
|
58
|
+
},
|
|
59
|
+
"rootDir": {
|
|
60
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
61
|
+
"description": "Artifact build rootDir, relative to this tsconfig."
|
|
62
|
+
},
|
|
63
|
+
"outDir": {
|
|
64
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
65
|
+
"description": "Artifact build outDir, relative to this tsconfig."
|
|
66
|
+
},
|
|
67
|
+
"tsBuildInfoFile": {
|
|
68
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
69
|
+
"description": "Artifact build tsBuildInfoFile, relative to this tsconfig."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
31
73
|
"graphRules": {
|
|
32
74
|
"type": "array",
|
|
33
75
|
"description": "Graph rule labels from limina.config.mjs#graph.rules that apply to this declaration leaf.",
|
|
@@ -35,6 +77,18 @@
|
|
|
35
77
|
"items": {
|
|
36
78
|
"$ref": "#/definitions/nonEmptyString"
|
|
37
79
|
}
|
|
80
|
+
},
|
|
81
|
+
"generated": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Internal Limina marker for generated tsconfig files."
|
|
84
|
+
},
|
|
85
|
+
"checker": {
|
|
86
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
87
|
+
"description": "Internal Limina checker name for generated tsconfig files."
|
|
88
|
+
},
|
|
89
|
+
"sourceConfig": {
|
|
90
|
+
"$ref": "#/definitions/nonEmptyString",
|
|
91
|
+
"description": "Internal Limina source config pointer for generated declaration configs."
|
|
38
92
|
}
|
|
39
93
|
}
|
|
40
94
|
}
|