Skip to content

Commit

Permalink
NO-ISSUE: Remove @kie-tools/backend (apache#2714)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobento authored Oct 30, 2024
1 parent c60e8c4 commit d0418c4
Show file tree
Hide file tree
Showing 92 changed files with 65 additions and 3,314 deletions.
1 change: 0 additions & 1 deletion examples/base64png-editor-vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"watch": "export WEBPACK__sourceMaps=true; WEBPACK__minimize=false; webpack --env dev"
},
"dependencies": {
"@kie-tools-core/backend": "workspace:*",
"@kie-tools-core/editor": "workspace:*",
"@kie-tools-core/i18n": "workspace:*",
"@kie-tools-core/patternfly-base": "workspace:*",
Expand Down
10 changes: 0 additions & 10 deletions examples/base64png-editor-vscode-extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,13 @@

import * as vscode from "vscode";
import * as KogitoVsCode from "@kie-tools-core/vscode-extension";
import { VsCodeBackendProxy } from "@kie-tools-core/backend/dist/vscode";
import { I18n } from "@kie-tools-core/i18n/dist/core";
import { backendI18nDefaults, backendI18nDictionaries } from "@kie-tools-core/backend/dist/i18n";
import * as path from "path";
import * as fs from "fs";
import { EditorEnvelopeLocator, EnvelopeContentType, EnvelopeMapping } from "@kie-tools-core/editor/dist/api";

let backendProxy: VsCodeBackendProxy;

export function activate(context: vscode.ExtensionContext) {
console.info("Extension is alive.");

const backendI18n = new I18n(backendI18nDefaults, backendI18nDictionaries, vscode.env.language);
backendProxy = new VsCodeBackendProxy(context, backendI18n);

/**
* Starts the extension and set initial properties:
*
Expand All @@ -58,7 +50,6 @@ export function activate(context: vscode.ExtensionContext) {
envelopeContent: { type: EnvelopeContentType.PATH, path: "dist/envelope/index.js" },
}),
]),
backendProxy: backendProxy,
});

/**
Expand Down Expand Up @@ -92,5 +83,4 @@ export function activate(context: vscode.ExtensionContext) {

export function deactivate() {
console.info("Extension is deactivating");
backendProxy?.stopServices();
}
201 changes: 0 additions & 201 deletions packages/backend/LICENSE

This file was deleted.

44 changes: 0 additions & 44 deletions packages/backend/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions packages/backend/env/index.js

This file was deleted.

29 changes: 0 additions & 29 deletions packages/backend/jest.config.js

This file was deleted.

Loading

0 comments on commit d0418c4

Please sign in to comment.