expo/vscode-expo

Support Expo modules config

byCedric opened this issue ยท 2 comments

Description of the feature

Add IntelliSense for expo-module.config.json files.

Motivation

See https://github.com/expo/expo/blob/main/packages/expo-modules-autolinking/src/types.ts#L72-L146

Additional context

We could try and generate the code using TypeDoc. But I think we can just quickly start by creating a manual schema for now.

Continuing the discussion outlined in the PR:

There is no automated workflow to manage this schema yet. I'll keep the original issue open because of that. We have a few options:

  1. Try to infer the json schema through typedoc from https://cdn.jsdelivr.net/npm/expo-modules-autolinking@0.9.0/build/types.d.ts
  2. Add a schema to expo-modules-autolinking that we update here, just like eas-metadata.json

The manual schema lives here: https://github.com/expo/vscode-expo/blob/schemas/schema/expo-module.json

๐ŸŽ‰ This issue has been resolved in version 0.8.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€