@effect/language-service 0.52.1 → 0.53.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/README.md +2 -1
- package/cli.js +4 -2
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +4 -2
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +187 -116
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +4 -2
- package/transform.js.map +1 -1
package/README.md
CHANGED
|
@@ -129,7 +129,8 @@ Few options can be provided alongside the initialization of the Language Service
|
|
|
129
129
|
"topLevelNamedReexports": "ignore", // for namespaceImportPackages, how should top level named re-exports (e.g. {pipe} from "effect") be treated? "ignore" will leave them as is, "follow" will rewrite them to the re-exported module (e.g. {pipe} from "effect/Function")
|
|
130
130
|
"importAliases": { "Array": "Arr" }, // allows to chose some different names for import name aliases (only when not chosing to import the whole module) (default: {})
|
|
131
131
|
"noExternal": false, // disables features that provides links to external websites (such as links to mermaidchart.com) (default: false)
|
|
132
|
-
"keyPatterns": [{ "target": "service", "pattern": "default", "skipLeadingPath": ["src/"] }] // configure the key patterns; recommended reading more on the section "Configuring Key Patterns"
|
|
132
|
+
"keyPatterns": [{ "target": "service", "pattern": "default", "skipLeadingPath": ["src/"] }], // configure the key patterns; recommended reading more on the section "Configuring Key Patterns"
|
|
133
|
+
"layerGraphFollowDepth": 0 // controls the depth level that the layer graph will follow when resolving layer dependencies, depth is counted only when exiting the currently hovered/analyzed layer definition (default: 0)
|
|
133
134
|
}
|
|
134
135
|
]
|
|
135
136
|
}
|
package/cli.js
CHANGED
|
@@ -31205,7 +31205,8 @@ var defaults = {
|
|
|
31205
31205
|
skipLeadingPath: ["src/"]
|
|
31206
31206
|
}],
|
|
31207
31207
|
extendedKeyDetection: false,
|
|
31208
|
-
pipeableMinArgCount: 1
|
|
31208
|
+
pipeableMinArgCount: 1,
|
|
31209
|
+
layerGraphFollowDepth: 0
|
|
31209
31210
|
};
|
|
31210
31211
|
function parseKeyPatterns(patterns) {
|
|
31211
31212
|
const result = [];
|
|
@@ -31241,7 +31242,8 @@ function parse4(config2) {
|
|
|
31241
31242
|
noExternal: isObject(config2) && hasProperty(config2, "noExternal") && isBoolean(config2.noExternal) ? config2.noExternal : defaults.noExternal,
|
|
31242
31243
|
keyPatterns: isObject(config2) && hasProperty(config2, "keyPatterns") && isArray(config2.keyPatterns) ? parseKeyPatterns(config2.keyPatterns) : defaults.keyPatterns,
|
|
31243
31244
|
extendedKeyDetection: isObject(config2) && hasProperty(config2, "extendedKeyDetection") && isBoolean(config2.extendedKeyDetection) ? config2.extendedKeyDetection : defaults.extendedKeyDetection,
|
|
31244
|
-
pipeableMinArgCount: isObject(config2) && hasProperty(config2, "pipeableMinArgCount") && isNumber(config2.pipeableMinArgCount) ? config2.pipeableMinArgCount : defaults.pipeableMinArgCount
|
|
31245
|
+
pipeableMinArgCount: isObject(config2) && hasProperty(config2, "pipeableMinArgCount") && isNumber(config2.pipeableMinArgCount) ? config2.pipeableMinArgCount : defaults.pipeableMinArgCount,
|
|
31246
|
+
layerGraphFollowDepth: isObject(config2) && hasProperty(config2, "layerGraphFollowDepth") && isNumber(config2.layerGraphFollowDepth) ? config2.layerGraphFollowDepth : defaults.layerGraphFollowDepth
|
|
31245
31247
|
};
|
|
31246
31248
|
}
|
|
31247
31249
|
|