diff --git a/.github/workflows/deploy-docs-preview.yaml b/.github/workflows/deploy-docs-preview.yaml index 5e497436f..2cd9cdfab 100644 --- a/.github/workflows/deploy-docs-preview.yaml +++ b/.github/workflows/deploy-docs-preview.yaml @@ -1,46 +1,80 @@ -name: Deploy docs preview to Pages - -on: - pull_request: - types: - - opened - - reopened - - synchronize - - closed - -concurrency: preview-${{ github.ref }} - -defaults: - run: - working-directory: ./docs - -jobs: - # Deploy preview job - deploy-preview: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: "./docs/package-lock.json" - - name: Setup Pages - uses: actions/configure-pages@v4 - - name: Install dependencies - if: github.event.action != 'closed' - run: npm ci - - name: Build with VitePress - if: github.event.action != 'closed' - run: npm run docs:build --base=/docs/preview/${{ github.event.number }} - - name: Deploy preview - uses: rossjrw/pr-preview-action@v1 - with: - source-dir: docs/.vitepress/dist - umbrella-dir: docs/pr-preview - action: auto - token: ${{ secrets.PREVIEW_TOKEN }} +# name: Deploy docs preview to Pages +# +# on: +# pull_request: +# types: +# - opened +# - reopened +# - synchronize +# - closed +# +# concurrency: preview-${{ github.ref }} +# +# defaults: +# run: +# working-directory: ./docs +# +# jobs: +# # Deploy preview job +# deploy-preview: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# with: +# fetch-depth: 0 +# +# - name: Setup Node +# uses: actions/setup-node@v4 +# with: +# node-version: 20 +# cache: npm +# cache-dependency-path: "./docs/package-lock.json" +# +# - name: Setup Pages +# uses: actions/configure-pages@v4 +# - name: Install dependencies +# if: github.event.action != 'closed' +# run: npm ci +# +# - name: Build with VitePress +# if: github.event.action != 'closed' +# run: npm run docs:build --base=/dystore/previews/pr-${{ github.event.number }}/ +# +# - name: Upload artifact +# uses: actions/upload-pages-artifact@v3 +# with: +# path: ./docs/.vitepress/dist +# +# - name: Deploy preview +# id: preview-step +# uses: rossjrw/pr-preview-action@v1 +# with: +# preview-branch: ${{ env.PREVIEW_BRANCH }} +# source-dir: ./docs/.vitepress/dist +# umbrella-dir: previews +# action: auto +# token: ${{ secrets.PREVIEW_TOKEN }} +# comment: false +# +# - name: Comment on deploy +# uses: marocchino/sticky-pull-request-comment@v2 +# if: steps.preview-step.outputs.deployment-action == 'deploy' && env.deployment_status == 'success' +# with: +# header: pr-preview +# message: | +# Documentation preview +# :---: +# |

✅ View preview at: ${{ steps.preview-step.outputs.preview-url }}

+# |
Built to branch [`${{ env.PREVIEW_BRANCH }}`](${{ github.server_url }}/${{ github.repository }}/tree/${{ env.PREVIEW_BRANCH }}) at ${{ steps.preview-step.outputs.action-start-time }}.
Preview will be ready when the [GitHub Pages deployment](${{ github.server_url }}/${{ github.repository }}/deployments) is complete.

