Skip to content

Commit

Permalink
build: fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Feb 24, 2024
1 parent 685fcaf commit 4ccdb1f
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { superForm } from 'sveltekit-superforms';
import { Field, Control, Label, Description, FieldErrors, Fieldset, Legend } from 'formsnap';
import { zodClient } from 'sveltekit-superforms/adapters';
import type { PageData } from './$types.js';
import { allergies, schema, themes } from './schema.js';
import SuperDebug from 'sveltekit-superforms';
import DebugShell from '@spectacular/skeleton/components/debug-shell.svelte';
Expand Down
117 changes: 57 additions & 60 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 26 additions & 4 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,40 @@ FILE=.env
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n .env.example .env && echo 'Generated: .env'
cp -n .env.example .env && echo 'Generated: .env, FIXIT'
fi

FILE=.secrets
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n .secrets.example .secrets && echo 'Generated: .secrets, FIXIT'
fi

FILE=apps/console-fb/.env
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n apps/console-fb/.env.example apps/console-fb/.env && echo 'Generated: apps/console/.env'
cp -n apps/console-fb/.env.example apps/console-fb/.env && echo 'Generated: apps/console-fb/.env, FIXIT'
fi

FILE=.secrets
FILE=apps/console-fb/.secrets
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n apps/console-fb/.secrets.example apps/console-fb/.secrets && echo 'Generated: apps/console-fb/.secrets, FIXIT'
fi

FILE=apps/console/.env
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n apps/console/.env.example apps/console/.env && echo 'Generated: apps/console/.env, FIXIT'
fi

FILE=apps/console/.secrets
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n .secrets.example .secrets && echo 'Generated: .secrets'
cp -n apps/console/.secrets.example apps/console/.secrets && echo 'Generated: apps/console/.secrets, FIXIT'
fi

0 comments on commit 4ccdb1f

Please sign in to comment.