Skip to content

Commit

Permalink
Merge pull request #62 from commercelayer/update-deps
Browse files Browse the repository at this point in the history
Allow express payments when embedded + update dependencies
  • Loading branch information
gciotola authored Feb 7, 2024
2 parents 5d51364 + 9943eb9 commit b803433
Show file tree
Hide file tree
Showing 8 changed files with 571 additions and 6,045 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
- checkout
- <<: *setup
- run:
name: Test
name: Audit
command: pnpm audit --audit-level high --ignore-registry-errors
- run:
name: Test
command: pnpm test
build:
<<: *image
Expand All @@ -41,15 +44,14 @@ jobs:
to: "s3://$S3_ASSETS_BUCKET/team/fe-static-apps/$PUBLIC_PROJECT_PATH/<<pipeline.git.tag>>"

workflows:

run-tests:
jobs:
- test:
context: commercelayer
filters:
tags:
ignore: /v.*/

test-build-and-push:
jobs:
- test:
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@
"packages/*"
],
"devDependencies": {
"lerna": "^8.0.1",
"npm-check-updates": "^16.14.12"
"husky": "^9.0.10",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.14.14"
},
"resolutions": {
"@babel/traverse": "^7.23.7",
"follow-redirects": "^1.15.5",
"semver": "^7.5.4"
}
}
6 changes: 6 additions & 0 deletions packages/cart/.lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"*.{js,jsx,ts,tsx}": [
"pnpm lint:fix",
"bash -c \"pnpm test && pnpm build\""
]
}
42 changes: 21 additions & 21 deletions packages/cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,53 +38,53 @@
},
"dependencies": {
"@commercelayer/js-auth": "^4.2.0",
"@commercelayer/react-components": "^4.8.4",
"@commercelayer/react-components": "^4.9.0",
"@commercelayer/react-utils": "1.0.0-beta.3",
"@commercelayer/sdk": "5.26.0",
"@playwright/test": "^1.40.1",
"@commercelayer/sdk": "5.31.1",
"@playwright/test": "^1.41.2",
"@types/async-retry": "1.4.8",
"@types/iframe-resizer": "^3.5.13",
"@types/node": "20.10.6",
"@types/react": "18.2.46",
"@types/node": "20.11.16",
"@types/react": "18.2.55",
"@types/react-dom": "18.2.18",
"@types/react-gtm-module": "^2.0.3",
"@vitejs/plugin-react": "^4.2.1",
"async-retry": "^1.3.3",
"autoprefixer": "^10.4.16",
"autoprefixer": "^10.4.17",
"classnames": "^2.5.1",
"cron-parser": "^4.9.0",
"cronstrue": "^2.47.0",
"dotenv": "^16.3.1",
"i18next": "^23.7.13",
"cronstrue": "^2.48.0",
"dotenv": "^16.4.1",
"i18next": "^23.8.2",
"jwt-decode": "^4.0.0",
"postcss": "^8.4.32",
"postcss": "^8.4.34",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-gtm-module": "^2.0.11",
"react-helmet-async": "^2.0.4",
"react-i18next": "^14.0.0",
"react-i18next": "^14.0.5",
"rollup-plugin-visualizer": "^5.12.0",
"tailwindcss": "^3.4.0",
"tailwindcss": "^3.4.1",
"typescript": "5.3.3",
"vite": "^5.0.10",
"vitest": "^1.1.1",
"wouter": "^2.12.1"
"vite": "^5.0.12",
"vitest": "^1.2.2",
"wouter": "^3.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"jsdom": "^23.0.1",
"prettier": "^3.1.1"
"jsdom": "^24.0.0",
"prettier": "^3.2.5"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit b803433

Please sign in to comment.