@stacksjs/path 0.58.53 → 0.58.55
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
|
@@ -149,6 +149,9 @@ function lintPath(path) {
|
|
|
149
149
|
function eslintPath(path) {
|
|
150
150
|
return lintPath(`eslint/${path || ""}`);
|
|
151
151
|
}
|
|
152
|
+
function jobsPath(path) {
|
|
153
|
+
return resourcesPath(`jobs/${path || ""}`);
|
|
154
|
+
}
|
|
152
155
|
function loggingPath(path) {
|
|
153
156
|
return corePath(`logging/${path || ""}`);
|
|
154
157
|
}
|
|
@@ -345,6 +348,7 @@ var path = {
|
|
|
345
348
|
libraryEntryPath,
|
|
346
349
|
lintPath,
|
|
347
350
|
loggingPath,
|
|
351
|
+
jobsPath,
|
|
348
352
|
modulesPath,
|
|
349
353
|
ormPath,
|
|
350
354
|
objectsPath,
|
|
@@ -468,6 +472,7 @@ export {
|
|
|
468
472
|
layoutsPath,
|
|
469
473
|
langPath,
|
|
470
474
|
join,
|
|
475
|
+
jobsPath,
|
|
471
476
|
isAbsolute,
|
|
472
477
|
healthPath,
|
|
473
478
|
gitPath,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -242,6 +242,10 @@ export function eslintPath(path?: string) {
|
|
|
242
242
|
return lintPath(`eslint/${path || ''}`)
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
export function jobsPath(path?: string) {
|
|
246
|
+
return resourcesPath(`jobs/${path || ''}`)
|
|
247
|
+
}
|
|
248
|
+
|
|
245
249
|
export function loggingPath(path?: string) {
|
|
246
250
|
return corePath(`logging/${path || ''}`)
|
|
247
251
|
}
|
|
@@ -490,6 +494,7 @@ export const path = {
|
|
|
490
494
|
libraryEntryPath,
|
|
491
495
|
lintPath,
|
|
492
496
|
loggingPath,
|
|
497
|
+
jobsPath,
|
|
493
498
|
modulesPath,
|
|
494
499
|
ormPath,
|
|
495
500
|
objectsPath,
|