exports.json
files include maps to all published components, and for different modules (base
, blog
, content
).
This is used to look up the correct library folder and component name to resolve.
This file contains hidden or 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://frontend.ruhmesmeile.com/content/molecules/visual.schema.json", | |
"title": "Visual", | |
"description": "visual", | |
"type": "object", | |
"properties": { | |
"height": { | |
"title": "Height", | |
"type": "string", |
This file contains hidden or 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('fs') | |
const path = require('path'); | |
const baseExports = require('@kickstartds/base/lib/exports.json'); | |
const blogExports = require('@kickstartds/blog/lib/exports.json'); | |
const contentExports = require('@kickstartds/content/lib/exports.json'); | |
const reducer = (mod) => (prev, [key, value]) => { | |
if (key !== "index.js" && key.indexOf('/') === -1 && value.length) { | |
prev += `'${key}': loadable(() => import('@kickstartds/${mod}/lib/${key}/index.js'), { resolveComponent: (exports) => exports.${value[0]} }),\n` | |
} |
This file contains hidden or 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
query MyQuery { | |
allKickstartDsPage { | |
edges { | |
node { | |
content { | |
content { | |
... on CountUpComponent { | |
topic | |
text | |
to |
This file contains hidden or 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
Id: fd055920-b0fe-11eb-9ce8-bdbc5d8289d5 | |
layout: default | |
heading: ruhmesmeile Startpage | |
content: | |
- mode: list | |
width: full | |
space-before: none | |
background: default | |
headline: | |
level: h2 |
This file contains hidden or 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 basePropertyOf(e) { | |
return function (t) { | |
return null == e ? void 0 : e[t] | |
} | |
} | |
var _basePropertyOf = basePropertyOf, | |
... | |
deburrLetter = _basePropertyOf(deburredLetters), |
This file contains hidden or 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
info @storybook/react v6.3.0-alpha.14 | |
info | |
info => Cleaning outputDir: /home/julrich/Projects/Frontend/code/kickstartDS/dist | |
info => Copying static files: ./legacy-instance => ./ | |
info => Loading presets | |
info => Compiling manager.. | |
vite v2.2.1 building for production... | |
transforming (1312) ../../@storybook/addon-essentials/node_modules/@storybook/components/dist/esm/controls/react-editable-json-tree/components/JsonArray.jsConflicting namespaces: node_modules/@storybook/client-api/dist/esm/index.js re-exports 'combineParameters' from both node_modules/@storybook/client-api/dist/esm/index.js and node_modules/@storybook/client-api/dist/esm/parameters.js (will be ignored) | |
transforming (1941) ../../lodash/_baseFindIndex.jsConflicting namespaces: node_modules/@storybook/addon-essentials/node_modules/@storybook/components/dist/esm/index.js re-exports 'components' from both node_modules/@storybook/addon-essentials/node_modules/@storybook/components/dist/esm/index.js and node_modules/@storybook/addon-essentials/node_mo |
Getting a black screen after changing graphics driver to nvidia:
sudo prime-select nvidia
reboot
Last 2 messages I'm able to observe visibly (before it apparently hanging) include one reading as follows:
PKCS#7 signature not signed with a trusted key
This file contains hidden or 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
module.exports = function (Handlebars) { | |
Handlebars.registerHelper('choose', function (a, b) { return a || b; }); | |
}; |