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

Add monaco editor for dfd output ports behavior editing #41

Merged
merged 8 commits into from
Jan 25, 2024
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"husky": "^8.0.3",
"inversify": "^6.0.2",
"lint-staged": "^15.0.2",
"monaco-editor": "^0.45.0",
"prettier": "^3.0.3",
"reflect-metadata": "^0.1.13",
"sprotty": "^1.0.0",
Expand All @@ -24,7 +25,7 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"format": "prettier --write ./**/*.{html,css,ts,tsx,json,yaml}",
"format": "prettier --write \"./**/*.{html,css,ts,tsx,json,yaml}\"",
"prepare": "husky install"
},
"lint-staged": {
Expand Down
8 changes: 2 additions & 6 deletions src/features/dfdElements/di.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ import { ArrowEdgeImpl, ArrowEdgeView, CustomRoutingHandleView } from "./edges";
import { DfdInputPortImpl, DfdInputPortView, DfdOutputPortImpl, DfdOutputPortView } from "./ports";
import { FilledBackgroundLabelView, DfdPositionalLabelView } from "./labels";
import { AlwaysSnapPortsMoveMouseListener, ReSnapPortsAfterLabelChangeCommand, PortAwareSnapper } from "./portSnapper";
import {
OutputPortEditUIMouseListener,
OutputPortEditUI,
SetDfdOutputPortBehaviorCommand,
PortBehaviorValidator,
} from "./outputPortEditUi";
import { OutputPortEditUIMouseListener, OutputPortEditUI, SetDfdOutputPortBehaviorCommand } from "./outputPortEditUi";
import { DfdEditLabelValidator, DfdEditLabelValidatorDecorator } from "./editLabelValidator";
import { PortBehaviorValidator } from "./outputPortBehaviorValidation";

import "./elementStyles.css";

Expand Down
Loading