This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-06/schema#", | |
"$id": "https://ruhmesmeile.com/rm-dist.json", | |
"type": "object", | |
"title": "ruhmesmeile Basiswebsite / rm-dist configuration", | |
"required": [ | |
"project", | |
"configuration", | |
"remote", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://schema.redacted.de/hero.schema.json", | |
"title": "Hero", | |
"description": "Prominente Bild- oder Videodarstellung mit Option für Text und Cta", | |
"type": "object", | |
"properties": { | |
"textPosition": { | |
"type": "string", | |
"title": "Textposition", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isStoryblokAsset(object: unknown): object is AssetStoryblok { | |
return (object as AssetStoryblok)?.filename !== undefined; | |
} | |
const Picture = forwardRef< | |
HTMLImageElement, | |
PictureProps & ImgHTMLAttributes<HTMLImageElement> | |
>(({ src, lazy, ...props }, ref) => { | |
const internalRef = useRef<HTMLImageElement>(null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("node:fs"); | |
const PromiseThrottle = require("promise-throttle"); | |
const FormData = require("form-data"); | |
const { traverse } = require("object-traversal"); | |
const sizeOf = require("image-size"); | |
const StoryblokClient = require("storyblok-js-client"); | |
const { v4: uuidv4 } = require("uuid"); | |
const jsonpointer = require("jsonpointer"); | |
const designSystemPresets = require("@kickstartds/ds-agency-premium/presets.json"); | |
const generatedComponents = require("../cms/components.123456.json"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the `immutable` cache control options only for assets with a cache busting `v` argument | |
map $arg_v $asset_immutable { | |
"" ""; | |
default "immutable"; | |
} | |
## | |
# Connection header for WebSocket reverse proxy | |
## | |
map $http_upgrade $connection_upgrade { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": [ | |
{ | |
"id": "headline", | |
"name": "Headline", | |
"groups": [ | |
{ | |
"id": "default", | |
"name": "Default", | |
"contentTypeId": "headline", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="vite/client"/> | |
// @vitest-environment happy-dom | |
import path from "node:path"; | |
import fs from "node:fs"; | |
import fg from "fast-glob"; | |
import { describe, test } from "vitest"; | |
import { ReactRenderer, composeStories } from "@storybook/react"; | |
import { Store_CSFExports } from "@storybook/types"; | |
import reactElementToJSXString from "react-element-to-jsx-string"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@storybook/csf/dist/index.mjs b/node_modules/@storybook/csf/dist/index.mjs | |
index 537d489..3ddcc5f 100644 | |
--- a/node_modules/@storybook/csf/dist/index.mjs | |
+++ b/node_modules/@storybook/csf/dist/index.mjs | |
@@ -1,3 +1,3 @@ | |
-var B=Object.create;var R=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var E=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of C(e))!w.call(r,a)&&a!==n&&R(r,a,{get:()=>e[a],enumerable:!(t=b(e,a))||t.enumerable});return r};var v=(r,e,n)=>(n=r!=null?B(h(r)):{},E(e||!r||!r.__esModule?R(n,"default",{value:r,enumerable:!0}):n,r));var x=I(T=>{Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=function(){var r=Object.prototype.toString,e=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:Object.keys;r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("node:path"); | |
const fs = require("node:fs"); | |
const babelRegister = require("@babel/register"); | |
const registerRequireContextHook = require("@storybook/babel-plugin-require-context-hook/register"); | |
const registerGlobalJSDOM = require("global-jsdom"); | |
const fg = require("fast-glob"); | |
const esbuild = require("esbuild"); | |
const reactElementToJSXString = require("react-element-to-jsx-string"); | |
const { normalizeStories } = require("@storybook/core-common"); | |
const { toRequireContext } = require("@storybook/core-webpack"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const esbuild = require("esbuild"); | |
const { sassPlugin } = require("esbuild-sass-plugin"); | |
const { nodeExternalsPlugin } = require("esbuild-node-externals"); | |
const { renderToStaticMarkup } = require("react-dom/server"); | |
const lightningcss = require("lightningcss"); | |
const browserslistToEsbuild = require("browserslist-to-esbuild"); | |
const browserslist = require("browserslist"); | |
const browsers = browserslist(); | |
const esbuildTargets = browserslistToEsbuild(browsers); |
NewerOlder