From 34d7c5f65961b6c43ae09a2310b2cdadbc9d27ad Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Sun, 8 Sep 2024 23:26:24 +0200 Subject: [PATCH 1/8] first draft --- boilerplates/aws/files/$TEST.md.ts | 115 +++ boilerplates/react/files/$TEST.md.ts | 50 ++ boilerplates/sentry/files/$TEST.md.ts | 44 ++ boilerplates/shared/files/$TEST.md.ts | 36 + packages/core/package.json | 6 +- packages/core/src/index.ts | 1 + packages/core/src/loaders.ts | 7 + packages/core/src/markdown/markdown.ts | 131 ++++ packages/core/src/markdown/utils.ts | 63 ++ packages/core/src/markdown/zone.ts | 99 +++ packages/core/tests/markdown/markdown.spec.ts | 173 +++++ packages/core/tests/markdown/utils.spec.ts | 50 ++ packages/features/src/categories.ts | 1 + pnpm-lock.yaml | 699 ++++++++++++------ 14 files changed, 1228 insertions(+), 247 deletions(-) create mode 100644 boilerplates/aws/files/$TEST.md.ts create mode 100644 boilerplates/react/files/$TEST.md.ts create mode 100644 boilerplates/sentry/files/$TEST.md.ts create mode 100644 boilerplates/shared/files/$TEST.md.ts create mode 100644 packages/core/src/markdown/markdown.ts create mode 100644 packages/core/src/markdown/utils.ts create mode 100644 packages/core/src/markdown/zone.ts create mode 100644 packages/core/tests/markdown/markdown.spec.ts create mode 100644 packages/core/tests/markdown/utils.spec.ts diff --git a/boilerplates/aws/files/$TEST.md.ts b/boilerplates/aws/files/$TEST.md.ts new file mode 100644 index 00000000..f255a76c --- /dev/null +++ b/boilerplates/aws/files/$TEST.md.ts @@ -0,0 +1,115 @@ +import { loadMarkdown, type TransformerProps } from "@batijs/core"; + +export default async function getReadme(props: TransformerProps) { + const content = await loadMarkdown(props); + //console.log("***aws***", await props.readfile()); + //language=Markdown + const todo = ` +## *AWS CDK Deployment* + +This is a boilerplate for deploying your Vike app to AWS using the AWS Cloud Development Kit (CDK) including creating a custom domain in Route53. + +**Architecture:** +- S3 Bucket for static client assets (\`/dist/client/assets\`). +- Lambda function for the backend and SSR. +- CloudFront distribution for CDN and routing requests \`/assets/*\` to the S3 bucket. + +This boilerplate is a starting point for deploying your Vike app to AWS. You can customize the deployment by modifying the \`cdk/lib/vike-stack.ts\` file. + +### Prerequisites + +Before you get started, make sure to configure your AWS credentials. + +**Loading from a file:** + +You can keep your AWS credentials in a file. The credentials are found at: + +\`~/.aws/credentials\` on Linux, Unix, and macOS; +\`C:\\Users\\USER_NAME\\.aws\\credentials\` on Windows + +If the credentials file does not exist on your machine: + +Download the AWS CLI from [here](https://aws.amazon.com/cli/) and configure your AWS credentials using the following command: +\`aws configure\` + +And then use this guide to configure the credentials +The credentials file should look like: + +\` +[default] +aws_access_key_id = +aws_secret_access_key = +\` + +**Loading from environment variables:** + +AWS SDK automatically detects AWS credentials in your environment and uses them for making requests to AWS. The environment variables that you need to set are: + +\`AWS_ACCESS_KEY_ID\` +\`AWS_SECRET_ACCESS_KEY\` +If you are using temporary credentials, also set: + +\`AWS_SESSION_TOKEN\` +This is often the most convenient way to configure credentials when deploying your AWS CDK app in a CI environment. + +> [!NOTE] +> You should change the stack name to give your app stack a distinctive name in your AWS environment. You can do so by modifying the \`infrastructure.ts.ts\` file in the \`cdk/bin\` directory. + +### Deployment to AWS + +If you want to have a look at the synthesized CloudFormation template, you can run \`pnpm cdk synth\` and see the template as YAML on screen or in \`cdk.out/VikeStack.template.json\`. + +> [!NOTE] +> If this is your **first time deploying a CDK app** in this environment you need to **bootstrap**: +> \`pnpm cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used) + +You can deploy your Vike App via the following command: +\`pnpm deploy:aws\` or \`pnpm cdk deploy\` + +The URL to the CloudFront distribution will be displayed in the output of the deployment. +You can also access the CloudFront distribution domainname in the AWS SSM registry und \`vike/distribution/url\`. + +### Stack Configuration + +You can configure the stack in the \`cdk/bin/infrastructure.ts\` file: +| --- | --- | --- | +| Variable | Examples | Description | +| \`domainName: "example.com",\` | "example.com" | | +| \`subDomain: "www",\` |"www" | | +| \`certificate: undefined,\` | "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012" or a certificatemanager.ICertificate | reuse an existing AWS Certificate | +| \`hostedZone: undefined,\` | route53.HostedZone.fromLookup(stack, "MyHostedZone", { domainName: "example.com" }) | | + +If \`domainName\` is managed by **Route53**, the \`hostedZone\` will be updated with by lookup in Route53 based on the \`domainName\`. + +These scenarios are supported: +A. \`domainName\` exists in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. An new Certificate for the url is created and assigned to the CF-Distribution. An Alias-Record pointing to the CF-Distribution ist created in Route53. +B. \`domainName\` exists in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. If \`certificate\` contains a valid entry it will be assigned to the CF-Distribution. An Alias-Record pointing to the CF-Distribution ist created in Route53. +C. \`domainName\` **does not exist** in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. If \`certificate\` contains a valid entry it will be assigned to the CF-Distribution. A manual created CNAME or A-Record should pointing to the CF-Distribution. + +#### Custom Domain + +If you have a custom domain, you can add it to the stack configuration in the \`cdk/bin/infrastructure.ts\` file: + +> [!NOTE] +> If you deploy your App to a region different than \`us-east-1\` and you have never deployed to this region before, you will need to bootstrap this region too: + \`CDK_DEFAULT_REGION=us-east-1 pnpm deploy:cdk bootstrap\` + + +### Destroying the Stack on AWS + +To destroy the stack on AWS, run the following command: +\`pnpm cdk destroy\` + +Or delete the CloudFormation stack which starts with "VikeStack-" created by this project. + +`; + + content.addMarkdown(todo, { + wrapper: { + category: "Hosting", + flag: "aws", + }, + }); + + return content.finalize(); +} diff --git a/boilerplates/react/files/$TEST.md.ts b/boilerplates/react/files/$TEST.md.ts new file mode 100644 index 00000000..2420c70e --- /dev/null +++ b/boilerplates/react/files/$TEST.md.ts @@ -0,0 +1,50 @@ +import { loadMarkdown, type TransformerProps } from "@batijs/core"; + +export default async function getReadme(props: TransformerProps) { + const content = await loadMarkdown(props); + //console.log("***react***", await props.readfile()); + //language=Markdown + const about = ` +## React + +This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn). + +### \`/pages/+config.ts\` + +Such \`+\` files are [the interface](https://vike.dev/config) between Vike and your code. It defines: +- A default [\`\` component](https://vike.dev/Layout) (that wraps your [\`\` components](https://vike.dev/Page)). +- A default [\`title\`](https://vike.dev/title). +- Global [\`\` tags](https://vike.dev/head-tags). + +### Routing + +[Vike's built-in router](https://vike.dev/routing) lets you choose between: + - [Filesystem Routing](https://vike.dev/filesystem-routing) (the URL of a page is determined based on where its \`+Page.jsx\` file is located on the filesystem) + - [Route Strings](https://vike.dev/route-string) + - [Route Functions](https://vike.dev/route-function) + +### \`/pages/_error/+Page.jsx\` + +The [error page](https://vike.dev/error-page) which is rendered when errors occur. + +### \`/pages/+onPageTransitionStart.ts\` and \`/pages/+onPageTransitionEnd.ts\` + +The [\`onPageTransitionStart()\` hook](https://vike.dev/onPageTransitionStart), together with [\`onPageTransitionEnd()\`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations. + +### SSR + +SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all your pages or only for some pages. + +### HTML Streaming + +You can enable/disable [HTML streaming](https://vike.dev/streaming) for all your pages, or only for some pages while still using it for others.`; + + content.addMarkdown(about, { + wrapper: { + category: "Frontend Framework", + flag: "react", + }, + }); + + return content.finalize(); +} diff --git a/boilerplates/sentry/files/$TEST.md.ts b/boilerplates/sentry/files/$TEST.md.ts new file mode 100644 index 00000000..0777577a --- /dev/null +++ b/boilerplates/sentry/files/$TEST.md.ts @@ -0,0 +1,44 @@ +import { loadMarkdown, type TransformerProps } from "@batijs/core"; + +export default async function getTest(props: TransformerProps) { + const content = await loadMarkdown(props); + //console.log("***sentry***", await props.readfile()); + const doc = + ` + ## Sentry Browser / Error Tracking & Performance Monitoring + +This app is integrated with [Sentry](https://sentry.io) for error tracking. + +Add your Sentry DSN to \`.env\` file. +You can configure [Sentry for the browser](` + + (props.meta.BATI.has("react") + ? "https://docs.sentry.io/platforms/javascript/guides/react/" + : props.meta.BATI.has("solid") + ? "https://docs.sentry.io/platforms/javascript/guides/solid/" + : props.meta.BATI.has("vue") + ? "https://docs.sentry.io/platforms/javascript/guides/vue/" + : "https://docs.sentry.io/platforms/javascript/") + + `) in \`sentry.browser.config.ts\`. + +Upload of source maps to Sentry is handled by the [\`sentryVitePlugin\`](https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/) in \`vite.config.ts\`. +You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN\` in the \`.env.sentry-build-plugin\` file with the values from your Sentry account. + +> [!NOTE] +> Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)! + +**Testing Sentry** receiving Errors: +1. Build & Start the app \`pnpm build && pnpm preview\`. +2. open Testpage in browser: http://localhost:3000/sentry. +3. check your [Sentry Dashboard](https://sentry.io) for new Errors. + +`; + + content.addMarkdown(doc, { + wrapper: { + category: "Error tracking", + flag: "sentry", + }, + }); + + return content.finalize(); +} diff --git a/boilerplates/shared/files/$TEST.md.ts b/boilerplates/shared/files/$TEST.md.ts new file mode 100644 index 00000000..1e3f3b7d --- /dev/null +++ b/boilerplates/shared/files/$TEST.md.ts @@ -0,0 +1,36 @@ +import { getArgs, getVersion, loadMarkdown, type TransformerProps } from "@batijs/core"; + +export default async function getReadme(props: TransformerProps) { + const content = await loadMarkdown(props); + const flags = Array.from(props.meta.BATI) + .filter((f) => (f as string) !== "force") + .map((f) => `--${f}`) + .join(" "); + const v = getVersion(); + + //language=Markdown + const intro = `Generated with [Bati](https://batijs.dev) [${"version " + v.semver.at(-1)}](${"https://www.npmjs.com/package/create-bati/v/" + v.version}) using this command: + +\`\`\`sh +${getArgs()} ${flags} +\`\`\` + + `; + + content.addMarkdown(intro, { + wrapper: { + section: "intro", + }, + }); + content.addMarkdown("", { + position: "after", + filter: { + section: "document", + }, + wrapper: { + section: "features", + }, + }); + + return content.finalize(); +} diff --git a/packages/core/package.json b/packages/core/package.json index 8514b8b0..1009ad89 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -39,7 +39,11 @@ "vitest": "^2.1.1", "vue-eslint-parser": "^9.4.3", "which": "^4.0.0", - "yaml": "^2.5.1" + "yaml": "^2.5.1", + "attributes-parser": "^2.2.3", + "mdast-util-from-markdown": "^2.0.1", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-visit": "^5.0.0" }, "exports": { ".": "./dist/index.js", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index d71303dd..ff5d2302 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -6,6 +6,7 @@ export * from "./utils/env.js"; export * from "./which.js"; export * from "./print.js"; export * from "./markdown.js"; +export * from "./markdown/markdown.js"; export * from "./random.js"; export * from "./runtime.js"; export type * from "./types.js"; diff --git a/packages/core/src/loaders.ts b/packages/core/src/loaders.ts index 4b37788d..3325b469 100644 --- a/packages/core/src/loaders.ts +++ b/packages/core/src/loaders.ts @@ -11,6 +11,7 @@ import { type SchemaOptions, } from "yaml"; import type { TransformerProps } from "./types.js"; +import { parseMarkdown } from "./markdown/markdown.js"; import { type PackageJsonDeps, PackageJsonTransformer } from "./utils/package.js"; export type { YAMLDocument }; @@ -21,6 +22,12 @@ export async function loadReadme({ readfile }: TransformerProps) { return parseReadme(content); } +export async function loadMarkdown({ readfile }: TransformerProps) { + const content = await readfile?.(); + + return parseMarkdown(content ?? ""); +} + export async function loadAsJson({ readfile, source, target }: TransformerProps) { const content = await readfile?.(); diff --git a/packages/core/src/markdown/markdown.ts b/packages/core/src/markdown/markdown.ts new file mode 100644 index 00000000..c8ed2a22 --- /dev/null +++ b/packages/core/src/markdown/markdown.ts @@ -0,0 +1,131 @@ +import { fromMarkdown, type Value } from "mdast-util-from-markdown"; +import { toMarkdown } from "mdast-util-to-markdown"; +import { zone, type FilterHandler, type FilterObject, type ZoneHandler } from "./zone.js"; +import type { Root, Nodes } from "mdast"; +import { commentMarker, wrapWithComment } from "./utils.js"; +import { categoryLabelOrder, type CategoryLabels } from "@batijs/features"; +import { deepMerge } from "@typescript-eslint/utils/eslint-utils"; + +export function parseMarkdown(text: string) { + const markdownText = //.test(text) + ? text + : `\n${text}\n`; + return new MarkdownV2(fromMarkdown(markdownText as Value)); +} + +export type MarkdownPosition = "before" | "after" | "replace"; + +export type WrapperObject = FilterObject & { + name?: string; +}; + +type MarkdownOptions = { + filter?: FilterObject | FilterHandler; + position?: MarkdownPosition; + wrapper?: WrapperObject; +}; + +type ContentChanger = { + markdown: string | ZoneHandler; + options: MarkdownOptions; +}; + +export class MarkdownV2 { + private tree: Root; + private contents: ContentChanger[] = []; + + constructor(tree: Root) { + this.tree = tree; + } + + addMarkdown(markdown: string | ZoneHandler, options: MarkdownOptions = {}) { + const optionsMarkdown = deepMerge({ filter: { section: "features" } }, options); + + this.contents.push({ markdown, options: optionsMarkdown }); + } + + finalize() { + for (const { markdown, options } of this.contents) { + const handler: ZoneHandler = + typeof markdown === "function" + ? markdown + : (start, between, end, _info) => { + const { position = "after" } = options; + + // add a new feature sorted by categories in feature list + if ( + ["before", "after"].includes(position) && + between.length > 0 && + options?.wrapper?.flag && + Object.keys(options?.filter ?? {}).length === 1 && + (options?.filter as FilterObject)?.section === "features" + ) { + const existingCategories = between.reduce( + (pv: Record, node, ci) => { + const info = commentMarker(node); + if (!info || info.name !== "bati" || info.suffix !== "start" || !info.parameters?.["category"]) + return pv; + pv[info.parameters.category as CategoryLabels] = ci; + return pv; + }, + {} as Record, + ); + + // find existing category which based on categoryLabelOrder after the current category + const category = options.wrapper.category as CategoryLabels; + + let nextCategoryIndex = -1; + for (let index = categoryLabelOrder.indexOf(category) + 1; index < categoryLabelOrder.length; index++) { + if (existingCategories?.[categoryLabelOrder[index]] !== undefined) { + nextCategoryIndex = existingCategories[categoryLabelOrder[index]]; + break; + } + } + + if (nextCategoryIndex !== -1) { + // The entry in existingCategories which is after the value in category + const betweenBeforeCategory = between.slice(0, nextCategoryIndex); + const betweenAfterCategory = between.slice(nextCategoryIndex); + return [ + start, + ...betweenBeforeCategory, + ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + ...betweenAfterCategory, + end, + ] as Nodes[]; + } else { + return [ + start, + ...between, + ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + end, + ] as Nodes[]; + } + } + switch (position) { + case "replace": + return [start, ...wrapWithComment([fromMarkdown(markdown)], options?.wrapper), end] as Nodes[]; + case "before": + return [ + start, + ...wrapWithComment(fromMarkdown(markdown as Value), options?.wrapper), + ...between, + end, + ] as Nodes[]; + case "after": + return [ + start, + ...between, + ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + end, + ] as Nodes[]; + default: + break; + } + }; + + zone(this.tree, "bati", options?.filter, handler); + } + return toMarkdown(this.tree); + } +} diff --git a/packages/core/src/markdown/utils.ts b/packages/core/src/markdown/utils.ts new file mode 100644 index 00000000..f8ee2071 --- /dev/null +++ b/packages/core/src/markdown/utils.ts @@ -0,0 +1,63 @@ +import parseAttributes from "attributes-parser"; +import type { Nodes } from "mdast"; +import type { FilterObject } from "./zone.js"; +import type { WrapperObject } from "./markdown.js"; + +const markerExpression = new RegExp(`(\\s*\\s*)`); + +/** + * Parse a comment marker. + * + */ +export function commentMarker(value: Nodes) { + if (!(isNode(value) && value.type === "html")) return; + const match = value.value.match(markerExpression); + if (match && match[0].length === value.value.length) { + const attributes = match.groups?.attributes ?? ""; + const parameters = parseAttributes(attributes); + const name_matcher = attributes.match(/\s*(?[a-zA-Z0-9_]+)(:(?[a-zA-Z0-9_]+)|)/); + const name = name_matcher?.groups?.name ?? ""; + const suffix = name_matcher?.groups?.suffix ?? ""; + if (attributes.length > 0) { + return { + name, + suffix, + attributes, + parameters, + node: value, + }; + } + } +} + +export function objectFilter(filter: FilterObject | undefined = {}, info: ReturnType) { + for (const key in filter) { + if (filter[key] !== info?.parameters?.[key]) return false; + } + return true; +} +type MarkdownCommentSuffix = "start" | "end"; + +export function createMarkdownComment(suffix: MarkdownCommentSuffix, options: Record) { + const { name, ...attributes } = options; + return { + type: "html", + value: ``, + }; +} + +export function wrapWithComment(nodes: Nodes | Nodes[], options: WrapperObject | undefined) { + const between = Array.isArray(nodes) ? nodes : [nodes]; + if (!options) return between; + return [createMarkdownComment("start", options), ...between, createMarkdownComment("end", options)]; +} + +/** + * Check if something looks like a node. + * + */ +function isNode(value: unknown): boolean { + return Boolean(value && typeof value === "object" && "type" in value); +} diff --git a/packages/core/src/markdown/zone.ts b/packages/core/src/markdown/zone.ts new file mode 100644 index 00000000..65a4a970 --- /dev/null +++ b/packages/core/src/markdown/zone.ts @@ -0,0 +1,99 @@ +import { visit } from "unist-util-visit"; +import { commentMarker, objectFilter } from "./utils.js"; +import type { Nodes, Parents } from "mdast"; +import type { Flags, CategoryLabels } from "@batijs/features"; + +type Info = { + parent: Parents; + start: number; + end: number; +}; + +export type Sections = "document" | "intro" | "features"; +export type ZoneHandler = (start: Nodes, between: Nodes[], end: Nodes, info: Info) => Nodes[] | null | undefined | void; +export type FilterHandler = (info: ReturnType) => boolean; +export type FilterObject = { + section?: Sections; + category?: CategoryLabels; + flag?: Flags; + [key: string]: undefined | string | number | boolean; +}; + +export function zone( + node: Nodes, + name: string, + filter: FilterObject | FilterHandler | undefined, + handler: ZoneHandler, +): void { + let level: number | undefined; + + let marker: Nodes | undefined; + + let scope: Parents | undefined; + + visit(node, function (node: Nodes, index: number | undefined, parent: Parents | undefined) { + const info = commentMarker(node); + + const type = (info?.suffix ?? "").toLowerCase(); + if (!(["start", "end"].includes(type) && info?.name === name)) return; + const filterOK = typeof filter === "function" ? filter(info) : objectFilter(filter, info); + //if (type === "start" && !filterOK) return; + + if (parent && index !== undefined && type) { + if (!scope && type === "start" && filterOK) { + level = 0; + marker = node; + scope = parent; + } + + if (typeof level === "number" && marker && scope && parent === scope) { + if (type === "start") { + level++; + } else { + level--; + } + + if (type === "end" && !level) { + // @ts-expect-error: Assume `scope` is a valid parent of `node`. + const start = scope.children.indexOf(marker); + + const nodes = handler(marker, scope.children.slice(start + 1, index), node, { + start, + end: index, + parent: scope, + }); + + if (!nodes) { + marker = undefined; + scope = undefined; + return; + } + + // Ensure no empty nodes are inserted. + // This could be the case if `end` is in `nodes` but no `end` node exists. + /** @type {Array} */ + const result: Nodes[] = []; + let offset = -1; + + while (++offset < nodes.length) { + const node = nodes[offset]; + if (node) result.push(node); + } + + const deleteCount = index - start + 1; + scope.children.splice( + start, + deleteCount, + // @ts-expect-error: Assume the correct children are passed. + ...result, + ); + + marker = undefined; + scope = undefined; + + return index - deleteCount + result.length; + } + } + } + }); +} diff --git a/packages/core/tests/markdown/markdown.spec.ts b/packages/core/tests/markdown/markdown.spec.ts new file mode 100644 index 00000000..1eb1bad2 --- /dev/null +++ b/packages/core/tests/markdown/markdown.spec.ts @@ -0,0 +1,173 @@ +import { expect, test } from "vitest"; + +import { type MarkdownPosition, parseMarkdown } from "../../src/markdown/markdown.js"; + +test.skip("simple", () => { + const content = parseMarkdown(` + + + + +`); + content.addMarkdown(`# Sentry`, { + filter: { + category: "Error tracking", + //flag: "sentry", + }, + }); + + const result = content.finalize(); + expect(result).toBe( + ` + + + + + + + +# Sentry + + + + +`, + ); +}); + +test.skip.each([ + ["replace", "# replace"], + ["before", "# before\n\n# content"], + ["after", "# content\n\n# after"], +])("position: %s", (position, expected) => { + const content = parseMarkdown( + ` +# content + +`, + ); + content.addMarkdown(`# ${position}`, { + filter: { + category: "Error tracking", + }, + position: position as MarkdownPosition, + }); + + const result = content.finalize(); + + expect(result).toBe( + ` + + + +${expected} + + + + +`, + ); +}); + +test.skip("wrapper", () => { + const content = parseMarkdown( + ` +# content + +`, + ); + content.addMarkdown(`# new content`, { + filter: { + category: "Error tracking", + }, + position: "before", + wrapper: { category: "Error tracking", flag: "sentry" }, + }); + + const result = content.finalize(); + expect(result).toBe( + ` + + + + + +# new content + + + +# content + + + + +`, + ); +}); + +test.skip("empty document", () => { + const content = parseMarkdown(``); + content.addMarkdown(`# new content`, { + filter: { + section: "document", + }, + position: "after", + wrapper: { category: "Error tracking", flag: "sentry" }, + }); + + const result = content.finalize(); + + expect(result).toBe( + ` + + + +# new content + + + + +`, + ); +}); + +test("add feature", () => { + const content = parseMarkdown(` + + +## AWS + + +`); + content.addMarkdown(`## REACT`, { + wrapper: { + category: "Frontend Framework", + flag: "react", + }, + }); + + const result = content.finalize(); + console.log(result); + expect(result).toBe( + ` + + + + + +## REACT + + + + + +## AWS + + + + + + +`, + ); +}); diff --git a/packages/core/tests/markdown/utils.spec.ts b/packages/core/tests/markdown/utils.spec.ts new file mode 100644 index 00000000..061bf069 --- /dev/null +++ b/packages/core/tests/markdown/utils.spec.ts @@ -0,0 +1,50 @@ +import { expect, test } from "vitest"; + +import { commentMarker } from "../../src/markdown/utils.js"; +import { createMarkdownComment } from "../../src/markdown/utils.js"; + +test.each([ + [ + ``, + { + name: "foo", + suffix: "", + attributes: "foo", + parameters: { foo: "foo" }, + node: { type: "html", value: "" }, + }, + ], + [ + ``, + { + name: "foo", + suffix: "end", + attributes: "foo:end", + parameters: { "foo:end": "foo:end" }, + node: { type: "html", value: "" }, + }, + ], + [ + ``, + { + name: "foo", + suffix: "start", + attributes: "foo:start cond=\"BATI.has('aws')\"", + parameters: { "foo:start": "foo:start", cond: "BATI.has('aws')" }, + node: { type: "html", value: "" }, + }, + ], +])("%s => {object}", (value, expected) => { + const params = commentMarker({ value, type: "html" }); + expect(params).toEqual(expected); +}); + +test.each([ + [{ category: "Error tracking", flag: "sentry" }, 'bati:start category="Error tracking" flag="sentry"'], + [{ name: "notbati", category: "Error tracking" }, 'notbati:start category="Error tracking"'], + [{ number: 123, bool: true, obj: [{ p: "p" }] }, 'bati:start number=123 bool=true obj=[{"p":"p"}]'], +])("createMarkdownComment (%s)", (options, expected) => { + const wrapper = createMarkdownComment("start", options); + expect(wrapper?.type).toBe("html"); + expect(wrapper?.value).toBe(``); +}); diff --git a/packages/features/src/categories.ts b/packages/features/src/categories.ts index 41fad08c..7836af4a 100644 --- a/packages/features/src/categories.ts +++ b/packages/features/src/categories.ts @@ -76,3 +76,4 @@ tailored for Vike.`, ] as const satisfies ReadonlyArray; export type CategoryLabels = (typeof categories)[number]["label"]; +export const categoryLabelOrder = categories.map((category) => category.label) as CategoryLabels[]; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd6613f1..d99205c9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,8 +162,8 @@ importers: specifier: ^5.6.2 version: 5.6.2 vitest: - specifier: ^2.1.1 - version: 2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^2.0.5 + version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)) which: specifier: ^4.0.0 version: 4.0.0 @@ -206,8 +206,8 @@ importers: specifier: ^6.2.3 version: 6.2.3 vike-cloudflare: - specifier: ^0.1.2 - version: 0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.1.1 + version: 0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) wrangler: specifier: ^3.78.8 version: 3.78.8(@cloudflare/workers-types@4.20240919.0) @@ -228,11 +228,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/d1: dependencies: @@ -253,8 +253,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) wrangler: specifier: ^3.78.8 version: 3.78.8(@cloudflare/workers-types@4.20240919.0) @@ -278,8 +278,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/drizzle: dependencies: @@ -307,7 +307,10 @@ importers: version: 0.24.2 drizzle-orm: specifier: ^0.33.0 - version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) + version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) + tsx: + specifier: ^4.19.1 + version: 4.19.1 boilerplates/edgedb: dependencies: @@ -408,17 +411,17 @@ importers: specifier: ^4.21.0 version: 4.21.0 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/fastify: dependencies: @@ -460,17 +463,17 @@ importers: specifier: ^5.0.0 version: 5.0.0 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/firebase-auth: dependencies: @@ -506,11 +509,11 @@ importers: specifier: ^6.1.0 version: 6.1.0(firebase@10.13.2) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/google-analytics: dependencies: @@ -568,17 +571,17 @@ importers: specifier: ^1.16.2 version: 1.16.2 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/hattip: dependencies: @@ -614,8 +617,8 @@ importers: specifier: ^0.0.48 version: 0.0.48 '@hattip/vite': - specifier: ^0.0.48 - version: 0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.0.47 + version: 0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) '@hattip/walk': specifier: ^0.0.48 version: 0.0.48 @@ -641,14 +644,14 @@ importers: specifier: ^0.0.33 version: 0.0.33 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/hono: dependencies: @@ -693,17 +696,17 @@ importers: specifier: ^4.6.3 version: 4.6.3 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/lucia-auth: dependencies: @@ -719,7 +722,7 @@ importers: version: 4.20240919.0 '@lucia-auth/adapter-drizzle': specifier: ^1.1.0 - version: 1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1))(lucia@3.2.0) + version: 1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1))(lucia@3.2.0) '@lucia-auth/adapter-sqlite': specifier: ^3.0.2 version: 3.0.2(better-sqlite3@11.3.0)(lucia@3.2.0) @@ -749,16 +752,16 @@ importers: version: 16.4.5 drizzle-orm: specifier: ^0.33.0 - version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) + version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) lucia: specifier: ^3.2.0 version: 3.2.0 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/mantine: dependencies: @@ -803,11 +806,30 @@ importers: specifier: ^0.5.7 version: 0.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + + boilerplates/plain-sentry: + dependencies: + '@batijs/core': + specifier: workspace:* + version: link:../../packages/core + devDependencies: + '@batijs/compile': + specifier: workspace:* + version: link:../../packages/compile + '@sentry/browser': + specifier: ^8.28.0 + version: 8.28.0 + '@types/node': + specifier: ^18.19.14 + version: 18.19.44 + vite: + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/prettier: dependencies: @@ -879,7 +901,10 @@ importers: version: 18.3.0 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + cross-fetch: + specifier: ^4.0.0 + version: 4.0.0(encoding@0.1.13) react: specifier: ^18.3.1 version: 18.3.1 @@ -893,17 +918,17 @@ importers: specifier: ^5.6.2 version: 5.6.2 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vike-react: - specifier: ^0.5.7 - version: 0.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))) + specifier: ^0.5.5 + version: 0.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/react-firebase-auth: dependencies: @@ -936,11 +961,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/react-lucia-auth: dependencies: @@ -967,11 +992,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/react-sentry: dependencies: @@ -1001,8 +1026,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/sentry: dependencies: @@ -1020,8 +1045,8 @@ importers: specifier: ^18.19.44 version: 18.19.44 vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/shadcn-ui: dependencies: @@ -1063,20 +1088,20 @@ importers: specifier: workspace:* version: link:../../packages/compile '@hattip/vite': - specifier: ^0.0.48 - version: 0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.0.47 + version: 0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) '@types/node': specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-vercel: specifier: ^9.0.1 - version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/shared-db: dependencies: @@ -1110,6 +1135,25 @@ importers: specifier: ^18.19.14 version: 18.19.44 + boilerplates/shared-plain: + dependencies: + '@batijs/core': + specifier: workspace:* + version: link:../../packages/core + devDependencies: + '@batijs/compile': + specifier: workspace:* + version: link:../../packages/compile + '@types/node': + specifier: ^18.19.14 + version: 18.19.44 + vike: + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vite: + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + boilerplates/shared-server: devDependencies: '@batijs/compile': @@ -1125,11 +1169,11 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/shared-todo: dependencies: @@ -1147,11 +1191,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vike-cloudflare: - specifier: ^0.1.2 - version: 0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.1.1 + version: 0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/solid: dependencies: @@ -1175,17 +1219,17 @@ importers: specifier: ^5.6.2 version: 5.6.2 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/solid-firebase-auth: dependencies: @@ -1209,11 +1253,11 @@ importers: specifier: ^1.8.23 version: 1.8.23 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/solid-lucia-auth: dependencies: @@ -1231,11 +1275,11 @@ importers: specifier: ^1.8.23 version: 1.8.23 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/solid-sentry: dependencies: @@ -1257,10 +1301,10 @@ importers: version: 1.8.23 vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/sqlite: dependencies: @@ -1312,11 +1356,11 @@ importers: specifier: ^3.4.13 version: 3.4.13 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/telefunc: dependencies: @@ -1337,14 +1381,14 @@ importers: specifier: ^0.2.10 version: 0.2.10 telefunc: - specifier: ^0.1.79 - version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.78 + version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/trpc: dependencies: @@ -1371,8 +1415,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) boilerplates/ts-rest: dependencies: @@ -1416,16 +1460,16 @@ importers: version: 18.19.44 '@vite-plugin-vercel/vike': specifier: ^9.0.1 - version: 9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vite-plugin-vercel: specifier: ^9.0.1 - version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) boilerplates/vue: dependencies: @@ -1440,8 +1484,8 @@ importers: specifier: ^18.19.14 version: 18.19.44 '@vitejs/plugin-vue': - specifier: ^5.1.4 - version: 5.1.4(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(vue@3.5.8(typescript@5.6.2)) + specifier: ^5.1.3 + version: 5.1.3(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))(vue@3.5.0(typescript@5.5.4)) '@vue/compiler-sfc': specifier: ^3.5.8 version: 3.5.8 @@ -1456,16 +1500,16 @@ importers: version: 5.6.2 unplugin-vue-markdown: specifier: ^0.26.2 - version: 0.26.2(rollup@4.22.4)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(webpack-sources@3.2.3) + version: 0.26.2(rollup@4.21.2)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vike-vue: - specifier: ^0.8.5 - version: 0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)) + specifier: ^0.8.3 + version: 0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1492,11 +1536,11 @@ importers: specifier: ^6.1.0 version: 6.1.0(firebase@10.13.2) vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1514,11 +1558,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + specifier: ^0.4.194 + version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1539,11 +1583,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike-vue: - specifier: ^0.8.5 - version: 0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)) + specifier: ^0.8.3 + version: 0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1619,8 +1663,8 @@ importers: specifier: ^0.0.7 version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) vite: - specifier: ^5.4.7 - version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + specifier: ^5.4.3 + version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) packages/compile: dependencies: @@ -1668,8 +1712,8 @@ importers: specifier: ^8.7.0 version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': - specifier: ^8.7.0 - version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + specifier: ^8.6.0 + version: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) colorette: specifier: ^2.0.20 version: 2.0.20 @@ -1691,6 +1735,12 @@ importers: magicast: specifier: ^0.3.5 version: 0.3.5 + mdast-util-from-markdown: + specifier: ^2.0.1 + version: 2.0.1 + mdast-util-to-markdown: + specifier: ^2.1.0 + version: 2.1.0 prettier: specifier: ^3.3.3 version: 3.3.3 @@ -1704,8 +1754,11 @@ importers: specifier: ^4.19.1 version: 4.19.1 typescript: - specifier: ^5.6.2 - version: 5.6.2 + specifier: ^5.5.4 + version: 5.5.4 + unist-util-visit: + specifier: ^5.0.0 + version: 5.0.0 unplugin-purge-polyfills: specifier: ^0.0.7 version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) @@ -1798,7 +1851,7 @@ importers: version: 5.6.2 vitest: specifier: ^2.0.5 - version: 2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) + version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)) packages/tests-utils: dependencies: @@ -1898,10 +1951,10 @@ importers: version: 5.6.2 vike: specifier: ^0.4.196 - version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) vite: specifier: ^5.4.7 version: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) @@ -4534,6 +4587,9 @@ packages: '@types/cookie@0.6.0': resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + '@types/debug@4.1.12': + resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/eslint@9.6.1': resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} @@ -4594,12 +4650,18 @@ packages: '@types/markdown-it@14.1.2': resolution: {integrity: sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==} + '@types/mdast@4.0.4': + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} + '@types/mdurl@2.0.0': resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==} '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + '@types/ms@0.7.34': + resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} @@ -4645,6 +4707,9 @@ packages: '@types/tough-cookie@4.0.5': resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/which@3.0.4': resolution: {integrity: sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w==} @@ -4986,6 +5051,9 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} + attributes-parser@2.2.3: + resolution: {integrity: sha512-zjOUWt95la8AdUO+kP1GBOonWrV5jy9NjJP+z9tva/DSA6FIzGKcN/gk3tdqQf/pOeB8dkyd3FCPrjhELMmrkg==} + autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -5226,6 +5294,9 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} + character-entities@2.0.2: + resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} + check-error@2.1.1: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} @@ -5505,6 +5576,9 @@ packages: supports-color: optional: true + decode-named-character-reference@1.0.2: + resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} + decompress-response@6.0.0: resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} engines: {node: '>=10'} @@ -5553,6 +5627,10 @@ packages: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} + dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + destr@2.0.3: resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} @@ -5567,8 +5645,11 @@ packages: detect-node-es@1.1.0: resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==} - devtools-protocol@0.0.1342118: - resolution: {integrity: sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==} + devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + + devtools-protocol@0.0.1330662: + resolution: {integrity: sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==} dialog-polyfill@0.4.10: resolution: {integrity: sha512-j5yGMkP8T00UFgyO+78OxiN5vC5dzRQF3BEio+LhNvDbyfxWBsi3sfPArDm54VloaJwy2hm3erEiDWqHRC8rzw==} @@ -6818,6 +6899,9 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + json-loose@1.2.4: + resolution: {integrity: sha512-lwMWNC5pvVI33rhYWmAsmtICWE2IH7euDY/iIPeMFE5AuzAifYgqQrjqSMzwbrFV6MWPs41XD+CajElHI4cZMQ==} + json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -6985,6 +7069,9 @@ packages: long@5.2.3: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} + longest-streak@3.1.0: + resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} + loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -7061,6 +7148,18 @@ packages: resolution: {integrity: sha512-ao76b0bqSTKcEMt7Pui+J/S3eVF0b3GWfuKUwfe2lP5DKlLZOwBq37e0/bXEzxrw7/SuHAuYAdoCwY6mAYhrsg==} engines: {node: '>=0.12.0'} + mdast-util-from-markdown@2.0.1: + resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} + + mdast-util-phrasing@4.1.0: + resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} + + mdast-util-to-markdown@2.1.0: + resolution: {integrity: sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ==} + + mdast-util-to-string@4.0.0: + resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + mdn-data@2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} @@ -7107,8 +7206,8 @@ packages: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} - micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + micromatch@4.0.7: + resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} engines: {node: '>=8.6'} mime-db@1.52.0: @@ -7235,6 +7334,9 @@ packages: mlly@1.7.1: resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} + moo@0.5.2: + resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -9006,6 +9108,18 @@ packages: resolution: {integrity: sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + unist-util-is@6.0.0: + resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} + + unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + + unist-util-visit-parents@6.0.1: + resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} + + unist-util-visit@5.0.0: + resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} @@ -9494,8 +9608,11 @@ packages: zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - zx@8.1.8: - resolution: {integrity: sha512-m8s48skYQ8EcRz9KXfc7rZCjqlZevOGiNxq5tNhDiGnhOvXKRGxVr+ajUma9B6zxMdHGSSbnjV/R/r7Ue2xd+A==} + zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + + zx@8.1.5: + resolution: {integrity: sha512-gvmiYPvDDEz2Gcc37x7pJkipTKcFIE18q9QlSI1p5qoPDtoSn3jmGuWD0eEb7HuxEH5aDD7N/RVgH8BqSxbKzA==} engines: {node: '>= 12.17.0'} hasBin: true @@ -10940,17 +11057,17 @@ snapshots: dependencies: '@hattip/headers': 0.0.48 - '@hattip/vite@0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': + '@hattip/vite@0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': dependencies: - '@hattip/adapter-node': 0.0.48 - '@vavite/connect': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - '@vavite/multibuild': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - '@vavite/node-loader': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + '@hattip/adapter-node': 0.0.47 + '@vavite/connect': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + '@vavite/multibuild': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + '@vavite/node-loader': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) cac: 6.7.14 import-meta-resolve: 4.1.0 picocolors: 1.1.0 resolve.exports: 2.0.2 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) '@hattip/walk@0.0.48': dependencies: @@ -11318,9 +11435,9 @@ snapshots: '@kikobeats/time-span@1.0.5': optional: true - '@lucia-auth/adapter-drizzle@1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1))(lucia@3.2.0)': + '@lucia-auth/adapter-drizzle@1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1))(lucia@3.2.0)': dependencies: - drizzle-orm: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) + drizzle-orm: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) lucia: 3.2.0 '@lucia-auth/adapter-sqlite@3.0.2(better-sqlite3@11.3.0)(lucia@3.2.0)': @@ -12069,6 +12186,10 @@ snapshots: '@types/cookie@0.6.0': {} + '@types/debug@4.1.12': + dependencies: + '@types/ms': 0.7.34 + '@types/eslint@9.6.1': dependencies: '@types/estree': 1.0.6 @@ -12147,10 +12268,16 @@ snapshots: '@types/linkify-it': 5.0.0 '@types/mdurl': 2.0.0 + '@types/mdast@4.0.4': + dependencies: + '@types/unist': 3.0.3 + '@types/mdurl@2.0.0': {} '@types/mime@1.3.5': {} + '@types/ms@0.7.34': {} + '@types/node-forge@1.3.11': dependencies: '@types/node': 18.19.44 @@ -12211,6 +12338,8 @@ snapshots: '@types/tough-cookie@4.0.5': optional: true + '@types/unist@3.0.3': {} + '@types/which@3.0.4': {} '@types/yauzl@2.10.3': @@ -12321,25 +12450,21 @@ snapshots: dependencies: '@universal-middleware/core': 0.2.10 - '@universal-middleware/hono@0.2.8': - dependencies: - '@universal-middleware/core': 0.2.10 - - '@vavite/connect@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': + '@vavite/connect@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': dependencies: '@types/node': 18.19.44 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - '@vavite/multibuild@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': + '@vavite/multibuild@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': dependencies: '@types/node': 18.19.44 cac: 6.7.14 - picocolors: 1.1.0 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + picocolors: 1.0.1 + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - '@vavite/node-loader@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': + '@vavite/node-loader@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': dependencies: - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) '@vercel/build-utils@8.3.6': {} @@ -12367,14 +12492,14 @@ snapshots: optionalDependencies: ajv: 6.12.6 - '@vite-plugin-vercel/vike@9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': + '@vite-plugin-vercel/vike@9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': dependencies: '@brillout/libassert': 0.5.8 nanoid: 5.0.7 qs: 6.13.0 - vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - vite-plugin-vercel: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite-plugin-vercel: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: @@ -12387,15 +12512,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.3(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))(vue@3.5.0(typescript@5.5.4))': dependencies: - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - vue: 3.5.8(typescript@5.6.2) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vue: 3.5.0(typescript@5.5.4) - '@vitest/expect@2.1.1': + '@vitest/expect@2.0.5': dependencies: - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 chai: 5.1.1 tinyrainbow: 1.2.0 @@ -12651,7 +12776,11 @@ snapshots: atomic-sleep@1.0.0: {} - autoprefixer@10.4.20(postcss@8.4.47): + attributes-parser@2.2.3: + dependencies: + json-loose: 1.2.4 + + autoprefixer@10.4.20(postcss@8.4.44): dependencies: browserslist: 4.23.3 caniuse-lite: 1.0.30001651 @@ -12992,6 +13121,8 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 + character-entities@2.0.2: {} + check-error@2.1.1: {} chokidar@3.6.0: @@ -13283,6 +13414,10 @@ snapshots: dependencies: ms: 2.1.3 + decode-named-character-reference@1.0.2: + dependencies: + character-entities: 2.0.2 + decompress-response@6.0.0: dependencies: mimic-response: 3.1.0 @@ -13329,6 +13464,8 @@ snapshots: depd@2.0.0: {} + dequal@2.0.3: {} + destr@2.0.3: {} destroy@1.2.0: {} @@ -13337,7 +13474,11 @@ snapshots: detect-node-es@1.1.0: {} - devtools-protocol@0.0.1342118: + devlop@1.1.0: + dependencies: + dequal: 2.0.3 + + devtools-protocol@0.0.1330662: optional: true dialog-polyfill@0.4.10: {} @@ -13382,14 +13523,14 @@ snapshots: transitivePeerDependencies: - supports-color - drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1): + drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1): optionalDependencies: '@cloudflare/workers-types': 4.20240919.0 '@prisma/client': 5.20.0(prisma@5.20.0) '@types/better-sqlite3': 7.6.11 - '@types/react': 18.3.9 + '@types/react': 18.3.8 better-sqlite3: 11.3.0 - prisma: 5.20.0 + prisma: 5.19.1 react: 18.3.1 duplexify@4.1.3: @@ -14980,6 +15121,10 @@ snapshots: json-buffer@3.0.1: {} + json-loose@1.2.4: + dependencies: + moo: 0.5.2 + json-parse-even-better-errors@2.3.1: optional: true @@ -15163,6 +15308,8 @@ snapshots: long@5.2.3: {} + longest-streak@3.1.0: {} + loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 @@ -15261,6 +15408,43 @@ snapshots: material-design-lite@1.3.0: {} + mdast-util-from-markdown@2.0.1: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + mdast-util-to-string: 4.0.0 + micromark: 4.0.0 + micromark-util-decode-numeric-character-reference: 2.0.1 + micromark-util-decode-string: 2.0.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-stringify-position: 4.0.0 + transitivePeerDependencies: + - supports-color + + mdast-util-phrasing@4.1.0: + dependencies: + '@types/mdast': 4.0.4 + unist-util-is: 6.0.0 + + mdast-util-to-markdown@2.1.0: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + longest-streak: 3.1.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-string: 4.0.0 + micromark-util-decode-string: 2.0.0 + unist-util-visit: 5.0.0 + zwitch: 2.0.4 + + mdast-util-to-string@4.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdn-data@2.0.14: {} mdurl@2.0.0: {} @@ -15306,7 +15490,7 @@ snapshots: methods@1.1.2: {} - micromatch@4.0.8: + micromatch@4.0.7: dependencies: braces: 3.0.3 picomatch: 2.3.1 @@ -15434,6 +15618,8 @@ snapshots: pkg-types: 1.1.3 ufo: 1.5.4 + moo@0.5.2: {} + mri@1.2.0: {} mrmime@2.0.0: {} @@ -17012,7 +17198,7 @@ snapshots: - supports-color optional: true - telefunc@0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1): + telefunc@0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1): dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 @@ -17326,6 +17512,25 @@ snapshots: imurmurhash: 0.1.4 optional: true + unist-util-is@6.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-stringify-position@4.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-visit-parents@6.0.1: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.0 + + unist-util-visit@5.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.0 + unist-util-visit-parents: 6.0.1 + universalify@0.2.0: optional: true @@ -17345,7 +17550,7 @@ snapshots: - rollup - webpack-sources - unplugin-vue-markdown@0.26.2(rollup@4.22.4)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(webpack-sources@3.2.3): + unplugin-vue-markdown@0.26.2(rollup@4.21.2)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@mdit-vue/plugin-component': 2.1.3 '@mdit-vue/plugin-frontmatter': 2.1.3 @@ -17353,7 +17558,7 @@ snapshots: '@rollup/pluginutils': 5.1.2(rollup@4.22.4) '@types/markdown-it': 14.1.2 markdown-it: 14.1.0 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.12.2 vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - rollup @@ -17475,10 +17680,10 @@ snapshots: vary@1.1.2: {} - vike-cloudflare@0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vike-cloudflare@0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): dependencies: - vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) optionalDependencies: '@hattip/adapter-cloudflare-workers': 0.0.47 @@ -17489,32 +17694,32 @@ snapshots: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vike-solid@0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vike-solid@0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: isbot-fast: 1.2.0 - solid-js: 1.8.23 + solid-js: 1.8.22 vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - vite-plugin-solid: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vite-plugin-solid: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - '@testing-library/jest-dom' - supports-color - vike-solid@0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))): + vike-solid@0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): dependencies: isbot-fast: 1.2.0 - solid-js: 1.8.23 - vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) - vite: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) - vite-plugin-solid: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) + solid-js: 1.8.22 + vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) + vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) + vite-plugin-solid: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - '@testing-library/jest-dom' - supports-color - vike-vue@0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)): + vike-vue@0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)): dependencies: - vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vue: 3.5.8(typescript@5.6.2) + vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vue: 3.5.0(typescript@5.5.4) vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: @@ -17535,11 +17740,11 @@ snapshots: optionalDependencies: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))): + vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 - '@brillout/picocolors': 1.0.15 + '@brillout/picocolors': 1.0.14 '@brillout/require-shim': 0.1.2 '@brillout/vite-plugin-server-entry': 0.4.12 acorn: 8.12.1 @@ -17550,11 +17755,11 @@ snapshots: semver: 7.6.3 sirv: 2.0.4 source-map-support: 0.5.21 - vite: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) optionalDependencies: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite-node@2.1.1(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)): + vite-node@2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)): dependencies: cac: 6.7.14 debug: 4.3.7 @@ -17571,7 +17776,7 @@ snapshots: - supports-color - terser - vite-plugin-compiled-react@1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vite-plugin-compiled-react@1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): dependencies: '@babel/types': 7.25.6 '@compiled/babel-plugin': 0.26.3 @@ -17583,14 +17788,14 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-solid@2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@babel/core': 7.25.2 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.22(@babel/core@7.25.2) merge-anything: 5.1.7 - solid-js: 1.8.23 - solid-refresh: 0.6.3(solid-js@1.8.23) + solid-js: 1.8.22 + solid-refresh: 0.6.3(solid-js@1.8.22) vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vitefu: 0.2.5(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: @@ -17609,7 +17814,7 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-vercel@9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vite-plugin-vercel@9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): dependencies: '@brillout/libassert': 0.5.8 '@manypkg/find-root': 2.2.3 @@ -17619,11 +17824,11 @@ snapshots: esbuild: 0.23.1 fast-glob: 3.3.2 magicast: 0.3.5 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) zod: 3.23.8 optionalDependencies: - '@vite-plugin-vercel/vike': 9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + '@vite-plugin-vercel/vike': 9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) transitivePeerDependencies: - encoding - supports-color @@ -17638,33 +17843,33 @@ snapshots: fsevents: 2.3.3 sugarss: 4.0.1(postcss@8.4.47) - vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)): + vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)): dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.22.4 + rollup: 4.21.2 optionalDependencies: - '@types/node': 22.6.1 + '@types/node': 22.5.4 fsevents: 2.3.3 - sugarss: 4.0.1(postcss@8.4.47) + sugarss: 4.0.1(postcss@8.4.44) - vitefu@0.2.5(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vitefu@0.2.5(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): optionalDependencies: - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - vitefu@0.2.5(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))): + vitefu@0.2.5(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): optionalDependencies: - vite: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) - vitest@2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)): + vitest@2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)): dependencies: - '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - '@vitest/pretty-format': 2.1.1 - '@vitest/runner': 2.1.1 - '@vitest/snapshot': 2.1.1 - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 + '@ampproject/remapping': 2.3.0 + '@vitest/expect': 2.0.5 + '@vitest/pretty-format': 2.0.5 + '@vitest/runner': 2.0.5 + '@vitest/snapshot': 2.0.5 + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 chai: 5.1.1 debug: 4.3.7 magic-string: 0.30.11 @@ -17691,10 +17896,10 @@ snapshots: - supports-color - terser - vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@1.21.6)): + vue-eslint-parser@9.4.3(eslint@9.11.0(jiti@1.21.6)): dependencies: debug: 4.3.7 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 @@ -17920,7 +18125,9 @@ snapshots: zod@3.23.8: {} - zx@8.1.8: + zwitch@2.0.4: {} + + zx@8.1.5: optionalDependencies: '@types/fs-extra': 11.0.4 '@types/node': 22.6.1 From 0ad73a43f418c48af9e7436c9cf16ebef79d002a Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Tue, 24 Sep 2024 18:08:58 +0200 Subject: [PATCH 2/8] fix: TOC, remove localContext --- boilerplates/aws/files/$TEST.md.ts | 12 +- boilerplates/react/files/$TEST.md.ts | 7 +- boilerplates/sentry/files/$TEST.md.ts | 11 +- boilerplates/shared/files/$TEST.md.ts | 9 ++ packages/build/package.json | 1 + packages/core/package.json | 11 +- packages/core/src/loaders.ts | 1 - packages/core/src/markdown/createTOC.ts | 13 ++ packages/core/src/markdown/markdown.ts | 72 +++++---- packages/core/src/markdown/types.ts | 42 +++++ packages/core/src/markdown/utils.ts | 4 +- packages/core/src/markdown/zone.ts | 18 +-- packages/core/tests/markdown/markdown.spec.ts | 152 ++++++++++++++++-- packages/core/tests/markdown/toc.spec.ts | 57 +++++++ pnpm-lock.yaml | 49 +++++- 15 files changed, 371 insertions(+), 88 deletions(-) create mode 100644 packages/core/src/markdown/createTOC.ts create mode 100644 packages/core/src/markdown/types.ts create mode 100644 packages/core/tests/markdown/toc.spec.ts diff --git a/boilerplates/aws/files/$TEST.md.ts b/boilerplates/aws/files/$TEST.md.ts index f255a76c..a92f3d35 100644 --- a/boilerplates/aws/files/$TEST.md.ts +++ b/boilerplates/aws/files/$TEST.md.ts @@ -2,10 +2,9 @@ import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { const content = await loadMarkdown(props); - //console.log("***aws***", await props.readfile()); - //language=Markdown + const todo = ` -## *AWS CDK Deployment* +## AWS CDK Deployment This is a boilerplate for deploying your Vike app to AWS using the AWS Cloud Development Kit (CDK) including creating a custom domain in Route53. @@ -104,12 +103,7 @@ Or delete the CloudFormation stack which starts with "VikeStack-" `; - content.addMarkdown(todo, { - wrapper: { - category: "Hosting", - flag: "aws", - }, - }); + content.addMarkdownFeature(todo, "aws"); return content.finalize(); } diff --git a/boilerplates/react/files/$TEST.md.ts b/boilerplates/react/files/$TEST.md.ts index 2420c70e..b08c8c52 100644 --- a/boilerplates/react/files/$TEST.md.ts +++ b/boilerplates/react/files/$TEST.md.ts @@ -39,12 +39,7 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo You can enable/disable [HTML streaming](https://vike.dev/streaming) for all your pages, or only for some pages while still using it for others.`; - content.addMarkdown(about, { - wrapper: { - category: "Frontend Framework", - flag: "react", - }, - }); + content.addMarkdownFeature(about, "react"); return content.finalize(); } diff --git a/boilerplates/sentry/files/$TEST.md.ts b/boilerplates/sentry/files/$TEST.md.ts index 0777577a..918539a3 100644 --- a/boilerplates/sentry/files/$TEST.md.ts +++ b/boilerplates/sentry/files/$TEST.md.ts @@ -2,10 +2,10 @@ import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getTest(props: TransformerProps) { const content = await loadMarkdown(props); - //console.log("***sentry***", await props.readfile()); + const doc = ` - ## Sentry Browser / Error Tracking & Performance Monitoring +## Sentry Browser / Error Tracking & Performance Monitoring This app is integrated with [Sentry](https://sentry.io) for error tracking. @@ -33,12 +33,7 @@ You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN `; - content.addMarkdown(doc, { - wrapper: { - category: "Error tracking", - flag: "sentry", - }, - }); + content.addMarkdownFeature(doc, "sentry"); return content.finalize(); } diff --git a/boilerplates/shared/files/$TEST.md.ts b/boilerplates/shared/files/$TEST.md.ts index 1e3f3b7d..a676199c 100644 --- a/boilerplates/shared/files/$TEST.md.ts +++ b/boilerplates/shared/files/$TEST.md.ts @@ -22,6 +22,15 @@ ${getArgs()} ${flags} section: "intro", }, }); + content.addMarkdown("", { + position: "after", + filter: { + section: "intro", + }, + wrapper: { + section: "TOC", + }, + }); content.addMarkdown("", { position: "after", filter: { diff --git a/packages/build/package.json b/packages/build/package.json index 6202e9c4..f526d84f 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -14,6 +14,7 @@ "license": "MIT", "devDependencies": { "@batijs/compile": "workspace:*", + "@batijs/features": "workspace:*", "@types/node": "^18.19.14", "tsup": "^8.3.0" }, diff --git a/packages/core/package.json b/packages/core/package.json index 1009ad89..6b5aa63f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -30,6 +30,11 @@ "eslint-rule-composer": "^0.3.0", "espree": "^10.1.0", "magicast": "^0.3.5", + "mdast-builder": "^1.1.1", + "mdast-util-from-markdown": "^2.0.1", + "mdast-util-to-markdown": "^2.1.0", + "mdast-util-to-string": "^4.0.0", + "mdast-util-toc": "^7.1.0", "prettier": "^3.3.3", "squirrelly": "^9.1.0", "tsup": "^8.3.0", @@ -39,11 +44,7 @@ "vitest": "^2.1.1", "vue-eslint-parser": "^9.4.3", "which": "^4.0.0", - "yaml": "^2.5.1", - "attributes-parser": "^2.2.3", - "mdast-util-from-markdown": "^2.0.1", - "mdast-util-to-markdown": "^2.1.0", - "unist-util-visit": "^5.0.0" + "yaml": "^2.5.1" }, "exports": { ".": "./dist/index.js", diff --git a/packages/core/src/loaders.ts b/packages/core/src/loaders.ts index 3325b469..69ed6150 100644 --- a/packages/core/src/loaders.ts +++ b/packages/core/src/loaders.ts @@ -24,7 +24,6 @@ export async function loadReadme({ readfile }: TransformerProps) { export async function loadMarkdown({ readfile }: TransformerProps) { const content = await readfile?.(); - return parseMarkdown(content ?? ""); } diff --git a/packages/core/src/markdown/createTOC.ts b/packages/core/src/markdown/createTOC.ts new file mode 100644 index 00000000..f895b388 --- /dev/null +++ b/packages/core/src/markdown/createTOC.ts @@ -0,0 +1,13 @@ +import type { Root, Nodes } from "mdast"; +import { text, heading } from "mdast-builder"; +import { toc } from "mdast-util-toc"; + +const tocHeading = "Contents"; + +export function createTOC(tree: Root): Nodes[] | null { + const tocItems = toc(tree, { maxDepth: 4, minDepth: 2, skip: tocHeading }); + if (tocItems?.map === undefined) { + return null; + } + return [heading(2, text(tocHeading)), tocItems.map] as Nodes[]; +} diff --git a/packages/core/src/markdown/markdown.ts b/packages/core/src/markdown/markdown.ts index c8ed2a22..c02851c6 100644 --- a/packages/core/src/markdown/markdown.ts +++ b/packages/core/src/markdown/markdown.ts @@ -1,49 +1,54 @@ import { fromMarkdown, type Value } from "mdast-util-from-markdown"; import { toMarkdown } from "mdast-util-to-markdown"; -import { zone, type FilterHandler, type FilterObject, type ZoneHandler } from "./zone.js"; +import { zone } from "./zone.js"; import type { Root, Nodes } from "mdast"; import { commentMarker, wrapWithComment } from "./utils.js"; -import { categoryLabelOrder, type CategoryLabels } from "@batijs/features"; +import { categoryLabelOrder, features, type CategoryLabels, type Flags } from "@batijs/features"; import { deepMerge } from "@typescript-eslint/utils/eslint-utils"; +import type { classConfig, ContentChanger, MarkdownOptions, FilterObject, ZoneHandler } from "./types.js"; +import { createTOC } from "./createTOC.js"; -export function parseMarkdown(text: string) { +export function parseMarkdown(text: string, defaults?: MarkdownOptions) { const markdownText = //.test(text) ? text : `\n${text}\n`; - return new MarkdownV2(fromMarkdown(markdownText as Value)); + return new MarkdownV2( + fromMarkdown(markdownText as Value), + defaults + ? { + defaults, + } + : undefined, + ); } -export type MarkdownPosition = "before" | "after" | "replace"; - -export type WrapperObject = FilterObject & { - name?: string; -}; - -type MarkdownOptions = { - filter?: FilterObject | FilterHandler; - position?: MarkdownPosition; - wrapper?: WrapperObject; -}; - -type ContentChanger = { - markdown: string | ZoneHandler; - options: MarkdownOptions; -}; +function getNodesFromRoot(tree: Root): Nodes[] { + return tree.children; +} export class MarkdownV2 { private tree: Root; private contents: ContentChanger[] = []; + private config: classConfig = { defaults: { filter: { section: "features" } } }; - constructor(tree: Root) { + constructor(tree: Root, config?: classConfig) { this.tree = tree; + if (this.config) { + this.config = deepMerge(this.config, config); + } } - addMarkdown(markdown: string | ZoneHandler, options: MarkdownOptions = {}) { - const optionsMarkdown = deepMerge({ filter: { section: "features" } }, options); - + addMarkdownFeature(markdown: string | ZoneHandler, flag: Flags) { + const category = features.find((f) => f.flag === flag)!.category as CategoryLabels; + const options = { wrapper: { category, flag } }; + const optionsMarkdown = deepMerge(this.config.defaults, options); this.contents.push({ markdown, options: optionsMarkdown }); } + addMarkdown(markdown: string | ZoneHandler, options: MarkdownOptions = {}) { + this.contents.push({ markdown, options }); + } + finalize() { for (const { markdown, options } of this.contents) { const handler: ZoneHandler = @@ -89,7 +94,7 @@ export class MarkdownV2 { return [ start, ...betweenBeforeCategory, - ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + ...wrapWithComment(getNodesFromRoot(fromMarkdown(markdown)), options?.wrapper), ...betweenAfterCategory, end, ] as Nodes[]; @@ -97,18 +102,22 @@ export class MarkdownV2 { return [ start, ...between, - ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + ...wrapWithComment(getNodesFromRoot(fromMarkdown(markdown)), options?.wrapper), end, ] as Nodes[]; } } switch (position) { case "replace": - return [start, ...wrapWithComment([fromMarkdown(markdown)], options?.wrapper), end] as Nodes[]; + return [ + start, + ...wrapWithComment(getNodesFromRoot(fromMarkdown(markdown)), options?.wrapper), + end, + ] as Nodes[]; case "before": return [ start, - ...wrapWithComment(fromMarkdown(markdown as Value), options?.wrapper), + ...wrapWithComment(getNodesFromRoot(fromMarkdown(markdown as Value)), options?.wrapper), ...between, end, ] as Nodes[]; @@ -116,7 +125,7 @@ export class MarkdownV2 { return [ start, ...between, - ...wrapWithComment(fromMarkdown(markdown), options?.wrapper), + ...wrapWithComment(getNodesFromRoot(fromMarkdown(markdown)), options?.wrapper), end, ] as Nodes[]; default: @@ -126,6 +135,11 @@ export class MarkdownV2 { zone(this.tree, "bati", options?.filter, handler); } + zone(this.tree, "bati", { section: "TOC" }, (start, _between, end) => { + const toc = createTOC(this.tree); + if (!toc) return; + return [start, ...toc, end]; + }); return toMarkdown(this.tree); } } diff --git a/packages/core/src/markdown/types.ts b/packages/core/src/markdown/types.ts new file mode 100644 index 00000000..a1408b04 --- /dev/null +++ b/packages/core/src/markdown/types.ts @@ -0,0 +1,42 @@ +import type { Flags, CategoryLabels } from "@batijs/features"; +import type { Nodes, Parents } from "mdast"; +import type { commentMarker } from "./utils.js"; + +export type MarkdownPosition = "before" | "after" | "replace"; +export type Sections = "document" | "intro" | "features" | "TOC"; + +export type FilterHandler = (info: ReturnType) => boolean; +export type FilterObject = { + section?: Sections; + category?: CategoryLabels; + flag?: Flags; + [key: string]: undefined | string | number | boolean; +}; + +export type WrapperObject = FilterObject & { name?: string }; + +export type MarkdownOptions = { + filter?: FilterObject | FilterHandler; + position?: MarkdownPosition; + wrapper?: WrapperObject; +}; + +export type ContentChanger = { + markdown: string | ZoneHandler; + options: MarkdownOptions; +}; + +export type classConfig = { + defaults?: MarkdownOptions; +}; + +export type MarkdownCommentSuffix = "start" | "end"; + +export type Info = { + parent: Parents; + start: number; + end: number; +}; + +// zone.ts +export type ZoneHandler = (start: Nodes, between: Nodes[], end: Nodes, info: Info) => Nodes[] | null | undefined | void; diff --git a/packages/core/src/markdown/utils.ts b/packages/core/src/markdown/utils.ts index f8ee2071..e4a0bbc9 100644 --- a/packages/core/src/markdown/utils.ts +++ b/packages/core/src/markdown/utils.ts @@ -1,7 +1,6 @@ import parseAttributes from "attributes-parser"; import type { Nodes } from "mdast"; -import type { FilterObject } from "./zone.js"; -import type { WrapperObject } from "./markdown.js"; +import type { WrapperObject, FilterObject, MarkdownCommentSuffix } from "./types.js"; const markerExpression = new RegExp(`(\\s*\\s*)`); @@ -36,7 +35,6 @@ export function objectFilter(filter: FilterObject | undefined = {}, info: Return } return true; } -type MarkdownCommentSuffix = "start" | "end"; export function createMarkdownComment(suffix: MarkdownCommentSuffix, options: Record) { const { name, ...attributes } = options; diff --git a/packages/core/src/markdown/zone.ts b/packages/core/src/markdown/zone.ts index 65a4a970..84c1385f 100644 --- a/packages/core/src/markdown/zone.ts +++ b/packages/core/src/markdown/zone.ts @@ -1,23 +1,7 @@ import { visit } from "unist-util-visit"; import { commentMarker, objectFilter } from "./utils.js"; import type { Nodes, Parents } from "mdast"; -import type { Flags, CategoryLabels } from "@batijs/features"; - -type Info = { - parent: Parents; - start: number; - end: number; -}; - -export type Sections = "document" | "intro" | "features"; -export type ZoneHandler = (start: Nodes, between: Nodes[], end: Nodes, info: Info) => Nodes[] | null | undefined | void; -export type FilterHandler = (info: ReturnType) => boolean; -export type FilterObject = { - section?: Sections; - category?: CategoryLabels; - flag?: Flags; - [key: string]: undefined | string | number | boolean; -}; +import type { FilterHandler, FilterObject, ZoneHandler } from "./types.js"; export function zone( node: Nodes, diff --git a/packages/core/tests/markdown/markdown.spec.ts b/packages/core/tests/markdown/markdown.spec.ts index 1eb1bad2..258719a5 100644 --- a/packages/core/tests/markdown/markdown.spec.ts +++ b/packages/core/tests/markdown/markdown.spec.ts @@ -1,8 +1,9 @@ import { expect, test } from "vitest"; -import { type MarkdownPosition, parseMarkdown } from "../../src/markdown/markdown.js"; +import { parseMarkdown } from "../../src/markdown/markdown.js"; +import type { MarkdownPosition } from "../../src/markdown/types.js"; -test.skip("simple", () => { +test("simple", () => { const content = parseMarkdown(` @@ -35,7 +36,7 @@ test.skip("simple", () => { ); }); -test.skip.each([ +test.each([ ["replace", "# replace"], ["before", "# before\n\n# content"], ["after", "# content\n\n# after"], @@ -69,7 +70,7 @@ ${expected} ); }); -test.skip("wrapper", () => { +test("wrapper", () => { const content = parseMarkdown( ` # content @@ -105,7 +106,7 @@ test.skip("wrapper", () => { ); }); -test.skip("empty document", () => { +test("empty document", () => { const content = parseMarkdown(``); content.addMarkdown(`# new content`, { filter: { @@ -140,24 +141,27 @@ test("add feature", () => { `); content.addMarkdown(`## REACT`, { + filter: { + section: "features", + }, wrapper: { - category: "Frontend Framework", + category: "UI Framework", flag: "react", }, }); const result = content.finalize(); - console.log(result); + expect(result).toBe( ` - + ## REACT - + @@ -171,3 +175,133 @@ test("add feature", () => { `, ); }); + +test("add feature with addMarkdownFeature", () => { + const content = parseMarkdown( + ` + + +## AWS + + +`, + ); + content.addMarkdownFeature(`## REACT`, "react"); + + const result = content.finalize(); + + expect(result).toBe( + ` + + + + + +## REACT + + + + + +## AWS + + + + + + +`, + ); +}); + +test("add TOC", () => { + const content = parseMarkdown( + `# README + + + +Intro + + + + + + +## React + +### Rendering + + +## *AWS* + +### S3 + + +## Sentry + +### Debugging + + + +`, + ); + + const result = content.finalize(); + + expect(result).toBe(`# README + + + + + +Intro + + + +## Contents + +* [React](#react) + + * [Rendering](#rendering) + +* [*AWS*](#aws) + + * [S3](#s3) + +* [Sentry](#sentry) + + * [Debugging](#debugging) + + + + + + + + + +## React + +### Rendering + + + + + +## *AWS* + +### S3 + + + + + +## Sentry + +### Debugging + + + + +`); +}); diff --git a/packages/core/tests/markdown/toc.spec.ts b/packages/core/tests/markdown/toc.spec.ts new file mode 100644 index 00000000..41d7512b --- /dev/null +++ b/packages/core/tests/markdown/toc.spec.ts @@ -0,0 +1,57 @@ +import { expect, test } from "vitest"; +import { fromMarkdown } from "mdast-util-from-markdown"; +import { toMarkdown } from "mdast-util-to-markdown"; +import { createTOC } from "../../src/markdown/createTOC.js"; +import type { RootContent } from "mdast"; + +const markdownTree = fromMarkdown(` +# 001 h1 + +## 002 h2 + +### 003 h3 + +## 004 h2 + +### 005 h3 + +#### 006 h4 + +# 007 h1 +`); + +test("simple", () => { + const result = createTOC(markdownTree); + const markdown = toMarkdown({ type: "root", children: result as RootContent[] }); + expect(markdown).toBe( + `## Contents + +* [002 h2](#002-h2) + + * [003 h3](#003-h3) + +* [004 h2](#004-h2) + + * [005 h3](#005-h3) + + * [006 h4](#006-h4) +`, + ); +}); + +test("ignore section TOC", () => { + const mdast = fromMarkdown(` + +## Contents + +## Headline + `); + const result = createTOC(mdast); + const markdown = toMarkdown({ type: "root", children: result as RootContent[] }); + expect(markdown).toBe( + `## Contents + +* [Headline](#headline) +`, + ); +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d99205c9..c8a3bca3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1607,6 +1607,9 @@ importers: '@batijs/compile': specifier: workspace:* version: link:../compile + '@batijs/features': + specifier: workspace:* + version: link:../features '@types/node': specifier: ^18.19.14 version: 18.19.44 @@ -1735,12 +1738,21 @@ importers: magicast: specifier: ^0.3.5 version: 0.3.5 + mdast-builder: + specifier: ^1.1.1 + version: 1.1.1 mdast-util-from-markdown: specifier: ^2.0.1 version: 2.0.1 mdast-util-to-markdown: specifier: ^2.1.0 version: 2.1.0 + mdast-util-to-string: + specifier: ^4.0.0 + version: 4.0.0 + mdast-util-toc: + specifier: ^7.1.0 + version: 7.1.0 prettier: specifier: ^3.3.3 version: 3.3.3 @@ -4707,6 +4719,12 @@ packages: '@types/tough-cookie@4.0.5': resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} + '@types/ungap__structured-clone@1.2.0': + resolution: {integrity: sha512-ZoaihZNLeZSxESbk9PUAPZOlSpcKx81I1+4emtULDVmBLkYutTcMlCj2K9VNlf9EWODxdO6gkAqEaLorXwZQVA==} + + '@types/unist@2.0.11': + resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} + '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} @@ -4829,7 +4847,7 @@ packages: resolution: {integrity: sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^4.2.0 || ^5.0.0 + vite: 5.4.2 '@vitejs/plugin-vue@5.1.4': resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} @@ -6406,6 +6424,9 @@ packages: github-from-package@0.0.0: resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + github-slugger@2.0.0: + resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==} + glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -7148,6 +7169,9 @@ packages: resolution: {integrity: sha512-ao76b0bqSTKcEMt7Pui+J/S3eVF0b3GWfuKUwfe2lP5DKlLZOwBq37e0/bXEzxrw7/SuHAuYAdoCwY6mAYhrsg==} engines: {node: '>=0.12.0'} + mdast-builder@1.1.1: + resolution: {integrity: sha512-a3KBk/LmYD6wKsWi8WJrGU/rXR4yuF4Men0JO0z6dSZCm5FrXXWTRDjqK0vGSqa+1M6p9edeuypZAZAzSehTUw==} + mdast-util-from-markdown@2.0.1: resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} @@ -7160,6 +7184,9 @@ packages: mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + mdast-util-toc@7.1.0: + resolution: {integrity: sha512-2TVKotOQzqdY7THOdn2gGzS9d1Sdd66bvxUyw3aNpWfcPXCLYSJCCgfPy30sEtuzkDraJgqF35dzgmz6xlvH/w==} + mdn-data@2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} @@ -12338,6 +12365,10 @@ snapshots: '@types/tough-cookie@4.0.5': optional: true + '@types/ungap__structured-clone@1.2.0': {} + + '@types/unist@2.0.11': {} + '@types/unist@3.0.3': {} '@types/which@3.0.4': {} @@ -14572,6 +14603,8 @@ snapshots: github-from-package@0.0.0: {} + github-slugger@2.0.0: {} + glob-parent@5.1.2: dependencies: is-glob: 4.0.3 @@ -15408,6 +15441,10 @@ snapshots: material-design-lite@1.3.0: {} + mdast-builder@1.1.1: + dependencies: + '@types/unist': 2.0.11 + mdast-util-from-markdown@2.0.1: dependencies: '@types/mdast': 4.0.4 @@ -15445,6 +15482,16 @@ snapshots: dependencies: '@types/mdast': 4.0.4 + mdast-util-toc@7.1.0: + dependencies: + '@types/mdast': 4.0.4 + '@types/ungap__structured-clone': 1.2.0 + '@ungap/structured-clone': 1.2.0 + github-slugger: 2.0.0 + mdast-util-to-string: 4.0.0 + unist-util-is: 6.0.0 + unist-util-visit: 5.0.0 + mdn-data@2.0.14: {} mdurl@2.0.0: {} From 9da0540aa6c38e6bce9e8bd49727d7d3e38482fc Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Tue, 24 Sep 2024 18:14:23 +0200 Subject: [PATCH 3/8] fix: pnpm lock --- pnpm-lock.yaml | 733 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 477 insertions(+), 256 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8a3bca3..31f3bba0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,8 +162,8 @@ importers: specifier: ^5.6.2 version: 5.6.2 vitest: - specifier: ^2.0.5 - version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^2.1.1 + version: 2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) which: specifier: ^4.0.0 version: 4.0.0 @@ -206,8 +206,8 @@ importers: specifier: ^6.2.3 version: 6.2.3 vike-cloudflare: - specifier: ^0.1.1 - version: 0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.1.2 + version: 0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) wrangler: specifier: ^3.78.8 version: 3.78.8(@cloudflare/workers-types@4.20240919.0) @@ -228,11 +228,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/d1: dependencies: @@ -253,8 +253,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) wrangler: specifier: ^3.78.8 version: 3.78.8(@cloudflare/workers-types@4.20240919.0) @@ -278,8 +278,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/drizzle: dependencies: @@ -411,17 +411,17 @@ importers: specifier: ^4.21.0 version: 4.21.0 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/fastify: dependencies: @@ -463,17 +463,17 @@ importers: specifier: ^5.0.0 version: 5.0.0 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/firebase-auth: dependencies: @@ -509,11 +509,11 @@ importers: specifier: ^6.1.0 version: 6.1.0(firebase@10.13.2) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/google-analytics: dependencies: @@ -571,17 +571,17 @@ importers: specifier: ^1.16.2 version: 1.16.2 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/hattip: dependencies: @@ -617,8 +617,8 @@ importers: specifier: ^0.0.48 version: 0.0.48 '@hattip/vite': - specifier: ^0.0.47 - version: 0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.0.48 + version: 0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) '@hattip/walk': specifier: ^0.0.48 version: 0.0.48 @@ -644,14 +644,14 @@ importers: specifier: ^0.0.33 version: 0.0.33 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/hono: dependencies: @@ -696,17 +696,17 @@ importers: specifier: ^4.6.3 version: 4.6.3 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) tsx: specifier: ^4.19.1 version: 4.19.1 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/lucia-auth: dependencies: @@ -757,11 +757,11 @@ importers: specifier: ^3.2.0 version: 3.2.0 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/mantine: dependencies: @@ -806,30 +806,11 @@ importers: specifier: ^0.5.7 version: 0.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - - boilerplates/plain-sentry: - dependencies: - '@batijs/core': - specifier: workspace:* - version: link:../../packages/core - devDependencies: - '@batijs/compile': - specifier: workspace:* - version: link:../../packages/compile - '@sentry/browser': - specifier: ^8.28.0 - version: 8.28.0 - '@types/node': - specifier: ^18.19.14 - version: 18.19.44 - vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/prettier: dependencies: @@ -901,10 +882,7 @@ importers: version: 18.3.0 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - cross-fetch: - specifier: ^4.0.0 - version: 4.0.0(encoding@0.1.13) + version: 4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) react: specifier: ^18.3.1 version: 18.3.1 @@ -918,17 +896,17 @@ importers: specifier: ^5.6.2 version: 5.6.2 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike-react: - specifier: ^0.5.5 - version: 0.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))) + specifier: ^0.5.7 + version: 0.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-compiled-react: specifier: ^1.1.3 - version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + version: 1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/react-firebase-auth: dependencies: @@ -961,11 +939,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/react-lucia-auth: dependencies: @@ -992,11 +970,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/react-sentry: dependencies: @@ -1026,8 +1004,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/sentry: dependencies: @@ -1045,8 +1023,8 @@ importers: specifier: ^18.19.44 version: 18.19.44 vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/shadcn-ui: dependencies: @@ -1088,20 +1066,20 @@ importers: specifier: workspace:* version: link:../../packages/compile '@hattip/vite': - specifier: ^0.0.47 - version: 0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.0.48 + version: 0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) '@types/node': specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-vercel: specifier: ^9.0.1 - version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/shared-db: dependencies: @@ -1135,25 +1113,6 @@ importers: specifier: ^18.19.14 version: 18.19.44 - boilerplates/shared-plain: - dependencies: - '@batijs/core': - specifier: workspace:* - version: link:../../packages/core - devDependencies: - '@batijs/compile': - specifier: workspace:* - version: link:../../packages/compile - '@types/node': - specifier: ^18.19.14 - version: 18.19.44 - vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - boilerplates/shared-server: devDependencies: '@batijs/compile': @@ -1169,11 +1128,11 @@ importers: specifier: ^0.2.10 version: 0.2.10 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/shared-todo: dependencies: @@ -1191,11 +1150,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike-cloudflare: - specifier: ^0.1.1 - version: 0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.1.2 + version: 0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/solid: dependencies: @@ -1219,14 +1178,14 @@ importers: specifier: ^5.6.2 version: 5.6.2 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike-solid: specifier: ^0.7.5 version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-solid: specifier: ^2.10.2 version: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) @@ -1253,11 +1212,11 @@ importers: specifier: ^1.8.23 version: 1.8.23 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/solid-lucia-auth: dependencies: @@ -1275,11 +1234,11 @@ importers: specifier: ^1.8.23 version: 1.8.23 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/solid-sentry: dependencies: @@ -1303,8 +1262,8 @@ importers: specifier: ^0.7.5 version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/sqlite: dependencies: @@ -1356,11 +1315,11 @@ importers: specifier: ^3.4.13 version: 3.4.13 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/telefunc: dependencies: @@ -1381,14 +1340,14 @@ importers: specifier: ^0.2.10 version: 0.2.10 telefunc: - specifier: ^0.1.78 - version: 0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^0.1.79 + version: 0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/trpc: dependencies: @@ -1415,8 +1374,8 @@ importers: specifier: ^0.2.10 version: 0.2.10 vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) boilerplates/ts-rest: dependencies: @@ -1460,16 +1419,16 @@ importers: version: 18.19.44 '@vite-plugin-vercel/vike': specifier: ^9.0.1 - version: 9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + version: 9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-vercel: specifier: ^9.0.1 - version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + version: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/vue: dependencies: @@ -1484,8 +1443,8 @@ importers: specifier: ^18.19.14 version: 18.19.44 '@vitejs/plugin-vue': - specifier: ^5.1.3 - version: 5.1.3(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))(vue@3.5.0(typescript@5.5.4)) + specifier: ^5.1.4 + version: 5.1.4(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(vue@3.5.8(typescript@5.6.2)) '@vue/compiler-sfc': specifier: ^3.5.8 version: 3.5.8 @@ -1502,14 +1461,14 @@ importers: specifier: ^0.26.2 version: 0.26.2(rollup@4.21.2)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike-vue: - specifier: ^0.8.3 - version: 0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)) + specifier: ^0.8.5 + version: 0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1536,11 +1495,11 @@ importers: specifier: ^6.1.0 version: 6.1.0(firebase@10.13.2) vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1558,11 +1517,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike: - specifier: ^0.4.194 - version: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + specifier: ^0.4.196 + version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1583,11 +1542,11 @@ importers: specifier: ^18.19.14 version: 18.19.44 vike-vue: - specifier: ^0.8.3 - version: 0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)) + specifier: ^0.8.5 + version: 0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vue: specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1666,8 +1625,8 @@ importers: specifier: ^0.0.7 version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) vite: - specifier: ^5.4.3 - version: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + specifier: ^5.4.7 + version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) packages/compile: dependencies: @@ -1717,6 +1676,12 @@ importers: '@typescript-eslint/utils': specifier: ^8.6.0 version: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) +<<<<<<< HEAD +======= + '@typescript-eslint/utils': + specifier: ^8.6.0 + version: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) +>>>>>>> 1898d438 (fix: pnpm lock) colorette: specifier: ^2.0.20 version: 2.0.20 @@ -1766,11 +1731,8 @@ importers: specifier: ^4.19.1 version: 4.19.1 typescript: - specifier: ^5.5.4 - version: 5.5.4 - unist-util-visit: - specifier: ^5.0.0 - version: 5.0.0 + specifier: ^5.6.2 + version: 5.6.2 unplugin-purge-polyfills: specifier: ^0.0.7 version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) @@ -1863,7 +1825,7 @@ importers: version: 5.6.2 vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)) + version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) packages/tests-utils: dependencies: @@ -4791,6 +4753,9 @@ packages: resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': + resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@universal-middleware/core@0.2.10': resolution: {integrity: sha512-gZ6/kbsxuYkYqsNDZ/+cRoEVGw9yAzjBuAE19Uqhu5VH902tMkMHmRlCNs7UhdPcb5DoKDtwGdBIl30psYvBcw==} @@ -4847,7 +4812,7 @@ packages: resolution: {integrity: sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: 5.4.2 + vite: ^4.2.0 || ^5.0.0 '@vitejs/plugin-vue@5.1.4': resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} @@ -4856,6 +4821,9 @@ packages: vite: ^5.0.0 vue: ^3.2.25 + '@vitest/expect@2.0.5': + resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} + '@vitest/expect@2.1.1': resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} @@ -4870,18 +4838,33 @@ packages: vite: optional: true + '@vitest/pretty-format@2.0.5': + resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} + '@vitest/pretty-format@2.1.1': resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} + '@vitest/runner@2.0.5': + resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} + '@vitest/runner@2.1.1': resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} + '@vitest/snapshot@2.0.5': + resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==} + '@vitest/snapshot@2.1.1': resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} + '@vitest/spy@2.0.5': + resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} + '@vitest/spy@2.1.1': resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} + '@vitest/utils@2.0.5': + resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} + '@vitest/utils@2.1.1': resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} @@ -5069,9 +5052,6 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} - attributes-parser@2.2.3: - resolution: {integrity: sha512-zjOUWt95la8AdUO+kP1GBOonWrV5jy9NjJP+z9tva/DSA6FIzGKcN/gk3tdqQf/pOeB8dkyd3FCPrjhELMmrkg==} - autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -5666,8 +5646,8 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} - devtools-protocol@0.0.1330662: - resolution: {integrity: sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==} + devtools-protocol@0.0.1342118: + resolution: {integrity: sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==} dialog-polyfill@0.4.10: resolution: {integrity: sha512-j5yGMkP8T00UFgyO+78OxiN5vC5dzRQF3BEio+LhNvDbyfxWBsi3sfPArDm54VloaJwy2hm3erEiDWqHRC8rzw==} @@ -6920,9 +6900,6 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - json-loose@1.2.4: - resolution: {integrity: sha512-lwMWNC5pvVI33rhYWmAsmtICWE2IH7euDY/iIPeMFE5AuzAifYgqQrjqSMzwbrFV6MWPs41XD+CajElHI4cZMQ==} - json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -7361,9 +7338,6 @@ packages: mlly@1.7.1: resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} - moo@0.5.2: - resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} - mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -9326,6 +9300,11 @@ packages: react-streaming: optional: true + vite-node@2.0.5: + resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + vite-node@2.1.1: resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9399,6 +9378,31 @@ packages: vite: optional: true + vitest@2.0.5: + resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.0.5 + '@vitest/ui': 2.0.5 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vitest@2.1.1: resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9638,8 +9642,8 @@ packages: zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - zx@8.1.5: - resolution: {integrity: sha512-gvmiYPvDDEz2Gcc37x7pJkipTKcFIE18q9QlSI1p5qoPDtoSn3jmGuWD0eEb7HuxEH5aDD7N/RVgH8BqSxbKzA==} + zx@8.1.8: + resolution: {integrity: sha512-m8s48skYQ8EcRz9KXfc7rZCjqlZevOGiNxq5tNhDiGnhOvXKRGxVr+ajUma9B6zxMdHGSSbnjV/R/r7Ue2xd+A==} engines: {node: '>= 12.17.0'} hasBin: true @@ -11084,17 +11088,17 @@ snapshots: dependencies: '@hattip/headers': 0.0.48 - '@hattip/vite@0.0.47(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': + '@hattip/vite@0.0.48(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: - '@hattip/adapter-node': 0.0.47 - '@vavite/connect': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - '@vavite/multibuild': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - '@vavite/node-loader': 4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + '@hattip/adapter-node': 0.0.48 + '@vavite/connect': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + '@vavite/multibuild': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + '@vavite/node-loader': 4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) cac: 6.7.14 import-meta-resolve: 4.1.0 picocolors: 1.1.0 resolve.exports: 2.0.2 - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) '@hattip/walk@0.0.48': dependencies: @@ -12459,6 +12463,8 @@ snapshots: '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 + '@ungap/structured-clone@1.2.0': {} + '@universal-middleware/core@0.2.10': dependencies: regexparam: 3.0.0 @@ -12481,21 +12487,25 @@ snapshots: dependencies: '@universal-middleware/core': 0.2.10 - '@vavite/connect@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': + '@universal-middleware/hono@0.2.8': + dependencies: + '@universal-middleware/core': 0.2.10 + + '@vavite/connect@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@types/node': 18.19.44 - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - '@vavite/multibuild@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': + '@vavite/multibuild@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@types/node': 18.19.44 cac: 6.7.14 - picocolors: 1.0.1 - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + picocolors: 1.1.0 + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - '@vavite/node-loader@4.1.2(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': + '@vavite/node-loader@4.1.2(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) '@vercel/build-utils@8.3.6': {} @@ -12523,14 +12533,14 @@ snapshots: optionalDependencies: ajv: 6.12.6 - '@vite-plugin-vercel/vike@9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))': + '@vite-plugin-vercel/vike@9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@brillout/libassert': 0.5.8 nanoid: 5.0.7 qs: 6.13.0 - vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - vite-plugin-vercel: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite-plugin-vercel: 9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: @@ -12543,10 +12553,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.3(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)))(vue@3.5.0(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))(vue@3.5.8(typescript@5.6.2))': dependencies: - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) - vue: 3.5.0(typescript@5.5.4) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vue: 3.5.8(typescript@5.6.2) '@vitest/expect@2.0.5': dependencies: @@ -12555,6 +12565,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 + '@vitest/expect@2.1.1': + dependencies: + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + tinyrainbow: 1.2.0 + '@vitest/mocker@2.1.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@vitest/spy': 2.1.1 @@ -12563,25 +12580,51 @@ snapshots: optionalDependencies: vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + '@vitest/pretty-format@2.0.5': + dependencies: + tinyrainbow: 1.2.0 + '@vitest/pretty-format@2.1.1': dependencies: tinyrainbow: 1.2.0 + '@vitest/runner@2.0.5': + dependencies: + '@vitest/utils': 2.0.5 + pathe: 1.1.2 + '@vitest/runner@2.1.1': dependencies: '@vitest/utils': 2.1.1 pathe: 1.1.2 + '@vitest/snapshot@2.0.5': + dependencies: + '@vitest/pretty-format': 2.0.5 + magic-string: 0.30.11 + pathe: 1.1.2 + '@vitest/snapshot@2.1.1': dependencies: '@vitest/pretty-format': 2.1.1 magic-string: 0.30.11 pathe: 1.1.2 + '@vitest/spy@2.0.5': + dependencies: + tinyspy: 3.0.0 + '@vitest/spy@2.1.1': dependencies: tinyspy: 3.0.0 + '@vitest/utils@2.0.5': + dependencies: + '@vitest/pretty-format': 2.0.5 + estree-walker: 3.0.3 + loupe: 3.1.1 + tinyrainbow: 1.2.0 + '@vitest/utils@2.1.1': dependencies: '@vitest/pretty-format': 2.1.1 @@ -12807,11 +12850,7 @@ snapshots: atomic-sleep@1.0.0: {} - attributes-parser@2.2.3: - dependencies: - json-loose: 1.2.4 - - autoprefixer@10.4.20(postcss@8.4.44): + autoprefixer@10.4.20(postcss@8.4.47): dependencies: browserslist: 4.23.3 caniuse-lite: 1.0.30001651 @@ -13509,7 +13548,7 @@ snapshots: dependencies: dequal: 2.0.3 - devtools-protocol@0.0.1330662: + devtools-protocol@0.0.1342118: optional: true dialog-polyfill@0.4.10: {} @@ -15154,10 +15193,6 @@ snapshots: json-buffer@3.0.1: {} - json-loose@1.2.4: - dependencies: - moo: 0.5.2 - json-parse-even-better-errors@2.3.1: optional: true @@ -15537,6 +15572,142 @@ snapshots: methods@1.1.2: {} +<<<<<<< HEAD +======= + micromark-core-commonmark@2.0.1: + dependencies: + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + micromark-factory-destination: 2.0.0 + micromark-factory-label: 2.0.0 + micromark-factory-space: 2.0.0 + micromark-factory-title: 2.0.0 + micromark-factory-whitespace: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-classify-character: 2.0.0 + micromark-util-html-tag-name: 2.0.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-resolve-all: 2.0.0 + micromark-util-subtokenize: 2.0.1 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-factory-destination@2.0.0: + dependencies: + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-factory-label@2.0.0: + dependencies: + devlop: 1.1.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-factory-space@2.0.0: + dependencies: + micromark-util-character: 2.1.0 + micromark-util-types: 2.0.0 + + micromark-factory-title@2.0.0: + dependencies: + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-factory-whitespace@2.0.0: + dependencies: + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-util-character@2.1.0: + dependencies: + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-util-chunked@2.0.0: + dependencies: + micromark-util-symbol: 2.0.0 + + micromark-util-classify-character@2.0.0: + dependencies: + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-util-combine-extensions@2.0.0: + dependencies: + micromark-util-chunked: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-util-decode-numeric-character-reference@2.0.1: + dependencies: + micromark-util-symbol: 2.0.0 + + micromark-util-decode-string@2.0.0: + dependencies: + decode-named-character-reference: 1.0.2 + micromark-util-character: 2.1.0 + micromark-util-decode-numeric-character-reference: 2.0.1 + micromark-util-symbol: 2.0.0 + + micromark-util-encode@2.0.0: {} + + micromark-util-html-tag-name@2.0.0: {} + + micromark-util-normalize-identifier@2.0.0: + dependencies: + micromark-util-symbol: 2.0.0 + + micromark-util-resolve-all@2.0.0: + dependencies: + micromark-util-types: 2.0.0 + + micromark-util-sanitize-uri@2.0.0: + dependencies: + micromark-util-character: 2.1.0 + micromark-util-encode: 2.0.0 + micromark-util-symbol: 2.0.0 + + micromark-util-subtokenize@2.0.1: + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + + micromark-util-symbol@2.0.0: {} + + micromark-util-types@2.0.0: {} + + micromark@4.0.0: + dependencies: + '@types/debug': 4.1.12 + debug: 4.3.7 + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-decode-numeric-character-reference: 2.0.1 + micromark-util-encode: 2.0.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-resolve-all: 2.0.0 + micromark-util-sanitize-uri: 2.0.0 + micromark-util-subtokenize: 2.0.1 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + transitivePeerDependencies: + - supports-color + +>>>>>>> 1898d438 (fix: pnpm lock) micromatch@4.0.7: dependencies: braces: 3.0.3 @@ -15665,8 +15836,6 @@ snapshots: pkg-types: 1.1.3 ufo: 1.5.4 - moo@0.5.2: {} - mri@1.2.0: {} mrmime@2.0.0: {} @@ -17245,7 +17414,7 @@ snapshots: - supports-color optional: true - telefunc@0.1.78(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1): + telefunc@0.1.79(@babel/core@7.25.2)(@babel/parser@7.25.6)(@babel/types@7.25.6)(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1): dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 @@ -17727,10 +17896,10 @@ snapshots: vary@1.1.2: {} - vike-cloudflare@0.1.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): + vike-cloudflare@0.1.2(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: - vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) optionalDependencies: '@hattip/adapter-cloudflare-workers': 0.0.47 @@ -17763,10 +17932,10 @@ snapshots: - '@testing-library/jest-dom' - supports-color - vike-vue@0.8.3(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vue@3.5.0(typescript@5.5.4)): + vike-vue@0.8.5(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vue@3.5.8(typescript@5.6.2)): dependencies: - vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - vue: 3.5.0(typescript@5.5.4) + vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vue: 3.5.8(typescript@5.6.2) vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: @@ -17791,7 +17960,7 @@ snapshots: dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 - '@brillout/picocolors': 1.0.14 + '@brillout/picocolors': 1.0.15 '@brillout/require-shim': 0.1.2 '@brillout/vite-plugin-server-entry': 0.4.12 acorn: 8.12.1 @@ -17806,7 +17975,25 @@ snapshots: optionalDependencies: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite-node@2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)): + vite-node@2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)): + dependencies: + cac: 6.7.14 + debug: 4.3.7 + pathe: 1.1.2 + tinyrainbow: 1.2.0 + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vite-node@2.1.1(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)): dependencies: cac: 6.7.14 debug: 4.3.7 @@ -17823,7 +18010,7 @@ snapshots: - supports-color - terser - vite-plugin-compiled-react@1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): + vite-plugin-compiled-react@1.1.3(@compiled/react@0.17.3(react@18.3.1))(@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@babel/types': 7.25.6 '@compiled/babel-plugin': 0.26.3 @@ -17861,7 +18048,7 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-vercel@9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): + vite-plugin-vercel@9.0.1(@vite-plugin-vercel/vike@9.0.1)(encoding@0.1.13)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@brillout/libassert': 0.5.8 '@manypkg/find-root': 2.2.3 @@ -17871,11 +18058,11 @@ snapshots: esbuild: 0.23.1 fast-glob: 3.3.2 magicast: 0.3.5 - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) zod: 3.23.8 optionalDependencies: - '@vite-plugin-vercel/vike': 9.0.1(vike@0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))))(vite-plugin-vercel@9.0.1)(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) - vike: 0.4.194(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))) + '@vite-plugin-vercel/vike': 9.0.1(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite-plugin-vercel@9.0.1)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - encoding - supports-color @@ -17898,27 +18085,61 @@ snapshots: optionalDependencies: '@types/node': 22.5.4 fsevents: 2.3.3 - sugarss: 4.0.1(postcss@8.4.44) + sugarss: 4.0.1(postcss@8.4.47) - vitefu@0.2.5(vite@5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44))): + vitefu@0.2.5(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): optionalDependencies: - vite: 5.4.3(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.44)) + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vitefu@0.2.5(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): optionalDependencies: vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) - vitest@2.0.5(@types/node@18.19.44)(happy-dom@15.7.3)(sugarss@4.0.1(postcss@8.4.44)): + vitest@2.0.5(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 - '@vitest/pretty-format': 2.0.5 + '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.0.5 '@vitest/snapshot': 2.0.5 '@vitest/spy': 2.0.5 '@vitest/utils': 2.0.5 chai: 5.1.1 debug: 4.3.7 + execa: 8.0.1 + magic-string: 0.30.11 + pathe: 1.1.2 + std-env: 3.7.0 + tinybench: 2.9.0 + tinypool: 1.0.0 + tinyrainbow: 1.2.0 + vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + vite-node: 2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 18.19.44 + happy-dom: 15.7.4 + transitivePeerDependencies: + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vitest@2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)): + dependencies: + '@vitest/expect': 2.1.1 + '@vitest/mocker': 2.1.1(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + '@vitest/pretty-format': 2.1.1 + '@vitest/runner': 2.1.1 + '@vitest/snapshot': 2.1.1 + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + debug: 4.3.7 magic-string: 0.30.11 pathe: 1.1.2 std-env: 3.7.0 @@ -18174,7 +18395,7 @@ snapshots: zwitch@2.0.4: {} - zx@8.1.5: + zx@8.1.8: optionalDependencies: '@types/fs-extra': 11.0.4 '@types/node': 22.6.1 From e1585d4f344b277032fe31c84d1b959b36d3ecc8 Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Tue, 24 Sep 2024 18:53:21 +0200 Subject: [PATCH 4/8] fix: replace loadReadme with loadMarkdown in $README.md.ts files --- BOILERPLATES.md | 3 +- boilerplates/auth0/files/$README.md.ts | 6 +- boilerplates/aws/files/$README.md.ts | 6 +- boilerplates/aws/files/$TEST.md.ts | 109 ------------------ boilerplates/d1/files/$README.md.ts | 6 +- boilerplates/drizzle/files/$README.md.ts | 6 +- boilerplates/edgedb/files/$README.md.ts | 6 +- .../firebase-auth/files/$README.md.ts | 6 +- boilerplates/lucia-auth/files/$README.md.ts | 6 +- boilerplates/mantine/files/$README.md.ts | 6 +- boilerplates/prisma/files/$README.md.ts | 6 +- boilerplates/react/files/$README.md.ts | 7 +- boilerplates/react/files/$TEST.md.ts | 45 -------- boilerplates/sentry/files/$README.md.ts | 6 +- boilerplates/sentry/files/$TEST.md.ts | 39 ------- boilerplates/shadcn-ui/files/$README.md.ts | 6 +- boilerplates/shared/files/$README.md.ts | 28 ++++- boilerplates/shared/files/$TEST.md.ts | 45 -------- boilerplates/solid/files/$README.md.ts | 6 +- boilerplates/sqlite/files/$README.md.ts | 6 +- boilerplates/vue/files/$README.md.ts | 6 +- 21 files changed, 73 insertions(+), 287 deletions(-) delete mode 100644 boilerplates/aws/files/$TEST.md.ts delete mode 100644 boilerplates/react/files/$TEST.md.ts delete mode 100644 boilerplates/sentry/files/$TEST.md.ts delete mode 100644 boilerplates/shared/files/$TEST.md.ts diff --git a/BOILERPLATES.md b/BOILERPLATES.md index 137c5176..264268a8 100644 --- a/BOILERPLATES.md +++ b/BOILERPLATES.md @@ -72,7 +72,8 @@ export default async function getViteConfig(props: TransformerProps) { const mod = await loadAsMagicast(props); // Other utils like this one exist: // - `loadAsJson`: loads a JSON file and parses it - // - `loadReadme`: loads README file and provides utils to manipulate it + // - `loadYaml`: loads a YAML file and parses it + // - `loadMarkdown`: loads README or any markdown file and provides utils to manipulate it // - `props.readfile`: loads previous file as string if it exists // Then we edit the AST to add a vite plugin diff --git a/boilerplates/auth0/files/$README.md.ts b/boilerplates/auth0/files/$README.md.ts index 511fc53c..42a027f7 100644 --- a/boilerplates/auth0/files/$README.md.ts +++ b/boilerplates/auth0/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -29,7 +29,7 @@ AUTH0_ISSUER_BASE_URL=https://..auth0.com - Read more [Auth.js: Auth0 provider](https://authjs.dev/reference/core/providers/auth0) `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "auth0"); return content.finalize(); } diff --git a/boilerplates/aws/files/$README.md.ts b/boilerplates/aws/files/$README.md.ts index 4a944377..f2fc321b 100644 --- a/boilerplates/aws/files/$README.md.ts +++ b/boilerplates/aws/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -104,7 +104,7 @@ Or delete the CloudFormation stack which starts with "VikeStack-" `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "aws"); return content.finalize(); } diff --git a/boilerplates/aws/files/$TEST.md.ts b/boilerplates/aws/files/$TEST.md.ts deleted file mode 100644 index a92f3d35..00000000 --- a/boilerplates/aws/files/$TEST.md.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { loadMarkdown, type TransformerProps } from "@batijs/core"; - -export default async function getReadme(props: TransformerProps) { - const content = await loadMarkdown(props); - - const todo = ` -## AWS CDK Deployment - -This is a boilerplate for deploying your Vike app to AWS using the AWS Cloud Development Kit (CDK) including creating a custom domain in Route53. - -**Architecture:** -- S3 Bucket for static client assets (\`/dist/client/assets\`). -- Lambda function for the backend and SSR. -- CloudFront distribution for CDN and routing requests \`/assets/*\` to the S3 bucket. - -This boilerplate is a starting point for deploying your Vike app to AWS. You can customize the deployment by modifying the \`cdk/lib/vike-stack.ts\` file. - -### Prerequisites - -Before you get started, make sure to configure your AWS credentials. - -**Loading from a file:** - -You can keep your AWS credentials in a file. The credentials are found at: - -\`~/.aws/credentials\` on Linux, Unix, and macOS; -\`C:\\Users\\USER_NAME\\.aws\\credentials\` on Windows - -If the credentials file does not exist on your machine: - -Download the AWS CLI from [here](https://aws.amazon.com/cli/) and configure your AWS credentials using the following command: -\`aws configure\` - -And then use this guide to configure the credentials -The credentials file should look like: - -\` -[default] -aws_access_key_id = -aws_secret_access_key = -\` - -**Loading from environment variables:** - -AWS SDK automatically detects AWS credentials in your environment and uses them for making requests to AWS. The environment variables that you need to set are: - -\`AWS_ACCESS_KEY_ID\` -\`AWS_SECRET_ACCESS_KEY\` -If you are using temporary credentials, also set: - -\`AWS_SESSION_TOKEN\` -This is often the most convenient way to configure credentials when deploying your AWS CDK app in a CI environment. - -> [!NOTE] -> You should change the stack name to give your app stack a distinctive name in your AWS environment. You can do so by modifying the \`infrastructure.ts.ts\` file in the \`cdk/bin\` directory. - -### Deployment to AWS - -If you want to have a look at the synthesized CloudFormation template, you can run \`pnpm cdk synth\` and see the template as YAML on screen or in \`cdk.out/VikeStack.template.json\`. - -> [!NOTE] -> If this is your **first time deploying a CDK app** in this environment you need to **bootstrap**: -> \`pnpm cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used) - -You can deploy your Vike App via the following command: -\`pnpm deploy:aws\` or \`pnpm cdk deploy\` - -The URL to the CloudFront distribution will be displayed in the output of the deployment. -You can also access the CloudFront distribution domainname in the AWS SSM registry und \`vike/distribution/url\`. - -### Stack Configuration - -You can configure the stack in the \`cdk/bin/infrastructure.ts\` file: -| --- | --- | --- | -| Variable | Examples | Description | -| \`domainName: "example.com",\` | "example.com" | | -| \`subDomain: "www",\` |"www" | | -| \`certificate: undefined,\` | "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012" or a certificatemanager.ICertificate | reuse an existing AWS Certificate | -| \`hostedZone: undefined,\` | route53.HostedZone.fromLookup(stack, "MyHostedZone", { domainName: "example.com" }) | | - -If \`domainName\` is managed by **Route53**, the \`hostedZone\` will be updated with by lookup in Route53 based on the \`domainName\`. - -These scenarios are supported: -A. \`domainName\` exists in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. An new Certificate for the url is created and assigned to the CF-Distribution. An Alias-Record pointing to the CF-Distribution ist created in Route53. -B. \`domainName\` exists in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. If \`certificate\` contains a valid entry it will be assigned to the CF-Distribution. An Alias-Record pointing to the CF-Distribution ist created in Route53. -C. \`domainName\` **does not exist** in Route53, \`subDomain\` is given - the subdomain with the domain are used as alternative domains for the CloudFront Distribution. If \`certificate\` contains a valid entry it will be assigned to the CF-Distribution. A manual created CNAME or A-Record should pointing to the CF-Distribution. - -#### Custom Domain - -If you have a custom domain, you can add it to the stack configuration in the \`cdk/bin/infrastructure.ts\` file: - -> [!NOTE] -> If you deploy your App to a region different than \`us-east-1\` and you have never deployed to this region before, you will need to bootstrap this region too: - \`CDK_DEFAULT_REGION=us-east-1 pnpm deploy:cdk bootstrap\` - - -### Destroying the Stack on AWS - -To destroy the stack on AWS, run the following command: -\`pnpm cdk destroy\` - -Or delete the CloudFormation stack which starts with "VikeStack-" created by this project. - -`; - - content.addMarkdownFeature(todo, "aws"); - - return content.finalize(); -} diff --git a/boilerplates/d1/files/$README.md.ts b/boilerplates/d1/files/$README.md.ts index 332543d5..abb328b5 100644 --- a/boilerplates/d1/files/$README.md.ts +++ b/boilerplates/d1/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -22,7 +22,7 @@ wrangler d1 create Then copy the output to \`wrangler.toml\``; - content.addTodo(todo); + content.addMarkdownFeature(todo, "sqlite"); return content.finalize(); } diff --git a/boilerplates/drizzle/files/$README.md.ts b/boilerplates/drizzle/files/$README.md.ts index 62f801ac..e0ea1eb0 100644 --- a/boilerplates/drizzle/files/$README.md.ts +++ b/boilerplates/drizzle/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -21,7 +21,7 @@ pnpm drizzle:migrate # a script that executes drizzle-kit migrate. Read more on [Drizzle ORM documentation](https://orm.drizzle.team/docs/overview) `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "drizzle"); return content.finalize(); } diff --git a/boilerplates/edgedb/files/$README.md.ts b/boilerplates/edgedb/files/$README.md.ts index 90220749..b4df60a6 100644 --- a/boilerplates/edgedb/files/$README.md.ts +++ b/boilerplates/edgedb/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -19,7 +19,7 @@ edgedb project init Then follow instructions at `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "edgedb"); return content.finalize(); } diff --git a/boilerplates/firebase-auth/files/$README.md.ts b/boilerplates/firebase-auth/files/$README.md.ts index 6102bc9c..bc1f196a 100644 --- a/boilerplates/firebase-auth/files/$README.md.ts +++ b/boilerplates/firebase-auth/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -25,7 +25,7 @@ const firebaseConfig = { - Read FirebaseUI at [firebaseui-web docs](https://github.com/firebase/firebaseui-web?tab=readme-ov-file#using-firebaseui-for-authentication) `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "firebase-auth"); return content.finalize(); } diff --git a/boilerplates/lucia-auth/files/$README.md.ts b/boilerplates/lucia-auth/files/$README.md.ts index 5f861772..677ed83b 100644 --- a/boilerplates/lucia-auth/files/$README.md.ts +++ b/boilerplates/lucia-auth/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -24,7 +24,7 @@ GITHUB_CLIENT_SECRET= > Logout route : \`http://localhost:3000/api/auth/logout\`. `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "lucia-auth"); return content.finalize(); } diff --git a/boilerplates/mantine/files/$README.md.ts b/boilerplates/mantine/files/$README.md.ts index 420b51b8..222334fd 100644 --- a/boilerplates/mantine/files/$README.md.ts +++ b/boilerplates/mantine/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -18,7 +18,7 @@ If you add more packages, make sure to update the \`layouts/LayoutDefault.tsx\` The theme is defined in \`layouts/theme.ts\`. `; - content.addAbout(todo); + content.addMarkdownFeature(todo, "mantine"); return content.finalize(); } diff --git a/boilerplates/prisma/files/$README.md.ts b/boilerplates/prisma/files/$README.md.ts index 68c239bb..782247f4 100644 --- a/boilerplates/prisma/files/$README.md.ts +++ b/boilerplates/prisma/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -14,7 +14,7 @@ pnpx prisma init then follow instructions at `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "prisma"); return content.finalize(); } diff --git a/boilerplates/react/files/$README.md.ts b/boilerplates/react/files/$README.md.ts index b2379139..21b21723 100644 --- a/boilerplates/react/files/$README.md.ts +++ b/boilerplates/react/files/$README.md.ts @@ -1,10 +1,11 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const about = ` +## React This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn). @@ -38,7 +39,7 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.`; - content.addAbout(about); + content.addMarkdownFeature(about, "react"); return content.finalize(); } diff --git a/boilerplates/react/files/$TEST.md.ts b/boilerplates/react/files/$TEST.md.ts deleted file mode 100644 index b08c8c52..00000000 --- a/boilerplates/react/files/$TEST.md.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { loadMarkdown, type TransformerProps } from "@batijs/core"; - -export default async function getReadme(props: TransformerProps) { - const content = await loadMarkdown(props); - //console.log("***react***", await props.readfile()); - //language=Markdown - const about = ` -## React - -This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn). - -### \`/pages/+config.ts\` - -Such \`+\` files are [the interface](https://vike.dev/config) between Vike and your code. It defines: -- A default [\`\` component](https://vike.dev/Layout) (that wraps your [\`\` components](https://vike.dev/Page)). -- A default [\`title\`](https://vike.dev/title). -- Global [\`\` tags](https://vike.dev/head-tags). - -### Routing - -[Vike's built-in router](https://vike.dev/routing) lets you choose between: - - [Filesystem Routing](https://vike.dev/filesystem-routing) (the URL of a page is determined based on where its \`+Page.jsx\` file is located on the filesystem) - - [Route Strings](https://vike.dev/route-string) - - [Route Functions](https://vike.dev/route-function) - -### \`/pages/_error/+Page.jsx\` - -The [error page](https://vike.dev/error-page) which is rendered when errors occur. - -### \`/pages/+onPageTransitionStart.ts\` and \`/pages/+onPageTransitionEnd.ts\` - -The [\`onPageTransitionStart()\` hook](https://vike.dev/onPageTransitionStart), together with [\`onPageTransitionEnd()\`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations. - -### SSR - -SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all your pages or only for some pages. - -### HTML Streaming - -You can enable/disable [HTML streaming](https://vike.dev/streaming) for all your pages, or only for some pages while still using it for others.`; - - content.addMarkdownFeature(about, "react"); - - return content.finalize(); -} diff --git a/boilerplates/sentry/files/$README.md.ts b/boilerplates/sentry/files/$README.md.ts index 58a11b5a..96a3d744 100644 --- a/boilerplates/sentry/files/$README.md.ts +++ b/boilerplates/sentry/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const about = @@ -35,7 +35,7 @@ You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN `; - content.addAbout(about); + content.addMarkdownFeature(about, "sentry"); return content.finalize(); } diff --git a/boilerplates/sentry/files/$TEST.md.ts b/boilerplates/sentry/files/$TEST.md.ts deleted file mode 100644 index 918539a3..00000000 --- a/boilerplates/sentry/files/$TEST.md.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { loadMarkdown, type TransformerProps } from "@batijs/core"; - -export default async function getTest(props: TransformerProps) { - const content = await loadMarkdown(props); - - const doc = - ` -## Sentry Browser / Error Tracking & Performance Monitoring - -This app is integrated with [Sentry](https://sentry.io) for error tracking. - -Add your Sentry DSN to \`.env\` file. -You can configure [Sentry for the browser](` + - (props.meta.BATI.has("react") - ? "https://docs.sentry.io/platforms/javascript/guides/react/" - : props.meta.BATI.has("solid") - ? "https://docs.sentry.io/platforms/javascript/guides/solid/" - : props.meta.BATI.has("vue") - ? "https://docs.sentry.io/platforms/javascript/guides/vue/" - : "https://docs.sentry.io/platforms/javascript/") + - `) in \`sentry.browser.config.ts\`. - -Upload of source maps to Sentry is handled by the [\`sentryVitePlugin\`](https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/) in \`vite.config.ts\`. -You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN\` in the \`.env.sentry-build-plugin\` file with the values from your Sentry account. - -> [!NOTE] -> Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)! - -**Testing Sentry** receiving Errors: -1. Build & Start the app \`pnpm build && pnpm preview\`. -2. open Testpage in browser: http://localhost:3000/sentry. -3. check your [Sentry Dashboard](https://sentry.io) for new Errors. - -`; - - content.addMarkdownFeature(doc, "sentry"); - - return content.finalize(); -} diff --git a/boilerplates/shadcn-ui/files/$README.md.ts b/boilerplates/shadcn-ui/files/$README.md.ts index 1a3dbe68..dddeaf89 100644 --- a/boilerplates/shadcn-ui/files/$README.md.ts +++ b/boilerplates/shadcn-ui/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const about = ` @@ -31,7 +31,7 @@ export default async function getReadme(props: TransformerProps) { `; - content.addAbout(about); + content.addMarkdownFeature(about, "shadcn-ui"); return content.finalize(); } diff --git a/boilerplates/shared/files/$README.md.ts b/boilerplates/shared/files/$README.md.ts index ac0f580d..2c4b5af0 100644 --- a/boilerplates/shared/files/$README.md.ts +++ b/boilerplates/shared/files/$README.md.ts @@ -1,7 +1,7 @@ -import { getArgs, getVersion, loadReadme, markdown, type TransformerProps } from "@batijs/core"; +import { getArgs, getVersion, loadMarkdown, markdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); const flags = Array.from(props.meta.BATI) .filter((f) => (f as string) !== "force") .map((f) => `--${f}`) @@ -16,7 +16,29 @@ ${getArgs()} ${flags} \`\`\` `; - content.addIntro(intro); + content.addMarkdown(intro, { + wrapper: { + section: "intro", + }, + }); + content.addMarkdown("", { + position: "after", + filter: { + section: "intro", + }, + wrapper: { + section: "TOC", + }, + }); + content.addMarkdown("", { + position: "after", + filter: { + section: "document", + }, + wrapper: { + section: "features", + }, + }); return content.finalize(); } diff --git a/boilerplates/shared/files/$TEST.md.ts b/boilerplates/shared/files/$TEST.md.ts deleted file mode 100644 index a676199c..00000000 --- a/boilerplates/shared/files/$TEST.md.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { getArgs, getVersion, loadMarkdown, type TransformerProps } from "@batijs/core"; - -export default async function getReadme(props: TransformerProps) { - const content = await loadMarkdown(props); - const flags = Array.from(props.meta.BATI) - .filter((f) => (f as string) !== "force") - .map((f) => `--${f}`) - .join(" "); - const v = getVersion(); - - //language=Markdown - const intro = `Generated with [Bati](https://batijs.dev) [${"version " + v.semver.at(-1)}](${"https://www.npmjs.com/package/create-bati/v/" + v.version}) using this command: - -\`\`\`sh -${getArgs()} ${flags} -\`\`\` - - `; - - content.addMarkdown(intro, { - wrapper: { - section: "intro", - }, - }); - content.addMarkdown("", { - position: "after", - filter: { - section: "intro", - }, - wrapper: { - section: "TOC", - }, - }); - content.addMarkdown("", { - position: "after", - filter: { - section: "document", - }, - wrapper: { - section: "features", - }, - }); - - return content.finalize(); -} diff --git a/boilerplates/solid/files/$README.md.ts b/boilerplates/solid/files/$README.md.ts index 32e760ec..5691f203 100644 --- a/boilerplates/solid/files/$README.md.ts +++ b/boilerplates/solid/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const about = ` @@ -38,7 +38,7 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.`; - content.addAbout(about); + content.addMarkdownFeature(about, "solid"); return content.finalize(); } diff --git a/boilerplates/sqlite/files/$README.md.ts b/boilerplates/sqlite/files/$README.md.ts index 9e2241ff..63396e4e 100644 --- a/boilerplates/sqlite/files/$README.md.ts +++ b/boilerplates/sqlite/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const todo = ` @@ -13,7 +13,7 @@ pnpm sqlite:migrate # creates sqlite tables \`\`\` `; - content.addTodo(todo); + content.addMarkdownFeature(todo, "sqlite"); return content.finalize(); } diff --git a/boilerplates/vue/files/$README.md.ts b/boilerplates/vue/files/$README.md.ts index fd58c4b1..908ed9e3 100644 --- a/boilerplates/vue/files/$README.md.ts +++ b/boilerplates/vue/files/$README.md.ts @@ -1,7 +1,7 @@ -import { loadReadme, type TransformerProps } from "@batijs/core"; +import { loadMarkdown, type TransformerProps } from "@batijs/core"; export default async function getReadme(props: TransformerProps) { - const content = await loadReadme(props); + const content = await loadMarkdown(props); //language=Markdown const about = ` @@ -38,7 +38,7 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.`; - content.addAbout(about); + content.addMarkdownFeature(about, "vue"); return content.finalize(); } From 4f2234f261cfa80ac57c49e817a81dd42a100938 Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Tue, 24 Sep 2024 19:09:36 +0200 Subject: [PATCH 5/8] fix pnpm lock --- pnpm-lock.yaml | 429 +++++++++++++++++++++++++++++++------------------ 1 file changed, 269 insertions(+), 160 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31f3bba0..7d051c4f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -307,10 +307,7 @@ importers: version: 0.24.2 drizzle-orm: specifier: ^0.33.0 - version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) - tsx: - specifier: ^4.19.1 - version: 4.19.1 + version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) boilerplates/edgedb: dependencies: @@ -722,7 +719,7 @@ importers: version: 4.20240919.0 '@lucia-auth/adapter-drizzle': specifier: ^1.1.0 - version: 1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1))(lucia@3.2.0) + version: 1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1))(lucia@3.2.0) '@lucia-auth/adapter-sqlite': specifier: ^3.0.2 version: 3.0.2(better-sqlite3@11.3.0)(lucia@3.2.0) @@ -752,7 +749,7 @@ importers: version: 16.4.5 drizzle-orm: specifier: ^0.33.0 - version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) + version: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) lucia: specifier: ^3.2.0 version: 3.2.0 @@ -1182,13 +1179,13 @@ importers: version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: specifier: ^5.4.7 version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) boilerplates/solid-firebase-auth: dependencies: @@ -1260,7 +1257,7 @@ importers: version: 1.8.23 vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: specifier: ^5.4.7 version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) @@ -1623,7 +1620,7 @@ importers: version: 5.6.2 unplugin-purge-polyfills: specifier: ^0.0.7 - version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) + version: 0.0.7(rollup@4.21.2) vite: specifier: ^5.4.7 version: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) @@ -1651,7 +1648,7 @@ importers: version: 5.6.2 unplugin-purge-polyfills: specifier: ^0.0.7 - version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) + version: 0.0.7(rollup@4.21.2) packages/core: devDependencies: @@ -1674,14 +1671,8 @@ importers: specifier: ^8.7.0 version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': - specifier: ^8.6.0 - version: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) -<<<<<<< HEAD -======= - '@typescript-eslint/utils': - specifier: ^8.6.0 - version: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) ->>>>>>> 1898d438 (fix: pnpm lock) + specifier: ^8.7.0 + version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) colorette: specifier: ^2.0.20 version: 2.0.20 @@ -1735,7 +1726,7 @@ importers: version: 5.6.2 unplugin-purge-polyfills: specifier: ^0.0.7 - version: 0.0.7(rollup@4.22.4)(webpack-sources@3.2.3) + version: 0.0.7(rollup@4.21.2) vitest: specifier: ^2.1.1 version: 2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) @@ -1928,13 +1919,13 @@ importers: version: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) vike-solid: specifier: ^0.7.5 - version: 0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) + version: 0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) vite: specifier: ^5.4.7 - version: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) + version: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) + version: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) packages: @@ -1966,8 +1957,8 @@ packages: nodemailer: optional: true - '@aws-cdk/asset-awscli-v1@2.2.204': - resolution: {integrity: sha512-cm7aZKIubmBAS5IOkGEmh3h8VlKeOsNlLJJ39MnbmGZxXcW7+WaqIS7S4Z3YLKrs6EVQnrP8XQ2kt3cjkqKIJg==} + '@aws-cdk/asset-awscli-v1@2.2.202': + resolution: {integrity: sha512-JqlF0D4+EVugnG5dAsNZMqhu3HW7ehOXm5SDMxMbXNDMdsF0pxtQKNHRl52z1U9igsHmaFpUgSGjbhAJ+0JONg==} '@aws-cdk/asset-kubectl-v20@2.1.2': resolution: {integrity: sha512-3M2tELJOxQv0apCIiuKQ4pAbncz9GuLwnKFqxifWfe77wuMxyTRPmxssYHs42ePqzap1LT6GDcPygGs+hHstLg==} @@ -3149,8 +3140,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/regexpp@4.11.1': - resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} + '@eslint-community/regexpp@4.11.0': + resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/config-array@0.18.0': @@ -4215,8 +4206,8 @@ packages: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} - '@rollup/pluginutils@5.1.2': - resolution: {integrity: sha512-/FIdS3PyZ39bjZlwqFnWqCOVnW7o963LtKMwQOD0NhQqw22gSr2YY1afu3FxRip4ZCZNsD5jq6Aaz6QV3D/Njw==} + '@rollup/pluginutils@5.1.0': + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -4224,83 +4215,83 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.22.4': - resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} + '@rollup/rollup-android-arm-eabi@4.21.2': + resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.22.4': - resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} + '@rollup/rollup-android-arm64@4.21.2': + resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.22.4': - resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} + '@rollup/rollup-darwin-arm64@4.21.2': + resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.22.4': - resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} + '@rollup/rollup-darwin-x64@4.21.2': + resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': - resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.22.4': - resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.22.4': - resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} + '@rollup/rollup-linux-arm64-gnu@4.21.2': + resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.22.4': - resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} + '@rollup/rollup-linux-arm64-musl@4.21.2': + resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': - resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.22.4': - resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.22.4': - resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} + '@rollup/rollup-linux-s390x-gnu@4.21.2': + resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.22.4': - resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} + '@rollup/rollup-linux-x64-gnu@4.21.2': + resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.22.4': - resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} + '@rollup/rollup-linux-x64-musl@4.21.2': + resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.22.4': - resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} + '@rollup/rollup-win32-arm64-msvc@4.21.2': + resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.22.4': - resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} + '@rollup/rollup-win32-ia32-msvc@4.21.2': + resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.22.4': - resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} + '@rollup/rollup-win32-x64-msvc@4.21.2': + resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} cpu: [x64] os: [win32] @@ -4645,11 +4636,11 @@ packages: '@types/node@18.19.44': resolution: {integrity: sha512-ZsbGerYg72WMXUIE9fYxtvfzLEuq6q8mKERdWFnqTmOvudMxnz+CBNRoOwJ2kNpFOncrKjT1hZwxjlFgQ9qvQA==} - '@types/node@22.6.1': - resolution: {integrity: sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==} + '@types/node@22.5.4': + resolution: {integrity: sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==} - '@types/prop-types@15.7.13': - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} + '@types/prop-types@15.7.12': + resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} '@types/qs@6.9.15': resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} @@ -4717,6 +4708,10 @@ packages: typescript: optional: true + '@typescript-eslint/scope-manager@8.6.0': + resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/scope-manager@8.7.0': resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4730,10 +4725,23 @@ packages: typescript: optional: true + '@typescript-eslint/types@8.6.0': + resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.7.0': resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@8.6.0': + resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/typescript-estree@8.7.0': resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4743,12 +4751,22 @@ packages: typescript: optional: true + '@typescript-eslint/utils@8.6.0': + resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/utils@8.7.0': resolution: {integrity: sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/visitor-keys@8.6.0': + resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/visitor-keys@8.7.0': resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4933,8 +4951,8 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn-walk@8.3.4: - resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} + acorn-walk@8.3.3: + resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} engines: {node: '>=0.4.0'} acorn@8.12.1: @@ -7210,6 +7228,69 @@ packages: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} + micromark-core-commonmark@2.0.1: + resolution: {integrity: sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA==} + + micromark-factory-destination@2.0.0: + resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} + + micromark-factory-label@2.0.0: + resolution: {integrity: sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw==} + + micromark-factory-space@2.0.0: + resolution: {integrity: sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==} + + micromark-factory-title@2.0.0: + resolution: {integrity: sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A==} + + micromark-factory-whitespace@2.0.0: + resolution: {integrity: sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==} + + micromark-util-character@2.1.0: + resolution: {integrity: sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==} + + micromark-util-chunked@2.0.0: + resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} + + micromark-util-classify-character@2.0.0: + resolution: {integrity: sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw==} + + micromark-util-combine-extensions@2.0.0: + resolution: {integrity: sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ==} + + micromark-util-decode-numeric-character-reference@2.0.1: + resolution: {integrity: sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ==} + + micromark-util-decode-string@2.0.0: + resolution: {integrity: sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA==} + + micromark-util-encode@2.0.0: + resolution: {integrity: sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==} + + micromark-util-html-tag-name@2.0.0: + resolution: {integrity: sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw==} + + micromark-util-normalize-identifier@2.0.0: + resolution: {integrity: sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w==} + + micromark-util-resolve-all@2.0.0: + resolution: {integrity: sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA==} + + micromark-util-sanitize-uri@2.0.0: + resolution: {integrity: sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==} + + micromark-util-subtokenize@2.0.1: + resolution: {integrity: sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q==} + + micromark-util-symbol@2.0.0: + resolution: {integrity: sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==} + + micromark-util-types@2.0.0: + resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} + + micromark@4.0.0: + resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} + micromatch@4.0.7: resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} engines: {node: '>=8.6'} @@ -8366,8 +8447,8 @@ packages: rollup-pluginutils@2.8.2: resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} - rollup@4.22.4: - resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} + rollup@4.21.2: + resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -9144,14 +9225,9 @@ packages: unplugin@1.0.1: resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} - unplugin@1.14.1: - resolution: {integrity: sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==} + unplugin@1.12.2: + resolution: {integrity: sha512-bEqQxeC7rxtxPZ3M5V4Djcc4lQqKPgGe3mAWZvxcSmX5jhGxll19NliaRzQSQPrk4xJZSGniK3puLWpRuZN7VQ==} engines: {node: '>=14.0.0'} - peerDependencies: - webpack-sources: ^3 - peerDependenciesMeta: - webpack-sources: - optional: true update-browserslist-db@1.1.0: resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} @@ -9676,7 +9752,7 @@ snapshots: preact: 10.11.3 preact-render-to-string: 5.2.3(preact@10.11.3) - '@aws-cdk/asset-awscli-v1@2.2.204': {} + '@aws-cdk/asset-awscli-v1@2.2.202': {} '@aws-cdk/asset-kubectl-v20@2.1.2': {} @@ -10547,7 +10623,7 @@ snapshots: eslint: 9.11.1(jiti@1.21.6) eslint-visitor-keys: 3.4.3 - '@eslint-community/regexpp@4.11.1': {} + '@eslint-community/regexpp@4.11.0': {} '@eslint/config-array@0.18.0': dependencies: @@ -11466,9 +11542,9 @@ snapshots: '@kikobeats/time-span@1.0.5': optional: true - '@lucia-auth/adapter-drizzle@1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1))(lucia@3.2.0)': + '@lucia-auth/adapter-drizzle@1.1.0(drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1))(lucia@3.2.0)': dependencies: - drizzle-orm: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1) + drizzle-orm: 0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1) lucia: 3.2.0 '@lucia-auth/adapter-sqlite@3.0.2(better-sqlite3@11.3.0)(lucia@3.2.0)': @@ -11884,60 +11960,60 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.1.2(rollup@4.22.4)': + '@rollup/pluginutils@5.1.0(rollup@4.21.2)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.22.4 + rollup: 4.21.2 - '@rollup/rollup-android-arm-eabi@4.22.4': + '@rollup/rollup-android-arm-eabi@4.21.2': optional: true - '@rollup/rollup-android-arm64@4.22.4': + '@rollup/rollup-android-arm64@4.21.2': optional: true - '@rollup/rollup-darwin-arm64@4.22.4': + '@rollup/rollup-darwin-arm64@4.21.2': optional: true - '@rollup/rollup-darwin-x64@4.22.4': + '@rollup/rollup-darwin-x64@4.21.2': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.22.4': + '@rollup/rollup-linux-arm-musleabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm64-gnu@4.22.4': + '@rollup/rollup-linux-arm64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-arm64-musl@4.22.4': + '@rollup/rollup-linux-arm64-musl@4.21.2': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.22.4': + '@rollup/rollup-linux-riscv64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-s390x-gnu@4.22.4': + '@rollup/rollup-linux-s390x-gnu@4.21.2': optional: true - '@rollup/rollup-linux-x64-gnu@4.22.4': + '@rollup/rollup-linux-x64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-x64-musl@4.22.4': + '@rollup/rollup-linux-x64-musl@4.21.2': optional: true - '@rollup/rollup-win32-arm64-msvc@4.22.4': + '@rollup/rollup-win32-arm64-msvc@4.21.2': optional: true - '@rollup/rollup-win32-ia32-msvc@4.22.4': + '@rollup/rollup-win32-ia32-msvc@4.21.2': optional: true - '@rollup/rollup-win32-x64-msvc@4.22.4': + '@rollup/rollup-win32-x64-msvc@4.21.2': optional: true '@sec-ant/readable-stream@0.4.1': {} @@ -12320,11 +12396,11 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@22.6.1': + '@types/node@22.5.4': dependencies: undici-types: 6.19.8 - '@types/prop-types@15.7.13': {} + '@types/prop-types@15.7.12': {} '@types/qs@6.9.15': {} @@ -12336,7 +12412,7 @@ snapshots: '@types/react@18.3.9': dependencies: - '@types/prop-types': 15.7.13 + '@types/prop-types': 15.7.12 csstype: 3.1.3 '@types/request@2.48.12': @@ -12384,7 +12460,7 @@ snapshots: '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-community/regexpp': 4.11.1 + '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/scope-manager': 8.7.0 '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) @@ -12413,6 +12489,11 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/scope-manager@8.6.0': + dependencies: + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + '@typescript-eslint/scope-manager@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12430,8 +12511,25 @@ snapshots: - eslint - supports-color + '@typescript-eslint/types@8.6.0': {} + '@typescript-eslint/types@8.7.0': {} + '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': + dependencies: + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + debug: 4.3.7 + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + optionalDependencies: + typescript: 5.6.2 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12447,6 +12545,17 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/utils@8.6.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + eslint: 9.11.1(jiti@1.21.6) + transitivePeerDependencies: + - supports-color + - typescript + '@typescript-eslint/utils@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) @@ -12458,6 +12567,11 @@ snapshots: - supports-color - typescript + '@typescript-eslint/visitor-keys@8.6.0': + dependencies: + '@typescript-eslint/types': 8.6.0 + eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12520,7 +12634,7 @@ snapshots: estree-walker: 2.0.2 glob: 7.2.3 graceful-fs: 4.2.11 - micromatch: 4.0.8 + micromatch: 4.0.7 node-gyp-build: 4.8.1 resolve-from: 5.0.0 transitivePeerDependencies: @@ -12721,7 +12835,7 @@ snapshots: dependencies: acorn: 8.12.1 - acorn-walk@8.3.4: + acorn-walk@8.3.3: dependencies: acorn: 8.12.1 @@ -12874,7 +12988,7 @@ snapshots: aws-cdk-lib@2.160.0(constructs@10.3.0): dependencies: - '@aws-cdk/asset-awscli-v1': 2.2.204 + '@aws-cdk/asset-awscli-v1': 2.2.202 '@aws-cdk/asset-kubectl-v20': 2.1.2 '@aws-cdk/asset-node-proxy-agent-v6': 2.1.0 '@aws-cdk/cloud-assembly-schema': 38.0.1 @@ -13593,14 +13707,14 @@ snapshots: transitivePeerDependencies: - supports-color - drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.19.1(prisma@5.19.1))(@types/better-sqlite3@7.6.11)(@types/react@18.3.8)(better-sqlite3@11.3.0)(prisma@5.19.1)(react@18.3.1): + drizzle-orm@0.33.0(@cloudflare/workers-types@4.20240919.0)(@prisma/client@5.20.0(prisma@5.20.0))(@types/better-sqlite3@7.6.11)(@types/react@18.3.9)(better-sqlite3@11.3.0)(prisma@5.20.0)(react@18.3.1): optionalDependencies: '@cloudflare/workers-types': 4.20240919.0 '@prisma/client': 5.20.0(prisma@5.20.0) '@types/better-sqlite3': 7.6.11 - '@types/react': 18.3.8 + '@types/react': 18.3.9 better-sqlite3: 11.3.0 - prisma: 5.19.1 + prisma: 5.20.0 react: 18.3.1 duplexify@4.1.3: @@ -13999,7 +14113,7 @@ snapshots: eslint-plugin-solid@0.14.3(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) eslint: 9.11.1(jiti@1.21.6) estraverse: 5.3.0 is-html: 2.0.0 @@ -14043,7 +14157,7 @@ snapshots: eslint@9.11.1(jiti@1.21.6): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) - '@eslint-community/regexpp': 4.11.1 + '@eslint-community/regexpp': 4.11.0 '@eslint/config-array': 0.18.0 '@eslint/core': 0.6.0 '@eslint/eslintrc': 3.1.0 @@ -14265,7 +14379,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.8 + micromatch: 4.0.7 fast-json-stable-stringify@2.1.0: {} @@ -14406,7 +14520,7 @@ snapshots: '@fastify/busboy': 3.0.0 '@firebase/database-compat': 1.0.8 '@firebase/database-types': 1.0.5 - '@types/node': 22.6.1 + '@types/node': 22.5.4 farmhash-modern: 1.1.0 jsonwebtoken: 9.0.2 jwks-rsa: 3.1.0 @@ -15572,8 +15686,6 @@ snapshots: methods@1.1.2: {} -<<<<<<< HEAD -======= micromark-core-commonmark@2.0.1: dependencies: decode-named-character-reference: 1.0.2 @@ -15707,7 +15819,6 @@ snapshots: transitivePeerDependencies: - supports-color ->>>>>>> 1898d438 (fix: pnpm lock) micromatch@4.0.7: dependencies: braces: 3.0.3 @@ -15739,7 +15850,7 @@ snapshots: dependencies: '@cspotcode/source-map-support': 0.8.1 acorn: 8.12.1 - acorn-walk: 8.3.4 + acorn-walk: 8.3.3 capnp-ts: 0.7.0 exit-hook: 2.2.1 glob-to-regexp: 0.4.1 @@ -16866,26 +16977,26 @@ snapshots: dependencies: estree-walker: 0.6.1 - rollup@4.22.4: + rollup@4.21.2: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.22.4 - '@rollup/rollup-android-arm64': 4.22.4 - '@rollup/rollup-darwin-arm64': 4.22.4 - '@rollup/rollup-darwin-x64': 4.22.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 - '@rollup/rollup-linux-arm-musleabihf': 4.22.4 - '@rollup/rollup-linux-arm64-gnu': 4.22.4 - '@rollup/rollup-linux-arm64-musl': 4.22.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 - '@rollup/rollup-linux-riscv64-gnu': 4.22.4 - '@rollup/rollup-linux-s390x-gnu': 4.22.4 - '@rollup/rollup-linux-x64-gnu': 4.22.4 - '@rollup/rollup-linux-x64-musl': 4.22.4 - '@rollup/rollup-win32-arm64-msvc': 4.22.4 - '@rollup/rollup-win32-ia32-msvc': 4.22.4 - '@rollup/rollup-win32-x64-msvc': 4.22.4 + '@rollup/rollup-android-arm-eabi': 4.21.2 + '@rollup/rollup-android-arm64': 4.21.2 + '@rollup/rollup-darwin-arm64': 4.21.2 + '@rollup/rollup-darwin-x64': 4.21.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.2 + '@rollup/rollup-linux-arm-musleabihf': 4.21.2 + '@rollup/rollup-linux-arm64-gnu': 4.21.2 + '@rollup/rollup-linux-arm64-musl': 4.21.2 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.2 + '@rollup/rollup-linux-riscv64-gnu': 4.21.2 + '@rollup/rollup-linux-s390x-gnu': 4.21.2 + '@rollup/rollup-linux-x64-gnu': 4.21.2 + '@rollup/rollup-linux-x64-musl': 4.21.2 + '@rollup/rollup-win32-arm64-msvc': 4.21.2 + '@rollup/rollup-win32-ia32-msvc': 4.21.2 + '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 run-parallel@1.2.0: @@ -17345,7 +17456,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.6 lilconfig: 2.1.0 - micromatch: 4.0.8 + micromatch: 4.0.7 normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.0 @@ -17550,7 +17661,7 @@ snapshots: picocolors: 1.1.0 postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1) resolve-from: 5.0.0 - rollup: 4.22.4 + rollup: 4.21.2 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyglobby: 0.2.6 @@ -17755,30 +17866,28 @@ snapshots: unpipe@1.0.0: {} - unplugin-purge-polyfills@0.0.7(rollup@4.22.4)(webpack-sources@3.2.3): + unplugin-purge-polyfills@0.0.7(rollup@4.21.2): dependencies: - '@rollup/pluginutils': 5.1.2(rollup@4.22.4) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) defu: 6.1.4 magic-string: 0.30.11 mlly: 1.7.1 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.12.2 transitivePeerDependencies: - rollup - - webpack-sources unplugin-vue-markdown@0.26.2(rollup@4.21.2)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@mdit-vue/plugin-component': 2.1.3 '@mdit-vue/plugin-frontmatter': 2.1.3 '@mdit-vue/types': 2.1.0 - '@rollup/pluginutils': 5.1.2(rollup@4.22.4) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) '@types/markdown-it': 14.1.2 markdown-it: 14.1.0 unplugin: 1.12.2 vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - rollup - - webpack-sources unplugin@1.0.1: dependencies: @@ -17787,12 +17896,12 @@ snapshots: webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 - unplugin@1.14.1(webpack-sources@3.2.3): + unplugin@1.12.2: dependencies: acorn: 8.12.1 - webpack-virtual-modules: 0.6.2 - optionalDependencies: + chokidar: 3.6.0 webpack-sources: 3.2.3 + webpack-virtual-modules: 0.6.2 update-browserslist-db@1.1.0(browserslist@4.23.3): dependencies: @@ -17910,24 +18019,24 @@ snapshots: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) - vike-solid@0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vike-solid@0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: isbot-fast: 1.2.0 - solid-js: 1.8.22 + solid-js: 1.8.23 vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - vite-plugin-solid: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) + vite-plugin-solid: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - '@testing-library/jest-dom' - supports-color - vike-solid@0.7.5(solid-js@1.8.22)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): + vike-solid@0.7.5(solid-js@1.8.23)(vike@0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): dependencies: isbot-fast: 1.2.0 - solid-js: 1.8.22 + solid-js: 1.8.23 vike: 0.4.196(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) - vite-plugin-solid: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) + vite-plugin-solid: 2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - '@testing-library/jest-dom' - supports-color @@ -18022,20 +18131,20 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): + vite-plugin-solid@2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@babel/core': 7.25.2 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.22(@babel/core@7.25.2) merge-anything: 5.1.7 - solid-js: 1.8.22 - solid-refresh: 0.6.3(solid-js@1.8.22) + solid-js: 1.8.23 + solid-refresh: 0.6.3(solid-js@1.8.23) vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vitefu: 0.2.5(vite@5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - supports-color - vite-plugin-solid@2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))): + vite-plugin-solid@2.10.2(solid-js@1.8.23)(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))): dependencies: '@babel/core': 7.25.2 '@types/babel__core': 7.20.5 @@ -18043,8 +18152,8 @@ snapshots: merge-anything: 5.1.7 solid-js: 1.8.23 solid-refresh: 0.6.3(solid-js@1.8.23) - vite: 5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47)) - vitefu: 0.2.5(vite@5.4.7(@types/node@22.6.1)(sugarss@4.0.1(postcss@8.4.47))) + vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) + vitefu: 0.2.5(vite@5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - supports-color @@ -18071,7 +18180,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.22.4 + rollup: 4.21.2 optionalDependencies: '@types/node': 18.19.44 fsevents: 2.3.3 @@ -18164,10 +18273,10 @@ snapshots: - supports-color - terser - vue-eslint-parser@9.4.3(eslint@9.11.0(jiti@1.21.6)): + vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@1.21.6)): dependencies: debug: 4.3.7 - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.11.1(jiti@1.21.6) eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 @@ -18398,4 +18507,4 @@ snapshots: zx@8.1.8: optionalDependencies: '@types/fs-extra': 11.0.4 - '@types/node': 22.6.1 + '@types/node': 22.5.4 From bd5ce14ae1188a0224bfc65677adad9986d0b2aa Mon Sep 17 00:00:00 2001 From: Andreas Heissenberger Date: Tue, 24 Sep 2024 19:56:54 +0200 Subject: [PATCH 6/8] fix: add StringTransformer implementation --- boilerplates/auth0/files/$README.md.ts | 2 +- boilerplates/aws/files/$README.md.ts | 2 +- boilerplates/d1/files/$README.md.ts | 2 +- boilerplates/drizzle/files/$README.md.ts | 2 +- boilerplates/edgedb/files/$README.md.ts | 2 +- boilerplates/firebase-auth/files/$README.md.ts | 2 +- boilerplates/lucia-auth/files/$README.md.ts | 2 +- boilerplates/mantine/files/$README.md.ts | 2 +- boilerplates/prisma/files/$README.md.ts | 2 +- boilerplates/react/files/$README.md.ts | 2 +- boilerplates/sentry/files/$README.md.ts | 2 +- boilerplates/shadcn-ui/files/$README.md.ts | 2 +- boilerplates/shared/files/$README.md.ts | 2 +- boilerplates/solid/files/$README.md.ts | 2 +- boilerplates/sqlite/files/$README.md.ts | 2 +- boilerplates/vue/files/$README.md.ts | 2 +- packages/core/src/markdown/markdown.ts | 3 ++- 17 files changed, 18 insertions(+), 17 deletions(-) diff --git a/boilerplates/auth0/files/$README.md.ts b/boilerplates/auth0/files/$README.md.ts index 42a027f7..eeaa6fde 100644 --- a/boilerplates/auth0/files/$README.md.ts +++ b/boilerplates/auth0/files/$README.md.ts @@ -31,5 +31,5 @@ AUTH0_ISSUER_BASE_URL=https://..auth0.com content.addMarkdownFeature(todo, "auth0"); - return content.finalize(); + return content; } diff --git a/boilerplates/aws/files/$README.md.ts b/boilerplates/aws/files/$README.md.ts index f2fc321b..b2bcc6ed 100644 --- a/boilerplates/aws/files/$README.md.ts +++ b/boilerplates/aws/files/$README.md.ts @@ -106,5 +106,5 @@ Or delete the CloudFormation stack which starts with "VikeStack-" content.addMarkdownFeature(todo, "aws"); - return content.finalize(); + return content; } diff --git a/boilerplates/d1/files/$README.md.ts b/boilerplates/d1/files/$README.md.ts index abb328b5..21812ac0 100644 --- a/boilerplates/d1/files/$README.md.ts +++ b/boilerplates/d1/files/$README.md.ts @@ -24,5 +24,5 @@ Then copy the output to \`wrangler.toml\``; content.addMarkdownFeature(todo, "sqlite"); - return content.finalize(); + return content; } diff --git a/boilerplates/drizzle/files/$README.md.ts b/boilerplates/drizzle/files/$README.md.ts index e0ea1eb0..5d15a8fd 100644 --- a/boilerplates/drizzle/files/$README.md.ts +++ b/boilerplates/drizzle/files/$README.md.ts @@ -23,5 +23,5 @@ Read more on [Drizzle ORM documentation](https://orm.drizzle.team/docs/overview) content.addMarkdownFeature(todo, "drizzle"); - return content.finalize(); + return content; } diff --git a/boilerplates/edgedb/files/$README.md.ts b/boilerplates/edgedb/files/$README.md.ts index b4df60a6..9bc90650 100644 --- a/boilerplates/edgedb/files/$README.md.ts +++ b/boilerplates/edgedb/files/$README.md.ts @@ -21,5 +21,5 @@ Then follow instructions at content.addMarkdownFeature(todo, "lucia-auth"); - return content.finalize(); + return content; } diff --git a/boilerplates/mantine/files/$README.md.ts b/boilerplates/mantine/files/$README.md.ts index 222334fd..4f1608a0 100644 --- a/boilerplates/mantine/files/$README.md.ts +++ b/boilerplates/mantine/files/$README.md.ts @@ -20,5 +20,5 @@ The theme is defined in \`layouts/theme.ts\`. content.addMarkdownFeature(todo, "mantine"); - return content.finalize(); + return content; } diff --git a/boilerplates/prisma/files/$README.md.ts b/boilerplates/prisma/files/$README.md.ts index 782247f4..e745bf87 100644 --- a/boilerplates/prisma/files/$README.md.ts +++ b/boilerplates/prisma/files/$README.md.ts @@ -16,5 +16,5 @@ then follow instructions at /.test(text) @@ -26,7 +27,7 @@ function getNodesFromRoot(tree: Root): Nodes[] { return tree.children; } -export class MarkdownV2 { +export class MarkdownV2 implements StringTransformer { private tree: Root; private contents: ContentChanger[] = []; private config: classConfig = { defaults: { filter: { section: "features" } } }; From 2181544230ef8e15addd53bbd033bd0f7871dc94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Charles?= Date: Wed, 25 Sep 2024 11:08:36 +0200 Subject: [PATCH 7/8] chore: deps --- packages/core/package.json | 1 + pnpm-lock.yaml | 224 ++++--------------------------------- 2 files changed, 25 insertions(+), 200 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 6b5aa63f..6c063a5d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -23,6 +23,7 @@ "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.7.0", "@typescript-eslint/utils": "^8.7.0", + "attributes-parser": "^2.2.3", "colorette": "^2.0.20", "esbuild": "^0.24.0", "eslint": "^9.11.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d051c4f..da7a9198 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1673,6 +1673,9 @@ importers: '@typescript-eslint/utils': specifier: ^8.7.0 version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + attributes-parser: + specifier: ^2.2.3 + version: 2.2.3 colorette: specifier: ^2.0.20 version: 2.0.20 @@ -1816,7 +1819,7 @@ importers: version: 5.6.2 vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) + version: 2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)) packages/tests-utils: dependencies: @@ -4708,10 +4711,6 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.6.0': - resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.7.0': resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4725,23 +4724,10 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.6.0': - resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.7.0': resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.6.0': - resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.7.0': resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4751,22 +4737,12 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.6.0': - resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/utils@8.7.0': resolution: {integrity: sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.6.0': - resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.7.0': resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4839,9 +4815,6 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitest/expect@2.0.5': - resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} - '@vitest/expect@2.1.1': resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} @@ -4856,33 +4829,18 @@ packages: vite: optional: true - '@vitest/pretty-format@2.0.5': - resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} - '@vitest/pretty-format@2.1.1': resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} - '@vitest/runner@2.0.5': - resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} - '@vitest/runner@2.1.1': resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} - '@vitest/snapshot@2.0.5': - resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==} - '@vitest/snapshot@2.1.1': resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} - '@vitest/spy@2.0.5': - resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} - '@vitest/spy@2.1.1': resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} - '@vitest/utils@2.0.5': - resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} - '@vitest/utils@2.1.1': resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} @@ -5070,6 +5028,9 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} + attributes-parser@2.2.3: + resolution: {integrity: sha512-zjOUWt95la8AdUO+kP1GBOonWrV5jy9NjJP+z9tva/DSA6FIzGKcN/gk3tdqQf/pOeB8dkyd3FCPrjhELMmrkg==} + autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -6918,6 +6879,9 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + json-loose@1.2.4: + resolution: {integrity: sha512-lwMWNC5pvVI33rhYWmAsmtICWE2IH7euDY/iIPeMFE5AuzAifYgqQrjqSMzwbrFV6MWPs41XD+CajElHI4cZMQ==} + json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -7419,6 +7383,9 @@ packages: mlly@1.7.1: resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} + moo@0.5.2: + resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -9376,11 +9343,6 @@ packages: react-streaming: optional: true - vite-node@2.0.5: - resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - vite-node@2.1.1: resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9454,31 +9416,6 @@ packages: vite: optional: true - vitest@2.0.5: - resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.0.5 - '@vitest/ui': 2.0.5 - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@types/node': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - vitest@2.1.1: resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -12489,11 +12426,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.6.0': - dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 - '@typescript-eslint/scope-manager@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12511,25 +12443,8 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.6.0': {} - '@typescript-eslint/types@8.7.0': {} - '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': - dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 - debug: 4.3.7 - fast-glob: 3.3.2 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) - optionalDependencies: - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12545,17 +12460,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.6.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - eslint: 9.11.1(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) @@ -12567,11 +12471,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.6.0': - dependencies: - '@typescript-eslint/types': 8.6.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -12672,13 +12571,6 @@ snapshots: vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) vue: 3.5.8(typescript@5.6.2) - '@vitest/expect@2.0.5': - dependencies: - '@vitest/spy': 2.0.5 - '@vitest/utils': 2.0.5 - chai: 5.1.1 - tinyrainbow: 1.2.0 - '@vitest/expect@2.1.1': dependencies: '@vitest/spy': 2.1.1 @@ -12694,51 +12586,25 @@ snapshots: optionalDependencies: vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - '@vitest/pretty-format@2.0.5': - dependencies: - tinyrainbow: 1.2.0 - '@vitest/pretty-format@2.1.1': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.0.5': - dependencies: - '@vitest/utils': 2.0.5 - pathe: 1.1.2 - '@vitest/runner@2.1.1': dependencies: '@vitest/utils': 2.1.1 pathe: 1.1.2 - '@vitest/snapshot@2.0.5': - dependencies: - '@vitest/pretty-format': 2.0.5 - magic-string: 0.30.11 - pathe: 1.1.2 - '@vitest/snapshot@2.1.1': dependencies: '@vitest/pretty-format': 2.1.1 magic-string: 0.30.11 pathe: 1.1.2 - '@vitest/spy@2.0.5': - dependencies: - tinyspy: 3.0.0 - '@vitest/spy@2.1.1': dependencies: tinyspy: 3.0.0 - '@vitest/utils@2.0.5': - dependencies: - '@vitest/pretty-format': 2.0.5 - estree-walker: 3.0.3 - loupe: 3.1.1 - tinyrainbow: 1.2.0 - '@vitest/utils@2.1.1': dependencies: '@vitest/pretty-format': 2.1.1 @@ -12964,6 +12830,10 @@ snapshots: atomic-sleep@1.0.0: {} + attributes-parser@2.2.3: + dependencies: + json-loose: 1.2.4 + autoprefixer@10.4.20(postcss@8.4.47): dependencies: browserslist: 4.23.3 @@ -14113,7 +13983,7 @@ snapshots: eslint-plugin-solid@0.14.3(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 8.6.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) eslint: 9.11.1(jiti@1.21.6) estraverse: 5.3.0 is-html: 2.0.0 @@ -15307,6 +15177,10 @@ snapshots: json-buffer@3.0.1: {} + json-loose@1.2.4: + dependencies: + moo: 0.5.2 + json-parse-even-better-errors@2.3.1: optional: true @@ -15947,6 +15821,8 @@ snapshots: pkg-types: 1.1.3 ufo: 1.5.4 + moo@0.5.2: {} + mri@1.2.0: {} mrmime@2.0.0: {} @@ -18084,24 +17960,6 @@ snapshots: optionalDependencies: react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite-node@2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)): - dependencies: - cac: 6.7.14 - debug: 4.3.7 - pathe: 1.1.2 - tinyrainbow: 1.2.0 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - vite-node@2.1.1(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)): dependencies: cac: 6.7.14 @@ -18204,40 +18062,6 @@ snapshots: optionalDependencies: vite: 5.4.7(@types/node@22.5.4)(sugarss@4.0.1(postcss@8.4.47)) - vitest@2.0.5(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)): - dependencies: - '@ampproject/remapping': 2.3.0 - '@vitest/expect': 2.0.5 - '@vitest/pretty-format': 2.1.1 - '@vitest/runner': 2.0.5 - '@vitest/snapshot': 2.0.5 - '@vitest/spy': 2.0.5 - '@vitest/utils': 2.0.5 - chai: 5.1.1 - debug: 4.3.7 - execa: 8.0.1 - magic-string: 0.30.11 - pathe: 1.1.2 - std-env: 3.7.0 - tinybench: 2.9.0 - tinypool: 1.0.0 - tinyrainbow: 1.2.0 - vite: 5.4.7(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - vite-node: 2.0.5(@types/node@18.19.44)(sugarss@4.0.1(postcss@8.4.47)) - why-is-node-running: 2.3.0 - optionalDependencies: - '@types/node': 18.19.44 - happy-dom: 15.7.4 - transitivePeerDependencies: - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - vitest@2.1.1(@types/node@18.19.44)(happy-dom@15.7.4)(sugarss@4.0.1(postcss@8.4.47)): dependencies: '@vitest/expect': 2.1.1 From f20a1d242f49b4bfe888ebb8be8dc5f67361799c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Charles?= Date: Wed, 25 Sep 2024 13:54:22 +0200 Subject: [PATCH 8/8] chore(aws): fix markdown table --- boilerplates/aws/files/$README.md.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boilerplates/aws/files/$README.md.ts b/boilerplates/aws/files/$README.md.ts index b2bcc6ed..7a3d27f6 100644 --- a/boilerplates/aws/files/$README.md.ts +++ b/boilerplates/aws/files/$README.md.ts @@ -72,8 +72,9 @@ You can also access the CloudFront distribution domainname in the AWS SSM regist ### Stack Configuration You can configure the stack in the \`cdk/bin/infrastructure.ts\` file: -| --- | --- | --- | + | Variable | Examples | Description | +| --- | --- | --- | | \`domainName: "example.com",\` | "example.com" | | | \`subDomain: "www",\` |"www" | | | \`certificate: undefined,\` | "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012" or a certificatemanager.ICertificate | reuse an existing AWS Certificate |