@stacksjs/path 0.56.23 → 0.56.27
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.cjs +10 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +9 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -188,6 +188,9 @@ function realtimePath(path2) {
|
|
|
188
188
|
function resourcesPath(path2) {
|
|
189
189
|
return projectPath(`resources/${path2 || ""}`);
|
|
190
190
|
}
|
|
191
|
+
function replPath(path2) {
|
|
192
|
+
return corePath(`repl/${path2 || ""}`);
|
|
193
|
+
}
|
|
191
194
|
function routerPath(path2) {
|
|
192
195
|
return corePath(`router/${path2 || ""}`);
|
|
193
196
|
}
|
|
@@ -239,6 +242,9 @@ function stringsPath(path2) {
|
|
|
239
242
|
function testingPath(path2) {
|
|
240
243
|
return corePath(`testing/${path2 || ""}`);
|
|
241
244
|
}
|
|
245
|
+
function tinkerPath(path2) {
|
|
246
|
+
return corePath(`tinker/${path2 || ""}`);
|
|
247
|
+
}
|
|
242
248
|
function testsPath(path2) {
|
|
243
249
|
return frameworkPath(`tests/${path2 || ""}`);
|
|
244
250
|
}
|
|
@@ -314,6 +320,7 @@ const path = {
|
|
|
314
320
|
queuePath,
|
|
315
321
|
realtimePath,
|
|
316
322
|
resourcesPath,
|
|
323
|
+
replPath,
|
|
317
324
|
routerPath,
|
|
318
325
|
routesPath,
|
|
319
326
|
searchEnginePath,
|
|
@@ -331,6 +338,7 @@ const path = {
|
|
|
331
338
|
storesPath,
|
|
332
339
|
testingPath,
|
|
333
340
|
testsPath,
|
|
341
|
+
tinkerPath,
|
|
334
342
|
typesPath,
|
|
335
343
|
uiPath,
|
|
336
344
|
utilsPath,
|
|
@@ -425,6 +433,7 @@ exports.pushPath = pushPath;
|
|
|
425
433
|
exports.queryBuilderPath = queryBuilderPath;
|
|
426
434
|
exports.queuePath = queuePath;
|
|
427
435
|
exports.realtimePath = realtimePath;
|
|
436
|
+
exports.replPath = replPath;
|
|
428
437
|
exports.resourcesPath = resourcesPath;
|
|
429
438
|
exports.routerPath = routerPath;
|
|
430
439
|
exports.routesPath = routesPath;
|
|
@@ -445,6 +454,7 @@ exports.storesPath = storesPath;
|
|
|
445
454
|
exports.stringsPath = stringsPath;
|
|
446
455
|
exports.testingPath = testingPath;
|
|
447
456
|
exports.testsPath = testsPath;
|
|
457
|
+
exports.tinkerPath = tinkerPath;
|
|
448
458
|
exports.typesPath = typesPath;
|
|
449
459
|
exports.uiPath = uiPath;
|
|
450
460
|
exports.utilsPath = utilsPath;
|
package/dist/index.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ declare function queryBuilderPath(path?: string): string;
|
|
|
104
104
|
declare function queuePath(path?: string): string;
|
|
105
105
|
declare function realtimePath(path?: string): string;
|
|
106
106
|
declare function resourcesPath(path?: string): string;
|
|
107
|
+
declare function replPath(path?: string): string;
|
|
107
108
|
declare function routerPath(path?: string): string;
|
|
108
109
|
declare function routesPath(path?: string): string;
|
|
109
110
|
declare function searchEnginePath(path?: string): string;
|
|
@@ -121,6 +122,7 @@ declare function serverlessPath(path?: string): string;
|
|
|
121
122
|
declare function stacksPath(path?: string): string;
|
|
122
123
|
declare function stringsPath(path?: string): string;
|
|
123
124
|
declare function testingPath(path?: string): string;
|
|
125
|
+
declare function tinkerPath(path?: string): string;
|
|
124
126
|
declare function testsPath(path?: string): string;
|
|
125
127
|
declare function typesPath(path?: string): string;
|
|
126
128
|
declare function uiPath(path?: string): string;
|
|
@@ -184,6 +186,7 @@ declare const path: {
|
|
|
184
186
|
queuePath: typeof queuePath;
|
|
185
187
|
realtimePath: typeof realtimePath;
|
|
186
188
|
resourcesPath: typeof resourcesPath;
|
|
189
|
+
replPath: typeof replPath;
|
|
187
190
|
routerPath: typeof routerPath;
|
|
188
191
|
routesPath: typeof routesPath;
|
|
189
192
|
searchEnginePath: typeof searchEnginePath;
|
|
@@ -201,6 +204,7 @@ declare const path: {
|
|
|
201
204
|
storesPath: typeof storesPath;
|
|
202
205
|
testingPath: typeof testingPath;
|
|
203
206
|
testsPath: typeof testsPath;
|
|
207
|
+
tinkerPath: typeof tinkerPath;
|
|
204
208
|
typesPath: typeof typesPath;
|
|
205
209
|
uiPath: typeof uiPath;
|
|
206
210
|
utilsPath: typeof utilsPath;
|
|
@@ -222,4 +226,4 @@ declare const path: {
|
|
|
222
226
|
toNamespacedPath: (path: string) => string;
|
|
223
227
|
};
|
|
224
228
|
|
|
225
|
-
export { LibraryType, actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, datetimePath, desktopPath, developmentPath, dnsPath, docsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, libsEntriesPath, libsPath, lintPath, loggingPath, logsPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectConfigPath, projectPath, projectStoragePath, pushPath, queryBuilderPath, queuePath, realtimePath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, slugPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, testingPath, testsPath, typesPath, uiPath, utilsPath, validationPath, xRayPath };
|
|
229
|
+
export { LibraryType, actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, datetimePath, desktopPath, developmentPath, dnsPath, docsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, libsEntriesPath, libsPath, lintPath, loggingPath, logsPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectConfigPath, projectPath, projectStoragePath, pushPath, queryBuilderPath, queuePath, realtimePath, replPath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, slugPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, testingPath, testsPath, tinkerPath, typesPath, uiPath, utilsPath, validationPath, xRayPath };
|
package/dist/index.mjs
CHANGED
|
@@ -187,6 +187,9 @@ function realtimePath(path2) {
|
|
|
187
187
|
function resourcesPath(path2) {
|
|
188
188
|
return projectPath(`resources/${path2 || ""}`);
|
|
189
189
|
}
|
|
190
|
+
function replPath(path2) {
|
|
191
|
+
return corePath(`repl/${path2 || ""}`);
|
|
192
|
+
}
|
|
190
193
|
function routerPath(path2) {
|
|
191
194
|
return corePath(`router/${path2 || ""}`);
|
|
192
195
|
}
|
|
@@ -238,6 +241,9 @@ function stringsPath(path2) {
|
|
|
238
241
|
function testingPath(path2) {
|
|
239
242
|
return corePath(`testing/${path2 || ""}`);
|
|
240
243
|
}
|
|
244
|
+
function tinkerPath(path2) {
|
|
245
|
+
return corePath(`tinker/${path2 || ""}`);
|
|
246
|
+
}
|
|
241
247
|
function testsPath(path2) {
|
|
242
248
|
return frameworkPath(`tests/${path2 || ""}`);
|
|
243
249
|
}
|
|
@@ -313,6 +319,7 @@ const path = {
|
|
|
313
319
|
queuePath,
|
|
314
320
|
realtimePath,
|
|
315
321
|
resourcesPath,
|
|
322
|
+
replPath,
|
|
316
323
|
routerPath,
|
|
317
324
|
routesPath,
|
|
318
325
|
searchEnginePath,
|
|
@@ -330,6 +337,7 @@ const path = {
|
|
|
330
337
|
storesPath,
|
|
331
338
|
testingPath,
|
|
332
339
|
testsPath,
|
|
340
|
+
tinkerPath,
|
|
333
341
|
typesPath,
|
|
334
342
|
uiPath,
|
|
335
343
|
utilsPath,
|
|
@@ -352,4 +360,4 @@ const path = {
|
|
|
352
360
|
toNamespacedPath
|
|
353
361
|
};
|
|
354
362
|
|
|
355
|
-
export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, datetimePath, desktopPath, developmentPath, dnsPath, docsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, libsEntriesPath, libsPath, lintPath, loggingPath, logsPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectConfigPath, projectPath, projectStoragePath, pushPath, queryBuilderPath, queuePath, realtimePath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, slugPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, testingPath, testsPath, typesPath, uiPath, utilsPath, validationPath, xRayPath };
|
|
363
|
+
export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, datetimePath, desktopPath, developmentPath, dnsPath, docsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, libsEntriesPath, libsPath, lintPath, loggingPath, logsPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectConfigPath, projectPath, projectStoragePath, pushPath, queryBuilderPath, queuePath, realtimePath, replPath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, slugPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, testingPath, testsPath, tinkerPath, typesPath, uiPath, utilsPath, validationPath, xRayPath };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.56.
|
|
4
|
+
"version": "0.56.27",
|
|
5
5
|
"packageManager": "pnpm@8.6.5",
|
|
6
6
|
"description": "The Stacks path.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"import": "./dist/index.mjs"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"main": "dist/index.mjs",
|
|
35
34
|
"module": "dist/index.mjs",
|
|
36
35
|
"types": "dist/index.d.ts",
|
|
37
36
|
"contributors": [
|
|
@@ -45,7 +44,8 @@
|
|
|
45
44
|
"pathe": "^1.1.1"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"
|
|
47
|
+
"typescript": "^5.1.6",
|
|
48
|
+
"unbuild": "^1.2.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "unbuild",
|