![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
ts-expose-status-plugin
Advanced tools
TypeScript language service plugin to expose build status to external tools
This is a TS language service plugin that exposes the current build state to the outside world. For example, you can use this to write a fast pre-commit check there are no TypeScript errors. Rather than needing to redo the typechecking from scratch, a CLI tool can connect directly to the language service running in your editor, which generally gives much faster results.
First add as a dev dependency:
yarn add --dev ts-expose-status-plugin
Then add as a compiler plugin to your tsconfig.json:
{
"compilerOptions": {
"plugins": [
{"name": "ts-expose-status-plugin"}
]
}
}
Then, from CLI code, you can connect to the language service and get all current errors:
import TSStatusClient from 'ts-expose-status-plugin/dist/TSStatusClient';
async function checkStatus(): void {
await TSStatusClient.withClient({
async onSuccess(client: TSStatusClient): Promise<void> {
const errors = await client.getAllErrors();
console.log(errors);
},
async onError(): Promise<void> {
console.log('Failed to connect!');
},
});
}
There are also lower-level connect
and disconnect
static methods for
keeping a persistent connection open.
FAQs
TypeScript language service plugin to expose build status to external tools
The npm package ts-expose-status-plugin receives a total of 0 weekly downloads. As such, ts-expose-status-plugin popularity was classified as not popular.
We found that ts-expose-status-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.