feat(frontend): add API client, layout, and routing
- Create Axios-based API client with sources, jobs, and dashboard endpoints - Add responsive Layout component with navigation sidebar - Set up React Router with Dashboard, Backups, and Settings routes - Configure TanStack Query provider with default options - Use lucide-react for navigation icons
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
require("../dist/cli").default();
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env node
|
||||
const Module = require("module");
|
||||
const {resolve} = require("path");
|
||||
|
||||
/*
|
||||
* Simple wrapper around node that first registers Sucrase with default settings.
|
||||
*
|
||||
* This is meant for simple use cases, and doesn't support custom Node/V8 args,
|
||||
* executing a code snippet, a REPL, or other things that you might find in
|
||||
* node, babel-node, or ts-node. For more advanced use cases, you can use
|
||||
* `node -r sucrase/register` or register a require hook programmatically from
|
||||
* your own code.
|
||||
*/
|
||||
require("../register");
|
||||
|
||||
process.argv.splice(1, 1);
|
||||
process.argv[1] = resolve(process.argv[1]);
|
||||
Module.runMain();
|
||||
Reference in New Issue
Block a user