@stacksjs/path 0.58.59 → 0.58.62
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.js +5 -0
- package/package.json +1 -1
- package/src/index.ts +5 -0
package/dist/index.js
CHANGED
|
@@ -62,6 +62,9 @@ function cliPath(path) {
|
|
|
62
62
|
function cloudPath(path) {
|
|
63
63
|
return corePath(`cloud/${path || ""}`);
|
|
64
64
|
}
|
|
65
|
+
function frameworkCloudPath(path) {
|
|
66
|
+
return frameworkPath(`cloud/${path || ""}`);
|
|
67
|
+
}
|
|
65
68
|
function collectionsPath(path) {
|
|
66
69
|
return corePath(`collections/${path || ""}`);
|
|
67
70
|
}
|
|
@@ -324,6 +327,7 @@ var path = {
|
|
|
324
327
|
chatPath,
|
|
325
328
|
cliPath,
|
|
326
329
|
cloudPath,
|
|
330
|
+
frameworkCloudPath,
|
|
327
331
|
collectionsPath,
|
|
328
332
|
commandsPath,
|
|
329
333
|
componentsPath,
|
|
@@ -487,6 +491,7 @@ export {
|
|
|
487
491
|
gitPath,
|
|
488
492
|
functionsPath,
|
|
489
493
|
frameworkPath,
|
|
494
|
+
frameworkCloudPath,
|
|
490
495
|
format,
|
|
491
496
|
fakerPath,
|
|
492
497
|
extname,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -124,6 +124,10 @@ export function cloudPath(path?: string) {
|
|
|
124
124
|
return corePath(`cloud/${path || ''}`)
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
export function frameworkCloudPath(path?: string) {
|
|
128
|
+
return frameworkPath(`cloud/${path || ''}`)
|
|
129
|
+
}
|
|
130
|
+
|
|
127
131
|
export function collectionsPath(path?: string) {
|
|
128
132
|
return corePath(`collections/${path || ''}`)
|
|
129
133
|
}
|
|
@@ -472,6 +476,7 @@ export const path = {
|
|
|
472
476
|
chatPath,
|
|
473
477
|
cliPath,
|
|
474
478
|
cloudPath,
|
|
479
|
+
frameworkCloudPath,
|
|
475
480
|
collectionsPath,
|
|
476
481
|
commandsPath,
|
|
477
482
|
componentsPath,
|