+# +# - name: Comment on removal +# uses: marocchino/sticky-pull-request-comment@v2 +# if: steps.preview-step.outputs.deployment-action == 'remove' && env.deployment_status == 'success' +# with: +# header: pr-preview +# message: | +# Documentation preview +# :---: +# Preview removed because the pull request was closed. +# ${{ steps.preview-step.outputs.action-start-time }} diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 0440eb666..50335b2b7 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -27,18 +27,23 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Setup Node uses: actions/setup-node@v4 with: node-version: 20 cache: npm cache-dependency-path: "./docs/package-lock.json" + - name: Setup Pages uses: actions/configure-pages@v4 + - name: Install dependencies run: npm ci + - name: Build with VitePress - run: npm run docs:build --base=/docs/ + run: npm run docs:build --base=/dystore/docs/ + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index d2968a176..dbec32123 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -3,8 +3,9 @@ import { defineConfig } from "vitepress"; // https://vitepress.dev/reference/site-config export default defineConfig({ lang: "en-US", - title: "Lunar API Documentation", - description: "API layer for Lunar ecommerce package", + title: "Dystore Documentation", + description: + "Collection of packages for ecommerce applications based on Lunar", themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [{ text: "Home", link: "/" }], @@ -74,7 +75,7 @@ export default defineConfig({ ], socialLinks: [ - { icon: "github", link: "https://github.com/dystcz/lunar-api" }, + { icon: "github", link: "https://github.com/dystcz/dystore" }, { icon: "twitter", link: "https://twitter.com/dystcz" }, ], }, diff --git a/docs/index.md b/docs/index.md index 6cb881d37..96ffc5d26 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,9 +3,9 @@ layout: home hero: - name: "Lunar API" + name: "Dystore" text: "Documentation" - tagline: API layer for your Lunar application + tagline: Collection of packages for your Lunar application actions: - theme: brand text: Getting started @@ -21,7 +21,7 @@ features: link: /extending/overview - icon: 📦 title: Package ecosystem - details: Wannabe ecosystem of complementary packages with emphasis on the plug and play spirit + details: Ecosystem of complementary packages with emphasis on the plug and play spirit link: /more/compatible-packages - icon: 🧑‍💻 title: Continuously developed diff --git a/docs/overview.md b/docs/overview.md index 4002bc39b..3a982efd1 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -1,4 +1,4 @@ -# Dystore API 🪬 +# Dystore 🪬 ## What's going on here? @@ -12,16 +12,16 @@ easily build features to meet your project's needs. ## Some perks -- Focus on extensibility -- Wannabe ecosystem of [complementary packages](./more/compatible-packages.md) - with emphasis on the plug and play spirit -- Already running in production 🤫 -- Built on top of [Laravel JSON:API](https://github.com/laravel-json-api/laravel) +- Focus on extensibility +- Wannabe ecosystem of [complementary packages](./more/compatible-packages.md) + with emphasis on the plug and play spirit +- Already running in production 🤫 +- Built on top of [Laravel JSON:API](https://github.com/laravel-json-api/laravel) ## Features -- Configurable checkout flow with guest checkout -- Solid extensibility (Models, Schemas, Resources, Routes, ...) -- Payment adapters registrar - (currently [Stripe](https://github.com/dystcz/dystore-stripe) +- Configurable checkout flow with guest checkout +- Solid extensibility (Models, Schemas, Resources, Routes, ...) +- Payment adapters registrar + (currently [Stripe](https://github.com/dystcz/dystore-stripe) diff --git a/docs/package-lock.json b/docs/package-lock.json index e50d2ac95..8fdb3a71d 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -4,9 +4,6 @@ "requires": true, "packages": { "": { - "dependencies": { - "@rollup/rollup-linux-x64-gnu": "*" - }, "devDependencies": { "vitepress": "^1.1.4", "vue": "^3.4.27" diff --git a/packages/api/docs/.gitignore b/packages/api/docs/.gitignore deleted file mode 100644 index 550656824..000000000 --- a/packages/api/docs/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -.vitepress/cache -.vitepress/dist diff --git a/packages/api/docs/.vitepress/config.mts b/packages/api/docs/.vitepress/config.mts deleted file mode 100644 index d2968a176..000000000 --- a/packages/api/docs/.vitepress/config.mts +++ /dev/null @@ -1,81 +0,0 @@ -import { defineConfig } from "vitepress"; - -// https://vitepress.dev/reference/site-config -export default defineConfig({ - lang: "en-US", - title: "Lunar API Documentation", - description: "API layer for Lunar ecommerce package", - themeConfig: { - // https://vitepress.dev/reference/default-theme-config - nav: [{ text: "Home", link: "/" }], - - sidebar: [ - { - text: "Getting started", - items: [ - { text: "Overview", link: "/overview" }, - { text: "Installation", link: "/installation" }, - { text: "Configuration", link: "/configuration" }, - { text: "Initial Setup", link: "/initial-setup" }, - { text: "Upgrade Guide", link: "/upgrade-guide" }, - ], - collapsed: false, - }, - { - text: "Reference", - items: [ - { text: "Overview", link: "/reference/overview" }, - { text: "Addresses", link: "/reference/addresses" }, - { text: "Attributes", link: "/reference/attributes" }, - { text: "Auth", link: "/reference/auth" }, - { text: "Brands", link: "/reference/brands" }, - { text: "Carts", link: "/reference/carts" }, - { text: "Collections", link: "/reference/collections" }, - { text: "Customers", link: "/reference/customers" }, - { text: "Orders", link: "/reference/orders" }, - { - text: "Payment Options", - link: "/reference/payment-options", - }, - { text: "Products", link: "/reference/products" }, - { text: "Users", link: "/reference/users" }, - ], - collapsed: false, - }, - { - text: "Extending", - items: [ - { text: "Overview", link: "/extending/overview" }, - { text: "Route groups", link: "/extending/route-groups" }, - { text: "Controllers", link: "/extending/controllers" }, - { text: "Models", link: "/extending/models" }, - { text: "Policies", link: "/extending/policies" }, - { text: "Queries", link: "/extending/queries" }, - { text: "Schemas", link: "/extending/schemas" }, - { text: "Resources", link: "/extending/resources" }, - { text: "Examples", link: "/extending/examples" }, - ], - collapsed: false, - }, - { - text: "Extras", - items: [ - { - text: "Compatible packages", - link: "/more/compatible-packages", - }, - { - text: "Userful resources", - link: "/more/useful-resources", - }, - ], - collapsed: false, - }, - ], - - socialLinks: [ - { icon: "github", link: "https://github.com/dystcz/lunar-api" }, - { icon: "twitter", link: "https://twitter.com/dystcz" }, - ], - }, -}); diff --git a/packages/api/docs/.vitepress/dist/.gitkeep b/packages/api/docs/.vitepress/dist/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/packages/api/docs/.vitepress/theme/index.ts b/packages/api/docs/.vitepress/theme/index.ts deleted file mode 100644 index def4cfc87..000000000 --- a/packages/api/docs/.vitepress/theme/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -// https://vitepress.dev/guide/custom-theme -import { h } from 'vue' -import type { Theme } from 'vitepress' -import DefaultTheme from 'vitepress/theme' -import './style.css' - -export default { - extends: DefaultTheme, - Layout: () => { - return h(DefaultTheme.Layout, null, { - // https://vitepress.dev/guide/extending-default-theme#layout-slots - }) - }, - enhanceApp({ app, router, siteData }) { - // ... - } -} satisfies Theme diff --git a/packages/api/docs/.vitepress/theme/style.css b/packages/api/docs/.vitepress/theme/style.css deleted file mode 100644 index d63aee82d..000000000 --- a/packages/api/docs/.vitepress/theme/style.css +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Customize default theme styling by overriding CSS variables: - * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css - */ - -/** - * Colors - * - * Each colors have exact same color scale system with 3 levels of solid - * colors with different brightness, and 1 soft color. - * - * - `XXX-1`: The most solid color used mainly for colored text. It must - * satisfy the contrast ratio against when used on top of `XXX-soft`. - * - * - `XXX-2`: The color used mainly for hover state of the button. - * - * - `XXX-3`: The color for solid background, such as bg color of the button. - * It must satisfy the contrast ratio with pure white (#ffffff) text on - * top of it. - * - * - `XXX-soft`: The color used for subtle background such as custom container - * or badges. It must satisfy the contrast ratio when putting `XXX-1` colors - * on top of it. - * - * The soft color must be semi transparent alpha channel. This is crucial - * because it allows adding multiple "soft" colors on top of each other - * to create a accent, such as when having inline code block inside - * custom containers. - * - * - `default`: The color used purely for subtle indication without any - * special meanings attched to it such as bg color for menu hover state. - * - * - `brand`: Used for primary brand colors, such as link text, button with - * brand theme, etc. - * - * - `tip`: Used to indicate useful information. The default theme uses the - * brand color for this by default. - * - * - `warning`: Used to indicate warning to the users. Used in custom - * container, badges, etc. - * - * - `danger`: Used to show error, or dangerous message to the users. Used - * in custom container, badges, etc. - * -------------------------------------------------------------------------- */ - - :root { - --vp-c-default-1: var(--vp-c-gray-1); - --vp-c-default-2: var(--vp-c-gray-2); - --vp-c-default-3: var(--vp-c-gray-3); - --vp-c-default-soft: var(--vp-c-gray-soft); - - --vp-c-brand-1: var(--vp-c-indigo-1); - --vp-c-brand-2: var(--vp-c-indigo-2); - --vp-c-brand-3: var(--vp-c-indigo-3); - --vp-c-brand-soft: var(--vp-c-indigo-soft); - - --vp-c-tip-1: var(--vp-c-brand-1); - --vp-c-tip-2: var(--vp-c-brand-2); - --vp-c-tip-3: var(--vp-c-brand-3); - --vp-c-tip-soft: var(--vp-c-brand-soft); - - --vp-c-warning-1: var(--vp-c-yellow-1); - --vp-c-warning-2: var(--vp-c-yellow-2); - --vp-c-warning-3: var(--vp-c-yellow-3); - --vp-c-warning-soft: var(--vp-c-yellow-soft); - - --vp-c-danger-1: var(--vp-c-red-1); - --vp-c-danger-2: var(--vp-c-red-2); - --vp-c-danger-3: var(--vp-c-red-3); - --vp-c-danger-soft: var(--vp-c-red-soft); -} - -/** - * Component: Button - * -------------------------------------------------------------------------- */ - -:root { - --vp-button-brand-border: transparent; - --vp-button-brand-text: var(--vp-c-white); - --vp-button-brand-bg: var(--vp-c-brand-3); - --vp-button-brand-hover-border: transparent; - --vp-button-brand-hover-text: var(--vp-c-white); - --vp-button-brand-hover-bg: var(--vp-c-brand-2); - --vp-button-brand-active-border: transparent; - --vp-button-brand-active-text: var(--vp-c-white); - --vp-button-brand-active-bg: var(--vp-c-brand-1); -} - -/** - * Component: Home - * -------------------------------------------------------------------------- */ - -:root { - --vp-home-hero-name-color: transparent; - --vp-home-hero-name-background: -webkit-linear-gradient( - 120deg, - #bd34fe 30%, - #41d1ff - ); - - --vp-home-hero-image-background-image: linear-gradient( - -45deg, - #bd34fe 50%, - #47caff 50% - ); - --vp-home-hero-image-filter: blur(44px); -} - -@media (min-width: 640px) { - :root { - --vp-home-hero-image-filter: blur(56px); - } -} - -@media (min-width: 960px) { - :root { - --vp-home-hero-image-filter: blur(68px); - } -} - -/** - * Component: Custom Block - * -------------------------------------------------------------------------- */ - -:root { - --vp-custom-block-tip-border: transparent; - --vp-custom-block-tip-text: var(--vp-c-text-1); - --vp-custom-block-tip-bg: var(--vp-c-brand-soft); - --vp-custom-block-tip-code-bg: var(--vp-c-brand-soft); -} - -/** - * Component: Algolia - * -------------------------------------------------------------------------- */ - -.DocSearch { - --docsearch-primary-color: var(--vp-c-brand-1) !important; -} - diff --git a/packages/api/docs/configuration.md b/packages/api/docs/configuration.md deleted file mode 100644 index 7dfc02a79..000000000 --- a/packages/api/docs/configuration.md +++ /dev/null @@ -1,11 +0,0 @@ -# Configuration - -## General configuration - -## Domain configuration - -## JsonApi configuration - -## Actions - -## HashIds diff --git a/packages/api/docs/extending/controllers.md b/packages/api/docs/extending/controllers.md deleted file mode 100644 index aee7e14c0..000000000 --- a/packages/api/docs/extending/controllers.md +++ /dev/null @@ -1,5 +0,0 @@ -# Controllers - -## Overview - -## Extending controllers diff --git a/packages/api/docs/extending/examples.md b/packages/api/docs/extending/examples.md deleted file mode 100644 index 7fc6c44b0..000000000 --- a/packages/api/docs/extending/examples.md +++ /dev/null @@ -1,8 +0,0 @@ -# Extending examples - -## Add reviews to products - -> [!NOTE] -> This example demonstrates how [dystore-reviews](https://github.com/dystcz/dystore-reviews) -> extends schemas and resources. -> It also shows how to register dynamic model relationships. diff --git a/packages/api/docs/extending/models.md b/packages/api/docs/extending/models.md deleted file mode 100644 index 7958f5b95..000000000 --- a/packages/api/docs/extending/models.md +++ /dev/null @@ -1,5 +0,0 @@ -# Models - -## Overview - -## Extending models diff --git a/packages/api/docs/extending/overview.md b/packages/api/docs/extending/overview.md deleted file mode 100644 index 38fd82f6b..000000000 --- a/packages/api/docs/extending/overview.md +++ /dev/null @@ -1,20 +0,0 @@ -# Overview - -This packages was crafted with extensibility in mind. -It is designed to be easily extended with new functionality. -This document will guide you through the process of extending the package. - -## Extending - -- [Models](./models.md), allowing you to use your own models with the package. -- [Controllers](./controllers.md), which may come in handy when you need to add custom logic to your endpoints. -- [Route groups](./route-groups.md) to customize the way your routes are registered. -- [Policies](./policies.md) in order to control access to your resources. -- [Queries](./queries.md) to customize the way you fetch data from the database. -- JsonApi [Schemas](./schemas.md) to customize fields, relationships, filters, sorting and more. -- JsonApi [Resources](./resources.md) to customize the way your data is presented. - -## Configuration - -You can also configure the behavior of this package by changing the configutation files. -Head over to the [configuration](../configuration.md) page to learn more. diff --git a/packages/api/docs/extending/policies.md b/packages/api/docs/extending/policies.md deleted file mode 100644 index b00fbb52b..000000000 --- a/packages/api/docs/extending/policies.md +++ /dev/null @@ -1,5 +0,0 @@ -# Policies - -## Overview - -## Extending policies diff --git a/packages/api/docs/extending/queries.md b/packages/api/docs/extending/queries.md deleted file mode 100644 index ebd0760b6..000000000 --- a/packages/api/docs/extending/queries.md +++ /dev/null @@ -1 +0,0 @@ -# Queries diff --git a/packages/api/docs/extending/resources.md b/packages/api/docs/extending/resources.md deleted file mode 100644 index 6f8554ec2..000000000 --- a/packages/api/docs/extending/resources.md +++ /dev/null @@ -1,5 +0,0 @@ -# Resources - -## Extendable JsonApi resources - -### Examples diff --git a/packages/api/docs/extending/route-groups.md b/packages/api/docs/extending/route-groups.md deleted file mode 100644 index ce795ab15..000000000 --- a/packages/api/docs/extending/route-groups.md +++ /dev/null @@ -1 +0,0 @@ -# Route groups diff --git a/packages/api/docs/extending/schemas.md b/packages/api/docs/extending/schemas.md deleted file mode 100644 index 83405fa2d..000000000 --- a/packages/api/docs/extending/schemas.md +++ /dev/null @@ -1,5 +0,0 @@ -# Schemas - -## Extendable JsonApi schemas - -### Examples diff --git a/packages/api/docs/index.md b/packages/api/docs/index.md deleted file mode 100644 index 6cb881d37..000000000 --- a/packages/api/docs/index.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -# https://vitepress.dev/reference/default-theme-home-page -layout: home - -hero: - name: "Lunar API" - text: "Documentation" - tagline: API layer for your Lunar application - actions: - - theme: brand - text: Getting started - link: /overview - - theme: alt - text: Reference - link: /reference/overview - -features: - - icon: 🏗️ - title: Highly customizable - details: This package aims to be maximally extensible, allowing you to build features to meet your project's needs. - link: /extending/overview - - icon: 📦 - title: Package ecosystem - details: Wannabe ecosystem of complementary packages with emphasis on the plug and play spirit - link: /more/compatible-packages - - icon: 🧑‍💻 - title: Continuously developed - details: Numerous ecommerce projects are already running in production with Lunar API. ---- diff --git a/packages/api/docs/initial-setup.md b/packages/api/docs/initial-setup.md deleted file mode 100644 index 82ff7b978..000000000 --- a/packages/api/docs/initial-setup.md +++ /dev/null @@ -1 +0,0 @@ -# Initial setup diff --git a/packages/api/docs/installation.md b/packages/api/docs/installation.md deleted file mode 100644 index 82798babd..000000000 --- a/packages/api/docs/installation.md +++ /dev/null @@ -1,39 +0,0 @@ -# Installation - -## Requirements - -- PHP ^8.2 -- Laravel 11 -- [Lunar requirements](https://docs.lunarphp.io/core/installation.html#server-requirements) - -## Installation - -You can install the package via composer - -```bash -composer require dystcz/dystore-api -``` - -Publish config files - -> You will probably need them pretty bad - -```bash -php artisan vendor:publish --provider="Dystore\Api\ApiServiceProvider" --tag="dystore-api" -``` - -Publish migrations - -> Only in case you want to customize the database schema - -```bash -php artisan vendor:publish --provider="Dystore\Api\ApiServiceProvider" --tag="dystore-api.migrations" -``` - -## Let's hit your first endpoint - -Just visit `/api/v1/products` and you should see a list of products. - -Hopefully everything went smooth so far. If not, please create an issue. - -You can view the rest of the API routes by running `php artisan route:list --name=v1` in your terminal. diff --git a/packages/api/docs/more/compatible-packages.md b/packages/api/docs/more/compatible-packages.md deleted file mode 100644 index 8dbb6f2e2..000000000 --- a/packages/api/docs/more/compatible-packages.md +++ /dev/null @@ -1,12 +0,0 @@ -# List of compatible packages - -- [Reviews](https://github.com/dystcz/dystore-reviews) (Adds user reviews functionality) -- [Product Views](https://github.com/dystcz/dystore-product-views) - (Store unique product views in Redis) -- [Product Stock Notifications](https://github.com/dystcz/dystore-product-notifications) - (Notify users when product is in stock again) -- [Newsletter](https://github.com/dystcz/dystore-newsletter) - (Newsletter sign up with support for Mailchimp / Mailcoach / Brevo) -- [Stripe Payment Adapter](https://github.com/dystcz/dystore-stripe) - - diff --git a/packages/api/docs/more/useful-resources.md b/packages/api/docs/more/useful-resources.md deleted file mode 100644 index 75ebab1d2..000000000 --- a/packages/api/docs/more/useful-resources.md +++ /dev/null @@ -1 +0,0 @@ -# Useful resources diff --git a/packages/api/docs/overview.md b/packages/api/docs/overview.md deleted file mode 100644 index 7a141e5b7..000000000 --- a/packages/api/docs/overview.md +++ /dev/null @@ -1,27 +0,0 @@ -# Lunar API 🪬 - -## What's going on here? - -This package introduces an API layer for the Lunar ecommerce package. -It connects the Lunar backend with your SPA, other applications, -and possibly with a mobile app. - -The main aim is to provide a solid foundation for your e-commerce project, -giving you a head start while maintaining flexibility so you can -easily build features to meet your project's needs. - -## Some perks - -- Focus on extensibility -- Wannabe ecosystem of [complementary packages](./more/compatible-packages.md) -with emphasis on the plug and play spirit -- Already running in production 🤫 -- Built on top of [Laravel JSON:API](https://github.com/laravel-json-api/laravel) - -## Features - -- Configurable checkout flow with guest checkout -- Solid extensibility (Models, Schemas, Resources, Routes, ...) -- Payment adapters registrar -(currently [Stripe](https://github.com/dystcz/dystore-stripe) -& [Mollie](https://github.com/pixelpillow/lunar-api-mollie-adapter)) diff --git a/packages/api/docs/package-lock.json b/packages/api/docs/package-lock.json deleted file mode 100644 index e50d2ac95..000000000 --- a/packages/api/docs/package-lock.json +++ /dev/null @@ -1,1180 +0,0 @@ -{ - "name": "docs", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "@rollup/rollup-linux-x64-gnu": "*" - }, - "devDependencies": { - "vitepress": "^1.1.4", - "vue": "^3.4.27" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.21.2" - } - }, - "node_modules/@algolia/autocomplete-core": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/autocomplete-plugin-algolia-insights": "1.9.3", - "@algolia/autocomplete-shared": "1.9.3" - } - }, - "node_modules/@algolia/autocomplete-plugin-algolia-insights": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/autocomplete-shared": "1.9.3" - }, - "peerDependencies": { - "search-insights": ">= 1 < 3" - } - }, - "node_modules/@algolia/autocomplete-preset-algolia": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/autocomplete-shared": "1.9.3" - }, - "peerDependencies": { - "@algolia/client-search": ">= 4.9.1 < 6", - "algoliasearch": ">= 4.9.1 < 6" - } - }, - "node_modules/@algolia/autocomplete-shared": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "peerDependencies": { - "@algolia/client-search": ">= 4.9.1 < 6", - "algoliasearch": ">= 4.9.1 < 6" - } - }, - "node_modules/@algolia/cache-browser-local-storage": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/cache-common": "4.23.3" - } - }, - "node_modules/@algolia/cache-common": { - "version": "4.23.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@algolia/cache-in-memory": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/cache-common": "4.23.3" - } - }, - "node_modules/@algolia/client-account": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/client-analytics": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/client-common": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/client-personalization": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/client-search": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/logger-common": { - "version": "4.23.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@algolia/logger-console": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/logger-common": "4.23.3" - } - }, - "node_modules/@algolia/recommend": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/cache-browser-local-storage": "4.23.3", - "@algolia/cache-common": "4.23.3", - "@algolia/cache-in-memory": "4.23.3", - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/logger-console": "4.23.3", - "@algolia/requester-browser-xhr": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/requester-node-http": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/@algolia/requester-browser-xhr": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/requester-common": "4.23.3" - } - }, - "node_modules/@algolia/requester-common": { - "version": "4.23.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@algolia/requester-node-http": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/requester-common": "4.23.3" - } - }, - "node_modules/@algolia/transporter": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/cache-common": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/requester-common": "4.23.3" - } - }, - "node_modules/@babel/parser": { - "version": "7.24.5", - "dev": true, - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@docsearch/css": { - "version": "3.6.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@docsearch/js": { - "version": "3.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@docsearch/react": "3.6.0", - "preact": "^10.0.0" - } - }, - "node_modules/@docsearch/react": { - "version": "3.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/autocomplete-core": "1.9.3", - "@algolia/autocomplete-preset-algolia": "1.9.3", - "@docsearch/css": "3.6.0", - "algoliasearch": "^4.19.1" - }, - "peerDependencies": { - "@types/react": ">= 16.8.0 < 19.0.0", - "react": ">= 16.8.0 < 19.0.0", - "react-dom": ">= 16.8.0 < 19.0.0", - "search-insights": ">= 1 < 3" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "react": { - "optional": true - }, - "react-dom": { - "optional": true - }, - "search-insights": { - "optional": true - } - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.20.2", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "dev": true, - "license": "MIT" - }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.17.2.tgz", - "integrity": "sha512-NM0jFxY8bB8QLkoKxIQeObCaDlJKewVlIEkuyYKm5An1tdVZ966w2+MPQ2l8LBZLjR+SgyV+nRkTIunzOYBMLQ==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.17.2.tgz", - "integrity": "sha512-yeX/Usk7daNIVwkq2uGoq2BYJKZY1JfyLTaHO/jaiSwi/lsf8fTFoQW/n6IdAsx5tx+iotu2zCJwz8MxI6D/Bw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.17.2", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.17.2.tgz", - "integrity": "sha512-AtKwD0VEx0zWkL0ZjixEkp5tbNLzX+FCqGG1SvOu993HnSz4qDI6S4kGzubrEJAljpVkhRSlg5bzpV//E6ysTQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.17.2.tgz", - "integrity": "sha512-3reX2fUHqN7sffBNqmEyMQVj/CKhIHZd4y631duy0hZqI8Qoqf6lTtmAKvJFYa6bhU95B1D0WgzHkmTg33In0A==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.17.2.tgz", - "integrity": "sha512-uSqpsp91mheRgw96xtyAGP9FW5ChctTFEoXP0r5FAzj/3ZRv3Uxjtc7taRQSaQM/q85KEKjKsZuiZM3GyUivRg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.17.2.tgz", - "integrity": "sha512-EMMPHkiCRtE8Wdk3Qhtciq6BndLtstqZIroHiiGzB3C5LDJmIZcSzVtLRbwuXuUft1Cnv+9fxuDtDxz3k3EW2A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.17.2.tgz", - "integrity": "sha512-NMPylUUZ1i0z/xJUIx6VUhISZDRT+uTWpBcjdv0/zkp7b/bQDF+NfnfdzuTiB1G6HTodgoFa93hp0O1xl+/UbA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.17.2.tgz", - "integrity": "sha512-T19My13y8uYXPw/L/k0JYaX1fJKFT/PWdXiHr8mTbXWxjVF1t+8Xl31DgBBvEKclw+1b00Chg0hxE2O7bTG7GQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.17.2.tgz", - "integrity": "sha512-BOaNfthf3X3fOWAB+IJ9kxTgPmMqPPH5f5k2DcCsRrBIbWnaJCgX2ll77dV1TdSy9SaXTR5iDXRL8n7AnoP5cg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.17.2.tgz", - "integrity": "sha512-W0UP/x7bnn3xN2eYMql2T/+wpASLE5SjObXILTMPUBDB/Fg/FxC+gX4nvCfPBCbNhz51C+HcqQp2qQ4u25ok6g==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", - "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.17.2.tgz", - "integrity": "sha512-h1+yTWeYbRdAyJ/jMiVw0l6fOOm/0D1vNLui9iPuqgRGnXA0u21gAqOyB5iHjlM9MMfNOm9RHCQ7zLIzT0x11Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.17.2.tgz", - "integrity": "sha512-tmdtXMfKAjy5+IQsVtDiCfqbynAQE/TQRpWdVataHmhMb9DCoJxp9vLcCBjEQWMiUYxO1QprH/HbY9ragCEFLA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.17.2.tgz", - "integrity": "sha512-7II/QCSTAHuE5vdZaQEwJq2ZACkBpQDOmQsE6D6XUbnBHW8IAhm4eTufL6msLJorzrHDFv3CF8oCA/hSIRuZeQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.17.2.tgz", - "integrity": "sha512-TGGO7v7qOq4CYmSBVEYpI1Y5xDuCEnbVC5Vth8mOsW0gDSzxNrVERPc790IGHsrT2dQSimgMr9Ub3Y1Jci5/8w==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@shikijs/core": { - "version": "1.5.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@shikijs/transformers": { - "version": "1.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "shiki": "1.5.0" - } - }, - "node_modules/@types/estree": { - "version": "1.0.5", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/linkify-it": { - "version": "5.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/markdown-it": { - "version": "14.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/linkify-it": "^5", - "@types/mdurl": "^2" - } - }, - "node_modules/@types/mdurl": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/web-bluetooth": { - "version": "0.0.20", - "dev": true, - "license": "MIT" - }, - "node_modules/@vitejs/plugin-vue": { - "version": "5.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "vite": "^5.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/shared": "3.4.27", - "entities": "^4.5.0", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.0" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-core": "3.4.27", - "@vue/shared": "3.4.27" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/compiler-core": "3.4.27", - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.10", - "postcss": "^8.4.38", - "source-map-js": "^1.2.0" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/shared": "3.4.27" - } - }, - "node_modules/@vue/devtools-api": { - "version": "7.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/devtools-kit": "^7.1.3" - } - }, - "node_modules/@vue/devtools-kit": { - "version": "7.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/devtools-shared": "^7.1.3", - "hookable": "^5.5.3", - "mitt": "^3.0.1", - "perfect-debounce": "^1.0.0", - "speakingurl": "^14.0.1" - }, - "peerDependencies": { - "vue": "^3.0.0" - } - }, - "node_modules/@vue/devtools-shared": { - "version": "7.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "rfdc": "^1.3.1" - } - }, - "node_modules/@vue/reactivity": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/shared": "3.4.27" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/reactivity": "3.4.27", - "@vue/shared": "3.4.27" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/runtime-core": "3.4.27", - "@vue/shared": "3.4.27", - "csstype": "^3.1.3" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27" - }, - "peerDependencies": { - "vue": "3.4.27" - } - }, - "node_modules/@vue/shared": { - "version": "3.4.27", - "dev": true, - "license": "MIT" - }, - "node_modules/@vueuse/core": { - "version": "10.9.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.9.0", - "@vueuse/shared": "10.9.0", - "vue-demi": ">=0.14.7" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/integrations": { - "version": "10.9.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@vueuse/core": "10.9.0", - "@vueuse/shared": "10.9.0", - "vue-demi": ">=0.14.7" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "async-validator": "*", - "axios": "*", - "change-case": "*", - "drauu": "*", - "focus-trap": "*", - "fuse.js": "*", - "idb-keyval": "*", - "jwt-decode": "*", - "nprogress": "*", - "qrcode": "*", - "sortablejs": "*", - "universal-cookie": "*" - }, - "peerDependenciesMeta": { - "async-validator": { - "optional": true - }, - "axios": { - "optional": true - }, - "change-case": { - "optional": true - }, - "drauu": { - "optional": true - }, - "focus-trap": { - "optional": true - }, - "fuse.js": { - "optional": true - }, - "idb-keyval": { - "optional": true - }, - "jwt-decode": { - "optional": true - }, - "nprogress": { - "optional": true - }, - "qrcode": { - "optional": true - }, - "sortablejs": { - "optional": true - }, - "universal-cookie": { - "optional": true - } - } - }, - "node_modules/@vueuse/metadata": { - "version": "10.9.0", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared": { - "version": "10.9.0", - "dev": true, - "license": "MIT", - "dependencies": { - "vue-demi": ">=0.14.7" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/algoliasearch": { - "version": "4.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/cache-browser-local-storage": "4.23.3", - "@algolia/cache-common": "4.23.3", - "@algolia/cache-in-memory": "4.23.3", - "@algolia/client-account": "4.23.3", - "@algolia/client-analytics": "4.23.3", - "@algolia/client-common": "4.23.3", - "@algolia/client-personalization": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/logger-console": "4.23.3", - "@algolia/recommend": "4.23.3", - "@algolia/requester-browser-xhr": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/requester-node-http": "4.23.3", - "@algolia/transporter": "4.23.3" - } - }, - "node_modules/csstype": { - "version": "3.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/entities": { - "version": "4.5.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/esbuild": { - "version": "0.20.2", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/focus-trap": { - "version": "7.5.4", - "dev": true, - "license": "MIT", - "dependencies": { - "tabbable": "^6.2.0" - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/hookable": { - "version": "5.5.3", - "dev": true, - "license": "MIT" - }, - "node_modules/magic-string": { - "version": "0.30.10", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" - } - }, - "node_modules/mark.js": { - "version": "8.11.1", - "dev": true, - "license": "MIT" - }, - "node_modules/minisearch": { - "version": "6.3.0", - "dev": true, - "license": "MIT" - }, - "node_modules/mitt": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.7", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/perfect-debounce": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/picocolors": { - "version": "1.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/postcss": { - "version": "8.4.38", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.0.0", - "source-map-js": "^1.2.0" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/preact": { - "version": "10.21.0", - "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/preact" - } - }, - "node_modules/rfdc": { - "version": "1.3.1", - "dev": true, - "license": "MIT" - }, - "node_modules/rollup": { - "version": "4.17.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "1.0.5" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.17.2", - "@rollup/rollup-android-arm64": "4.17.2", - "@rollup/rollup-darwin-arm64": "4.17.2", - "@rollup/rollup-darwin-x64": "4.17.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.17.2", - "@rollup/rollup-linux-arm-musleabihf": "4.17.2", - "@rollup/rollup-linux-arm64-gnu": "4.17.2", - "@rollup/rollup-linux-arm64-musl": "4.17.2", - "@rollup/rollup-linux-powerpc64le-gnu": "4.17.2", - "@rollup/rollup-linux-riscv64-gnu": "4.17.2", - "@rollup/rollup-linux-s390x-gnu": "4.17.2", - "@rollup/rollup-linux-x64-gnu": "4.17.2", - "@rollup/rollup-linux-x64-musl": "4.17.2", - "@rollup/rollup-win32-arm64-msvc": "4.17.2", - "@rollup/rollup-win32-ia32-msvc": "4.17.2", - "@rollup/rollup-win32-x64-msvc": "4.17.2", - "fsevents": "~2.3.2" - } - }, - "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.17.2.tgz", - "integrity": "sha512-Hy7pLwByUOuyaFC6mAr7m+oMC+V7qyifzs/nW2OJfC8H4hbCzOX07Ov0VFk/zP3kBsELWNFi7rJtgbKYsav9QQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/search-insights": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.17.0.tgz", - "integrity": "sha512-AskayU3QNsXQzSL6v4LTYST7NNfs2HWyHHB+sdORP9chsytAhro5XRfToAMI/LAVYgNbzowVZTMfBRodgbUHKg==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/shiki": { - "version": "1.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/core": "1.5.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.0", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/speakingurl": { - "version": "14.0.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/tabbable": { - "version": "6.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/vite": { - "version": "5.2.11", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "^0.20.1", - "postcss": "^8.4.38", - "rollup": "^4.13.0" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^18.0.0 || >=20.0.0", - "less": "*", - "lightningcss": "^1.21.0", - "sass": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vitepress": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@docsearch/css": "^3.6.0", - "@docsearch/js": "^3.6.0", - "@shikijs/core": "^1.3.0", - "@shikijs/transformers": "^1.3.0", - "@types/markdown-it": "^14.0.1", - "@vitejs/plugin-vue": "^5.0.4", - "@vue/devtools-api": "^7.0.27", - "@vueuse/core": "^10.9.0", - "@vueuse/integrations": "^10.9.0", - "focus-trap": "^7.5.4", - "mark.js": "8.11.1", - "minisearch": "^6.3.0", - "shiki": "^1.3.0", - "vite": "^5.2.10", - "vue": "^3.4.25" - }, - "bin": { - "vitepress": "bin/vitepress.js" - }, - "peerDependencies": { - "markdown-it-mathjax3": "^4", - "postcss": "^8" - }, - "peerDependenciesMeta": { - "markdown-it-mathjax3": { - "optional": true - }, - "postcss": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.4.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-sfc": "3.4.27", - "@vue/runtime-dom": "3.4.27", - "@vue/server-renderer": "3.4.27", - "@vue/shared": "3.4.27" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/vue-demi": { - "version": "0.14.7", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - } - } -} diff --git a/packages/api/docs/package.json b/packages/api/docs/package.json deleted file mode 100644 index 752f81e07..000000000 --- a/packages/api/docs/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "devDependencies": { - "vitepress": "^1.1.4", - "vue": "^3.4.27" - }, - "scripts": { - "docs:dev": "vitepress dev", - "docs:build": "vitepress build", - "docs:preview": "vitepress preview" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.21.2" - } -} diff --git a/packages/api/docs/reference/addresses.md b/packages/api/docs/reference/addresses.md deleted file mode 100644 index d0bdffae8..000000000 --- a/packages/api/docs/reference/addresses.md +++ /dev/null @@ -1 +0,0 @@ -# Addresses diff --git a/packages/api/docs/reference/attributes.md b/packages/api/docs/reference/attributes.md deleted file mode 100644 index 78a738556..000000000 --- a/packages/api/docs/reference/attributes.md +++ /dev/null @@ -1 +0,0 @@ -# Attributes diff --git a/packages/api/docs/reference/auth.md b/packages/api/docs/reference/auth.md deleted file mode 100644 index 7ad9c1499..000000000 --- a/packages/api/docs/reference/auth.md +++ /dev/null @@ -1 +0,0 @@ -# Auth diff --git a/packages/api/docs/reference/brands.md b/packages/api/docs/reference/brands.md deleted file mode 100644 index 355cb147d..000000000 --- a/packages/api/docs/reference/brands.md +++ /dev/null @@ -1 +0,0 @@ -# Brands diff --git a/packages/api/docs/reference/carts.md b/packages/api/docs/reference/carts.md deleted file mode 100644 index 0fdaa15f2..000000000 --- a/packages/api/docs/reference/carts.md +++ /dev/null @@ -1,66 +0,0 @@ -# Carts - -## Overview - -- describe basic flow - -### Open API Spec - -- link to open api docs - -### Relations - -- cart lines - -### Policies - -## Configuration - -- configurable forget cart on checkout -- configurable signed urls - -## Actions - -### Basics - -#### Read cart from session - -#### Add item to cart - -#### Update item in cart - -#### Remove item from cart - -#### Clear cart - -### Cart addresses - -#### Create cart address - -#### Update cart address - -#### Update cart address country - -#### Continuously update cart address - -### Shipping options - -#### Attach shipping option - -#### Detach shipping option - -### Payment options - -#### Attach payment option - -#### Detach payment option - -### Coupons - -#### Apply coupon - -#### Remove coupon - -### Checkout - -#### Checkout cart diff --git a/packages/api/docs/reference/collections.md b/packages/api/docs/reference/collections.md deleted file mode 100644 index 9385853c0..000000000 --- a/packages/api/docs/reference/collections.md +++ /dev/null @@ -1 +0,0 @@ -# Collections diff --git a/packages/api/docs/reference/customers.md b/packages/api/docs/reference/customers.md deleted file mode 100644 index 8526d148a..000000000 --- a/packages/api/docs/reference/customers.md +++ /dev/null @@ -1 +0,0 @@ -# Customers diff --git a/packages/api/docs/reference/orders.md b/packages/api/docs/reference/orders.md deleted file mode 100644 index 3ded947fd..000000000 --- a/packages/api/docs/reference/orders.md +++ /dev/null @@ -1 +0,0 @@ -# Orders diff --git a/packages/api/docs/reference/overview.md b/packages/api/docs/reference/overview.md deleted file mode 100644 index cf5aa0741..000000000 --- a/packages/api/docs/reference/overview.md +++ /dev/null @@ -1 +0,0 @@ -# Reference diff --git a/packages/api/docs/reference/payment-options.md b/packages/api/docs/reference/payment-options.md deleted file mode 100644 index 5ef7dc23c..000000000 --- a/packages/api/docs/reference/payment-options.md +++ /dev/null @@ -1 +0,0 @@ -# Payment Options diff --git a/packages/api/docs/reference/products.md b/packages/api/docs/reference/products.md deleted file mode 100644 index 8ba526e77..000000000 --- a/packages/api/docs/reference/products.md +++ /dev/null @@ -1 +0,0 @@ -# Products diff --git a/packages/api/docs/reference/users.md b/packages/api/docs/reference/users.md deleted file mode 100644 index 76e7c2365..000000000 --- a/packages/api/docs/reference/users.md +++ /dev/null @@ -1 +0,0 @@ -# Users diff --git a/packages/api/docs/upgrade-guide.md b/packages/api/docs/upgrade-guide.md deleted file mode 100644 index d0fa6bb31..000000000 --- a/packages/api/docs/upgrade-guide.md +++ /dev/null @@ -1,3 +0,0 @@ -# Upgrade guide - -## 0.8.x → 1.0.0-alpha