making things more contributor friendly

This commit is contained in:
ari committed 2022-07-22 11:28:06 -04:00
1 parent 0ac2991ad8
commit 8c8d26c1e1
13 files changed
+36 -28

No files matched your search

+1
View File
@@ -0,0 +1 @@
<link rel="icon" type="image/png" href="/icon.png" sizes="192x192">
+6
View File
@@ -0,0 +1,6 @@
import { addons } from '@storybook/addons';
import theme from './shortumationTheme';
addons.setConfig({
theme,
});
+4
View File
@@ -1,3 +1,4 @@
import theme from './shortumationTheme';
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
@@ -7,4 +8,7 @@ export const parameters = {
date: /Date$/,
},
},
docs: {
theme,
},
}
+9
View File
@@ -0,0 +1,9 @@
import { create } from '@storybook/theming';
export default create({
base: 'dark',
brandTitle: 'Shrotumation Storybook',
brandUrl: 'https://github.com/asosnovsky/Shortumation',
// brandImage: 'https://raw.githubusercontent.com/asosnovsky/Shortumation/main/icon.png',
brandTarget: '_blank',
});
+8 -4
View File
@@ -1,11 +1,15 @@
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `yarn storybook`
Spins up the prototyping tool storybook.\
Open [http://localhost:6006](http://localhost:6006) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `yarn start`
Runs the app in the development mode.\
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+2 -2
View File
@@ -3,11 +3,11 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="An easier way to maintain automations & scripts in
home-assistant" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

+6 -11
View File
@@ -1,21 +1,16 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Shortumation",
"name": "Shortumation",
"icons": [
{
"src": "favicon.ico",
"src": "favicon.png",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
"type": "image/png"
},
{
"src": "logo192.png",
"src": "logo.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
"sizes": "192x192 512x512"
}
],
"start_url": ".",
-11
View File
@@ -1,11 +0,0 @@
#!/bin/bash
TMUX_SESSION=shortu-webapp
tmux kill-ses -t $TMUX_SESSION
tmux new -s $TMUX_SESSION -d
tmux send-keys -t $TMUX_SESSION 'yarn tsc' C-m
tmux splitw -h -p 66 -t $TMUX_SESSION
tmux send-keys -t $TMUX_SESSION 'yarn test' C-m
tmux splitw -h -t $TMUX_SESSION
tmux send-keys -t $TMUX_SESSION 'yarn storybook' C-m
tmux a -t $TMUX_SESSION