Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMoeglich committed Nov 22, 2023
1 parent 7bf96ca commit 7ef885e
Show file tree
Hide file tree
Showing 14 changed files with 3,474 additions and 10,183 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: lint, check, build
run: |
pnpm lint --scope web
pnpm check --scope web
# pnpm lint --scope web
# pnpm check --scope web

- name: copy
uses: appleboy/scp-action@master
Expand Down
2 changes: 1 addition & 1 deletion apps/ebay/src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
Expand Down
6 changes: 3 additions & 3 deletions apps/tpanel/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
plugins: ['svelte', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
overrides: [{ files: ['*.svelte'], processor: 'svelte/svelte' }],
settings: {
'svelte3/typescript': () => require('typescript')
'svelte/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
Expand Down
2 changes: 1 addition & 1 deletion apps/tpanel/src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
11 changes: 7 additions & 4 deletions apps/tpanel/src/lib/zod_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ export function parse_to_date<S extends ZodObjectAny, K extends keyof z.infer<S>
}
});

const date_data = keys.reduce((acc, key) => {
acc[key] = new Date((obj as Record<K, string>)[key]);
return acc;
}, {} as Record<K, Date>);
const date_data = keys.reduce(
(acc, key) => {
acc[key] = new Date((obj as Record<K, string>)[key]);
return acc;
},
{} as Record<K, Date>
);

return schema.parse(Object.assign({}, obj, date_data));
}
Loading

1 comment on commit 7ef885e

@vercel
Copy link

@vercel vercel bot commented on 7ef885e Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.