Skip to content

Commit

Permalink
Merge branch 'main' into merx-1011-fix-shiping-error
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch authored Oct 8, 2024
2 parents f94ee7c + c8661c5 commit 3df2223
Show file tree
Hide file tree
Showing 11 changed files with 2,483 additions and 6,758 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-teachers-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Add e2e for managing products on draft order. Add e2e for placing draft order for non-existing customer.
5 changes: 5 additions & 0 deletions .changeset/late-pants-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": minor
---

Always add comment after tests to CORE release PR, even if previous job fails.
5 changes: 5 additions & 0 deletions .changeset/tender-garlics-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Knip was added to the codebase and workflow triggered on pull request. This means developers will now be informed about unused exports and files.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
secrets: inherit

add-comment-to-release-pr:
if: ${{ !cancelled() }}
needs: run-tests-on-release
runs-on: ubuntu-22.04
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
run: |
npm run lint
git diff --exit-code ./src
- name: Knip for unused files, dependencies and exports
run: npm run knip

jest-tests:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
!.tx
!.husky
!.changeset
!.knip.json
*.log
*.pyc
*.mo
Expand Down
50 changes: 50 additions & 0 deletions .knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"rules": {
"types": "off",
"enumMembers": "off",
"files": "off",
"exports": "off",
"duplicates": "off",
"classMembers": "error",
"nsTypes": "error",
"unresolved": "error",
"nsExports": "error",
"unlisted": "error",
"binaries": "off",
"optionalPeerDependencies": "error",
"dependencies": "error",
"devDependencies": "error"
},
"ignore": ["playwright/**", "**/*.js"],
"ignoreDependencies": [
"@graphql-codegen/typescript-apollo-client-helpers",
"@graphql-codegen/typescript-operations",
"@graphql-codegen/typescript-react-apollo",
"@graphql-codegen/add",
"@graphql-codegen/fragment-matcher",
"@graphql-codegen/import-types-preset",
"@graphql-codegen/typescript",
"@material-ui/styles",
"keycode",
"tslib",
"@swc/jest",
"@types/lodash-es",
"@types/webappsec-credential-management",
"core-js",
"identity-obj-proxy",
"moment",
"history",
"react-transition-group",
"@radix-ui/react-radio-group",
"@react-editor-js/core",
"@radix-ui/react-portal",
"@graphql-codegen/schema-ast",
"@sentry/cli",
"playwright-testmo-reporter",
"mocha",
"mochawesome",
"mochawesome-report-generator",
"mochawesome-merge"
]
}
Loading

0 comments on commit 3df2223

Please sign in to comment.