Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

langium-cli

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langium-cli - npm Package Compare versions

Comparing version 0.1.0-next.0e84185 to 0.1.0-next.6f45aec

README.md

4

lib/langium.js

@@ -16,4 +16,4 @@ "use strict";

.command('generate')
.description('Generate code for a Langium language')
.option('-f', '--file <file>')
.description('generate code for a Langium grammar')
.option('-f, --file <file>', 'the configuration file or package.json setting up the generator')
.action((options) => {

@@ -20,0 +20,0 @@ generate_1.generate(options);

@@ -12,11 +12,18 @@ /******************************************************************************

export interface LangiumConfig {
/** The identifier of your language as used in vscode */
languageId?: string;
/** Path to the grammar file */
grammar?: string;
/** File extensions with leading `.` */
extensions?: string[];
/** Main output directory for TypeScript code */
out?: string;
/** Enable generating a TextMate syntax highlighting file */
textMate?: {
/** Output path to syntax highlighting file */
out: string;
};
/** The following option is meant to be used only by Langium itself */
langiumInternal?: boolean;
}
//# sourceMappingURL=package.d.ts.map
{
"name": "langium-cli",
"version": "0.1.0-next.0e84185",
"version": "0.1.0-next.6f45aec",
"description": "CLI for Langium - the language engineering tool",

@@ -33,3 +33,3 @@ "keywords": [

"commander": "^7.2.0",
"langium": "0.1.0-next.0e84185",
"langium": "0.1.0-next.6f45aec",
"lodash": "^4.17.21"

@@ -36,0 +36,0 @@ },

@@ -17,4 +17,4 @@ /******************************************************************************

.command('generate')
.description('Generate code for a Langium language')
.option('-f', '--file <file>')
.description('generate code for a Langium grammar')
.option('-f, --file <file>', 'the configuration file or package.json setting up the generator')
.action((options: GenerateOptions) => {

@@ -21,0 +21,0 @@ generate(options);

@@ -14,11 +14,17 @@ /******************************************************************************

export interface LangiumConfig {
languageId?: string,
grammar?: string,
extensions?: string[],
out?: string,
/** The identifier of your language as used in vscode */
languageId?: string
/** Path to the grammar file */
grammar?: string
/** File extensions with leading `.` */
extensions?: string[]
/** Main output directory for TypeScript code */
out?: string
/** Enable generating a TextMate syntax highlighting file */
textMate?: {
/** Output path to syntax highlighting file */
out: string
}
// The following option is meant to be used only by Langium itself
/** The following option is meant to be used only by Langium itself */
langiumInternal?: boolean
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc