Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-ISSUE: Remove @kie-tools/backend #2714

Merged
merged 7 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading