@askrjs/cli 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,9 @@
1
1
  import { lazy, route } from '@askrjs/askr/router';
2
+ import { loginRoute } from '../lib/routes';
2
3
 
3
4
  export function registerAuthRoutes(): void {
4
5
  route(
5
- '/login',
6
+ loginRoute.href,
6
7
  lazy(() => import('../pages/auth/login'))
7
8
  );
8
9
  }
@@ -1,8 +1,9 @@
1
1
  import { lazy, route } from '@askrjs/askr/router';
2
+ import { landingRoute } from '../lib/routes';
2
3
 
3
4
  export function registerPublicRoutes(): void {
4
5
  route(
5
- '/',
6
+ landingRoute.href,
6
7
  lazy(() => import('../pages/home'))
7
8
  );
8
9
  }
@@ -1,8 +1,9 @@
1
1
  import { lazy, route } from '@askrjs/askr/router';
2
+ import { accountsRoute } from '../../lib/routes';
2
3
 
3
4
  export function registerAccountRoutes(): void {
4
5
  route(
5
- '/accounts',
6
+ accountsRoute.href,
6
7
  lazy(() => import('../../pages/workspace/accounts'))
7
8
  );
8
9
  }
@@ -1,14 +1,15 @@
1
1
  import { lazy, route } from '@askrjs/askr/router';
2
+ import { dashboardRoute, settingsRoute } from '../../lib/routes';
2
3
  import { registerAccountRoutes } from './accounts';
3
4
 
4
5
  export function registerWorkspaceRoutes(): void {
5
6
  route(
6
- '/dashboard',
7
+ dashboardRoute.href,
7
8
  lazy(() => import('../../pages/workspace/dashboard'))
8
9
  );
9
10
  registerAccountRoutes();
10
11
  route(
11
- '/settings',
12
+ settingsRoute.href,
12
13
  lazy(() => import('../../pages/workspace/settings'))
13
14
  );
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askrjs/cli",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Unified CLI for the Askr platform",
5
5
  "homepage": "https://github.com/askrjs/askr-cli#readme",
6
6
  "bugs": {