@common-stack/core 7.0.4-alpha.17 → 7.1.1-alpha.14

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.
@@ -42,4 +42,28 @@ export interface IViteSettings {
42
42
  * @default: false
43
43
  */
44
44
  _useFutureCommonPackage?: boolean;
45
+ /**
46
+ * @name overrideRoutes Configuration
47
+ * @description Override routes by replacing old routes with new routes.
48
+ * Can be specified as a single mapping object or an array of mappings.
49
+ * @example
50
+ * // Single mapping
51
+ * overrideRoutes: {
52
+ * oldRoute: '/0/:routeToReplace',
53
+ * newRoute: '/',
54
+ * }
55
+ *
56
+ * // Multiple mappings
57
+ * overrideRoutes: [
58
+ * { oldRoute: '/0/:routeToReplace', newRoute: '/' },
59
+ * { oldRoute: '/nested/path', newRoute: '/simple' }
60
+ * ]
61
+ */
62
+ overrideRoutes?: {
63
+ oldRoute: string;
64
+ newRoute: string;
65
+ } | Array<{
66
+ oldRoute: string;
67
+ newRoute: string;
68
+ }>;
45
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/core",
3
- "version": "7.0.4-alpha.17",
3
+ "version": "7.1.1-alpha.14",
4
4
  "description": "Common core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -23,7 +23,7 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "gitHead": "b498816c8b6a0b9ac4e213b87254b7326240255f",
26
+ "gitHead": "7786ecfaab0098f0bbd2f0ee6979ae1cb2da89e1",
27
27
  "typescript": {
28
28
  "definition": "lib/index.d.ts"
29
29
  }