From e0f0535864d7e9bcba51f14b8d185dd4f990904c Mon Sep 17 00:00:00 2001 From: dev <> Date: Tue, 26 Dec 2023 10:30:03 +0000 Subject: [PATCH] rename phoenix --- .github/workflows/ci.yml | 5 +- Makefile | 16 - cloudflarebook.com/Makefile | 16 + .../README.md | 6 +- .../api}/clean.sql | 0 .../api}/env.example | 2 +- .../api}/package.json | 2 +- .../api}/schema.sql | 0 .../api}/src/app.ts | 8 +- .../api}/src/blogs/create_blog.ts | 6 +- .../api}/src/blogs/create_page.ts | 8 +- .../api}/src/blogs/delete_blog.ts | 2 +- .../api}/src/blogs/delete_page.ts | 6 +- .../api}/src/blogs/get_blog.ts | 4 +- .../api}/src/blogs/get_blogs.ts | 0 .../api}/src/blogs/get_page.ts | 6 +- .../api}/src/blogs/get_pages.ts | 4 +- .../api}/src/blogs/headless_get_blog.ts | 2 +- .../api}/src/blogs/headless_get_page.ts | 4 +- .../api}/src/blogs/headless_get_posts.ts | 2 +- .../api}/src/blogs/update_blog.ts | 4 +- .../api}/src/blogs/update_page.ts | 6 +- .../api}/src/blogs/utils.ts | 2 +- .../api}/src/hono_bindings.ts | 0 .../api}/src/users/login.ts | 10 +- .../api}/src/users/signup.ts | 12 +- .../api}/src/utils.ts | 10 +- .../api}/tsconfig.json | 0 cloudflarebook.com/api/wrangler.toml | 23 + .../blog}/package.json | 2 +- .../blog}/public/favicon.ico | Bin .../blog}/public/robots.txt | 0 ...ca4c37898bca4ff1a357cf7c481dfe0375b737.css | 0 .../blog}/src/caching.ts | 0 .../blog}/src/context.ts | 2 +- .../blog}/src/global.d.ts | 0 .../blog}/src/index.css | 0 .../blog}/src/index.ts | 2 +- .../blog}/src/routes/_base.tsx | 2 +- .../blog}/src/routes/_error.tsx | 0 .../blog}/src/routes/handlebars.ts | 2 +- .../blog}/src/routes/index.tsx | 4 +- .../blog}/src/routes/page.tsx | 4 +- .../blog}/src/routes/templates_sha256.txt | 0 .../src/templates_handlebars/base.handlebars | 0 .../handlebars.handlebars | 0 .../blog}/src/templates_handlebars/index.ts | 0 .../src/templates_handlebars/precompiled.js | 0 .../blog}/src/utils.ts | 6 +- .../blog}/tailwind.config.js | 0 .../blog}/tsconfig.json | 0 .../blog}/wrangler.toml | 8 +- .../docs/architecture.png | Bin .../package-lock.json | 1094 ++++++++++------- .../package.json | 12 +- .../packages}/base64/README.md | 0 .../packages}/base64/index.d.ts | 0 .../packages}/base64/index.js | 0 .../packages}/base64/package.json | 2 +- .../packages}/core/api.ts | 2 +- .../packages}/core/api_client.ts | 0 .../packages}/core/api_routes.ts | 0 .../packages}/core/crypto.ts | 0 .../packages}/core/entities.ts | 0 .../packages}/core/errors.ts | 0 .../packages}/core/middlewares.ts | 4 +- .../packages}/core/package.json | 4 +- .../packages}/core/package_old.json | 2 +- .../packages}/core/tsconfig_old.json | 0 .../packages}/deepclone/README.md | 0 .../packages}/deepclone/deepclone.js | 0 .../packages}/deepclone/index.d.ts | 0 .../packages}/deepclone/index.js | 0 .../packages}/deepclone/package.json | 2 +- .../packages}/jwt/README.md | 0 .../packages}/jwt/index.ts | 0 .../packages}/jwt/package.json | 2 +- .../packages}/jwt/tsconfig.json | 0 .../packages}/uuidv7/README.md | 0 .../packages}/uuidv7/index.ts | 0 .../packages}/uuidv7/package.json | 2 +- .../packages}/uuidv7/tsconfig_old.json | 0 .../webapp}/.gitignore | 0 .../webapp}/component.vue | 0 .../webapp}/env.d.ts | 0 .../webapp}/functions/api/[[route]].ts | 0 .../webapp}/index.html | 0 .../webapp}/package.json | 12 +- .../webapp}/postcss.config.js | 0 .../webapp}/public/_headers | 0 .../webapp}/public/favicon.ico | Bin .../webapp}/public/robots.txt | 0 .../webapp}/public/webapp/logo.svg | 0 .../webapp}/src/app.vue | 0 .../webapp}/src/app/api_client.ts | 2 +- .../webapp}/src/app/date.ts | 0 .../webapp}/src/app/navigation.ts | 2 +- .../webapp}/src/app/router.ts | 0 .../webapp}/src/app/slugify.ts | 0 .../webapp}/src/app/store.ts | 0 .../webapp}/src/components/blogs.vue | 4 +- .../webapp}/src/components/cf_button.vue | 0 .../webapp}/src/components/cf_link.vue | 0 .../webapp}/src/components/html_editor.vue | 0 .../webapp}/src/components/landing.vue | 0 .../webapp}/src/components/navbar.vue | 0 .../webapp}/src/components/page_editor.vue | 4 +- .../src/components/select_page_type.vue | 2 +- .../webapp}/src/components/sidebar.vue | 2 +- .../webapp}/src/components/slug_input.vue | 0 .../webapp}/src/index.css | 0 .../webapp}/src/main.ts | 2 +- .../webapp}/src/pages/404.vue | 0 .../webapp}/src/pages/blogs/assets.vue | 0 .../webapp}/src/pages/blogs/new.vue | 4 +- .../webapp}/src/pages/blogs/pages/new.vue | 0 .../webapp}/src/pages/blogs/pages/page.vue | 4 +- .../webapp}/src/pages/blogs/pages/pages.vue | 4 +- .../webapp}/src/pages/blogs/settings.vue | 6 +- .../webapp}/src/pages/home.vue | 0 .../webapp}/src/pages/login.vue | 2 +- .../webapp}/src/pages/signup.vue | 4 +- .../webapp}/tailwind.config.js | 0 .../webapp}/tsconfig.app.json | 0 .../webapp}/tsconfig.functions.json | 0 .../webapp}/tsconfig.json | 0 .../webapp}/tsconfig.node.json | 0 .../webapp}/vite.config.ts | 0 examples/package-lock.json | 8 +- examples/package.json | 6 +- phoenix-api/wrangler.toml | 23 - 131 files changed, 840 insertions(+), 575 deletions(-) delete mode 100644 Makefile create mode 100644 cloudflarebook.com/Makefile rename docs/phoenix.md => cloudflarebook.com/README.md (89%) rename {phoenix-api => cloudflarebook.com/api}/clean.sql (100%) rename {phoenix-api => cloudflarebook.com/api}/env.example (86%) rename {phoenix-api => cloudflarebook.com/api}/package.json (90%) rename {phoenix-api => cloudflarebook.com/api}/schema.sql (100%) rename {phoenix-api => cloudflarebook.com/api}/src/app.ts (92%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/create_blog.ts (83%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/create_page.ts (84%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/delete_blog.ts (87%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/delete_page.ts (78%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/get_blog.ts (81%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/get_blogs.ts (100%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/get_page.ts (73%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/get_pages.ts (79%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/headless_get_blog.ts (90%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/headless_get_page.ts (84%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/headless_get_posts.ts (90%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/update_blog.ts (89%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/update_page.ts (84%) rename {phoenix-api => cloudflarebook.com/api}/src/blogs/utils.ts (65%) rename {phoenix-api => cloudflarebook.com/api}/src/hono_bindings.ts (100%) rename {phoenix-api => cloudflarebook.com/api}/src/users/login.ts (80%) rename {phoenix-api => cloudflarebook.com/api}/src/users/signup.ts (85%) rename {phoenix-api => cloudflarebook.com/api}/src/utils.ts (92%) rename {phoenix-api => cloudflarebook.com/api}/tsconfig.json (100%) create mode 100644 cloudflarebook.com/api/wrangler.toml rename {phoenix-blog => cloudflarebook.com/blog}/package.json (95%) rename {phoenix-blog => cloudflarebook.com/blog}/public/favicon.ico (100%) rename {phoenix-blog => cloudflarebook.com/blog}/public/robots.txt (100%) rename {phoenix-blog => cloudflarebook.com/blog}/public/theme/index-5eca4c37898bca4ff1a357cf7c481dfe0375b737.css (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/caching.ts (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/context.ts (87%) rename {phoenix-blog => cloudflarebook.com/blog}/src/global.d.ts (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/index.css (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/index.ts (95%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/_base.tsx (97%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/_error.tsx (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/handlebars.ts (88%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/index.tsx (93%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/page.tsx (92%) rename {phoenix-blog => cloudflarebook.com/blog}/src/routes/templates_sha256.txt (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/templates_handlebars/base.handlebars (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/templates_handlebars/handlebars.handlebars (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/templates_handlebars/index.ts (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/templates_handlebars/precompiled.js (100%) rename {phoenix-blog => cloudflarebook.com/blog}/src/utils.ts (90%) rename {phoenix-blog => cloudflarebook.com/blog}/tailwind.config.js (100%) rename {phoenix-blog => cloudflarebook.com/blog}/tsconfig.json (100%) rename {phoenix-blog => cloudflarebook.com/blog}/wrangler.toml (75%) rename docs/phoenix_architecture.png => cloudflarebook.com/docs/architecture.png (100%) rename package-lock.json => cloudflarebook.com/package-lock.json (83%) rename package.json => cloudflarebook.com/package.json (66%) rename {packages => cloudflarebook.com/packages}/base64/README.md (100%) rename {packages => cloudflarebook.com/packages}/base64/index.d.ts (100%) rename {packages => cloudflarebook.com/packages}/base64/index.js (100%) rename {packages => cloudflarebook.com/packages}/base64/package.json (70%) rename {packages => cloudflarebook.com/packages}/core/api.ts (98%) rename {packages => cloudflarebook.com/packages}/core/api_client.ts (100%) rename {packages => cloudflarebook.com/packages}/core/api_routes.ts (100%) rename {packages => cloudflarebook.com/packages}/core/crypto.ts (100%) rename {packages => cloudflarebook.com/packages}/core/entities.ts (100%) rename {packages => cloudflarebook.com/packages}/core/errors.ts (100%) rename {packages => cloudflarebook.com/packages}/core/middlewares.ts (87%) rename {packages => cloudflarebook.com/packages}/core/package.json (53%) rename {packages => cloudflarebook.com/packages}/core/package_old.json (88%) rename {packages => cloudflarebook.com/packages}/core/tsconfig_old.json (100%) rename {packages => cloudflarebook.com/packages}/deepclone/README.md (100%) rename {packages => cloudflarebook.com/packages}/deepclone/deepclone.js (100%) rename {packages => cloudflarebook.com/packages}/deepclone/index.d.ts (100%) rename {packages => cloudflarebook.com/packages}/deepclone/index.js (100%) rename {packages => cloudflarebook.com/packages}/deepclone/package.json (78%) rename {packages => cloudflarebook.com/packages}/jwt/README.md (100%) rename {packages => cloudflarebook.com/packages}/jwt/index.ts (100%) rename {packages => cloudflarebook.com/packages}/jwt/package.json (64%) rename {packages => cloudflarebook.com/packages}/jwt/tsconfig.json (100%) rename {packages => cloudflarebook.com/packages}/uuidv7/README.md (100%) rename {packages => cloudflarebook.com/packages}/uuidv7/index.ts (100%) rename {packages => cloudflarebook.com/packages}/uuidv7/package.json (61%) rename {packages => cloudflarebook.com/packages}/uuidv7/tsconfig_old.json (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/.gitignore (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/component.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/env.d.ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/functions/api/[[route]].ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/index.html (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/package.json (78%) rename {phoenix-webapp => cloudflarebook.com/webapp}/postcss.config.js (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/public/_headers (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/public/favicon.ico (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/public/robots.txt (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/public/webapp/logo.svg (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/api_client.ts (83%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/date.ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/navigation.ts (81%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/router.ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/slugify.ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/app/store.ts (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/blogs.vue (96%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/cf_button.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/cf_link.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/html_editor.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/landing.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/navbar.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/page_editor.vue (98%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/select_page_type.vue (94%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/sidebar.vue (97%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/components/slug_input.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/index.css (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/main.ts (90%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/404.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/assets.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/new.vue (95%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/pages/new.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/pages/page.vue (90%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/pages/pages.vue (96%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/blogs/settings.vue (95%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/home.vue (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/login.vue (98%) rename {phoenix-webapp => cloudflarebook.com/webapp}/src/pages/signup.vue (97%) rename {phoenix-webapp => cloudflarebook.com/webapp}/tailwind.config.js (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/tsconfig.app.json (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/tsconfig.functions.json (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/tsconfig.json (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/tsconfig.node.json (100%) rename {phoenix-webapp => cloudflarebook.com/webapp}/vite.config.ts (100%) delete mode 100644 phoenix-api/wrangler.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 858e737..6e8aceb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,11 @@ on: jobs: - phoenix: + cloudflarebook.com: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./cloudflarebook.com steps: - uses: actions/checkout@v3 diff --git a/Makefile b/Makefile deleted file mode 100644 index bbe2d92..0000000 --- a/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -.PHONY: install_ci -install_ci: - npm ci --no-scripts --ignore-scripts - - -.PHONY: test -test: - cd phoenix-api && npm run test - cd phoenix-blog && npm run test - cd phoenix-webapp && npm run test - -.PHONY: deploy -deploy: - cd phoenix-api && npm run deploy - cd phoenix-blog && npm run deploy - cd phoenix-webapp && npm run deploy diff --git a/cloudflarebook.com/Makefile b/cloudflarebook.com/Makefile new file mode 100644 index 0000000..00a5bba --- /dev/null +++ b/cloudflarebook.com/Makefile @@ -0,0 +1,16 @@ +.PHONY: install_ci +install_ci: + npm ci --no-scripts --ignore-scripts + + +.PHONY: test +test: + cd api && npm run test + cd blog && npm run test + cd webapp && npm run test + +.PHONY: deploy +deploy: + cd api && npm run deploy + cd blog && npm run deploy + cd webapp && npm run deploy diff --git a/docs/phoenix.md b/cloudflarebook.com/README.md similarity index 89% rename from docs/phoenix.md rename to cloudflarebook.com/README.md index b26d8fe..e2ddacc 100644 --- a/docs/phoenix.md +++ b/cloudflarebook.com/README.md @@ -1,8 +1,10 @@ -# Phoenix +# cloudflarebook.com + +This folder contains the code running at [cloudflarebook.com](https://cloudflarebook.com). ## Architecture -![Phoenix Architecture](./phoenix_architecture.png) +![cloudflarebook.com Architecture](./docs/architecture.png) ## Deploy in your Cloudflare account diff --git a/phoenix-api/clean.sql b/cloudflarebook.com/api/clean.sql similarity index 100% rename from phoenix-api/clean.sql rename to cloudflarebook.com/api/clean.sql diff --git a/phoenix-api/env.example b/cloudflarebook.com/api/env.example similarity index 86% rename from phoenix-api/env.example rename to cloudflarebook.com/api/env.example index 56999b1..a4e1444 100644 --- a/phoenix-api/env.example +++ b/cloudflarebook.com/api/env.example @@ -1,5 +1,5 @@ DATABASE_URL="xxx" # JWT_SECRET should be at least 256 bits. Use `openssl rand -base64 32` to generate it JWT_SECRET="xxx" -# e.g. phoenix.blog +# e.g. mywebsite.blog BLOGS_ROOT_DOMAIN="xxx" diff --git a/phoenix-api/package.json b/cloudflarebook.com/api/package.json similarity index 90% rename from phoenix-api/package.json rename to cloudflarebook.com/api/package.json index 0b35128..d5c9028 100644 --- a/phoenix-api/package.json +++ b/cloudflarebook.com/api/package.json @@ -1,5 +1,5 @@ { - "name": "phoenix-api", + "name": "@cloudflarebook.com/api", "author": "https://kerkour.com", "version": "0.1.0", "private": true, diff --git a/phoenix-api/schema.sql b/cloudflarebook.com/api/schema.sql similarity index 100% rename from phoenix-api/schema.sql rename to cloudflarebook.com/api/schema.sql diff --git a/phoenix-api/src/app.ts b/cloudflarebook.com/api/src/app.ts similarity index 92% rename from phoenix-api/src/app.ts rename to cloudflarebook.com/api/src/app.ts index 252e6a6..4f7d58a 100644 --- a/phoenix-api/src/app.ts +++ b/cloudflarebook.com/api/src/app.ts @@ -1,7 +1,7 @@ import { Hono } from 'hono'; -import { ErrorCode, NotFoundError, PermissionDeniedError, formatZodError } from '@phoenix/core/errors'; -import { ApiError, ApiResponse, Routes } from '@phoenix/core/api'; -import { requestIdMiddleware } from '@phoenix/core/middlewares'; +import { ErrorCode, NotFoundError, PermissionDeniedError, formatZodError } from '@cloudflarebook.com/core/errors'; +import { ApiError, ApiResponse, Routes } from '@cloudflarebook.com/core/api'; +import { requestIdMiddleware } from '@cloudflarebook.com/core/middlewares'; import { Bindings, Variables } from './hono_bindings'; import { ZodError } from 'zod'; import { createPage } from './blogs/create_page'; @@ -38,7 +38,7 @@ app.use('*', requestIdMiddleware()); // API app.get('/', (ctx) => { - return ctx.json({ message: 'Hello Phoenix!' }); + return ctx.json({ message: 'Hello World!' }); }); app.post(Routes.Signup, signup); diff --git a/phoenix-api/src/blogs/create_blog.ts b/cloudflarebook.com/api/src/blogs/create_blog.ts similarity index 83% rename from phoenix-api/src/blogs/create_blog.ts rename to cloudflarebook.com/api/src/blogs/create_blog.ts index 56ba720..6767c7d 100644 --- a/phoenix-api/src/blogs/create_blog.ts +++ b/cloudflarebook.com/api/src/blogs/create_blog.ts @@ -1,7 +1,7 @@ -import { uuidv7 } from "@phoenix/uuidv7"; +import { uuidv7 } from "@cloudflarebook.com/uuidv7"; import { checkAuth, checkIsAdmin, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { CreateBlogInputValidator } from "@phoenix/core/api"; -import { Blog } from "@phoenix/core/entities"; +import { CreateBlogInputValidator } from "@cloudflarebook.com/core/api"; +import { Blog } from "@cloudflarebook.com/core/entities"; import { Context } from "../hono_bindings"; export async function createBlog(ctx: Context): Promise { diff --git a/phoenix-api/src/blogs/create_page.ts b/cloudflarebook.com/api/src/blogs/create_page.ts similarity index 84% rename from phoenix-api/src/blogs/create_page.ts rename to cloudflarebook.com/api/src/blogs/create_page.ts index 4935b4e..c0a39c8 100644 --- a/phoenix-api/src/blogs/create_page.ts +++ b/cloudflarebook.com/api/src/blogs/create_page.ts @@ -1,9 +1,9 @@ import { checkAuth, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { NotFoundError } from "@phoenix/core/errors"; -import { uuidv7 } from "@phoenix/uuidv7"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { uuidv7 } from "@cloudflarebook.com/uuidv7"; import { checkIsAdmin } from "../utils"; -import { CreatePageInputValidator } from "@phoenix/core/api"; -import { Blog, Page } from "@phoenix/core/entities"; +import { CreatePageInputValidator } from "@cloudflarebook.com/core/api"; +import { Blog, Page } from "@cloudflarebook.com/core/entities"; import { Context } from "../hono_bindings"; import { parseBlogFromDB } from "./utils"; diff --git a/phoenix-api/src/blogs/delete_blog.ts b/cloudflarebook.com/api/src/blogs/delete_blog.ts similarity index 87% rename from phoenix-api/src/blogs/delete_blog.ts rename to cloudflarebook.com/api/src/blogs/delete_blog.ts index a454bf8..40e033d 100644 --- a/phoenix-api/src/blogs/delete_blog.ts +++ b/cloudflarebook.com/api/src/blogs/delete_blog.ts @@ -1,6 +1,6 @@ import { Context } from "../hono_bindings"; import { checkAuth, checkIsAdmin, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { DeleteBlogInputValidator } from "@phoenix/core/api"; +import { DeleteBlogInputValidator } from "@cloudflarebook.com/core/api"; export async function deleteBlog(ctx: Context): Promise { const userId = await checkAuth(ctx); diff --git a/phoenix-api/src/blogs/delete_page.ts b/cloudflarebook.com/api/src/blogs/delete_page.ts similarity index 78% rename from phoenix-api/src/blogs/delete_page.ts rename to cloudflarebook.com/api/src/blogs/delete_page.ts index c0d0b5f..ae27973 100644 --- a/phoenix-api/src/blogs/delete_page.ts +++ b/cloudflarebook.com/api/src/blogs/delete_page.ts @@ -1,8 +1,8 @@ -import { NotFoundError } from "@phoenix/core/errors"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; import { Context } from "../hono_bindings"; import { checkAuth, checkIsAdmin, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { DeletePageInputValidator } from "@phoenix/core/api"; -import { Page, PageValidator } from "@phoenix/core/entities"; +import { DeletePageInputValidator } from "@cloudflarebook.com/core/api"; +import { Page, PageValidator } from "@cloudflarebook.com/core/entities"; export async function deletePage(ctx: Context): Promise { const userId = await checkAuth(ctx); diff --git a/phoenix-api/src/blogs/get_blog.ts b/cloudflarebook.com/api/src/blogs/get_blog.ts similarity index 81% rename from phoenix-api/src/blogs/get_blog.ts rename to cloudflarebook.com/api/src/blogs/get_blog.ts index 235a5eb..cf1e65b 100644 --- a/phoenix-api/src/blogs/get_blog.ts +++ b/cloudflarebook.com/api/src/blogs/get_blog.ts @@ -1,7 +1,7 @@ import { Context } from "../hono_bindings"; import { checkAuth, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { NotFoundError } from "@phoenix/core/errors"; -import { GetBlogInputValidator } from "@phoenix/core/api"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { GetBlogInputValidator } from "@cloudflarebook.com/core/api"; import { parseBlogFromDB } from "./utils"; export async function getBlog(ctx: Context): Promise { diff --git a/phoenix-api/src/blogs/get_blogs.ts b/cloudflarebook.com/api/src/blogs/get_blogs.ts similarity index 100% rename from phoenix-api/src/blogs/get_blogs.ts rename to cloudflarebook.com/api/src/blogs/get_blogs.ts diff --git a/phoenix-api/src/blogs/get_page.ts b/cloudflarebook.com/api/src/blogs/get_page.ts similarity index 73% rename from phoenix-api/src/blogs/get_page.ts rename to cloudflarebook.com/api/src/blogs/get_page.ts index 7623e75..1061b3a 100644 --- a/phoenix-api/src/blogs/get_page.ts +++ b/cloudflarebook.com/api/src/blogs/get_page.ts @@ -1,8 +1,8 @@ import { Context } from "../hono_bindings"; import { checkAuth, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { NotFoundError } from "@phoenix/core/errors"; -import { GetPageInputValidator } from "@phoenix/core/api"; -import { Page, PageValidator } from "@phoenix/core/entities"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { GetPageInputValidator } from "@cloudflarebook.com/core/api"; +import { Page, PageValidator } from "@cloudflarebook.com/core/entities"; export async function getPage(ctx: Context): Promise { await checkAuth(ctx); diff --git a/phoenix-api/src/blogs/get_pages.ts b/cloudflarebook.com/api/src/blogs/get_pages.ts similarity index 79% rename from phoenix-api/src/blogs/get_pages.ts rename to cloudflarebook.com/api/src/blogs/get_pages.ts index 33c6405..80ea9ee 100644 --- a/phoenix-api/src/blogs/get_pages.ts +++ b/cloudflarebook.com/api/src/blogs/get_pages.ts @@ -1,7 +1,7 @@ import { Context } from "../hono_bindings"; import { checkAuth, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { GetPagesInputValidator } from "@phoenix/core/api"; -import { PageValidator } from "@phoenix/core/entities"; +import { GetPagesInputValidator } from "@cloudflarebook.com/core/api"; +import { PageValidator } from "@cloudflarebook.com/core/entities"; export async function getPages(ctx: Context): Promise { await checkAuth(ctx); diff --git a/phoenix-api/src/blogs/headless_get_blog.ts b/cloudflarebook.com/api/src/blogs/headless_get_blog.ts similarity index 90% rename from phoenix-api/src/blogs/headless_get_blog.ts rename to cloudflarebook.com/api/src/blogs/headless_get_blog.ts index 997f50d..dc48fb9 100644 --- a/phoenix-api/src/blogs/headless_get_blog.ts +++ b/cloudflarebook.com/api/src/blogs/headless_get_blog.ts @@ -1,5 +1,5 @@ import { Context } from "../hono_bindings"; -import { NotFoundError } from "@phoenix/core/errors"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; import { parseBlogFromDB } from "./utils"; import { sendApiResponse } from "../utils"; diff --git a/phoenix-api/src/blogs/headless_get_page.ts b/cloudflarebook.com/api/src/blogs/headless_get_page.ts similarity index 84% rename from phoenix-api/src/blogs/headless_get_page.ts rename to cloudflarebook.com/api/src/blogs/headless_get_page.ts index 3a7e00d..3a76900 100644 --- a/phoenix-api/src/blogs/headless_get_page.ts +++ b/cloudflarebook.com/api/src/blogs/headless_get_page.ts @@ -1,6 +1,6 @@ import { Context } from "../hono_bindings"; -import { NotFoundError } from "@phoenix/core/errors"; -import { PageValidator } from "@phoenix/core/entities"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { PageValidator } from "@cloudflarebook.com/core/entities"; import { sendApiResponse } from "../utils"; export async function headlessGetPage(ctx: Context): Promise { diff --git a/phoenix-api/src/blogs/headless_get_posts.ts b/cloudflarebook.com/api/src/blogs/headless_get_posts.ts similarity index 90% rename from phoenix-api/src/blogs/headless_get_posts.ts rename to cloudflarebook.com/api/src/blogs/headless_get_posts.ts index c0ce6a6..2e35d6d 100644 --- a/phoenix-api/src/blogs/headless_get_posts.ts +++ b/cloudflarebook.com/api/src/blogs/headless_get_posts.ts @@ -1,5 +1,5 @@ import { Context } from "../hono_bindings"; -import { PageValidator } from "@phoenix/core/entities"; +import { PageValidator } from "@cloudflarebook.com/core/entities"; import { sendApiResponse } from "../utils"; export async function headlessGetPosts(ctx: Context): Promise { diff --git a/phoenix-api/src/blogs/update_blog.ts b/cloudflarebook.com/api/src/blogs/update_blog.ts similarity index 89% rename from phoenix-api/src/blogs/update_blog.ts rename to cloudflarebook.com/api/src/blogs/update_blog.ts index 6389442..9cff879 100644 --- a/phoenix-api/src/blogs/update_blog.ts +++ b/cloudflarebook.com/api/src/blogs/update_blog.ts @@ -1,7 +1,7 @@ import { Context } from "../hono_bindings"; import { checkAuth, checkIsAdmin, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { NotFoundError } from "@phoenix/core/errors"; -import { UpdateBlogInputValidator } from "@phoenix/core/api"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { UpdateBlogInputValidator } from "@cloudflarebook.com/core/api"; import { parseBlogFromDB } from "./utils"; export async function updateBlog(ctx: Context): Promise { diff --git a/phoenix-api/src/blogs/update_page.ts b/cloudflarebook.com/api/src/blogs/update_page.ts similarity index 84% rename from phoenix-api/src/blogs/update_page.ts rename to cloudflarebook.com/api/src/blogs/update_page.ts index 80baa4b..ac26330 100644 --- a/phoenix-api/src/blogs/update_page.ts +++ b/cloudflarebook.com/api/src/blogs/update_page.ts @@ -1,8 +1,8 @@ import { Context } from "../hono_bindings"; import { checkAuth, checkIsAdmin, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { NotFoundError } from "@phoenix/core/errors"; -import { UpdatePageInputValidator } from "@phoenix/core/api"; -import { PageValidator } from "@phoenix/core/entities"; +import { NotFoundError } from "@cloudflarebook.com/core/errors"; +import { UpdatePageInputValidator } from "@cloudflarebook.com/core/api"; +import { PageValidator } from "@cloudflarebook.com/core/entities"; export async function updatePage(ctx: Context): Promise { const userId = await checkAuth(ctx); diff --git a/phoenix-api/src/blogs/utils.ts b/cloudflarebook.com/api/src/blogs/utils.ts similarity index 65% rename from phoenix-api/src/blogs/utils.ts rename to cloudflarebook.com/api/src/blogs/utils.ts index b0be445..561f229 100644 --- a/phoenix-api/src/blogs/utils.ts +++ b/cloudflarebook.com/api/src/blogs/utils.ts @@ -1,4 +1,4 @@ -import { Blog, BlogValidator } from "@phoenix/core/entities"; +import { Blog, BlogValidator } from "@cloudflarebook.com/core/entities"; export function parseBlogFromDB(blog: any): Blog { blog.navigation = JSON.parse(blog.navigation); diff --git a/phoenix-api/src/hono_bindings.ts b/cloudflarebook.com/api/src/hono_bindings.ts similarity index 100% rename from phoenix-api/src/hono_bindings.ts rename to cloudflarebook.com/api/src/hono_bindings.ts diff --git a/phoenix-api/src/users/login.ts b/cloudflarebook.com/api/src/users/login.ts similarity index 80% rename from phoenix-api/src/users/login.ts rename to cloudflarebook.com/api/src/users/login.ts index d1d41ae..4a62c56 100644 --- a/phoenix-api/src/users/login.ts +++ b/cloudflarebook.com/api/src/users/login.ts @@ -1,10 +1,10 @@ import { setCookie } from "hono/cookie"; import { Context } from "../hono_bindings"; -import jwt from "@phoenix/jwt"; -import { NotFoundError, PermissionDeniedError } from "@phoenix/core/errors"; +import jwt from "@cloudflarebook.com/jwt"; +import { NotFoundError, PermissionDeniedError } from "@cloudflarebook.com/core/errors"; import { base64ToBuffer, hashPassword, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { LoginInputValidator, convertUser } from "@phoenix/core/api"; -import { UserValidator } from "@phoenix/core/entities"; +import { LoginInputValidator, convertUser } from "@cloudflarebook.com/core/api"; +import { UserValidator } from "@cloudflarebook.com/core/entities"; export async function login(ctx: Context): Promise { const apiInput = await parseAndValidateApiInput(ctx, LoginInputValidator); @@ -33,7 +33,7 @@ export async function login(ctx: Context): Promise { }, ctx.env.JWT_SECRET); // in a real-world application you want to set the httpOnly flag as true - setCookie(ctx, 'phoenix_session', authToken, + setCookie(ctx, 'cloudflarebook.com_session', authToken, { httpOnly: false, expires: expiresAt, sameSite: 'Lax', secure: true, path: '/' }, ); diff --git a/phoenix-api/src/users/signup.ts b/cloudflarebook.com/api/src/users/signup.ts similarity index 85% rename from phoenix-api/src/users/signup.ts rename to cloudflarebook.com/api/src/users/signup.ts index d74523c..d7787f7 100644 --- a/phoenix-api/src/users/signup.ts +++ b/cloudflarebook.com/api/src/users/signup.ts @@ -1,10 +1,10 @@ import { bufferToBase64, hashPassword, parseAndValidateApiInput, sendApiResponse } from "../utils"; -import { uuidv7 } from "@phoenix/uuidv7"; -import { PermissionDeniedError } from "@phoenix/core/errors"; -import { User } from "@phoenix/core/entities"; -import { SignupInputValidator, convertUser } from "@phoenix/core/api"; +import { uuidv7 } from "@cloudflarebook.com/uuidv7"; +import { PermissionDeniedError } from "@cloudflarebook.com/core/errors"; +import { User } from "@cloudflarebook.com/core/entities"; +import { SignupInputValidator, convertUser } from "@cloudflarebook.com/core/api"; import { Context } from "../hono_bindings"; -import jwt from "@phoenix/jwt"; +import jwt from "@cloudflarebook.com/jwt"; import { setCookie } from "hono/cookie"; export async function signup(ctx: Context): Promise { @@ -56,7 +56,7 @@ export async function signup(ctx: Context): Promise { }, ctx.env.JWT_SECRET); // in a real-world application you want to set the httpOnly flag as true - setCookie(ctx, 'phoenix_session', authToken, + setCookie(ctx, 'cloudflarebook.com_session', authToken, { httpOnly: false, expires: expiresAt, sameSite: 'Lax', secure: true, path: '/' }, ); diff --git a/phoenix-api/src/utils.ts b/cloudflarebook.com/api/src/utils.ts similarity index 92% rename from phoenix-api/src/utils.ts rename to cloudflarebook.com/api/src/utils.ts index 80ca773..bc7bbf4 100644 --- a/phoenix-api/src/utils.ts +++ b/cloudflarebook.com/api/src/utils.ts @@ -1,10 +1,10 @@ import { Context } from "./hono_bindings"; import { getCookie } from "hono/cookie"; -import { InvalidArgumentError, NotFoundError, PermissionDeniedError } from "@phoenix/core/errors"; -import jwt from "@phoenix/jwt"; +import { InvalidArgumentError, NotFoundError, PermissionDeniedError } from "@cloudflarebook.com/core/errors"; +import jwt from "@cloudflarebook.com/jwt"; import { ZodSchema } from "zod"; -import { UserValidator } from "@phoenix/core/entities"; -import { ApiResponse } from "@phoenix/core/api_client"; +import { UserValidator } from "@cloudflarebook.com/core/entities"; +import { ApiResponse } from "@cloudflarebook.com/core/api_client"; export function sendApiResponse(ctx: Context, data: T, status = 200): Response { const body: ApiResponse = { @@ -62,7 +62,7 @@ export function base64ToBuffer(hash: string): ArrayBuffer { } export async function checkAuth(ctx: Context): Promise { - const authCookie = getCookie(ctx, 'phoenix_session'); + const authCookie = getCookie(ctx, 'cloudflarebook_session'); if (!authCookie) { throw new PermissionDeniedError('authentication is required'); } diff --git a/phoenix-api/tsconfig.json b/cloudflarebook.com/api/tsconfig.json similarity index 100% rename from phoenix-api/tsconfig.json rename to cloudflarebook.com/api/tsconfig.json diff --git a/cloudflarebook.com/api/wrangler.toml b/cloudflarebook.com/api/wrangler.toml new file mode 100644 index 0000000..1a27612 --- /dev/null +++ b/cloudflarebook.com/api/wrangler.toml @@ -0,0 +1,23 @@ +name = "cloudflarebook-api" +main = "src/app.ts" +compatibility_date = "2023-09-18" + + +vars = [] + +r2_buckets = [ + { binding = "r2", bucket_name = "cloudflarebook-dev" } +] + +d1_databases = [ + { binding = "DB", database_name = "cloudflarebook", database_id = "2a9779e5-3223-4640-9fe4-6992a08a142c" } +] + +[placement] +mode = "smart" + +[env.production] + +r2_buckets = [ + { binding = "r2", bucket_name = "cloudflarebook" } +] diff --git a/phoenix-blog/package.json b/cloudflarebook.com/blog/package.json similarity index 95% rename from phoenix-blog/package.json rename to cloudflarebook.com/blog/package.json index f59f3fc..d1e74d3 100644 --- a/phoenix-blog/package.json +++ b/cloudflarebook.com/blog/package.json @@ -1,5 +1,5 @@ { - "name": "phoenix-blog", + "name": "@cloudflarebook.com/blog", "author": "https://kerkour.com", "version": "0.1.0", "private": true, diff --git a/phoenix-blog/public/favicon.ico b/cloudflarebook.com/blog/public/favicon.ico similarity index 100% rename from phoenix-blog/public/favicon.ico rename to cloudflarebook.com/blog/public/favicon.ico diff --git a/phoenix-blog/public/robots.txt b/cloudflarebook.com/blog/public/robots.txt similarity index 100% rename from phoenix-blog/public/robots.txt rename to cloudflarebook.com/blog/public/robots.txt diff --git a/phoenix-blog/public/theme/index-5eca4c37898bca4ff1a357cf7c481dfe0375b737.css b/cloudflarebook.com/blog/public/theme/index-5eca4c37898bca4ff1a357cf7c481dfe0375b737.css similarity index 100% rename from phoenix-blog/public/theme/index-5eca4c37898bca4ff1a357cf7c481dfe0375b737.css rename to cloudflarebook.com/blog/public/theme/index-5eca4c37898bca4ff1a357cf7c481dfe0375b737.css diff --git a/phoenix-blog/src/caching.ts b/cloudflarebook.com/blog/src/caching.ts similarity index 100% rename from phoenix-blog/src/caching.ts rename to cloudflarebook.com/blog/src/caching.ts diff --git a/phoenix-blog/src/context.ts b/cloudflarebook.com/blog/src/context.ts similarity index 87% rename from phoenix-blog/src/context.ts rename to cloudflarebook.com/blog/src/context.ts index 3f28d6b..2ee0d80 100644 --- a/phoenix-blog/src/context.ts +++ b/cloudflarebook.com/blog/src/context.ts @@ -2,7 +2,7 @@ import { Context as HonoContext } from "hono"; export type Bindings = { api: Fetcher; - phoenix_storage: R2Bucket; + storage: R2Bucket; }; export type Variables = { diff --git a/phoenix-blog/src/global.d.ts b/cloudflarebook.com/blog/src/global.d.ts similarity index 100% rename from phoenix-blog/src/global.d.ts rename to cloudflarebook.com/blog/src/global.d.ts diff --git a/phoenix-blog/src/index.css b/cloudflarebook.com/blog/src/index.css similarity index 100% rename from phoenix-blog/src/index.css rename to cloudflarebook.com/blog/src/index.css diff --git a/phoenix-blog/src/index.ts b/cloudflarebook.com/blog/src/index.ts similarity index 95% rename from phoenix-blog/src/index.ts rename to cloudflarebook.com/blog/src/index.ts index e6e89e3..6d84fef 100644 --- a/phoenix-blog/src/index.ts +++ b/cloudflarebook.com/blog/src/index.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono'; -import { NotFoundError } from '@phoenix/core/errors'; +import { NotFoundError } from '@cloudflarebook.com/core/errors'; import { ErrorTemplate } from './routes/_error'; import { Bindings, Variables } from './context'; import { handlebars } from './routes/handlebars'; diff --git a/phoenix-blog/src/routes/_base.tsx b/cloudflarebook.com/blog/src/routes/_base.tsx similarity index 97% rename from phoenix-blog/src/routes/_base.tsx rename to cloudflarebook.com/blog/src/routes/_base.tsx index e35b3bb..40b4a88 100644 --- a/phoenix-blog/src/routes/_base.tsx +++ b/cloudflarebook.com/blog/src/routes/_base.tsx @@ -1,6 +1,6 @@ import type { FC } from 'hono/jsx'; import { raw } from 'hono/html'; -import { Blog } from '@phoenix/core/entities'; +import { Blog } from '@cloudflarebook.com/core/entities'; type Props = { blog?: Blog, diff --git a/phoenix-blog/src/routes/_error.tsx b/cloudflarebook.com/blog/src/routes/_error.tsx similarity index 100% rename from phoenix-blog/src/routes/_error.tsx rename to cloudflarebook.com/blog/src/routes/_error.tsx diff --git a/phoenix-blog/src/routes/handlebars.ts b/cloudflarebook.com/blog/src/routes/handlebars.ts similarity index 88% rename from phoenix-blog/src/routes/handlebars.ts rename to cloudflarebook.com/blog/src/routes/handlebars.ts index c165fbf..f643e0a 100644 --- a/phoenix-blog/src/routes/handlebars.ts +++ b/cloudflarebook.com/blog/src/routes/handlebars.ts @@ -1,4 +1,4 @@ -import { sha256Sum } from "@phoenix/core/crypto"; +import { sha256Sum } from "@cloudflarebook.com/core/crypto"; import { Context } from "../context"; import { handleCaching } from "../caching"; diff --git a/phoenix-blog/src/routes/index.tsx b/cloudflarebook.com/blog/src/routes/index.tsx similarity index 93% rename from phoenix-blog/src/routes/index.tsx rename to cloudflarebook.com/blog/src/routes/index.tsx index 53dd9f5..61746e9 100644 --- a/phoenix-blog/src/routes/index.tsx +++ b/cloudflarebook.com/blog/src/routes/index.tsx @@ -1,8 +1,8 @@ -import { sha256Sum } from "@phoenix/core/crypto"; +import { sha256Sum } from "@cloudflarebook.com/core/crypto"; import { Context } from "../context"; import { getBlog, getPosts } from "../utils"; import { handleCaching } from "../caching"; -import { Blog, Page } from '@phoenix/core/entities'; +import { Blog, Page } from '@cloudflarebook.com/core/entities'; import type { FC } from 'hono/jsx'; import { Base } from './_base'; import { date } from '../utils'; diff --git a/phoenix-blog/src/routes/page.tsx b/cloudflarebook.com/blog/src/routes/page.tsx similarity index 92% rename from phoenix-blog/src/routes/page.tsx rename to cloudflarebook.com/blog/src/routes/page.tsx index 802919d..658eddc 100644 --- a/phoenix-blog/src/routes/page.tsx +++ b/cloudflarebook.com/blog/src/routes/page.tsx @@ -1,9 +1,9 @@ -import { sha256Sum } from "@phoenix/core/crypto"; +import { sha256Sum } from "@cloudflarebook.com/core/crypto"; import { Context } from "../context"; import { getBlog, getPage, maxTime } from "../utils"; import templatesHash from './templates_sha256.txt'; import { handleCaching } from "../caching"; -import { Blog, Page } from "@phoenix/core/entities"; +import { Blog, Page } from "@cloudflarebook.com/core/entities"; import { FC } from "hono/jsx"; import { Base } from "./_base"; diff --git a/phoenix-blog/src/routes/templates_sha256.txt b/cloudflarebook.com/blog/src/routes/templates_sha256.txt similarity index 100% rename from phoenix-blog/src/routes/templates_sha256.txt rename to cloudflarebook.com/blog/src/routes/templates_sha256.txt diff --git a/phoenix-blog/src/templates_handlebars/base.handlebars b/cloudflarebook.com/blog/src/templates_handlebars/base.handlebars similarity index 100% rename from phoenix-blog/src/templates_handlebars/base.handlebars rename to cloudflarebook.com/blog/src/templates_handlebars/base.handlebars diff --git a/phoenix-blog/src/templates_handlebars/handlebars.handlebars b/cloudflarebook.com/blog/src/templates_handlebars/handlebars.handlebars similarity index 100% rename from phoenix-blog/src/templates_handlebars/handlebars.handlebars rename to cloudflarebook.com/blog/src/templates_handlebars/handlebars.handlebars diff --git a/phoenix-blog/src/templates_handlebars/index.ts b/cloudflarebook.com/blog/src/templates_handlebars/index.ts similarity index 100% rename from phoenix-blog/src/templates_handlebars/index.ts rename to cloudflarebook.com/blog/src/templates_handlebars/index.ts diff --git a/phoenix-blog/src/templates_handlebars/precompiled.js b/cloudflarebook.com/blog/src/templates_handlebars/precompiled.js similarity index 100% rename from phoenix-blog/src/templates_handlebars/precompiled.js rename to cloudflarebook.com/blog/src/templates_handlebars/precompiled.js diff --git a/phoenix-blog/src/utils.ts b/cloudflarebook.com/blog/src/utils.ts similarity index 90% rename from phoenix-blog/src/utils.ts rename to cloudflarebook.com/blog/src/utils.ts index 89eca75..0d24490 100644 --- a/phoenix-blog/src/utils.ts +++ b/cloudflarebook.com/blog/src/utils.ts @@ -1,6 +1,6 @@ -import { ApiError, ApiResponse } from "@phoenix/core/api"; -import { Blog, BlogValidator, Page, PageValidator } from "@phoenix/core/entities"; -import { InternalServerError, NotFoundError } from "@phoenix/core/errors"; +import { ApiError, ApiResponse } from "@cloudflarebook.com/core/api"; +import { Blog, BlogValidator, Page, PageValidator } from "@cloudflarebook.com/core/entities"; +import { InternalServerError, NotFoundError } from "@cloudflarebook.com/core/errors"; import { Context } from "./context"; export async function getBlog(ctx: Context, domain: string): Promise { diff --git a/phoenix-blog/tailwind.config.js b/cloudflarebook.com/blog/tailwind.config.js similarity index 100% rename from phoenix-blog/tailwind.config.js rename to cloudflarebook.com/blog/tailwind.config.js diff --git a/phoenix-blog/tsconfig.json b/cloudflarebook.com/blog/tsconfig.json similarity index 100% rename from phoenix-blog/tsconfig.json rename to cloudflarebook.com/blog/tsconfig.json diff --git a/phoenix-blog/wrangler.toml b/cloudflarebook.com/blog/wrangler.toml similarity index 75% rename from phoenix-blog/wrangler.toml rename to cloudflarebook.com/blog/wrangler.toml index 2ddcdab..2370fd6 100644 --- a/phoenix-blog/wrangler.toml +++ b/cloudflarebook.com/blog/wrangler.toml @@ -1,9 +1,9 @@ -name = "phoenix-blog" +name = "cloudflarebook-blog" main = "src/index.ts" compatibility_date = "2023-09-18" services = [ - { binding = "api", service = "phoenix-api" } + { binding = "api", service = "cloudflarebook-api" } ] [site] @@ -18,5 +18,5 @@ rules = [ [[r2_buckets]] -binding = "phoenix_storage" -bucket_name = "phoenix" +binding = "storage" +bucket_name = "cloudflarebook" diff --git a/docs/phoenix_architecture.png b/cloudflarebook.com/docs/architecture.png similarity index 100% rename from docs/phoenix_architecture.png rename to cloudflarebook.com/docs/architecture.png diff --git a/package-lock.json b/cloudflarebook.com/package-lock.json similarity index 83% rename from package-lock.json rename to cloudflarebook.com/package-lock.json index fc67ce9..49f17d1 100644 --- a/package-lock.json +++ b/cloudflarebook.com/package-lock.json @@ -1,20 +1,22 @@ { - "name": "phoenix", + "name": "cloudflarebook.com", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "phoenix", + "name": "cloudflarebook.com", "version": "0.1.0", "workspaces": [ - "phoenix-*", + "api", + "blog", + "webapp", "packages/*" ], "dependencies": { - "@phoenix/core": "file:./packages/core", - "@phoenix/jwt": "file:./packages/jwt", - "@phoenix/uuidv7": "file:./packages/uuidv7", + "@cloudflarebook.com/core": "file:./packages/core", + "@cloudflarebook.com/jwt": "file:./packages/jwt", + "@cloudflarebook.com/uuidv7": "file:./packages/uuidv7", "zod": "^3.22.4" }, "devDependencies": { @@ -23,6 +25,23 @@ "wrangler": "^3.14.0" } }, + "api": { + "version": "0.1.0", + "dependencies": { + "hono": "^3.8.3" + } + }, + "blog": { + "version": "0.1.0", + "dependencies": { + "handlebars": "^4.7.8", + "hono": "^3.8.3" + }, + "devDependencies": { + "@tailwindcss/typography": "^0.5.10", + "tailwindcss": "^3.3.5" + } + }, "node_modules/@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", @@ -171,11 +190,47 @@ } }, "node_modules/@cloudflare/workers-types": { - "version": "4.20231121.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20231121.0.tgz", - "integrity": "sha512-+kWfpCkqiepwAKXyHoE0gnkPgkLhz0/9HOBIGhHRsUvUKvhUtm3mbqqoGRWgF1qcjzrDUBbrrOq4MYHfFtc2RA==", + "version": "4.20231218.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20231218.0.tgz", + "integrity": "sha512-Vs1FKjfUjXYGbCsXzkl+ITp0Iyb6QiW6+vTERTNThC+v96T0IvPVAioH4tT20rXwoxAfxh380mAaxYtTrJUNVg==", "dev": true }, + "node_modules/@cloudflarebook.com/api": { + "resolved": "api", + "link": true + }, + "node_modules/@cloudflarebook.com/base64": { + "resolved": "packages/base64", + "link": true + }, + "node_modules/@cloudflarebook.com/core": { + "resolved": "packages/core", + "link": true + }, + "node_modules/@cloudflarebook.com/deepclone": { + "resolved": "packages/deepclone", + "link": true + }, + "node_modules/@cloudflarebook.com/jwt": { + "resolved": "packages/jwt", + "link": true + }, + "node_modules/@cloudflarebook.com/uuidv7": { + "resolved": "packages/uuidv7", + "link": true + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild-plugins/node-globals-polyfill": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.2.3.tgz", @@ -198,6 +253,22 @@ "esbuild": "*" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.10.tgz", + "integrity": "sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", @@ -571,13 +642,29 @@ } }, "node_modules/@heroicons/vue": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.0.18.tgz", - "integrity": "sha512-BcTC9nq2TkwNSfQuqo96J7ehx4etezypc2YeTq7KsXWxrcrerhkgjLrxGRBnStN0wrXo0Gv4BInybqz5uBG6Cw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.1.1.tgz", + "integrity": "sha512-Yi5nh/89L193ALgHyJUQUdNLsKXPrrE3yj5yiR8WAlo7nZyXGxGauQcEAmBsa2XJGMhBMuEdoOiuZ8wEwTBxVQ==", "peerDependencies": { "vue": ">= 3" } }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -613,12 +700,12 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" } }, "node_modules/@nodelib/fs.scandir": { @@ -653,25 +740,14 @@ "node": ">= 8" } }, - "node_modules/@phoenix/base64": { - "resolved": "packages/base64", - "link": true - }, - "node_modules/@phoenix/core": { - "resolved": "packages/core", - "link": true - }, - "node_modules/@phoenix/deepclone": { - "resolved": "packages/deepclone", - "link": true - }, - "node_modules/@phoenix/jwt": { - "resolved": "packages/jwt", - "link": true - }, - "node_modules/@phoenix/uuidv7": { - "resolved": "packages/uuidv7", - "link": true + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } }, "node_modules/@popperjs/core": { "version": "2.11.8", @@ -716,9 +792,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.0.tgz", - "integrity": "sha512-+1ge/xmaJpm1KVBuIH38Z94zj9fBD+hp+/5WLaHgyY8XLq1ibxk/zj6dTXaqM2cAbYKq8jYlhHd6k05If1W5xA==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.1.tgz", + "integrity": "sha512-6vMdBZqtq1dVQ4CWdhFwhKZL6E4L1dV6jUjuBvsavvNJSppzi6dLBbuV+3+IyUREaj9ZFvQefnQm28v4OCXlig==", "cpu": [ "arm" ], @@ -729,9 +805,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.0.tgz", - "integrity": "sha512-im6hUEyQ7ZfoZdNvtwgEJvBWZYauC9KVKq1w58LG2Zfz6zMd8gRrbN+xCVoqA2hv/v6fm9lp5LFGJ3za8EQH3A==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.1.tgz", + "integrity": "sha512-Jto9Fl3YQ9OLsTDWtLFPtaIMSL2kwGyGoVCmPC8Gxvym9TCZm4Sie+cVeblPO66YZsYH8MhBKDMGZ2NDxuk/XQ==", "cpu": [ "arm64" ], @@ -742,9 +818,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.0.tgz", - "integrity": "sha512-u7aTMskN6Dmg1lCT0QJ+tINRt+ntUrvVkhbPfFz4bCwRZvjItx2nJtwJnJRlKMMaQCHRjrNqHRDYvE4mBm3DlQ==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.1.tgz", + "integrity": "sha512-LtYcLNM+bhsaKAIGwVkh5IOWhaZhjTfNOkGzGqdHvhiCUVuJDalvDxEdSnhFzAn+g23wgsycmZk1vbnaibZwwA==", "cpu": [ "arm64" ], @@ -755,9 +831,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.0.tgz", - "integrity": "sha512-8FvEl3w2ExmpcOmX5RJD0yqXcVSOqAJJUJ29Lca29Ik+3zPS1yFimr2fr5JSZ4Z5gt8/d7WqycpgkX9nocijSw==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.1.tgz", + "integrity": "sha512-KyP/byeXu9V+etKO6Lw3E4tW4QdcnzDG/ake031mg42lob5tN+5qfr+lkcT/SGZaH2PdW4Z1NX9GHEkZ8xV7og==", "cpu": [ "x64" ], @@ -768,9 +844,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.0.tgz", - "integrity": "sha512-lHoKYaRwd4gge+IpqJHCY+8Vc3hhdJfU6ukFnnrJasEBUvVlydP8PuwndbWfGkdgSvZhHfSEw6urrlBj0TSSfg==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.1.tgz", + "integrity": "sha512-Yqz/Doumf3QTKplwGNrCHe/B2p9xqDghBZSlAY0/hU6ikuDVQuOUIpDP/YcmoT+447tsZTmirmjgG3znvSCR0Q==", "cpu": [ "arm" ], @@ -781,9 +857,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.0.tgz", - "integrity": "sha512-JbEPfhndYeWHfOSeh4DOFvNXrj7ls9S/2omijVsao+LBPTPayT1uKcK3dHW3MwDJ7KO11t9m2cVTqXnTKpeaiw==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.1.tgz", + "integrity": "sha512-u3XkZVvxcvlAOlQJ3UsD1rFvLWqu4Ef/Ggl40WAVCuogf4S1nJPHh5RTgqYFpCOvuGJ7H5yGHabjFKEZGExk5Q==", "cpu": [ "arm64" ], @@ -794,9 +870,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.0.tgz", - "integrity": "sha512-ahqcSXLlcV2XUBM3/f/C6cRoh7NxYA/W7Yzuv4bDU1YscTFw7ay4LmD7l6OS8EMhTNvcrWGkEettL1Bhjf+B+w==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.1.tgz", + "integrity": "sha512-0XSYN/rfWShW+i+qjZ0phc6vZ7UWI8XWNz4E/l+6edFt+FxoEghrJHjX1EY/kcUGCnZzYYRCl31SNdfOi450Aw==", "cpu": [ "arm64" ], @@ -807,9 +883,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.0.tgz", - "integrity": "sha512-uwvOYNtLw8gVtrExKhdFsYHA/kotURUmZYlinH2VcQxNCQJeJXnkmWgw2hI9Xgzhgu7J9QvWiq9TtTVwWMDa+w==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.1.tgz", + "integrity": "sha512-LmYIO65oZVfFt9t6cpYkbC4d5lKHLYv5B4CSHRpnANq0VZUQXGcCPXHzbCXCz4RQnx7jvlYB1ISVNCE/omz5cw==", "cpu": [ "riscv64" ], @@ -820,9 +896,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.0.tgz", - "integrity": "sha512-m6pkSwcZZD2LCFHZX/zW2aLIISyzWLU3hrLLzQKMI12+OLEzgruTovAxY5sCZJkipklaZqPy/2bEEBNjp+Y7xg==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.1.tgz", + "integrity": "sha512-kr8rEPQ6ns/Lmr/hiw8sEVj9aa07gh1/tQF2Y5HrNCCEPiCBGnBUt9tVusrcBBiJfIt1yNaXN6r1CCmpbFEDpg==", "cpu": [ "x64" ], @@ -833,9 +909,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.0.tgz", - "integrity": "sha512-VFAC1RDRSbU3iOF98X42KaVicAfKf0m0OvIu8dbnqhTe26Kh6Ym9JrDulz7Hbk7/9zGc41JkV02g+p3BivOdAg==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.1.tgz", + "integrity": "sha512-t4QSR7gN+OEZLG0MiCgPqMWZGwmeHhsM4AkegJ0Kiy6TnJ9vZ8dEIwHw1LcZKhbHxTY32hp9eVCMdR3/I8MGRw==", "cpu": [ "x64" ], @@ -846,9 +922,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.0.tgz", - "integrity": "sha512-9jPgMvTKXARz4inw6jezMLA2ihDBvgIU9Ml01hjdVpOcMKyxFBJrn83KVQINnbeqDv0+HdO1c09hgZ8N0s820Q==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.1.tgz", + "integrity": "sha512-7XI4ZCBN34cb+BH557FJPmh0kmNz2c25SCQeT9OiFWEgf8+dL6ZwJ8f9RnUIit+j01u07Yvrsuu1rZGxJCc51g==", "cpu": [ "arm64" ], @@ -859,9 +935,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.0.tgz", - "integrity": "sha512-WE4pT2kTXQN2bAv40Uog0AsV7/s9nT9HBWXAou8+++MBCnY51QS02KYtm6dQxxosKi1VIz/wZIrTQO5UP2EW+Q==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.1.tgz", + "integrity": "sha512-yE5c2j1lSWOH5jp+Q0qNL3Mdhr8WuqCNVjc6BxbVfS5cAS6zRmdiw7ktb8GNpDCEUJphILY6KACoFoRtKoqNQg==", "cpu": [ "ia32" ], @@ -872,9 +948,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.0.tgz", - "integrity": "sha512-aPP5Q5AqNGuT0tnuEkK/g4mnt3ZhheiXrDIiSVIHN9mcN21OyXDVbEMqmXPE7e2OplNLDkcvV+ZoGJa2ZImFgw==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.1.tgz", + "integrity": "sha512-PyJsSsafjmIhVgaI1Zdj7m8BB8mMckFah/xbpplObyHfiXzKcI5UOUXRyOdHW7nz4DpMCuzLnF7v5IWHenCwYA==", "cpu": [ "x64" ], @@ -1271,9 +1347,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.10.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz", - "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==", + "version": "20.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.5.tgz", + "integrity": "sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -1316,15 +1392,15 @@ "integrity": "sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==" }, "node_modules/@vitejs/plugin-vue": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.2.tgz", - "integrity": "sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.0.0.tgz", + "integrity": "sha512-7x5e8X4J1Wi4NxudGjJBd2OFerAi/0nzF80ojCzvfj347WVr0YSn82C8BSsgwSHzlk9Kw5xnZfj0/7RLnNwP5w==", "dev": true, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "vite": "^4.0.0 || ^5.0.0", + "vite": "^5.0.0", "vue": "^3.2.25" } }, @@ -1357,12 +1433,12 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", - "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.13.tgz", + "integrity": "sha512-bwi9HShGu7uaZLOErZgsH2+ojsEdsjerbf2cMXPwmvcgZfVPZ2BVZzCVnwZBxTAYd6Mzbmf6izcUNDkWnBBQ6A==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/shared": "3.3.11", + "@vue/shared": "3.3.13", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } @@ -1373,25 +1449,25 @@ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, "node_modules/@vue/compiler-dom": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", - "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.13.tgz", + "integrity": "sha512-EYRDpbLadGtNL0Gph+HoKiYqXLqZ0xSSpR5Dvnu/Ep7ggaCbjRDIus1MMxTS2Qm0koXED4xSlvTZaTnI8cYAsw==", "dependencies": { - "@vue/compiler-core": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-core": "3.3.13", + "@vue/shared": "3.3.13" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", - "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.13.tgz", + "integrity": "sha512-DQVmHEy/EKIgggvnGRLx21hSqnr1smUS9Aq8tfxiiot8UR0/pXKHN9k78/qQ7etyQTFj5em5nruODON7dBeumw==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.11", - "@vue/compiler-dom": "3.3.11", - "@vue/compiler-ssr": "3.3.11", - "@vue/reactivity-transform": "3.3.11", - "@vue/shared": "3.3.11", + "@vue/compiler-core": "3.3.13", + "@vue/compiler-dom": "3.3.13", + "@vue/compiler-ssr": "3.3.13", + "@vue/reactivity-transform": "3.3.13", + "@vue/shared": "3.3.13", "estree-walker": "^2.0.2", "magic-string": "^0.30.5", "postcss": "^8.4.32", @@ -1415,12 +1491,12 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", - "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.13.tgz", + "integrity": "sha512-d/P3bCeUGmkJNS1QUZSAvoCIW4fkOKK3l2deE7zrp0ypJEy+En2AcypIkqvcFQOcw3F0zt2VfMvNsA9JmExTaw==", "dependencies": { - "@vue/compiler-dom": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-dom": "3.3.13", + "@vue/shared": "3.3.13" } }, "node_modules/@vue/devtools-api": { @@ -1429,9 +1505,9 @@ "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" }, "node_modules/@vue/language-core": { - "version": "1.8.25", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.25.tgz", - "integrity": "sha512-NJk/5DnAZlpvXX8BdWmHI45bWGLViUaS3R/RMrmFSvFMSbJKuEODpM4kR0F0Ofv5SFzCWuNiMhxameWpVdQsnA==", + "version": "1.8.26", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.26.tgz", + "integrity": "sha512-9cmza/Y2YTiOnKZ0Mi9zsNn7Irw+aKirP+5LLWVSNaL3fjKJjW1cD3HGBckasY2RuVh4YycvdA9/Q6EBpVd/7Q==", "dev": true, "dependencies": { "@volar/language-core": "~1.11.1", @@ -1454,21 +1530,21 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", - "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.13.tgz", + "integrity": "sha512-fjzCxceMahHhi4AxUBzQqqVhuA21RJ0COaWTbIBl1PruGW1CeY97louZzLi4smpYx+CHfFPPU/CS8NybbGvPKQ==", "dependencies": { - "@vue/shared": "3.3.11" + "@vue/shared": "3.3.13" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", - "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.13.tgz", + "integrity": "sha512-oWnydGH0bBauhXvh5KXUy61xr9gKaMbtsMHk40IK9M4gMuKPJ342tKFarY0eQ6jef8906m35q37wwA8DMZOm5Q==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.11", - "@vue/shared": "3.3.11", + "@vue/compiler-core": "3.3.13", + "@vue/shared": "3.3.13", "estree-walker": "^2.0.2", "magic-string": "^0.30.5" } @@ -1490,45 +1566,45 @@ } }, "node_modules/@vue/runtime-core": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", - "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.13.tgz", + "integrity": "sha512-1TzA5TvGuh2zUwMJgdfvrBABWZ7y8kBwBhm7BXk8rvdx2SsgcGfz2ruv2GzuGZNvL1aKnK8CQMV/jFOrxNQUMA==", "dependencies": { - "@vue/reactivity": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/reactivity": "3.3.13", + "@vue/shared": "3.3.13" } }, "node_modules/@vue/runtime-dom": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", - "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.13.tgz", + "integrity": "sha512-JJkpE8R/hJKXqVTgUoODwS5wqKtOsmJPEqmp90PDVGygtJ4C0PtOkcEYXwhiVEmef6xeXcIlrT3Yo5aQ4qkHhQ==", "dependencies": { - "@vue/runtime-core": "3.3.11", - "@vue/shared": "3.3.11", - "csstype": "^3.1.2" + "@vue/runtime-core": "3.3.13", + "@vue/shared": "3.3.13", + "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", - "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.13.tgz", + "integrity": "sha512-vSnN+nuf6iSqTL3Qgx/9A+BT+0Zf/VJOgF5uMZrKjYPs38GMYyAU1coDyBNHauehXDaP+zl73VhwWv0vBRBHcg==", "dependencies": { - "@vue/compiler-ssr": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-ssr": "3.3.13", + "@vue/shared": "3.3.13" }, "peerDependencies": { - "vue": "3.3.11" + "vue": "3.3.13" } }, "node_modules/@vue/shared": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", - "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==" + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.13.tgz", + "integrity": "sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA==" }, "node_modules/@vue/tsconfig": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.4.0.tgz", - "integrity": "sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.5.1.tgz", + "integrity": "sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==", "dev": true }, "node_modules/acorn": { @@ -1552,11 +1628,21 @@ "node": ">=0.4.0" } }, + "node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, "node_modules/ansi-styles": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, "engines": { "node": ">=12" }, @@ -1660,7 +1746,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -1723,9 +1808,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001570", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", - "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", + "version": "1.0.30001571", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001571.tgz", + "integrity": "sha512-tYq/6MoXhdezDLFZuCO/TKboTzuQ/xR5cFdgXPfDtM7/kchBO3b4VWghE/OAi/DV7tTdhmLjZiZBZi1fA/GheQ==", "dev": true, "funding": [ { @@ -1824,6 +1909,10 @@ "fsevents": "~2.3.2" } }, + "node_modules/cloudflarebook-webapp": { + "resolved": "webapp", + "link": true + }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -1853,11 +1942,6 @@ "integrity": "sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==", "dev": true }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, "node_modules/cookie": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", @@ -1876,7 +1960,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -1954,12 +2037,22 @@ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/electron-to-chromium": { - "version": "1.4.613", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.613.tgz", - "integrity": "sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==", + "version": "1.4.616", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", + "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==", "dev": true }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -2076,9 +2169,9 @@ } }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dependencies": { "reusify": "^1.0.4" } @@ -2094,6 +2187,21 @@ "node": ">=8" } }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/fraction.js": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", @@ -2107,11 +2215,6 @@ "url": "https://github.com/sponsors/rawify" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -2144,19 +2247,21 @@ } }, "node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -2179,26 +2284,6 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", "dev": true }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/handlebars": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", @@ -2249,9 +2334,9 @@ } }, "node_modules/hono": { - "version": "3.11.7", - "resolved": "https://registry.npmjs.org/hono/-/hono-3.11.7.tgz", - "integrity": "sha512-TcfAq7IdipF+9coxnuzYlSSBXbm9mTyWjjagLCv/2ampboNcKJdi+XCK5G48mHQtpI5+9Rj3J4FfcGgw9vzIww==", + "version": "3.11.10", + "resolved": "https://registry.npmjs.org/hono/-/hono-3.11.10.tgz", + "integrity": "sha512-vizPp5PfVq5dwgN+EM+8v7RHlvrrEbnpkHtM2GMsl6KICA/MvWcnEMJ5L8SjYPxueB8VJMwc6nzzgKj5Vovp7g==", "engines": { "node": ">=16.0.0" } @@ -2268,20 +2353,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -2329,6 +2400,14 @@ "node": ">=0.10.0" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -2362,8 +2441,7 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, "node_modules/isobject": { "version": "3.0.1", @@ -2373,6 +2451,23 @@ "node": ">=0.10.0" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jiti": { "version": "1.21.0", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", @@ -2443,7 +2538,6 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", - "dev": true, "engines": { "node": "14 || >=16.14" } @@ -2562,7 +2656,6 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -2581,6 +2674,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2749,14 +2850,6 @@ "node": ">=0.10.0" } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, "node_modules/orderedmap": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/orderedmap/-/orderedmap-2.1.1.tgz", @@ -2799,19 +2892,10 @@ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", "dev": true }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, "engines": { "node": ">=8" } @@ -2821,22 +2905,29 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/path-to-regexp": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", "dev": true }, - "node_modules/phoenix-api": { - "resolved": "phoenix-api", - "link": true - }, "node_modules/phoenix-blog": { - "resolved": "phoenix-blog", - "link": true - }, - "node_modules/phoenix-webapp": { - "resolved": "phoenix-webapp", + "resolved": "blog", "link": true }, "node_modules/picocolors": { @@ -3030,9 +3121,9 @@ } }, "node_modules/postcss-nested/node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.14", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.14.tgz", + "integrity": "sha512-65xXYsT40i9GyWzlHQ5ShZoK7JZdySeOozi/tz2EezDo6c04q6+ckYMeoY7idaie1qp2dT5KoYQ2yky6JuoHnA==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -3233,9 +3324,9 @@ } }, "node_modules/prosemirror-view": { - "version": "1.32.6", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.32.6.tgz", - "integrity": "sha512-26r5LvyDlPgUNVf7ZdNdGrMJnylwjJtUJTfDuYOANIVx9lqWD1WCBlGg283weYQGKUC64DXR25LeAmliB9CrFQ==", + "version": "1.32.7", + "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.32.7.tgz", + "integrity": "sha512-pvxiOoD4shW41X5bYDjRQk3DSG4fMqxh36yPMt7VYgU3dWRmqFzWJM/R6zeo1KtC8nyk717ZbQND3CC9VNeptw==", "dependencies": { "prosemirror-model": "^1.16.0", "prosemirror-state": "^1.0.0", @@ -3353,9 +3444,9 @@ } }, "node_modules/rollup": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.0.tgz", - "integrity": "sha512-bUHW/9N21z64gw8s6tP4c88P382Bq/L5uZDowHlHx6s/QWpjJXivIAbEw6LZthgSvlEizZBfLC4OAvWe7aoF7A==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.1.tgz", + "integrity": "sha512-pgPO9DWzLoW/vIhlSoDByCzcpX92bKEorbgXuZrqxByte3JFk2xSW2JEeAcyLc9Ru9pqcNNW+Ob7ntsk2oT/Xw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -3365,19 +3456,19 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.9.0", - "@rollup/rollup-android-arm64": "4.9.0", - "@rollup/rollup-darwin-arm64": "4.9.0", - "@rollup/rollup-darwin-x64": "4.9.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.9.0", - "@rollup/rollup-linux-arm64-gnu": "4.9.0", - "@rollup/rollup-linux-arm64-musl": "4.9.0", - "@rollup/rollup-linux-riscv64-gnu": "4.9.0", - "@rollup/rollup-linux-x64-gnu": "4.9.0", - "@rollup/rollup-linux-x64-musl": "4.9.0", - "@rollup/rollup-win32-arm64-msvc": "4.9.0", - "@rollup/rollup-win32-ia32-msvc": "4.9.0", - "@rollup/rollup-win32-x64-msvc": "4.9.0", + "@rollup/rollup-android-arm-eabi": "4.9.1", + "@rollup/rollup-android-arm64": "4.9.1", + "@rollup/rollup-darwin-arm64": "4.9.1", + "@rollup/rollup-darwin-x64": "4.9.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.1", + "@rollup/rollup-linux-arm64-gnu": "4.9.1", + "@rollup/rollup-linux-arm64-musl": "4.9.1", + "@rollup/rollup-linux-riscv64-gnu": "4.9.1", + "@rollup/rollup-linux-x64-gnu": "4.9.1", + "@rollup/rollup-linux-x64-musl": "4.9.1", + "@rollup/rollup-win32-arm64-msvc": "4.9.1", + "@rollup/rollup-win32-ia32-msvc": "4.9.1", + "@rollup/rollup-win32-x64-msvc": "4.9.1", "fsevents": "~2.3.2" } }, @@ -3482,7 +3573,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -3494,7 +3584,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, "engines": { "node": ">=8" } @@ -3508,6 +3597,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -3593,14 +3693,102 @@ "npm": ">=6" } }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/sucrase": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", - "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", - "glob": "7.1.6", + "glob": "^10.3.10", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", @@ -3611,7 +3799,7 @@ "sucrase-node": "bin/sucrase-node" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" } }, "node_modules/sucrase/node_modules/lines-and-columns": { @@ -3643,9 +3831,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz", - "integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.0.tgz", + "integrity": "sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -3690,9 +3878,9 @@ } }, "node_modules/tailwindcss/node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.14", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.14.tgz", + "integrity": "sha512-65xXYsT40i9GyWzlHQ5ShZoK7JZdySeOozi/tz2EezDo6c04q6+ckYMeoY7idaie1qp2dT5KoYQ2yky6JuoHnA==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -3863,9 +4051,9 @@ } }, "node_modules/vite": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.9.tgz", - "integrity": "sha512-wVqMd5kp28QWGgfYPDfrj771VyHTJ4UDlCteLH7bJDGDEamaz5hV8IX6h1brSGgnnyf9lI2RnzXq/JmD0c2wwg==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.10.tgz", + "integrity": "sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==", "dev": true, "dependencies": { "esbuild": "^0.19.3", @@ -3918,9 +4106,9 @@ } }, "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.9.tgz", - "integrity": "sha512-jkYjjq7SdsWuNI6b5quymW0oC83NN5FdRPuCbs9HZ02mfVdAP8B8eeqLSYU3gb6OJEaY5CQabtTFbqBf26H3GA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.10.tgz", + "integrity": "sha512-7W0bK7qfkw1fc2viBfrtAEkDKHatYfHzr/jKAHNr9BvkYDXPcC6bodtm8AyLJNNuqClLNaeTLuwURt4PRT9d7w==", "cpu": [ "arm" ], @@ -3934,9 +4122,9 @@ } }, "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.9.tgz", - "integrity": "sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.10.tgz", + "integrity": "sha512-1X4CClKhDgC3by7k8aOWZeBXQX8dHT5QAMCAQDArCLaYfkppoARvh0fit3X2Qs+MXDngKcHv6XXyQCpY0hkK1Q==", "cpu": [ "arm64" ], @@ -3950,9 +4138,9 @@ } }, "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.9.tgz", - "integrity": "sha512-KOqoPntWAH6ZxDwx1D6mRntIgZh9KodzgNOy5Ebt9ghzffOk9X2c1sPwtM9P+0eXbefnDhqYfkh5PLP5ULtWFA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.10.tgz", + "integrity": "sha512-O/nO/g+/7NlitUxETkUv/IvADKuZXyH4BHf/g/7laqKC4i/7whLpB0gvpPc2zpF0q9Q6FXS3TS75QHac9MvVWw==", "cpu": [ "x64" ], @@ -3966,9 +4154,9 @@ } }, "node_modules/vite/node_modules/@esbuild/darwin-arm64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.9.tgz", - "integrity": "sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.10.tgz", + "integrity": "sha512-YSRRs2zOpwypck+6GL3wGXx2gNP7DXzetmo5pHXLrY/VIMsS59yKfjPizQ4lLt5vEI80M41gjm2BxrGZ5U+VMA==", "cpu": [ "arm64" ], @@ -3982,9 +4170,9 @@ } }, "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.9.tgz", - "integrity": "sha512-vE0VotmNTQaTdX0Q9dOHmMTao6ObjyPm58CHZr1UK7qpNleQyxlFlNCaHsHx6Uqv86VgPmR4o2wdNq3dP1qyDQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.10.tgz", + "integrity": "sha512-alfGtT+IEICKtNE54hbvPg13xGBe4GkVxyGWtzr+yHO7HIiRJppPDhOKq3zstTcVf8msXb/t4eavW3jCDpMSmA==", "cpu": [ "x64" ], @@ -3998,9 +4186,9 @@ } }, "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.9.tgz", - "integrity": "sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.10.tgz", + "integrity": "sha512-dMtk1wc7FSH8CCkE854GyGuNKCewlh+7heYP/sclpOG6Cectzk14qdUIY5CrKDbkA/OczXq9WesqnPl09mj5dg==", "cpu": [ "arm64" ], @@ -4014,9 +4202,9 @@ } }, "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.9.tgz", - "integrity": "sha512-WMLgWAtkdTbTu1AWacY7uoj/YtHthgqrqhf1OaEWnZb7PQgpt8eaA/F3LkV0E6K/Lc0cUr/uaVP/49iE4M4asA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.10.tgz", + "integrity": "sha512-G5UPPspryHu1T3uX8WiOEUa6q6OlQh6gNl4CO4Iw5PS+Kg5bVggVFehzXBJY6X6RSOMS8iXDv2330VzaObm4Ag==", "cpu": [ "x64" ], @@ -4030,9 +4218,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.9.tgz", - "integrity": "sha512-C/ChPohUYoyUaqn1h17m/6yt6OB14hbXvT8EgM1ZWaiiTYz7nWZR0SYmMnB5BzQA4GXl3BgBO1l8MYqL/He3qw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.10.tgz", + "integrity": "sha512-j6gUW5aAaPgD416Hk9FHxn27On28H4eVI9rJ4az7oCGTFW48+LcgNDBN+9f8rKZz7EEowo889CPKyeaD0iw9Kg==", "cpu": [ "arm" ], @@ -4046,9 +4234,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.9.tgz", - "integrity": "sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.10.tgz", + "integrity": "sha512-QxaouHWZ+2KWEj7cGJmvTIHVALfhpGxo3WLmlYfJ+dA5fJB6lDEIg+oe/0//FuyVHuS3l79/wyBxbHr0NgtxJQ==", "cpu": [ "arm64" ], @@ -4062,9 +4250,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.9.tgz", - "integrity": "sha512-f37i/0zE0MjDxijkPSQw1CO/7C27Eojqb+r3BbHVxMLkj8GCa78TrBZzvPyA/FNLUMzP3eyHCVkAopkKVja+6Q==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.10.tgz", + "integrity": "sha512-4ub1YwXxYjj9h1UIZs2hYbnTZBtenPw5NfXCRgEkGb0b6OJ2gpkMvDqRDYIDRjRdWSe/TBiZltm3Y3Q8SN1xNg==", "cpu": [ "ia32" ], @@ -4078,9 +4266,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.9.tgz", - "integrity": "sha512-t6mN147pUIf3t6wUt3FeumoOTPfmv9Cc6DQlsVBpB7eCpLOqQDyWBP1ymXn1lDw4fNUSb/gBcKAmvTP49oIkaA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.10.tgz", + "integrity": "sha512-lo3I9k+mbEKoxtoIbM0yC/MZ1i2wM0cIeOejlVdZ3D86LAcFXFRdeuZmh91QJvUTW51bOK5W2BznGNIl4+mDaA==", "cpu": [ "loong64" ], @@ -4094,9 +4282,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.9.tgz", - "integrity": "sha512-jg9fujJTNTQBuDXdmAg1eeJUL4Jds7BklOTkkH80ZgQIoCTdQrDaHYgbFZyeTq8zbY+axgptncko3v9p5hLZtw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.10.tgz", + "integrity": "sha512-J4gH3zhHNbdZN0Bcr1QUGVNkHTdpijgx5VMxeetSk6ntdt+vR1DqGmHxQYHRmNb77tP6GVvD+K0NyO4xjd7y4A==", "cpu": [ "mips64el" ], @@ -4110,9 +4298,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.9.tgz", - "integrity": "sha512-tkV0xUX0pUUgY4ha7z5BbDS85uI7ABw3V1d0RNTii7E9lbmV8Z37Pup2tsLV46SQWzjOeyDi1Q7Wx2+QM8WaCQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.10.tgz", + "integrity": "sha512-tgT/7u+QhV6ge8wFMzaklOY7KqiyitgT1AUHMApau32ZlvTB/+efeCtMk4eXS+uEymYK249JsoiklZN64xt6oQ==", "cpu": [ "ppc64" ], @@ -4126,9 +4314,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.9.tgz", - "integrity": "sha512-DfLp8dj91cufgPZDXr9p3FoR++m3ZJ6uIXsXrIvJdOjXVREtXuQCjfMfvmc3LScAVmLjcfloyVtpn43D56JFHg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.10.tgz", + "integrity": "sha512-0f/spw0PfBMZBNqtKe5FLzBDGo0SKZKvMl5PHYQr3+eiSscfJ96XEknCe+JoOayybWUFQbcJTrk946i3j9uYZA==", "cpu": [ "riscv64" ], @@ -4142,9 +4330,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.9.tgz", - "integrity": "sha512-zHbglfEdC88KMgCWpOl/zc6dDYJvWGLiUtmPRsr1OgCViu3z5GncvNVdf+6/56O2Ca8jUU+t1BW261V6kp8qdw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.10.tgz", + "integrity": "sha512-pZFe0OeskMHzHa9U38g+z8Yx5FNCLFtUnJtQMpwhS+r4S566aK2ci3t4NCP4tjt6d5j5uo4h7tExZMjeKoehAA==", "cpu": [ "s390x" ], @@ -4158,9 +4346,9 @@ } }, "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.9.tgz", - "integrity": "sha512-JUjpystGFFmNrEHQnIVG8hKwvA2DN5o7RqiO1CVX8EN/F/gkCjkUMgVn6hzScpwnJtl2mPR6I9XV1oW8k9O+0A==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.10.tgz", + "integrity": "sha512-SpYNEqg/6pZYoc+1zLCjVOYvxfZVZj6w0KROZ3Fje/QrM3nfvT2llI+wmKSrWuX6wmZeTapbarvuNNK/qepSgA==", "cpu": [ "x64" ], @@ -4174,9 +4362,9 @@ } }, "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.9.tgz", - "integrity": "sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.10.tgz", + "integrity": "sha512-ACbZ0vXy9zksNArWlk2c38NdKg25+L9pr/mVaj9SUq6lHZu/35nx2xnQVRGLrC1KKQqJKRIB0q8GspiHI3J80Q==", "cpu": [ "x64" ], @@ -4190,9 +4378,9 @@ } }, "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.9.tgz", - "integrity": "sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.10.tgz", + "integrity": "sha512-PxcgvjdSjtgPMiPQrM3pwSaG4kGphP+bLSb+cihuP0LYdZv1epbAIecHVl5sD3npkfYBZ0ZnOjR878I7MdJDFg==", "cpu": [ "x64" ], @@ -4206,9 +4394,9 @@ } }, "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.9.tgz", - "integrity": "sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.10.tgz", + "integrity": "sha512-ZkIOtrRL8SEJjr+VHjmW0znkPs+oJXhlJbNwfI37rvgeMtk3sxOQevXPXjmAPZPigVTncvFqLMd+uV0IBSEzqA==", "cpu": [ "x64" ], @@ -4222,9 +4410,9 @@ } }, "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.9.tgz", - "integrity": "sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.10.tgz", + "integrity": "sha512-+Sa4oTDbpBfGpl3Hn3XiUe4f8TU2JF7aX8cOfqFYMMjXp6ma6NJDztl5FDG8Ezx0OjwGikIHw+iA54YLDNNVfw==", "cpu": [ "arm64" ], @@ -4238,9 +4426,9 @@ } }, "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.9.tgz", - "integrity": "sha512-UOozV7Ntykvr5tSOlGCrqU3NBr3d8JqPes0QWN2WOXfvkWVGRajC+Ym0/Wj88fUgecUCLDdJPDF0Nna2UK3Qtg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.10.tgz", + "integrity": "sha512-EOGVLK1oWMBXgfttJdPHDTiivYSjX6jDNaATeNOaCOFEVcfMjtbx7WVQwPSE1eIfCp/CaSF2nSrDtzc4I9f8TQ==", "cpu": [ "ia32" ], @@ -4254,9 +4442,9 @@ } }, "node_modules/vite/node_modules/@esbuild/win32-x64": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.9.tgz", - "integrity": "sha512-oxoQgglOP7RH6iasDrhY+R/3cHrfwIDvRlT4CGChflq6twk8iENeVvMJjmvBb94Ik1Z+93iGO27err7w6l54GQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.10.tgz", + "integrity": "sha512-whqLG6Sc70AbU73fFYvuYzaE4MNMBIlR1Y/IrUeOXFrWHxBEjjbZaQ3IXIQS8wJdAzue2GwYZCjOrgrU1oUHoA==", "cpu": [ "x64" ], @@ -4270,9 +4458,9 @@ } }, "node_modules/vite/node_modules/esbuild": { - "version": "0.19.9", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.9.tgz", - "integrity": "sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.10.tgz", + "integrity": "sha512-S1Y27QGt/snkNYrRcswgRFqZjaTG5a5xM3EQo97uNBnH505pdzSNe/HLBq1v0RO7iK/ngdbhJB6mDAp0OK+iUA==", "dev": true, "hasInstallScript": true, "bin": { @@ -4282,40 +4470,41 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.9", - "@esbuild/android-arm64": "0.19.9", - "@esbuild/android-x64": "0.19.9", - "@esbuild/darwin-arm64": "0.19.9", - "@esbuild/darwin-x64": "0.19.9", - "@esbuild/freebsd-arm64": "0.19.9", - "@esbuild/freebsd-x64": "0.19.9", - "@esbuild/linux-arm": "0.19.9", - "@esbuild/linux-arm64": "0.19.9", - "@esbuild/linux-ia32": "0.19.9", - "@esbuild/linux-loong64": "0.19.9", - "@esbuild/linux-mips64el": "0.19.9", - "@esbuild/linux-ppc64": "0.19.9", - "@esbuild/linux-riscv64": "0.19.9", - "@esbuild/linux-s390x": "0.19.9", - "@esbuild/linux-x64": "0.19.9", - "@esbuild/netbsd-x64": "0.19.9", - "@esbuild/openbsd-x64": "0.19.9", - "@esbuild/sunos-x64": "0.19.9", - "@esbuild/win32-arm64": "0.19.9", - "@esbuild/win32-ia32": "0.19.9", - "@esbuild/win32-x64": "0.19.9" + "@esbuild/aix-ppc64": "0.19.10", + "@esbuild/android-arm": "0.19.10", + "@esbuild/android-arm64": "0.19.10", + "@esbuild/android-x64": "0.19.10", + "@esbuild/darwin-arm64": "0.19.10", + "@esbuild/darwin-x64": "0.19.10", + "@esbuild/freebsd-arm64": "0.19.10", + "@esbuild/freebsd-x64": "0.19.10", + "@esbuild/linux-arm": "0.19.10", + "@esbuild/linux-arm64": "0.19.10", + "@esbuild/linux-ia32": "0.19.10", + "@esbuild/linux-loong64": "0.19.10", + "@esbuild/linux-mips64el": "0.19.10", + "@esbuild/linux-ppc64": "0.19.10", + "@esbuild/linux-riscv64": "0.19.10", + "@esbuild/linux-s390x": "0.19.10", + "@esbuild/linux-x64": "0.19.10", + "@esbuild/netbsd-x64": "0.19.10", + "@esbuild/openbsd-x64": "0.19.10", + "@esbuild/sunos-x64": "0.19.10", + "@esbuild/win32-arm64": "0.19.10", + "@esbuild/win32-ia32": "0.19.10", + "@esbuild/win32-x64": "0.19.10" } }, "node_modules/vue": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", - "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.13.tgz", + "integrity": "sha512-LDnUpQvDgsfc0u/YgtAgTMXJlJQqjkxW1PVcOnJA5cshPleULDjHi7U45pl2VJYazSSvLH8UKcid/kzH8I0a0Q==", "dependencies": { - "@vue/compiler-dom": "3.3.11", - "@vue/compiler-sfc": "3.3.11", - "@vue/runtime-dom": "3.3.11", - "@vue/server-renderer": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-dom": "3.3.13", + "@vue/compiler-sfc": "3.3.13", + "@vue/runtime-dom": "3.3.13", + "@vue/server-renderer": "3.3.13", + "@vue/shared": "3.3.13" }, "peerDependencies": { "typescript": "*" @@ -4366,9 +4555,9 @@ } }, "node_modules/vue-template-compiler": { - "version": "2.7.15", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.15.tgz", - "integrity": "sha512-yQxjxMptBL7UAog00O8sANud99C6wJF+7kgbcwqkvA38vCGF7HWE66w0ZFnS/kX5gSoJr/PQ4/oS3Ne2pW37Og==", + "version": "2.7.16", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz", + "integrity": "sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==", "dev": true, "dependencies": { "de-indent": "^1.0.2", @@ -4376,13 +4565,13 @@ } }, "node_modules/vue-tsc": { - "version": "1.8.25", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.25.tgz", - "integrity": "sha512-lHsRhDc/Y7LINvYhZ3pv4elflFADoEOo67vfClAfF2heVHpHmVquLSjojgCSIwzA4F0Pc4vowT/psXCYcfk+iQ==", + "version": "1.8.26", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.26.tgz", + "integrity": "sha512-jMEJ4aqU/l1hdgmeExH5h1TFoN+hbho0A2ZAhHy53/947DGm7Qj/bpB85VpECOCwV00h7JYNVnvoD2ceOorB4Q==", "dev": true, "dependencies": { "@volar/typescript": "~1.11.1", - "@vue/language-core": "1.8.25", + "@vue/language-core": "1.8.26", "semver": "^7.5.4" }, "bin": { @@ -4401,7 +4590,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -4438,12 +4626,13 @@ } }, "node_modules/wrangler": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.20.0.tgz", - "integrity": "sha512-7mg25zJByhBmrfG+CbImSid7JNd5lxGovLA167ndtE8Yrqd3TUukrGWL8o0RCQIm0FUcgl2nCzWArJDShlZVKA==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.22.1.tgz", + "integrity": "sha512-fN7WOF6Ono/TV5V90PuJQNf0azS7B+5C/N/KRjqhlAIQBz+c0yLOGkF6kC/akxjr1yIAC9AzcPk9+OuTSq0C+g==", "dev": true, "dependencies": { "@cloudflare/kv-asset-handler": "^0.2.0", + "@cspotcode/source-map-support": "0.8.1", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "blake3-wasm": "^2.1.5", @@ -4455,7 +4644,6 @@ "resolve.exports": "^2.0.2", "selfsigned": "^2.0.1", "source-map": "0.6.1", - "source-map-support": "0.5.21", "xxhash-wasm": "^1.0.1" }, "bin": { @@ -4469,10 +4657,105 @@ "fsevents": "~2.3.2" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } }, "node_modules/ws": { "version": "8.15.1", @@ -4540,7 +4823,7 @@ "packages/core": { "version": "0.1.0", "dependencies": { - "@phoenix/deepclone": "*" + "@cloudflarebook.com/deepclone": "*" } }, "packages/deepclone": { @@ -4552,29 +4835,12 @@ "packages/uuidv7": { "version": "0.1.0" }, - "phoenix-api": { - "version": "0.1.0", - "dependencies": { - "hono": "^3.8.3" - } - }, - "phoenix-blog": { - "version": "0.1.0", - "dependencies": { - "handlebars": "^4.7.8", - "hono": "^3.8.3" - }, - "devDependencies": { - "@tailwindcss/typography": "^0.5.10", - "tailwindcss": "^3.3.5" - } - }, - "phoenix-webapp": { + "webapp": { "version": "0.1.0", "dependencies": { + "@cloudflarebook.com/core": "file:../packages/core", "@headlessui/vue": "^1.7.16", "@heroicons/vue": "^2.0.18", - "@phoenix/core": "file:../packages/core", "@tailwindcss/forms": "^0.5.6", "@tiptap/extension-image": "^2.1.12", "@tiptap/pm": "^2.1.12", @@ -4590,8 +4856,8 @@ "@tsconfig/node18": "^18.2.2", "@types/node": "^20.8.9", "@types/nprogress": "^0.2.2", - "@vitejs/plugin-vue": "^4.4.0", - "@vue/tsconfig": "^0.4.0", + "@vitejs/plugin-vue": "^5.0.0", + "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.16", "npm-run-all2": "^6.1.1", "postcss": "^8.4.31", diff --git a/package.json b/cloudflarebook.com/package.json similarity index 66% rename from package.json rename to cloudflarebook.com/package.json index 1841535..772d734 100644 --- a/package.json +++ b/cloudflarebook.com/package.json @@ -1,11 +1,13 @@ { - "name": "phoenix", + "name": "cloudflarebook.com", "author": "https://kerkour.com", "version": "0.1.0", "private": true, "description": "Serverless blogging engine", "workspaces": [ - "phoenix-*", + "api", + "blog", + "webapp", "packages/*" ], "repository": { @@ -18,9 +20,9 @@ "wrangler": "^3.14.0" }, "dependencies": { - "@phoenix/core": "file:./packages/core", - "@phoenix/jwt": "file:./packages/jwt", - "@phoenix/uuidv7": "file:./packages/uuidv7", + "@cloudflarebook.com/core": "file:./packages/core", + "@cloudflarebook.com/jwt": "file:./packages/jwt", + "@cloudflarebook.com/uuidv7": "file:./packages/uuidv7", "zod": "^3.22.4" } } diff --git a/packages/base64/README.md b/cloudflarebook.com/packages/base64/README.md similarity index 100% rename from packages/base64/README.md rename to cloudflarebook.com/packages/base64/README.md diff --git a/packages/base64/index.d.ts b/cloudflarebook.com/packages/base64/index.d.ts similarity index 100% rename from packages/base64/index.d.ts rename to cloudflarebook.com/packages/base64/index.d.ts diff --git a/packages/base64/index.js b/cloudflarebook.com/packages/base64/index.js similarity index 100% rename from packages/base64/index.js rename to cloudflarebook.com/packages/base64/index.js diff --git a/packages/base64/package.json b/cloudflarebook.com/packages/base64/package.json similarity index 70% rename from packages/base64/package.json rename to cloudflarebook.com/packages/base64/package.json index 7dbe513..ca28894 100644 --- a/packages/base64/package.json +++ b/cloudflarebook.com/packages/base64/package.json @@ -1,5 +1,5 @@ { - "name": "@phoenix/base64", + "name": "@cloudflarebook.com/base64", "version": "0.1.0", "private": true, "main": "index.js", diff --git a/packages/core/api.ts b/cloudflarebook.com/packages/core/api.ts similarity index 98% rename from packages/core/api.ts rename to cloudflarebook.com/packages/core/api.ts index b6f4acb..3009d53 100644 --- a/packages/core/api.ts +++ b/cloudflarebook.com/packages/core/api.ts @@ -1,6 +1,6 @@ import { z } from 'zod'; import { PageType, type User } from './entities'; -import deepClone from '@phoenix/deepclone'; +import deepClone from '@cloudflarebook.com/deepclone'; export * from './api_client'; export * from './api_routes'; diff --git a/packages/core/api_client.ts b/cloudflarebook.com/packages/core/api_client.ts similarity index 100% rename from packages/core/api_client.ts rename to cloudflarebook.com/packages/core/api_client.ts diff --git a/packages/core/api_routes.ts b/cloudflarebook.com/packages/core/api_routes.ts similarity index 100% rename from packages/core/api_routes.ts rename to cloudflarebook.com/packages/core/api_routes.ts diff --git a/packages/core/crypto.ts b/cloudflarebook.com/packages/core/crypto.ts similarity index 100% rename from packages/core/crypto.ts rename to cloudflarebook.com/packages/core/crypto.ts diff --git a/packages/core/entities.ts b/cloudflarebook.com/packages/core/entities.ts similarity index 100% rename from packages/core/entities.ts rename to cloudflarebook.com/packages/core/entities.ts diff --git a/packages/core/errors.ts b/cloudflarebook.com/packages/core/errors.ts similarity index 100% rename from packages/core/errors.ts rename to cloudflarebook.com/packages/core/errors.ts diff --git a/packages/core/middlewares.ts b/cloudflarebook.com/packages/core/middlewares.ts similarity index 87% rename from packages/core/middlewares.ts rename to cloudflarebook.com/packages/core/middlewares.ts index f0a4b9a..63d8a42 100644 --- a/packages/core/middlewares.ts +++ b/cloudflarebook.com/packages/core/middlewares.ts @@ -1,11 +1,11 @@ import { MiddlewareHandler } from "hono"; -import { uuidv7 } from "@phoenix/uuidv7"; +import { uuidv7 } from "@cloudflarebook.com/uuidv7"; export function requestIdMiddleware(): MiddlewareHandler { return async (ctx, next) => { const requestId = uuidv7(); ctx.set('request_id', requestId); - ctx.res.headers.set('X-Phoenix-Request-Id', requestId); + ctx.res.headers.set('X-CloudflareBook-Request-Id', requestId); await next(); }; } diff --git a/packages/core/package.json b/cloudflarebook.com/packages/core/package.json similarity index 53% rename from packages/core/package.json rename to cloudflarebook.com/packages/core/package.json index d2dfcc8..87781f3 100644 --- a/packages/core/package.json +++ b/cloudflarebook.com/packages/core/package.json @@ -1,9 +1,9 @@ { - "name": "@phoenix/core", + "name": "@cloudflarebook.com/core", "version": "0.1.0", "private": true, "type": "module", "dependencies": { - "@phoenix/deepclone": "*" + "@cloudflarebook.com/deepclone": "*" } } diff --git a/packages/core/package_old.json b/cloudflarebook.com/packages/core/package_old.json similarity index 88% rename from packages/core/package_old.json rename to cloudflarebook.com/packages/core/package_old.json index 62dfd2b..5d423f5 100644 --- a/packages/core/package_old.json +++ b/cloudflarebook.com/packages/core/package_old.json @@ -1,5 +1,5 @@ { - "name": "@phoenix/core", + "name": "@cloudflarebook.com/core", "version": "0.1.0", "private": true, "type": "module", diff --git a/packages/core/tsconfig_old.json b/cloudflarebook.com/packages/core/tsconfig_old.json similarity index 100% rename from packages/core/tsconfig_old.json rename to cloudflarebook.com/packages/core/tsconfig_old.json diff --git a/packages/deepclone/README.md b/cloudflarebook.com/packages/deepclone/README.md similarity index 100% rename from packages/deepclone/README.md rename to cloudflarebook.com/packages/deepclone/README.md diff --git a/packages/deepclone/deepclone.js b/cloudflarebook.com/packages/deepclone/deepclone.js similarity index 100% rename from packages/deepclone/deepclone.js rename to cloudflarebook.com/packages/deepclone/deepclone.js diff --git a/packages/deepclone/index.d.ts b/cloudflarebook.com/packages/deepclone/index.d.ts similarity index 100% rename from packages/deepclone/index.d.ts rename to cloudflarebook.com/packages/deepclone/index.d.ts diff --git a/packages/deepclone/index.js b/cloudflarebook.com/packages/deepclone/index.js similarity index 100% rename from packages/deepclone/index.js rename to cloudflarebook.com/packages/deepclone/index.js diff --git a/packages/deepclone/package.json b/cloudflarebook.com/packages/deepclone/package.json similarity index 78% rename from packages/deepclone/package.json rename to cloudflarebook.com/packages/deepclone/package.json index e9fb440..e9a4b27 100644 --- a/packages/deepclone/package.json +++ b/cloudflarebook.com/packages/deepclone/package.json @@ -1,5 +1,5 @@ { - "name": "@phoenix/deepclone", + "name": "@cloudflarebook.com/deepclone", "version": "1.0.0", "description": "Really Fast Deep Clone", "main": "index.js", diff --git a/packages/jwt/README.md b/cloudflarebook.com/packages/jwt/README.md similarity index 100% rename from packages/jwt/README.md rename to cloudflarebook.com/packages/jwt/README.md diff --git a/packages/jwt/index.ts b/cloudflarebook.com/packages/jwt/index.ts similarity index 100% rename from packages/jwt/index.ts rename to cloudflarebook.com/packages/jwt/index.ts diff --git a/packages/jwt/package.json b/cloudflarebook.com/packages/jwt/package.json similarity index 64% rename from packages/jwt/package.json rename to cloudflarebook.com/packages/jwt/package.json index 47c43a4..4da6e28 100644 --- a/packages/jwt/package.json +++ b/cloudflarebook.com/packages/jwt/package.json @@ -1,5 +1,5 @@ { - "name": "@phoenix/jwt", + "name": "@cloudflarebook.com/jwt", "version": "0.1.0", "private": true, "type": "module" diff --git a/packages/jwt/tsconfig.json b/cloudflarebook.com/packages/jwt/tsconfig.json similarity index 100% rename from packages/jwt/tsconfig.json rename to cloudflarebook.com/packages/jwt/tsconfig.json diff --git a/packages/uuidv7/README.md b/cloudflarebook.com/packages/uuidv7/README.md similarity index 100% rename from packages/uuidv7/README.md rename to cloudflarebook.com/packages/uuidv7/README.md diff --git a/packages/uuidv7/index.ts b/cloudflarebook.com/packages/uuidv7/index.ts similarity index 100% rename from packages/uuidv7/index.ts rename to cloudflarebook.com/packages/uuidv7/index.ts diff --git a/packages/uuidv7/package.json b/cloudflarebook.com/packages/uuidv7/package.json similarity index 61% rename from packages/uuidv7/package.json rename to cloudflarebook.com/packages/uuidv7/package.json index 986bbe5..adbc778 100644 --- a/packages/uuidv7/package.json +++ b/cloudflarebook.com/packages/uuidv7/package.json @@ -1,5 +1,5 @@ { - "name": "@phoenix/uuidv7", + "name": "@cloudflarebook.com/uuidv7", "version": "0.1.0", "private": true, "type": "module" diff --git a/packages/uuidv7/tsconfig_old.json b/cloudflarebook.com/packages/uuidv7/tsconfig_old.json similarity index 100% rename from packages/uuidv7/tsconfig_old.json rename to cloudflarebook.com/packages/uuidv7/tsconfig_old.json diff --git a/phoenix-webapp/.gitignore b/cloudflarebook.com/webapp/.gitignore similarity index 100% rename from phoenix-webapp/.gitignore rename to cloudflarebook.com/webapp/.gitignore diff --git a/phoenix-webapp/component.vue b/cloudflarebook.com/webapp/component.vue similarity index 100% rename from phoenix-webapp/component.vue rename to cloudflarebook.com/webapp/component.vue diff --git a/phoenix-webapp/env.d.ts b/cloudflarebook.com/webapp/env.d.ts similarity index 100% rename from phoenix-webapp/env.d.ts rename to cloudflarebook.com/webapp/env.d.ts diff --git a/phoenix-webapp/functions/api/[[route]].ts b/cloudflarebook.com/webapp/functions/api/[[route]].ts similarity index 100% rename from phoenix-webapp/functions/api/[[route]].ts rename to cloudflarebook.com/webapp/functions/api/[[route]].ts diff --git a/phoenix-webapp/index.html b/cloudflarebook.com/webapp/index.html similarity index 100% rename from phoenix-webapp/index.html rename to cloudflarebook.com/webapp/index.html diff --git a/phoenix-webapp/package.json b/cloudflarebook.com/webapp/package.json similarity index 78% rename from phoenix-webapp/package.json rename to cloudflarebook.com/webapp/package.json index 0051abf..d68b6e6 100644 --- a/phoenix-webapp/package.json +++ b/cloudflarebook.com/webapp/package.json @@ -1,21 +1,21 @@ { - "name": "phoenix-webapp", + "name": "@cloudflarebook.com/webapp", "author": "https://kerkour.com", "version": "0.1.0", "private": true, "scripts": { - "dev": "wrangler pages dev --proxy 9090 --service api=phoenix-api -- vite --strictPort --port 9090", + "dev": "wrangler pages dev --proxy 9090 --service api=cloudflarebook-api -- vite --strictPort --port 9090", "build": "run-p type-check \"build-only {@}\" --", "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", - "deploy": "npm run build && wrangler pages deploy --project-name phoenix-webapp ./dist", + "deploy": "npm run build && wrangler pages deploy --project-name cloudflarebook-webapp ./dist", "test": "vue-tsc --noEmit -p tsconfig.app.json --composite false" }, "dependencies": { + "@cloudflarebook.com/core": "file:../packages/core", "@headlessui/vue": "^1.7.16", "@heroicons/vue": "^2.0.18", - "@phoenix/core": "file:../packages/core", "@tailwindcss/forms": "^0.5.6", "@tiptap/extension-image": "^2.1.12", "@tiptap/pm": "^2.1.12", @@ -31,8 +31,8 @@ "@tsconfig/node18": "^18.2.2", "@types/node": "^20.8.9", "@types/nprogress": "^0.2.2", - "@vitejs/plugin-vue": "^4.4.0", - "@vue/tsconfig": "^0.4.0", + "@vitejs/plugin-vue": "^5.0.0", + "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.16", "npm-run-all2": "^6.1.1", "postcss": "^8.4.31", diff --git a/phoenix-webapp/postcss.config.js b/cloudflarebook.com/webapp/postcss.config.js similarity index 100% rename from phoenix-webapp/postcss.config.js rename to cloudflarebook.com/webapp/postcss.config.js diff --git a/phoenix-webapp/public/_headers b/cloudflarebook.com/webapp/public/_headers similarity index 100% rename from phoenix-webapp/public/_headers rename to cloudflarebook.com/webapp/public/_headers diff --git a/phoenix-webapp/public/favicon.ico b/cloudflarebook.com/webapp/public/favicon.ico similarity index 100% rename from phoenix-webapp/public/favicon.ico rename to cloudflarebook.com/webapp/public/favicon.ico diff --git a/phoenix-webapp/public/robots.txt b/cloudflarebook.com/webapp/public/robots.txt similarity index 100% rename from phoenix-webapp/public/robots.txt rename to cloudflarebook.com/webapp/public/robots.txt diff --git a/phoenix-webapp/public/webapp/logo.svg b/cloudflarebook.com/webapp/public/webapp/logo.svg similarity index 100% rename from phoenix-webapp/public/webapp/logo.svg rename to cloudflarebook.com/webapp/public/webapp/logo.svg diff --git a/phoenix-webapp/src/app.vue b/cloudflarebook.com/webapp/src/app.vue similarity index 100% rename from phoenix-webapp/src/app.vue rename to cloudflarebook.com/webapp/src/app.vue diff --git a/phoenix-webapp/src/app/api_client.ts b/cloudflarebook.com/webapp/src/app/api_client.ts similarity index 83% rename from phoenix-webapp/src/app/api_client.ts rename to cloudflarebook.com/webapp/src/app/api_client.ts index b7f1351..ce5b6cd 100644 --- a/phoenix-webapp/src/app/api_client.ts +++ b/cloudflarebook.com/webapp/src/app/api_client.ts @@ -1,4 +1,4 @@ -import { ApiClient } from "@phoenix/core/api"; +import { ApiClient } from "@cloudflarebook.com/core/api"; let apiClient: ApiClient | null = null; diff --git a/phoenix-webapp/src/app/date.ts b/cloudflarebook.com/webapp/src/app/date.ts similarity index 100% rename from phoenix-webapp/src/app/date.ts rename to cloudflarebook.com/webapp/src/app/date.ts diff --git a/phoenix-webapp/src/app/navigation.ts b/cloudflarebook.com/webapp/src/app/navigation.ts similarity index 81% rename from phoenix-webapp/src/app/navigation.ts rename to cloudflarebook.com/webapp/src/app/navigation.ts index e41fe52..57b1fd1 100644 --- a/phoenix-webapp/src/app/navigation.ts +++ b/cloudflarebook.com/webapp/src/app/navigation.ts @@ -2,6 +2,6 @@ export default [ { name: 'Buy the Book', url: 'https://kerkour.com/cloudflare-for-speed-and-security' }, { name: 'About the Author', url: 'https://kerkour.com' }, { name: 'Blog', url: 'https://kerkour.com/blog' }, - { name: 'Demo (Phoenix)', url: 'https://blog.cloudflarebook.com' }, + { name: 'Demo (Blog)', url: 'https://blog.cloudflarebook.com' }, { name: 'GitHub', url: 'https://github.com/skerkour/cloudflare-for-speed-and-security' }, ]; diff --git a/phoenix-webapp/src/app/router.ts b/cloudflarebook.com/webapp/src/app/router.ts similarity index 100% rename from phoenix-webapp/src/app/router.ts rename to cloudflarebook.com/webapp/src/app/router.ts diff --git a/phoenix-webapp/src/app/slugify.ts b/cloudflarebook.com/webapp/src/app/slugify.ts similarity index 100% rename from phoenix-webapp/src/app/slugify.ts rename to cloudflarebook.com/webapp/src/app/slugify.ts diff --git a/phoenix-webapp/src/app/store.ts b/cloudflarebook.com/webapp/src/app/store.ts similarity index 100% rename from phoenix-webapp/src/app/store.ts rename to cloudflarebook.com/webapp/src/app/store.ts diff --git a/phoenix-webapp/src/components/blogs.vue b/cloudflarebook.com/webapp/src/components/blogs.vue similarity index 96% rename from phoenix-webapp/src/components/blogs.vue rename to cloudflarebook.com/webapp/src/components/blogs.vue index e52fe59..1396263 100644 --- a/phoenix-webapp/src/components/blogs.vue +++ b/cloudflarebook.com/webapp/src/components/blogs.vue @@ -61,9 +61,9 @@ diff --git a/phoenix-webapp/src/components/slug_input.vue b/cloudflarebook.com/webapp/src/components/slug_input.vue similarity index 100% rename from phoenix-webapp/src/components/slug_input.vue rename to cloudflarebook.com/webapp/src/components/slug_input.vue diff --git a/phoenix-webapp/src/index.css b/cloudflarebook.com/webapp/src/index.css similarity index 100% rename from phoenix-webapp/src/index.css rename to cloudflarebook.com/webapp/src/index.css diff --git a/phoenix-webapp/src/main.ts b/cloudflarebook.com/webapp/src/main.ts similarity index 90% rename from phoenix-webapp/src/main.ts rename to cloudflarebook.com/webapp/src/main.ts index c33954b..973539b 100644 --- a/phoenix-webapp/src/main.ts +++ b/cloudflarebook.com/webapp/src/main.ts @@ -15,7 +15,7 @@ async function main() { app.use(createPinia()) app.use(router); - if (document.cookie.includes('phoenix_session')) { + if (document.cookie.includes('cloudflarebook_session')) { const $store = useStore(); $store.setIsAutenticated(true); } diff --git a/phoenix-webapp/src/pages/404.vue b/cloudflarebook.com/webapp/src/pages/404.vue similarity index 100% rename from phoenix-webapp/src/pages/404.vue rename to cloudflarebook.com/webapp/src/pages/404.vue diff --git a/phoenix-webapp/src/pages/blogs/assets.vue b/cloudflarebook.com/webapp/src/pages/blogs/assets.vue similarity index 100% rename from phoenix-webapp/src/pages/blogs/assets.vue rename to cloudflarebook.com/webapp/src/pages/blogs/assets.vue diff --git a/phoenix-webapp/src/pages/blogs/new.vue b/cloudflarebook.com/webapp/src/pages/blogs/new.vue similarity index 95% rename from phoenix-webapp/src/pages/blogs/new.vue rename to cloudflarebook.com/webapp/src/pages/blogs/new.vue index 6e0c406..8e6e636 100644 --- a/phoenix-webapp/src/pages/blogs/new.vue +++ b/cloudflarebook.com/webapp/src/pages/blogs/new.vue @@ -52,8 +52,8 @@ import { useRouter } from 'vue-router'; import CfButton from '@/components/cf_button.vue'; import SlugInput from '@/components/slug_input.vue'; import { slugify } from '@/app/slugify'; -import type { CreateBlogInput } from '@phoenix/core/api'; -import * as api from '@phoenix/core/api'; +import type { CreateBlogInput } from '@cloudflarebook.com/core/api'; +import * as api from '@cloudflarebook.com/core/api'; import { useApiClient } from '@/app/api_client'; // props diff --git a/phoenix-webapp/src/pages/blogs/pages/new.vue b/cloudflarebook.com/webapp/src/pages/blogs/pages/new.vue similarity index 100% rename from phoenix-webapp/src/pages/blogs/pages/new.vue rename to cloudflarebook.com/webapp/src/pages/blogs/pages/new.vue diff --git a/phoenix-webapp/src/pages/blogs/pages/page.vue b/cloudflarebook.com/webapp/src/pages/blogs/pages/page.vue similarity index 90% rename from phoenix-webapp/src/pages/blogs/pages/page.vue rename to cloudflarebook.com/webapp/src/pages/blogs/pages/page.vue index 4b8d258..7b62aea 100644 --- a/phoenix-webapp/src/pages/blogs/pages/page.vue +++ b/cloudflarebook.com/webapp/src/pages/blogs/pages/page.vue @@ -14,10 +14,10 @@