@stacksjs/path 0.40.0 → 0.41.0
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.
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +9 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare function collectionsPath(path?: string): any;
|
|
|
39
39
|
export declare function componentsPath(path?: string): any;
|
|
40
40
|
export declare function configPath(): any;
|
|
41
41
|
export declare function corePath(path?: string): any;
|
|
42
|
+
export declare function dashboardPath(path?: string): any;
|
|
42
43
|
export declare function docsPath(path?: string): any;
|
|
43
44
|
export declare function customElementsDataPath(): any;
|
|
44
45
|
export declare function errorHandlingPath(path?: string): any;
|
|
@@ -58,6 +59,7 @@ export declare function pagesPath(path?: string): any;
|
|
|
58
59
|
export declare function pathPath(path?: string): any;
|
|
59
60
|
export declare function projectPath(filePath?: string): any;
|
|
60
61
|
export declare function routerPath(path?: string): any;
|
|
62
|
+
export declare function searchEnginePath(path?: string): any;
|
|
61
63
|
export declare function routesPath(path?: string): any;
|
|
62
64
|
export declare function securityPath(path?: string): any;
|
|
63
65
|
export declare function serverPath(path?: string): any;
|
|
@@ -84,6 +86,7 @@ export declare const path: {
|
|
|
84
86
|
configPath: typeof configPath;
|
|
85
87
|
corePath: typeof corePath;
|
|
86
88
|
customElementsDataPath: typeof customElementsDataPath;
|
|
89
|
+
dashboardPath: typeof dashboardPath;
|
|
87
90
|
docsPath: typeof docsPath;
|
|
88
91
|
errorHandlingPath: typeof errorHandlingPath;
|
|
89
92
|
examplesPath: typeof examplesPath;
|
|
@@ -102,6 +105,7 @@ export declare const path: {
|
|
|
102
105
|
pathPath: typeof pathPath;
|
|
103
106
|
projectPath: typeof projectPath;
|
|
104
107
|
routerPath: typeof routerPath;
|
|
108
|
+
searchEnginePath: typeof searchEnginePath;
|
|
105
109
|
routesPath: typeof routesPath;
|
|
106
110
|
scriptsPath: typeof scriptsPath;
|
|
107
111
|
securityPath: typeof securityPath;
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export function aliasPath() {
|
|
|
6
6
|
return runtimePath("alias.ts");
|
|
7
7
|
}
|
|
8
8
|
export function runtimePath(path2) {
|
|
9
|
-
return
|
|
9
|
+
return frameworkPath(`buddy/${path2 || ""}`);
|
|
10
10
|
}
|
|
11
11
|
export function arraysPath(path2) {
|
|
12
12
|
return corePath(`arrays/${path2 || ""}`);
|
|
@@ -41,6 +41,9 @@ export function configPath() {
|
|
|
41
41
|
export function corePath(path2) {
|
|
42
42
|
return frameworkPath(`core/${path2 || ""}`);
|
|
43
43
|
}
|
|
44
|
+
export function dashboardPath(path2) {
|
|
45
|
+
return corePath(`dashboard/${path2 || ""}`);
|
|
46
|
+
}
|
|
44
47
|
export function docsPath(path2) {
|
|
45
48
|
return corePath(`docs/${path2 || ""}`);
|
|
46
49
|
}
|
|
@@ -113,6 +116,9 @@ export function projectPath(filePath = "") {
|
|
|
113
116
|
export function routerPath(path2) {
|
|
114
117
|
return corePath(`router/${path2 || ""}`);
|
|
115
118
|
}
|
|
119
|
+
export function searchEnginePath(path2) {
|
|
120
|
+
return corePath(`search-engine/${path2 || ""}`);
|
|
121
|
+
}
|
|
116
122
|
export function routesPath(path2) {
|
|
117
123
|
return projectPath(`routes/${path2 || ""}`);
|
|
118
124
|
}
|
|
@@ -161,6 +167,7 @@ export const path = {
|
|
|
161
167
|
configPath,
|
|
162
168
|
corePath,
|
|
163
169
|
customElementsDataPath,
|
|
170
|
+
dashboardPath,
|
|
164
171
|
docsPath,
|
|
165
172
|
errorHandlingPath,
|
|
166
173
|
examplesPath,
|
|
@@ -179,6 +186,7 @@ export const path = {
|
|
|
179
186
|
pathPath,
|
|
180
187
|
projectPath,
|
|
181
188
|
routerPath,
|
|
189
|
+
searchEnginePath,
|
|
182
190
|
routesPath,
|
|
183
191
|
scriptsPath,
|
|
184
192
|
securityPath,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.41.0",
|
|
5
5
|
"packageManager": "pnpm@7.16.0",
|
|
6
6
|
"description": "The Stacks path.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"pathe": "^1.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"mkdist": "^0.
|
|
45
|
+
"mkdist": "^1.0.0",
|
|
46
46
|
"typescript": "^4.8.4"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|