generator-langium
Advanced tools
Comparing version 1.2.3 to 1.3.0
@@ -0,0 +0,0 @@ /****************************************************************************** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "generator-langium", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "Yeoman generator for Langium - the language engineering tool", | ||
@@ -33,3 +33,3 @@ "homepage": "https://langium.org", | ||
"publish:next": "npm --no-git-tag-version version \"$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)\" && npm publish --tag next", | ||
"publish:latest": "npm publish --tag latest" | ||
"publish:latest": "npm publish --tag latest --access public" | ||
}, | ||
@@ -55,6 +55,6 @@ "dependencies": { | ||
"type": "git", | ||
"url": "https://github.com/langium/langium", | ||
"url": "https://github.com/eclipse-langium/langium", | ||
"directory": "packages/generator-langium" | ||
}, | ||
"bugs": "https://github.com/langium/langium/issues", | ||
"bugs": "https://github.com/eclipse-langium/langium/issues", | ||
"author": { | ||
@@ -61,0 +61,0 @@ "name": "TypeFox", |
@@ -0,5 +1,5 @@ | ||
import type { AstNode, LangiumDocument, LangiumServices } from 'langium'; | ||
import chalk from 'chalk'; | ||
import path from 'path'; | ||
import fs from 'fs'; | ||
import { AstNode, LangiumDocument, LangiumServices } from 'langium'; | ||
import { URI } from 'vscode-uri'; | ||
@@ -6,0 +6,0 @@ |
@@ -0,5 +1,5 @@ | ||
import type { Model } from '../language/generated/ast'; | ||
import fs from 'fs'; | ||
import { CompositeGeneratorNode, NL, toString } from 'langium'; | ||
import path from 'path'; | ||
import { Model } from '../language/generated/ast'; | ||
import { extractDestinationAndName } from './cli-util'; | ||
@@ -6,0 +6,0 @@ |
@@ -0,4 +1,4 @@ | ||
import type { Model } from '../language/generated/ast'; | ||
import chalk from 'chalk'; | ||
import { Command } from 'commander'; | ||
import { Model } from '../language/generated/ast'; | ||
import { <%= LanguageName %>LanguageMetaData } from '../language/generated/module'; | ||
@@ -5,0 +5,0 @@ import { create<%= LanguageName %>Services } from '../language/<%= language-id %>-module'; |
@@ -17,12 +17,12 @@ { | ||
"dependencies": { | ||
"langium": "~1.2.0" | ||
"langium": "~1.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "~16.18.11", | ||
"@typescript-eslint/eslint-plugin": "~5.51.0", | ||
"@typescript-eslint/parser": "~5.51.0", | ||
"@typescript-eslint/parser": "~5.58.0", | ||
"@typescript-eslint/eslint-plugin": "~5.58.0", | ||
"eslint": "~8.33.0", | ||
"langium-cli": "~1.2.0", | ||
"typescript": "~4.9.5" | ||
"langium-cli": "~1.3.0", | ||
"typescript": "~5.0.4" | ||
} | ||
} |
@@ -1,5 +0,3 @@ | ||
import { | ||
createDefaultModule, createDefaultSharedModule, DefaultSharedModuleContext, inject, | ||
LangiumServices, LangiumSharedServices, Module, PartialLangiumServices | ||
} from 'langium'; | ||
import type { DefaultSharedModuleContext, LangiumServices, LangiumSharedServices, Module, PartialLangiumServices } from 'langium'; | ||
import { createDefaultModule, createDefaultSharedModule, inject } from 'langium'; | ||
import { <%= LanguageName %>GeneratedModule, <%= LanguageName %>GeneratedSharedModule } from './generated/module'; | ||
@@ -6,0 +4,0 @@ import { <%= LanguageName %>Validator, registerValidationChecks } from './<%= language-id %>-validator'; |
@@ -1,3 +0,3 @@ | ||
import { ValidationAcceptor, ValidationChecks } from 'langium'; | ||
import { <%= LanguageName %>AstType, Person } from './generated/ast'; | ||
import type { ValidationAcceptor, ValidationChecks } from 'langium'; | ||
import type { <%= LanguageName %>AstType, Person } from './generated/ast'; | ||
import type { <%= LanguageName %>Services } from './<%= language-id %>-module'; | ||
@@ -4,0 +4,0 @@ |
@@ -14,2 +14,6 @@ // A launch configuration that launches the extension inside a new window | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
], | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceFolder}/out/**/*.js" | ||
] | ||
@@ -16,0 +20,0 @@ }, |
@@ -0,6 +1,5 @@ | ||
import type { LanguageClientOptions, ServerOptions} from 'vscode-languageclient/node'; | ||
import * as vscode from 'vscode'; | ||
import * as path from 'path'; | ||
import { | ||
LanguageClient, LanguageClientOptions, ServerOptions, TransportKind | ||
} from 'vscode-languageclient/node'; | ||
import { LanguageClient, TransportKind } from 'vscode-languageclient/node'; | ||
@@ -7,0 +6,0 @@ let client: LanguageClient; |
@@ -7,3 +7,3 @@ { | ||
"copy:monaco-workers": "shx cp -fr ./node_modules/monaco-editor-workers/dist/ ./public/monaco-editor-workers", | ||
"copy:monarch-syntax": "shx cp -fr ./out/syntaxes/ ./public/syntaxes", | ||
"copy:monarch-syntax": "shx cp -fr ./out/syntaxes ./public/syntaxes", | ||
"build:web": "npm run build && npm run build:monarch && npm run prepare:public && npm run build:worker && npm run copy:monaco-editor-wrapper && npm run copy:monaco-workers && npm run copy:monarch-syntax", | ||
@@ -22,4 +22,4 @@ "build:monarch": "tsc -b tsconfig.monarch.json", | ||
"shx": "^0.3.4", | ||
"esbuild": "^0.16.14" | ||
"esbuild": "^0.18.6" | ||
} | ||
} |
@@ -19,3 +19,3 @@ { | ||
], | ||
"exclude": ["out", "node-modules"] | ||
"exclude": ["out", "node_modules"] | ||
} |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
63087
1000