Skip to content

Commit

Permalink
Merge pull request #13 from Arizon-Digital/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kathir-arizon authored Jan 18, 2025
2 parents 0e89057 + 7f4147f commit 4e05b94
Show file tree
Hide file tree
Showing 386 changed files with 16,460 additions and 8,096 deletions.
6 changes: 0 additions & 6 deletions .changeset/clever-fans-tickle.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/empty-ties-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": minor
---

Add orders for customer account. Now customer can open orders history or move to specific order details.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@bigcommerce/catalyst-core": patch
---

Add additional IP address header
Remove webpack chunk plugin
5 changes: 0 additions & 5 deletions .changeset/heavy-toes-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/odd-jokes-love.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/orange-cheetahs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Added aria label for compare button
5 changes: 5 additions & 0 deletions .changeset/quick-owls-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": minor
---

Uses the API responses to show better errors when adding a product to the cart.
5 changes: 5 additions & 0 deletions .changeset/slimy-months-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

UX improvements for account pages
5 changes: 5 additions & 0 deletions .changeset/slow-houses-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/create-catalyst": patch
---

Adds a platform check to check if a command is installed.
5 changes: 5 additions & 0 deletions .changeset/strange-beers-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Added localization to hardcoded strings
5 changes: 0 additions & 5 deletions .changeset/strange-beers-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-donuts-hope.md

This file was deleted.

File renamed without changes.
5 changes: 0 additions & 5 deletions .changeset/twenty-walls-flash.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/wicked-papayas-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": minor
---

If a string is not provided in the selected locale, the translation system will fallback to "en" for that specific entry.
10 changes: 3 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
# The control panel URL is of the form `https://store-{hash}.mybigcommerce.com`.
BIGCOMMERCE_STORE_HASH=

# The access token from a store-level API account. The only scope required to run Catalyst is Carts `manage`.
# See https://developer.bigcommerce.com/docs/start/authentication/api-accounts#store-level-api-accounts
BIGCOMMERCE_ACCESS_TOKEN=

# A bearer token that authorizes server-to-server requests to the GraphQL Storefront API
# See https://developer.bigcommerce.com/docs/rest-authentication/tokens/customer-impersonation-token
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN=
# A JWT Token for accessing the Storefront API. Enables server-to-server requests if allowed_cors_origins is omitted.
# See https://developer.bigcommerce.com/docs/rest-authentication/tokens#storefront-tokens
BIGCOMMERCE_STOREFRONT_TOKEN=

# The Channel ID for the selling channel being serviced by this Catalyst storefront.
# Channel ID 1 will allow you to load the same data being used on the default Stencil storefront on your store,
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ updates:
update-types: ['version-update:semver-major']
- dependency-name: 'react-day-picker'
update-types: ['version-update:semver-major']
# We are using the latest pre-releases for react and react-dom.
- dependency-name: 'react'
- dependency-name: 'react-dom'
3 changes: 2 additions & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_CACHE_SIGNATURE_KEY: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
BIGCOMMERCE_STORE_HASH: ${{ secrets.BIGCOMMERCE_STORE_HASH }}
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN: ${{ secrets.BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN }}
BIGCOMMERCE_STOREFRONT_TOKEN: ${{ secrets.BIGCOMMERCE_STOREFRONT_TOKEN }}
BIGCOMMERCE_CHANNEL_ID: ${{ secrets.BIGCOMMERCE_CHANNEL_ID }}

jobs:
lint-typecheck:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/changesets-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:

- name: Build Packages
run: pnpm --filter "./packages/**" build
env:
CLI_SEGMENT_WRITE_KEY: ${{ secrets.CLI_SEGMENT_WRITE_KEY }}

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Run Playwright tests
run: |
cd core
npx playwright test tests/ui/ --project=tests-chromium
npx playwright test tests/ui/ --project=tests-chromium
- uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -151,7 +151,7 @@ jobs:

- name: Send slack notification
uses: slackapi/[email protected]
if: ${{ steps.pr_details.outputs.draft != 'true' && failure() }}
if: ${{ steps.pr_details.outputs.draft != 'true' && steps.pr_details.outputs.pr && failure() }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:

- name: Send slack notification
uses: slackapi/[email protected]
if: ${{ steps.pr_details.outputs.draft != 'true' && failure() }}
if: ${{ steps.pr_details.outputs.draft != 'true' && steps.pr_details.outputs.pr && failure() }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
Expand Down
11 changes: 7 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Reporting security issues
If you have found a security vulnerability in an active open-source repository created and owned by BigCommerce, please report it to our [public bug bounty program](https://bugcrowd.com/bigcommerce). If you would prefer to submit via email, please send your report to [[email protected]](mailto:[email protected])
BigCommerce is dedicated to the responsible disclosure of security vulnerabilities.
If you have found a security vulnerability in an active open-source repository created and owned by BigCommerce, please report it to our [public bug bounty program](https://bugcrowd.com/bigcommerce). If you would prefer to submit via email, please send your report to [[email protected]](mailto:[email protected]).

*Note: Only submissions to our bounty program on BugCrowd will be eligible for bounties. Bounty eligibility and amounts are determined according to the program guidelines.*
We ask that you **do not** open a public GitHub issue to report security concerns.

Please ***do not*** use public issues to report security vulnerabilities.
_Note: Only submissions to our bounty program on BugCrowd will be eligible for bounties. Bounty eligibility and amounts are determined according to the program guidelines._

Bugs in 3rd-party modules should be reported to those modules’ maintainers.
_Note: Bugs in 3rd-party modules and/or dependencies should be reported to the owners/maintainers or those modules and/or dependencies, BigCommerce has no control or authority over third party content._

Thank you in advance for collaborating with us to help protect us and our customers.
10 changes: 3 additions & 7 deletions core/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ MAKESWIFT_SITE_API_KEY=
# The control panel URL is of the form `https://store-{hash}.mybigcommerce.com`.
BIGCOMMERCE_STORE_HASH=

# The access token from a store-level API account. The only scope required to run Catalyst is Carts `manage`.
# See https://developer.bigcommerce.com/docs/start/authentication/api-accounts#store-level-api-accounts
BIGCOMMERCE_ACCESS_TOKEN=

# A bearer token that authorizes server-to-server requests to the GraphQL Storefront API
# See https://developer.bigcommerce.com/docs/rest-authentication/tokens/customer-impersonation-token
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN=
# A JWT Token for accessing the Storefront API. Enables server-to-server requests if allowed_cors_origins is omitted.
# See https://developer.bigcommerce.com/docs/rest-authentication/tokens#storefront-tokens
BIGCOMMERCE_STOREFRONT_TOKEN=

# The Channel ID for the selling channel being serviced by this Catalyst storefront.
# Channel ID 1 will allow you to load the same data being used on the default Stencil storefront on your store,
Expand Down
3 changes: 3 additions & 0 deletions core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ client/generated

# secrets
.catalyst

# Build config
build-config.json
Loading

0 comments on commit 4e05b94

Please sign in to comment.