@effect/language-service 0.27.1 → 0.28.0

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 CHANGED
@@ -24,6 +24,7 @@ This package implements a TypeScript language service plugin that allows additio
24
24
  - In VSCode you can do this by pressing "F1" and typing "TypeScript: Select TypeScript version". Then select "Use workspace version". If that option does not appear, TypeScript is not installed locally in your node_modules.
25
25
  - In JetBrains you may have to disable the Vue language service, and choose the workspace version of TypeScript in the settings from the dropdown.
26
26
  - In NVim with nvim-vtsls you should refer to [how to enable TypeScript plugins in vtsls](https://github.com/yioneko/vtsls?tab=readme-ov-file#typescript-plugin-not-activated)
27
+ - In Emacs, additional steps are required to enable LSPs, [step by step instructions can be found here](https://gosha.net/2025/effect-ls-emacs/)
27
28
 
28
29
  And you're done! You'll now be able to use a set of refactors and diagnostics that target Effect!
29
30
 
package/cli.js CHANGED
@@ -30087,13 +30087,17 @@ function parsePackageContentNameAndVersionFromScope(v) {
30087
30087
  ...hasProperty(packageJsonContent, "peerDependencies") && isObject(packageJsonContent.peerDependencies) ? packageJsonContent.peerDependencies : {},
30088
30088
  ...hasProperty(packageJsonContent, "devDependencies") && isObject(packageJsonContent.devDependencies) ? packageJsonContent.devDependencies : {}
30089
30089
  });
30090
+ const exportsKeys = Object.keys(
30091
+ hasProperty(packageJsonContent, "exports") && isObject(packageJsonContent.exports) ? packageJsonContent.exports : {}
30092
+ );
30090
30093
  return {
30091
30094
  name: name.toLowerCase(),
30092
30095
  version: version.toLowerCase(),
30093
30096
  hasEffectInPeerDependencies,
30094
30097
  contents: packageJsonContent,
30095
30098
  packageDirectory: packageJsonScope.packageDirectory,
30096
- referencedPackages
30099
+ referencedPackages,
30100
+ exportsKeys
30097
30101
  };
30098
30102
  }
30099
30103
  var resolveModulePattern = fn("resolveModulePattern")(