@stacksjs/path 0.52.10 → 0.53.1

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 CHANGED
@@ -48,7 +48,7 @@ function collectionsPath(path2) {
48
48
  return corePath(`collections/${path2 || ""}`);
49
49
  }
50
50
  function componentsPath(path2) {
51
- return projectPath(`components/${path2 || ""}`);
51
+ return resourcesPath(`components/${path2 || ""}`);
52
52
  }
53
53
  function configPath(path2) {
54
54
  return corePath(`config/${path2 || ""}`);
@@ -105,13 +105,13 @@ function storagePath(path2) {
105
105
  return corePath(`storage/${path2 || ""}`);
106
106
  }
107
107
  function functionsPath(path2) {
108
- return projectPath(`functions/${path2 || ""}`);
108
+ return resourcesPath(`functions/${path2 || ""}`);
109
109
  }
110
110
  function gitPath(path2) {
111
111
  return corePath(`git/${path2 || ""}`);
112
112
  }
113
113
  function langPath(path2) {
114
- return projectPath(`lang/${path2 || ""}`);
114
+ return resourcesPath(`lang/${path2 || ""}`);
115
115
  }
116
116
  function libraryEntryPath(type) {
117
117
  return buildEntriesPath(`${type}.ts`);
@@ -153,7 +153,7 @@ function packageJsonPath(type) {
153
153
  return frameworkPath(`${type}/package.json`);
154
154
  }
155
155
  function pagesPath(path2) {
156
- return appPath(`pages/${path2 || ""}`);
156
+ return resourcesPath(`pages/${path2 || ""}`);
157
157
  }
158
158
  function pathPath(path2) {
159
159
  return corePath(`path/${path2 || ""}`);
@@ -197,6 +197,12 @@ function schedulerPath(path2) {
197
197
  function signalsPath(path2) {
198
198
  return corePath(`signals/${path2 || ""}`);
199
199
  }
200
+ function storesPath(path2) {
201
+ return resourcesPath(`stores/${path2 || ""}`);
202
+ }
203
+ function resourcesPath(path2) {
204
+ return projectPath(`resources/${path2 || ""}`);
205
+ }
200
206
  function routesPath(path2) {
201
207
  return projectPath(`routes/${path2 || ""}`);
202
208
  }
@@ -293,6 +299,7 @@ const path = {
293
299
  queryBuilderPath,
294
300
  queuePath,
295
301
  realtimePath,
302
+ resourcesPath,
296
303
  routerPath,
297
304
  routesPath,
298
305
  searchEnginePath,
@@ -306,6 +313,7 @@ const path = {
306
313
  serverlessPath,
307
314
  stacksPath,
308
315
  stringsPath,
316
+ storesPath,
309
317
  tablesPath,
310
318
  testingPath,
311
319
  testsPath,
@@ -398,6 +406,7 @@ exports.pushPath = pushPath;
398
406
  exports.queryBuilderPath = queryBuilderPath;
399
407
  exports.queuePath = queuePath;
400
408
  exports.realtimePath = realtimePath;
409
+ exports.resourcesPath = resourcesPath;
401
410
  exports.routerPath = routerPath;
402
411
  exports.routesPath = routesPath;
403
412
  exports.runtimePath = runtimePath;
@@ -412,6 +421,7 @@ exports.signalsPath = signalsPath;
412
421
  exports.smsPath = smsPath;
413
422
  exports.stacksPath = stacksPath;
414
423
  exports.storagePath = storagePath;
424
+ exports.storesPath = storesPath;
415
425
  exports.stringsPath = stringsPath;
416
426
  exports.tablesPath = tablesPath;
417
427
  exports.testingPath = testingPath;
package/dist/index.d.ts CHANGED
@@ -106,6 +106,8 @@ declare function settingsPath(path?: string): string;
106
106
  declare function smsPath(path?: string): string;
107
107
  declare function schedulerPath(path?: string): string;
108
108
  declare function signalsPath(path?: string): string;
109
+ declare function storesPath(path?: string): string;
110
+ declare function resourcesPath(path?: string): string;
109
111
  declare function routesPath(path?: string): string;
110
112
  declare function securityPath(path?: string): string;
111
113
  declare function serverPath(path?: string): string;
@@ -174,6 +176,7 @@ declare const path: {
174
176
  queryBuilderPath: typeof queryBuilderPath;
175
177
  queuePath: typeof queuePath;
176
178
  realtimePath: typeof realtimePath;
179
+ resourcesPath: typeof resourcesPath;
177
180
  routerPath: typeof routerPath;
178
181
  routesPath: typeof routesPath;
179
182
  searchEnginePath: typeof searchEnginePath;
@@ -187,6 +190,7 @@ declare const path: {
187
190
  serverlessPath: typeof serverlessPath;
188
191
  stacksPath: typeof stacksPath;
189
192
  stringsPath: typeof stringsPath;
193
+ storesPath: typeof storesPath;
190
194
  tablesPath: typeof tablesPath;
191
195
  testingPath: typeof testingPath;
192
196
  testsPath: typeof testsPath;
@@ -211,4 +215,4 @@ declare const path: {
211
215
  toNamespacedPath: (path: string) => string;
212
216
  };
213
217
 
214
- export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildEntriesPath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, desktopPath, developmentPath, docsPath, domainsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, lintPath, loggingPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectPath, pushPath, queryBuilderPath, queuePath, realtimePath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, smsPath, stacksPath, storagePath, stringsPath, tablesPath, testingPath, testsPath, typesPath, uiPath, userConfigPath, utilsPath, validationPath, xRayPath };
218
+ export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildEntriesPath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, desktopPath, developmentPath, docsPath, domainsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, lintPath, loggingPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectPath, pushPath, queryBuilderPath, queuePath, realtimePath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, tablesPath, testingPath, testsPath, typesPath, uiPath, userConfigPath, utilsPath, validationPath, xRayPath };
package/dist/index.mjs CHANGED
@@ -47,7 +47,7 @@ function collectionsPath(path2) {
47
47
  return corePath(`collections/${path2 || ""}`);
48
48
  }
49
49
  function componentsPath(path2) {
50
- return projectPath(`components/${path2 || ""}`);
50
+ return resourcesPath(`components/${path2 || ""}`);
51
51
  }
52
52
  function configPath(path2) {
53
53
  return corePath(`config/${path2 || ""}`);
@@ -104,13 +104,13 @@ function storagePath(path2) {
104
104
  return corePath(`storage/${path2 || ""}`);
105
105
  }
106
106
  function functionsPath(path2) {
107
- return projectPath(`functions/${path2 || ""}`);
107
+ return resourcesPath(`functions/${path2 || ""}`);
108
108
  }
109
109
  function gitPath(path2) {
110
110
  return corePath(`git/${path2 || ""}`);
111
111
  }
112
112
  function langPath(path2) {
113
- return projectPath(`lang/${path2 || ""}`);
113
+ return resourcesPath(`lang/${path2 || ""}`);
114
114
  }
115
115
  function libraryEntryPath(type) {
116
116
  return buildEntriesPath(`${type}.ts`);
@@ -152,7 +152,7 @@ function packageJsonPath(type) {
152
152
  return frameworkPath(`${type}/package.json`);
153
153
  }
154
154
  function pagesPath(path2) {
155
- return appPath(`pages/${path2 || ""}`);
155
+ return resourcesPath(`pages/${path2 || ""}`);
156
156
  }
157
157
  function pathPath(path2) {
158
158
  return corePath(`path/${path2 || ""}`);
@@ -196,6 +196,12 @@ function schedulerPath(path2) {
196
196
  function signalsPath(path2) {
197
197
  return corePath(`signals/${path2 || ""}`);
198
198
  }
199
+ function storesPath(path2) {
200
+ return resourcesPath(`stores/${path2 || ""}`);
201
+ }
202
+ function resourcesPath(path2) {
203
+ return projectPath(`resources/${path2 || ""}`);
204
+ }
199
205
  function routesPath(path2) {
200
206
  return projectPath(`routes/${path2 || ""}`);
201
207
  }
@@ -292,6 +298,7 @@ const path = {
292
298
  queryBuilderPath,
293
299
  queuePath,
294
300
  realtimePath,
301
+ resourcesPath,
295
302
  routerPath,
296
303
  routesPath,
297
304
  searchEnginePath,
@@ -305,6 +312,7 @@ const path = {
305
312
  serverlessPath,
306
313
  stacksPath,
307
314
  stringsPath,
315
+ storesPath,
308
316
  tablesPath,
309
317
  testingPath,
310
318
  testsPath,
@@ -330,4 +338,4 @@ const path = {
330
338
  toNamespacedPath
331
339
  };
332
340
 
333
- export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildEntriesPath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, desktopPath, developmentPath, docsPath, domainsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, lintPath, loggingPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectPath, pushPath, queryBuilderPath, queuePath, realtimePath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, smsPath, stacksPath, storagePath, stringsPath, tablesPath, testingPath, testsPath, typesPath, uiPath, userConfigPath, utilsPath, validationPath, xRayPath };
341
+ export { actionsPath, aiPath, aliasPath, appPath, arraysPath, authPath, buildEnginePath, buildEntriesPath, buildPath, cachePath, chatPath, cliPath, cloudPath, collectionsPath, componentsPath, configPath, corePath, customElementsDataPath, dashboardPath, databasePath, desktopPath, developmentPath, docsPath, domainsPath, emailPath, errorHandlingPath, eventsPath, examplesPath, fakerPath, frameworkPath, functionsPath, gitPath, healthPath, langPath, libraryEntryPath, lintPath, loggingPath, modelsPath, modulesPath, notificationsPath, objectsPath, onboardingPath, ormPath, packageJsonPath, pagesPath, path, pathPath, paymentsPath, projectPath, pushPath, queryBuilderPath, queuePath, realtimePath, resourcesPath, routerPath, routesPath, runtimePath, schedulerPath, scriptsPath, searchEnginePath, securityPath, serverPath, serverlessPath, settingsPath, signalsPath, smsPath, stacksPath, storagePath, storesPath, stringsPath, tablesPath, testingPath, testsPath, typesPath, uiPath, userConfigPath, 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.52.10",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks path.",
7
7
  "author": "Chris Breuer",
@@ -45,8 +45,8 @@
45
45
  "pathe": "^1.1.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@stacksjs/alias": "0.52.10",
49
- "@stacksjs/development": "0.52.10"
48
+ "@stacksjs/alias": "0.53.1",
49
+ "@stacksjs/development": "0.53.1"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "unbuild",