Skip to content

Commit 26672a7

Browse files
committed
Fix copilot complaints
Signed-off-by: handreyrc <handrey.cunha@gmail.com>
1 parent 02fcc14 commit 26672a7

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

.rat-excludes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.gitattributes
22
.npmrc
33
.prettierignore
4+
.prettierrc
45
.rat-excludes
56
.rat-reports
67
pnpm-lock.yaml
78
pnpm-workspace.yaml
89
repo/graph.dot
910
repo/repo.iml
11+

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ cd editor
4141
pnpm install
4242

4343
# Build all packages in the monorepo
44-
pnpm run build:[dev / prod]
44+
pnpm run build:dev
45+
pnpm run build:prod
4546
```
4647

4748
## Development Environment

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ cd editor
3636
pnpm install
3737

3838
# Build all packages in the monorepo
39-
pnpm run build:[dev / prod]
39+
pnpm run build:dev
40+
pnpm run build:prod
4041
```

packages/eslint-config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default defineConfig([
4242
},
4343
files: ["**/*.{ts,mts,tsx}"],
4444
},
45-
globalIgnores(["**/dist/", "**/dist-storybook/", "**/node-modules/"]),
45+
globalIgnores(["**/dist/", "**/dist-storybook/", "**/node_modules/"]),
4646
]);

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"type": "module",
1616
"main": "index.js",
17-
"packageManager": "pnpm@10.29.2",
17+
"packageManager": "pnpm@10.31.0",
1818
"scripts": {
1919
"lint": "eslint ./ ",
2020
"lint:fix": "eslint ./ --fix",

packages/serverless-workflow-diagram-editor/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/serverlessworkflow/editor/issues"
1414
},
15-
"packageManager": "pnpm@10.29.2",
15+
"packageManager": "pnpm@10.31.0",
1616
"type": "module",
1717
"main": "./dist/index.js",
1818
"types": "./dist/index.d.ts",
@@ -30,7 +30,6 @@
3030
"build:dev": "pnpm clean && tsc -p tsconfig.json",
3131
"build:prod": "pnpm lint && pnpm test && pnpm clean && tsc -p tsconfig.json",
3232
"test": "jest --silent --verbose --passWithNoTests",
33-
"test:watch": "jest --watchAll",
3433
"start": "storybook dev -p 6006",
3534
"build:storybook": "pnpm clean:storybook && storybook build --output-dir ./dist-storybook"
3635
},

packages/serverless-workflow-diagram-editor/src/diagram-editor/DiagramEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type DiagramEditorProps = {
2424
};
2525

2626
export const DiagramEditor = (props: DiagramEditorProps) => {
27-
//TODO: Implement the actual compoment this is just a placeholder
27+
//TODO: Implement the actual component this is just a placeholder
2828

2929
const [alerts, setAlerts] = useState<{ title: string; variant: "success" | "danger"; key: number }[]>([]);
3030

packages/serverless-workflow-diagram-editor/stories/DiagramEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import React from "react";
18-
import "./button.css";
1918
import { DiagramEditor as SWDiagramEditor, DiagramEditorProps } from "../src/diagram-editor/DiagramEditor";
2019

2120
/** Primary UI component for user interaction */

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/* Language and Environment */
1515
"lib": ["esnext", "dom", "DOM.Iterable"],
1616
"target": "ESNext",
17-
"types": ["node", "jest"],
17+
"types": ["node"],
1818
"jsx": "react-jsx",
1919

2020
/* Type Checking */

0 commit comments

Comments
 (0)