mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-02 19:23:33 -07:00
downgrade tailwind for now, and fix build errors
This commit is contained in:
committed by
Brad Warren
parent
d56386a7e5
commit
fe69dd1abf
@@ -22,7 +22,7 @@ export default ts.config(
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['**/*.svelte'],
|
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
|
||||||
|
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
@@ -48,6 +48,11 @@ export default ts.config(
|
|||||||
format: ['snake_case'],
|
format: ['snake_case'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// these rules should eventually be enabled, just disabled them to
|
||||||
|
// make dependency upgrades easier.
|
||||||
|
'svelte/prefer-svelte-reactivity': 'off',
|
||||||
|
'svelte/require-each-key': 'off',
|
||||||
|
'svelte/no-navigation-without-resolve': 'off',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Generated
+948
-76
File diff suppressed because it is too large
Load Diff
@@ -15,6 +15,7 @@
|
|||||||
"fix": "eslint --fix ."
|
"fix": "eslint --fix ."
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint/js": "^10.0.1",
|
||||||
"@sveltejs/adapter-auto": "^7.0.1",
|
"@sveltejs/adapter-auto": "^7.0.1",
|
||||||
"@sveltejs/adapter-static": "^3.0.5",
|
"@sveltejs/adapter-static": "^3.0.5",
|
||||||
"@sveltejs/kit": "^2.58.0",
|
"@sveltejs/kit": "^2.58.0",
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
"prettier-plugin-svelte": "^3.5.1",
|
"prettier-plugin-svelte": "^3.5.1",
|
||||||
"svelte": "^5.55.5",
|
"svelte": "^5.55.5",
|
||||||
"svelte-check": "^4.4.6",
|
"svelte-check": "^4.4.6",
|
||||||
"tailwindcss": "^4.2.4",
|
"tailwindcss": "^3.4.18",
|
||||||
"typescript": "^6.0.3",
|
"typescript": "^6.0.3",
|
||||||
"typescript-eslint": "^8.59.0",
|
"typescript-eslint": "^8.59.0",
|
||||||
"vite": "^8.0.10",
|
"vite": "^8.0.10",
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<div class="flex flex-row justify-end gap-2">
|
<div class="flex flex-row justify-end gap-2">
|
||||||
<DeleteButton
|
<DeleteButton
|
||||||
text="Delete ALL Recordings"
|
text="Delete ALL Recordings"
|
||||||
prompt={`Are you sure you want to delete ALL recordings?`}
|
prompt="Are you sure you want to delete ALL recordings?"
|
||||||
url={`/api/delete-all-recordings`}
|
url="/api/delete-all-recordings"
|
||||||
name="all recodings"
|
name="all recodings"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ export function parse_ndjson(input: string): NewlineDeliminatedJson {
|
|||||||
// however, if we've reached the end of the input, that means we
|
// however, if we've reached the end of the input, that means we
|
||||||
// were given invalid nd-json
|
// were given invalid nd-json
|
||||||
if (lines.length === 0) {
|
if (lines.length === 0) {
|
||||||
throw new Error(`unable to parse invalid nd-json: ${e}, "${current_line}"`);
|
throw new Error(`unable to parse invalid nd-json: ${e}, "${current_line}"`, {
|
||||||
|
cause: e,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user