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
// @ts-check | |
const fs = require('fs'); | |
const path = require('path'); | |
const { consola } = require('consola'); | |
const patchFolderPathAbs = path.join(__dirname, '../src/admin/patch'); | |
const distFolderPathAbs = path.join(__dirname, '../.strapi/dist/patches'); | |
const chunkFolderPath = '../node_modules/@strapi/admin/dist/_chunks'; | |
const chunkFolderPathAbs = path.join(__dirname, chunkFolderPath); |
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
import { schemaToArgTypes } from '@project/services/storybook.service'; | |
import { HeroBlockComponent } from '@project/shared/blocks'; | |
import { Schema } from '@project/shared/cms'; | |
import heroSchema from '@project/shared/cms/schema/components/content/hero.json'; | |
import { Color, colorToColorName } from '@project/shared/colors'; | |
import Hero from './Hero'; | |
import { heroSectionFakeData, HeroThemeColor, heroThemes } from './Hero.config'; | |
export const meta = { | |
title: 'Blocks/Hero', |