1
0
mirror of https://github.com/vercel/commerce.git synced 2025-08-14 21:01:23 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Lee Robinson
fd9450aecb Next.js Commerce refresh. ()
We're making some updates to Next.js Commerce. Everything prior to this commit marks what we're calling [`v1`](https://github.com/vercel/commerce/releases/tag/v1) as a point in time to be able to reference and still use going into the future. The current architecture of Commerce is a multi-vendor, interoperable solution, including:

- [Shopify](https://shopify.vercel.store/)
- [Swell](https://swell.vercel.store/)
- [BigCommerce](https://bigcommerce.vercel.store/)
- [Vendure](https://vendure.vercel.store/)
- [Saleor](https://saleor.vercel.store/)
- [Ordercloud](https://ordercloud.vercel.store/)
- [Spree](https://spree.vercel.store/)
- [Kibo Commerce](https://kibocommerce.vercel.store/)
- [Commerce.js](https://commercejs.vercel.store/)
- [SalesForce Cloud Commerce](https://salesforce-cloud-commerce.vercel.store/)

All features can be toggled on or off, and it's easy to change between commerce providers. To support this, we needed to create a ["commerce metaframework"](d1d9e8c434/packages/commerce/new-provider.md) where providers could confirm to an API spec to add support for Next.js Commerce. While this worked and was successful for `v1`, we have different design goals and ambitions for `v2`.

**What You Need To Know**

- `v1` will not be updated moving forward. If you need to reference `v1`, you will still be able to clone and deploy the version tagged at this release.
- `v2` will be shifting to be a single provider vs. provider agnostic. Other providers are welcome to fork this repository and swap out the underlying `lib/` implementation that connects to the selected commerce provider (Shopify). This architecture was chosen to reduce the surface area of the codebase, remove the intermediate metaframework layer for provider-interoperability, and enable usage with the latest Next.js and React features.
- We will be sharing more about `v2` in the future as we continue to iterate before the marked release.
2023-04-17 22:00:47 -05:00
Luis Alvarez D
0afe686fe9 Monorepo with Turborepo ()
* Moved everything

* Figuring out how to make imports work

* Updated exports

* Added missing exports

* Added @vercel/commerce-local to `site`

* Updated commerce config

* Updated exports and commerce config

* Updated commerce hoc

* Fixed exports in local

* Added publish config

* Updated imports in site

* It's actually working

* Don't use debugger in dev for better speeds

* Improved DX when editing packages

* Set up eslint with husky

* Updated prettier config

* Added prettier setup to every package

* Moved bigcommerce

* Moved Bigcommerce to src and package updates

* Updated setup of bigcommerce

* Moved definitions script

* Moved commercejs

* Move to src

* Fixed types in commercejs

* Moved kibocommerce

* Moved kibocommerce to src

* Added package/tsconfig to kibocommerce

* Fixed imports and other things

* Moved ordercloud

* Moved ordercloud to src

* Fixed imports

* Added missing prettier files

* Moved Saleor

* Moved Saleor to src

* Fixed imports

* Replaced all imports to @commerce

* Added prettierignore/rc to all providers

* Moved shopify to src

* Build shopify in packages

* Moved Spree

* Moved spree to src

* Updated spree

* Moved swell

* Moved swell to src

* Fixed type imports in swell

* Moved Vendure to packages

* Moved vendure to src

* Fixed imports in vendure

* Added codegen to saleor

* Updated codegen setup for shopify

* Added codegen to vendure

* Added codegen to kibocommerce

* Added all packages to site's deps

* Updated codegen setup in bigcommerce

* Minor fixes

* Updated providers' names in site

* Updated packages based on Bel's changes

* Updated turbo to latest

* Fixed ts complains

* Set npm engine in root

* New lockfile install

* remove engines

* Regen lockfile

* Switched from npm to yarn

* Updated typesVersions in all packages

* Moved dep

* Updated SWR to the just released 1.2.0

* Removed "isolatedModules" from packages

* Updated list of providers and default

* Updated swell declaration

* Removed next import from kibocommerce

* Added COMMERCE_PROVIDER log

* Added another log

* Updated turbo config

* Updated docs

* Removed test logs

Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
2022-02-01 14:14:05 -05:00
B
f3cdbe682b Bump ()
* Packages Bump

* Code Updated

* More API Changes

* Working updates

* Updated Tailwind Config

* SWR API updates

* More changes

* Commercejs Types

* Commercejs Types

* Commercejs Types
2022-01-13 15:30:14 +01:00
B
78cc378a72 New Release ()
* Custom Checkout Progress

* Updates to Checkout

* Custom Checkout Progress

* Adding tabs

* Adding Collapse

* Adding Collapse

* Improving Sidebar Scroll

* Modif footer

* Changes

* More design updates

* sidebar cart

* More design updates

* More design updates

* More design updates

* More design updates

* Types

* Types

* Design Updates

* More changes

* More changes

* More changes

* Changes

* Changes

* Changes

* New tailwind required changes

* Sidebar Styling issues with Mobile

* Latest changes - Normalizing cart

* Styling Fixes

* New changes

* Changes

* latest

* Refactor and Renaming some UI Props

* Adding Quantity Component

* Adding Rating Component

* Rating Component

* More updates

* User Select disabled, plus hidding horizontal scroll bars

* Changes

* Adding ProductOptions Component and more helpers

* Styling updates

* Styling updates

* Fix for slim tags

* Missmatch with RightArrow

* Footer updates and some styles

* Latest Updates

* Latest Updates

* Latest Updates

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Sam backdrop filter

* General UI Improvements

* General UI Improvements

* Search now with Geist Colors

* Now with Geist Colors

* Changes

* Scroll for Mobile on IOs devises

* LoadingDots Working (:

* Changes

* More Changes

* Perf changes

* More perf changes

* Fade to the Nametags in the ProductCard

* changes

* Search issue ui

* Search issue ui

* Make sure to only refresh navbar and modals when required

* Index revalidate

* Fixed image issue

* hide album scroll on windows

* Fix scrollbar

* Changing

* Adding 404 with Layout

* Removing Toast

* Adding Assets

* Adding Assets

* Progress with LocalProvider

* New productTag

* Only images for the drop

* changes

* Empty SWRhooks

* Adding Local Provider

* Working local

* Working view of a LocalProvider

* More updates

* Changes

* Removed react-ticker

* default to local if no env available

* default to local if no env available

* add missing `@` to css import

* rewrite search rewrites to multiple pages

* allow requests in getStaticProps to execute in parallel

* make type import explicit

* add a tsconfig.js file

* use local provider in tsconfig.js

* avoid a circular dependency

* Saleor was not in the providers list

* avoid circular dependency in bigcommerce

* Adding more to the Local Provider ()

* Adding more data

* Adding more data

* optimize assets ()

* Optimize assets ()

* optimize assets

* remove assets

* remove assets

* cart enabled

* Adding saleor

* Changes with Webpack

* Changes

Co-authored-by: Luis Alvarez <luis@vercel.com>
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Co-authored-by: Shu Ding <g@shud.in>
2021-06-15 20:23:17 -03:00
B
b121078151 Updates ()
* userAvatar

* Avatar background

* Changes

* Removing unused dependencies

* Count Bag small and for bigger numbers

* decresed bundle size
2021-02-04 15:03:44 -05:00
B
66b8bdb6bb Focus trap and Modal Functionality ()
* Focus trap and Modal Functionality

* Changes

* Changes

* Update components/ui/Modal/Modal.tsx

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

* changes

Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2021-01-09 11:03:03 -03:00
Belen Curcio
a565e0b87c Adding new future flag 2020-12-21 14:42:46 -03:00
Bel Curcio
57627df590 Hover State 2020-12-08 10:29:45 -03:00
Belen Curcio
c2a115ca57 Adding Analyzer, Adding more Purge CSS Options 2020-11-06 20:09:33 -03:00
Willian Justen de Vasconcellos
a0fee94223 Change extra-loose size to accomodate system font 2020-10-28 11:47:45 -03:00
Willian Justen de Vasconcellos
48e35c9163 Fix overlaping product titles on mobile
Add an `extra-loose` line-height so it prevents
produt title to overlap on mobile screens.
2020-10-28 11:45:45 -03:00
Brandon Pittman
b4056b901c Update tailwind.config.js
Tailwind already includes a .75 bgOpacity utility.

https://tailwindcss.com/docs/background-opacity#app
2020-10-28 11:43:46 +09:00
Belen Curcio
ea0e193966 changes 2020-10-26 11:23:53 -03:00
Belen Curcio
24c1c6c70b Stable refactor 2020-10-26 11:09:12 -03:00
Belen Curcio
351725d322 Old Config 2020-10-26 10:49:21 -03:00
Belen Curcio
876cadf8b8 Trying new purge 2020-10-26 10:31:44 -03:00
Belen Curcio
4ff7887771 Trying new purge 2020-10-26 10:27:57 -03:00
Belen Curcio
222c96472b Trying new purge 2020-10-26 10:26:04 -03:00
Belen Curcio
83725b3434 Tailwind purge errores 2020-10-25 13:41:16 -03:00
Belen Curcio
002885090d Image Pass 2020-10-25 13:29:52 -03:00
Belen Curcio
3398d2811a Testing new TailwindConfig 2020-10-24 18:09:48 -03:00
Belen Curcio
1ee44acf59 Testing new TailwindConfig 2020-10-24 18:02:23 -03:00
Julián Benegas
a64c805b45 Merge branch 'master' into jb/product-improvements 2020-10-22 19:17:51 -03:00
Julián Benegas
791c4c2fcc add keen slider and apply to product slider 2020-10-22 19:10:09 -03:00
Belen Curcio
400e40358b New Container 2020-10-22 18:13:45 -03:00
Julián Benegas
c22789176d sticky nav, better dropdown exit 2020-10-21 18:32:32 -03:00
Belen Curcio
d2b36737bf More size for Product View 2020-10-20 15:56:21 -03:00
Belen Curcio
0c9f3ef8d0 Normalizing Style Sheets 2020-10-15 16:12:46 -03:00
Belen Curcio
ab45e28813 Normalizing Style Sheets 2020-10-15 16:00:11 -03:00
Belen Curcio
8f90757eda Changes 2020-10-14 19:36:59 -03:00
Belen Curcio
04d79f1f7f Loading State for Button 2020-10-14 17:21:29 -03:00
Belen Curcio
ced85970f8 Gradient Avatar 2020-10-14 12:44:03 -03:00
Belen Curcio
f13d71d44c Most Changes 2020-10-13 14:59:36 -03:00
Belen Curcio
6978b4d4bb Design Tweaks 2020-10-13 14:34:24 -03:00
Belen Curcio
038d02acc2 changes to the layout 2020-10-13 11:43:06 -03:00
Belen Curcio
7efda91b11 Changes to BLog 2020-10-13 09:52:18 -03:00
Belen Curcio
6bf209eccd Adding partial night mode 2020-10-12 21:40:39 -03:00
Luis Alvarez
e2a9bb6b20 Enable purgeLayersByDefault 2020-10-12 16:35:01 -05:00
paco
6dae061425 Add error, empty, success states to cart sidebar 2020-10-08 18:37:11 -06:00
Belen Curcio
3f39d31cc5 new logo 2020-10-03 11:00:08 -03:00
Luis Alvarez
0ef6449aff Apply prettier over all files 2020-10-01 20:40:40 -05:00
Belen Curcio
de949095d7 ProductGrid 2020-10-01 17:25:48 -03:00
Luis Alvarez
eb44455cde Changes 2020-09-30 11:44:38 -05:00