@stacksjs/path 0.58.48 → 0.58.49
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/package.json +3 -2
- package/src/index.ts +554 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.49",
|
|
5
5
|
"description": "The Stacks path.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
],
|
|
38
38
|
"files": [
|
|
39
39
|
"README.md",
|
|
40
|
-
"dist"
|
|
40
|
+
"dist",
|
|
41
|
+
"src"
|
|
41
42
|
],
|
|
42
43
|
"scripts": {
|
|
43
44
|
"build": "bun --bun build.ts",
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,554 @@
|
|
|
1
|
+
import process from 'node:process'
|
|
2
|
+
import { basename, delimiter, dirname, extname, format, isAbsolute, join, normalize, normalizeString, parse, relative, resolve, sep, toNamespacedPath } from 'pathe'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns the path to the `actions` directory. The actions directory
|
|
6
|
+
* contains the core Stacks' actions. An action
|
|
7
|
+
*
|
|
8
|
+
* @param path - relative path to the file or directory
|
|
9
|
+
* @returns string - absolute path to the file or directory
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { buildPath } from '@stacks/paths'
|
|
13
|
+
*
|
|
14
|
+
* buildPath('functions.stx')
|
|
15
|
+
* buildPath('any-path.ts')
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export function actionsPath(path?: string) {
|
|
19
|
+
return corePath(`actions/src/${path || ''}`)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function relativeActionsPath(path?: string) {
|
|
23
|
+
return relative(projectPath(), actionsPath(path))
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Returns the path to the `ai` directory. The AI directory
|
|
28
|
+
* contains the core Stacks' AI logic which currently
|
|
29
|
+
* is a wrapper of the OpenAI API.
|
|
30
|
+
*
|
|
31
|
+
* @param path - relative path to the file or directory
|
|
32
|
+
* @returns string - absolute path to the file or directory
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* import { aiPath } from '@stacks/paths'
|
|
37
|
+
*
|
|
38
|
+
* console.log('path is', aiPath())
|
|
39
|
+
* // path is /Users/chrisbreuer/Code/stacks/storage/stacks/src/ai
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export function aiPath(path?: string) {
|
|
43
|
+
return corePath(`ai/${path || ''}`)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function assetsPath(path?: string) {
|
|
47
|
+
return resourcesPath(`assets/${path || ''}`)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function aliasPath() {
|
|
51
|
+
return corePath('alias/src/index.ts')
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function buddyPath(path?: string, options?: { relative?: boolean }) {
|
|
55
|
+
const absolutePath = corePath(`buddy/${path || ''}`)
|
|
56
|
+
|
|
57
|
+
if (options?.relative)
|
|
58
|
+
return relative(process.cwd(), absolutePath)
|
|
59
|
+
|
|
60
|
+
return absolutePath
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function runtimePath(path?: string) {
|
|
64
|
+
return frameworkPath(`buddy/${path || ''}`)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function analyticsPath(path?: string) {
|
|
68
|
+
return corePath(`analytics/${path || ''}`)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function arraysPath(path?: string) {
|
|
72
|
+
return corePath(`arrays/${path || ''}`)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function appPath(path?: string) {
|
|
76
|
+
return projectPath(`app/${path || ''}`)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function authPath(path?: string) {
|
|
80
|
+
return corePath(`auth/${path || ''}`)
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Returns the path to the build directory. The build directory
|
|
85
|
+
* contains Stacks' build engine & its tooling integrations.
|
|
86
|
+
*
|
|
87
|
+
* @param path string - relative path to the file or directory
|
|
88
|
+
* @returns string - absolute path to the file or directory
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* buildPath('functions.stx')
|
|
92
|
+
* buildPath('components.ts')
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export function buildPath(path?: string) {
|
|
96
|
+
return corePath(`build/${path || ''}`)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function buildEnginePath(path?: string) {
|
|
100
|
+
return buildPath(`${path || ''}`)
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function libsPath(path?: string) {
|
|
104
|
+
return frameworkPath(`libs/${path || ''}`)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function libsEntriesPath(path?: string) {
|
|
108
|
+
return libsPath(`entries/${path || ''}`)
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function cachePath(path?: string) {
|
|
112
|
+
return corePath(`cache/${path || ''}`)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function chatPath(path?: string) {
|
|
116
|
+
return corePath(`chat/${path || ''}`)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function cliPath(path?: string) {
|
|
120
|
+
return corePath(`cli/${path || ''}`)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function cloudPath(path?: string) {
|
|
124
|
+
return corePath(`cloud/${path || ''}`)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function collectionsPath(path?: string) {
|
|
128
|
+
return corePath(`collections/${path || ''}`)
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function componentsPath(path?: string) {
|
|
132
|
+
return resourcesPath(`components/${path || ''}`)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function configPath(path?: string) {
|
|
136
|
+
return corePath(`config/${path || ''}`)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function corePath(path?: string) {
|
|
140
|
+
return frameworkPath(`core/${path || ''}`)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function customElementsDataPath() {
|
|
144
|
+
return frameworkPath('core/custom-elements.json')
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function databasePath(path?: string) {
|
|
148
|
+
return corePath(`database/${path || ''}`)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function datetimePath(path?: string) {
|
|
152
|
+
return corePath(`datetime/${path || ''}`)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function developmentPath(path?: string) {
|
|
156
|
+
return corePath(`development/${path || ''}`)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function desktopPath(path?: string) {
|
|
160
|
+
return corePath(`desktop/${path || ''}`)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function docsPath(path?: string) {
|
|
164
|
+
return corePath(`docs/${path || ''}`)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function dnsPath(path?: string) {
|
|
168
|
+
return corePath(`domains/${path || ''}`)
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function emailPath(path?: string) {
|
|
172
|
+
return notificationsPath(`email/${path || ''}`)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function enumsPath(path?: string) {
|
|
176
|
+
return corePath(`enums/${path || ''}`)
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export function errorHandlingPath(path?: string) {
|
|
180
|
+
return corePath(`error-handling/${path || ''}`)
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export function eventsPath(path?: string) {
|
|
184
|
+
return corePath(`events/${path || ''}`)
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function coreEnvPath(path?: string) {
|
|
188
|
+
return corePath(`env/${path || ''}`)
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function examplesPath(type: 'vue-components' | 'web-components') {
|
|
192
|
+
return frameworkPath(`examples/${type || ''}`)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export function fakerPath(path?: string) {
|
|
196
|
+
return corePath(`faker/${path || ''}`)
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export function frameworkPath(path?: string, options?: { relative?: boolean, cwd?: string }) {
|
|
200
|
+
const absolutePath = projectStoragePath(`framework/${path || ''}`)
|
|
201
|
+
|
|
202
|
+
if (options?.relative)
|
|
203
|
+
return relative(options.cwd || process.cwd(), absolutePath)
|
|
204
|
+
|
|
205
|
+
return absolutePath
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export function healthPath(path?: string) {
|
|
209
|
+
return corePath(`health/${path || ''}`)
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export function functionsPath(path?: string) {
|
|
213
|
+
return resourcesPath(`functions/${path || ''}`)
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export function gitPath(path?: string) {
|
|
217
|
+
return corePath(`git/${path || ''}`)
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export function langPath(path?: string) {
|
|
221
|
+
return projectPath(`lang/${path || ''}`)
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export function layoutsPath(path?: string, options?: { relative?: boolean }) {
|
|
225
|
+
const absolutePath = resourcesPath(`layouts/${path || ''}`)
|
|
226
|
+
if (options?.relative)
|
|
227
|
+
return relative(process.cwd(), absolutePath)
|
|
228
|
+
|
|
229
|
+
return absolutePath
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type LibraryType = 'vue-components' | 'web-components' | 'functions'
|
|
233
|
+
export function libraryEntryPath(type: LibraryType) {
|
|
234
|
+
return libsEntriesPath(`${type}.ts`)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export function lintPath(path?: string) {
|
|
238
|
+
return corePath(`lint/${path || ''}`)
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export function eslintPath(path?: string) {
|
|
242
|
+
return lintPath(`eslint/${path || ''}`)
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export function loggingPath(path?: string) {
|
|
246
|
+
return corePath(`logging/${path || ''}`)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export function logsPath(path?: string) {
|
|
250
|
+
return projectStoragePath(`logs/${path || ''}`)
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export function modelsPath(path?: string) {
|
|
254
|
+
return appPath(`models/${path || ''}`)
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export function modulesPath(path?: string) {
|
|
258
|
+
return resourcesPath(`modules/${path || ''}`)
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export function notificationsPath(path?: string) {
|
|
262
|
+
return corePath(`notifications/${path || ''}`)
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function ormPath(path?: string) {
|
|
266
|
+
return corePath(`orm/${path || ''}`)
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export function objectsPath(path?: string) {
|
|
270
|
+
return corePath(`objects/${path || ''}`)
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export function onboardingPath(path?: string) {
|
|
274
|
+
return projectPath(`${path || 'views/dashboard/onboarding'}`)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export function packageJsonPath(type: 'vue-components' | 'web-components' | 'functions') {
|
|
278
|
+
if (type === 'vue-components')
|
|
279
|
+
return frameworkPath('libs/components/vue/package.json')
|
|
280
|
+
|
|
281
|
+
if (type === 'web-components')
|
|
282
|
+
return frameworkPath('libs/components/web/package.json')
|
|
283
|
+
|
|
284
|
+
return frameworkPath(`libs/${type}/package.json`)
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export function viewsPath(path?: string) {
|
|
288
|
+
return resourcesPath(`views/${path || ''}`)
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export function pathPath(path?: string) {
|
|
292
|
+
return corePath(`path/${path || ''}`)
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export function paymentsPath(path?: string) {
|
|
296
|
+
return corePath(`payments/${path || ''}`)
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export function projectPath(filePath = '') {
|
|
300
|
+
let path = process.cwd()
|
|
301
|
+
|
|
302
|
+
// need to also account for this being called in the ./storage/framework folder
|
|
303
|
+
while (path.includes('storage'))
|
|
304
|
+
path = resolve(path, '..')
|
|
305
|
+
|
|
306
|
+
return resolve(path, filePath)
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export function projectConfigPath(path?: string) {
|
|
310
|
+
return projectPath(`config/${path || ''}`)
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export function projectStoragePath(path?: string): string {
|
|
314
|
+
return projectPath(`storage/${path || ''}`)
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export function publicPath(path?: string) {
|
|
318
|
+
return projectPath(`public/${path || ''}`)
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export function pushPath(path?: string) {
|
|
322
|
+
return notificationsPath(`push/${path || ''}`)
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export function queryBuilderPath(path?: string) {
|
|
326
|
+
return corePath(`query-builder/${path || ''}`)
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export function queuePath(path?: string) {
|
|
330
|
+
return corePath(`queue/${path || ''}`)
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export function realtimePath(path?: string) {
|
|
334
|
+
return corePath(`realtime/${path || ''}`)
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export function resourcesPath(path?: string) {
|
|
338
|
+
return projectPath(`resources/${path || ''}`)
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export function replPath(path?: string) {
|
|
342
|
+
return corePath(`repl/${path || ''}`)
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export function routerPath(path?: string) {
|
|
346
|
+
return corePath(`router/${path || ''}`)
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export function routesPath(path?: string) {
|
|
350
|
+
return projectPath(`routes/${path || ''}`)
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export function searchEnginePath(path?: string) {
|
|
354
|
+
return corePath(`search-engine/${path || ''}`)
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export function settingsPath(path?: string) {
|
|
358
|
+
return projectPath(`${path || 'views/dashboard/settings'}`)
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export function scriptsPath(path?: string) {
|
|
362
|
+
return frameworkPath(`scripts/${path || ''}`)
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export function schedulerPath(path?: string) {
|
|
366
|
+
return corePath(`scheduler/${path || ''}`)
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export function signalsPath(path?: string) {
|
|
370
|
+
return corePath(`signals/${path || ''}`)
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export function slugPath(path?: string) {
|
|
374
|
+
return corePath(`slug/${path || ''}`)
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export function smsPath(path?: string) {
|
|
378
|
+
return notificationsPath(`sms/${path || ''}`)
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export function storagePath(path?: string) {
|
|
382
|
+
return corePath(`storage/${path || ''}`)
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export function storesPath(path?: string) {
|
|
386
|
+
return resourcesPath(`stores/${path || ''}`)
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export function securityPath(path?: string) {
|
|
390
|
+
return corePath(`security/${path || ''}`)
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export function serverPath(path?: string) {
|
|
394
|
+
return corePath(`server/${path || ''}`)
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export function serverlessPath(path?: string) {
|
|
398
|
+
return corePath(`serverless/${path || ''}`)
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export function stacksPath(path?: string) {
|
|
402
|
+
return frameworkPath(`src/${path || ''}`)
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export function stringsPath(path?: string) {
|
|
406
|
+
return corePath(`strings/${path || ''}`)
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export function testingPath(path?: string) {
|
|
410
|
+
return corePath(`testing/${path || ''}`)
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export function tinkerPath(path?: string) {
|
|
414
|
+
return corePath(`tinker/${path || ''}`)
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export function testsPath(path?: string) {
|
|
418
|
+
return frameworkPath(`tests/${path || ''}`)
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export function typesPath(path?: string) {
|
|
422
|
+
return corePath(`types/${path || ''}`)
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export function uiPath(path?: string) {
|
|
426
|
+
return corePath(`ui/${path || ''}`)
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export function utilsPath(path?: string) {
|
|
430
|
+
return corePath(`utils/${path || ''}`)
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export function validationPath(path?: string) {
|
|
434
|
+
return corePath(`validation/${path || ''}`)
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export function vitePath(path?: string) {
|
|
438
|
+
return corePath(`vite/${path || ''}`)
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export function xRayPath(path?: string) {
|
|
442
|
+
return frameworkPath(`stacks/x-ray/${path || ''}`)
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export const path = {
|
|
446
|
+
actionsPath,
|
|
447
|
+
aiPath,
|
|
448
|
+
assetsPath,
|
|
449
|
+
relativeActionsPath,
|
|
450
|
+
aliasPath,
|
|
451
|
+
analyticsPath,
|
|
452
|
+
arraysPath,
|
|
453
|
+
appPath,
|
|
454
|
+
authPath,
|
|
455
|
+
buddyPath,
|
|
456
|
+
buildEnginePath,
|
|
457
|
+
libsEntriesPath,
|
|
458
|
+
buildPath,
|
|
459
|
+
cachePath,
|
|
460
|
+
chatPath,
|
|
461
|
+
cliPath,
|
|
462
|
+
cloudPath,
|
|
463
|
+
collectionsPath,
|
|
464
|
+
componentsPath,
|
|
465
|
+
configPath,
|
|
466
|
+
projectConfigPath,
|
|
467
|
+
corePath,
|
|
468
|
+
customElementsDataPath,
|
|
469
|
+
databasePath,
|
|
470
|
+
datetimePath,
|
|
471
|
+
developmentPath,
|
|
472
|
+
desktopPath,
|
|
473
|
+
docsPath,
|
|
474
|
+
dnsPath,
|
|
475
|
+
emailPath,
|
|
476
|
+
enumsPath,
|
|
477
|
+
errorHandlingPath,
|
|
478
|
+
eventsPath,
|
|
479
|
+
coreEnvPath,
|
|
480
|
+
healthPath,
|
|
481
|
+
examplesPath,
|
|
482
|
+
fakerPath,
|
|
483
|
+
frameworkPath,
|
|
484
|
+
storagePath,
|
|
485
|
+
functionsPath,
|
|
486
|
+
gitPath,
|
|
487
|
+
langPath,
|
|
488
|
+
layoutsPath,
|
|
489
|
+
libsPath,
|
|
490
|
+
libraryEntryPath,
|
|
491
|
+
lintPath,
|
|
492
|
+
loggingPath,
|
|
493
|
+
modulesPath,
|
|
494
|
+
ormPath,
|
|
495
|
+
objectsPath,
|
|
496
|
+
onboardingPath,
|
|
497
|
+
notificationsPath,
|
|
498
|
+
packageJsonPath,
|
|
499
|
+
viewsPath,
|
|
500
|
+
pathPath,
|
|
501
|
+
paymentsPath,
|
|
502
|
+
projectPath,
|
|
503
|
+
projectStoragePath,
|
|
504
|
+
publicPath,
|
|
505
|
+
pushPath,
|
|
506
|
+
queryBuilderPath,
|
|
507
|
+
queuePath,
|
|
508
|
+
realtimePath,
|
|
509
|
+
resourcesPath,
|
|
510
|
+
replPath,
|
|
511
|
+
routerPath,
|
|
512
|
+
routesPath,
|
|
513
|
+
runtimePath,
|
|
514
|
+
searchEnginePath,
|
|
515
|
+
schedulerPath,
|
|
516
|
+
settingsPath,
|
|
517
|
+
smsPath,
|
|
518
|
+
signalsPath,
|
|
519
|
+
slugPath,
|
|
520
|
+
scriptsPath,
|
|
521
|
+
securityPath,
|
|
522
|
+
serverPath,
|
|
523
|
+
serverlessPath,
|
|
524
|
+
stacksPath,
|
|
525
|
+
stringsPath,
|
|
526
|
+
storesPath,
|
|
527
|
+
testingPath,
|
|
528
|
+
testsPath,
|
|
529
|
+
tinkerPath,
|
|
530
|
+
typesPath,
|
|
531
|
+
uiPath,
|
|
532
|
+
utilsPath,
|
|
533
|
+
validationPath,
|
|
534
|
+
vitePath,
|
|
535
|
+
xRayPath,
|
|
536
|
+
|
|
537
|
+
// path utils
|
|
538
|
+
basename,
|
|
539
|
+
delimiter,
|
|
540
|
+
dirname,
|
|
541
|
+
extname,
|
|
542
|
+
format,
|
|
543
|
+
isAbsolute,
|
|
544
|
+
join,
|
|
545
|
+
normalize,
|
|
546
|
+
normalizeString,
|
|
547
|
+
parse,
|
|
548
|
+
relative,
|
|
549
|
+
resolve,
|
|
550
|
+
sep,
|
|
551
|
+
toNamespacedPath,
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export { basename, delimiter, dirname, extname, format, isAbsolute, join, normalize, normalizeString, parse, relative, resolve, sep, toNamespacedPath }
|