Skip to content

Commit 17e73b3

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

10 files changed

Lines changed: 22 additions & 13 deletions

File tree

.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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ cd editor
4040
# Install dependencies
4141
pnpm install
4242

43-
# Build all packages in the monorepo
44-
pnpm run build:[dev / prod]
43+
# Build all packages in the monorepo (development)
44+
pnpm run build:dev
45+
46+
# Or build all packages in the monorepo (production))
47+
pnpm run build:prod
4548
```
4649

4750
## Development Environment

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ cd editor
3535
# Install dependencies
3636
pnpm install
3737

38-
# Build all packages in the monorepo
39-
pnpm run build:[dev / prod]
38+
# Build all packages in the monorepo (development)
39+
pnpm run build:dev
40+
41+
# Or build all packages in the monorepo (production))
42+
pnpm run build:prod
4043
```

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/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ cd ./packages/serverless-workflow-diagram-editor
2828
# Install dependencies
2929
pnpm install
3030

31-
# Build all packages in the monorepo
32-
pnpm run build:[dev / prod]
31+
# Build package (development)
32+
pnpm run build:dev
33+
34+
# Or build package (production))
35+
pnpm run build:prod
3336

3437
# Build storybook static content for publishing (documentation and demo)
3538
pnpm run build:storybook

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)