-
Notifications
You must be signed in to change notification settings - Fork 1
Home
The VS Code extension contains a set of rules that based on a project's package.json
and other environmental files and settings it can make suggestions to fix common problems or help with migrations.
In App Flow there are also common problems with solutions that could be suggested that would help reduce the time to resolve an issue.
App Flow requires a node console CLI application that can give these suggestions as part of the running of an app build. The VS Code Extension project can provide this by adding an additional project that imports the rules defined, takes inputs from App Flow and returns results (eg text suggestions).
From App Flow we'll need:
- The build output as text (which includes errors, warnings, etc)
- Access to environment variables passed in that a node process may not have access to (to be determined but maybe the build stack name, etc)
A simple scenario is that errors are often embedded somewhere in the build logs. The output from a CLI tool could include the error in a standard json format or as text. Eg: { type: 'Swift Error', message: 'blar', location: { file: 'ios/blar.swift', line: 123, position: 0}}