@stacksjs/path 0.59.3 → 0.59.4

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.
Files changed (2) hide show
  1. package/dist/paths.d.ts +18 -19
  2. package/package.json +2 -2
package/dist/paths.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { basename, delimiter, dirname, extname, isAbsolute, join, normalize, relative, resolve, sep, toNamespacedPath } from 'node:path';
3
2
  /**
4
3
  * Returns the path to the `actions` directory. The `actions` directory
@@ -14,7 +13,7 @@ import { basename, delimiter, dirname, extname, isAbsolute, join, normalize, rel
14
13
  * ```
15
14
  */
16
15
  export declare function actionsPath(path?: string): string;
17
- export declare function relativeActionsPath(path?: string): string;
16
+ export declare function relativeActionsPath(path?: string): any;
18
17
  export declare function userActionsPath(path?: string): string;
19
18
  /**
20
19
  * Returns the path to the user-defined `Jobs` directory.
@@ -121,7 +120,7 @@ export declare function aiPath(path?: string): string;
121
120
  * console.log(assetsPath('images/logo.png')) // Outputs the absolute path to 'images/logo.png' within the `assets` directory.
122
121
  * ```
123
122
  */
124
- export declare function assetsPath(path?: string): string;
123
+ export declare function assetsPath(path?: string): any;
125
124
  /**
126
125
  * Returns the path to the `alias` directory within the core directory.
127
126
  *
@@ -151,7 +150,7 @@ export declare function aliasPath(): string;
151
150
  */
152
151
  export declare function buddyPath(path?: string, options?: {
153
152
  relative?: boolean;
154
- }): string;
153
+ }): any;
155
154
  /**
156
155
  * Returns the path to the `runtime` directory within the framework directory.
157
156
  *
@@ -666,7 +665,7 @@ export declare function realtimePath(path?: string): string;
666
665
  */
667
666
  export declare function resourcesPath(path?: string, options?: {
668
667
  relative?: boolean;
669
- }): string;
668
+ }): any;
670
669
  /**
671
670
  * Returns the path to the `repl` directory within the core directory.
672
671
  *
@@ -691,7 +690,7 @@ export declare function routerPath(path?: string): string;
691
690
  */
692
691
  export declare function routesPath(path?: string, options?: {
693
692
  relative?: boolean;
694
- }): string;
693
+ }): any;
695
694
  /**
696
695
  * Returns the path to the `search-engine` directory within the core directory.
697
696
  *
@@ -747,7 +746,7 @@ export declare function storagePath(path?: string): string;
747
746
  * @param path - The relative path to the file or directory within the `stores` directory.
748
747
  * @returns The absolute path to the specified file or directory within the `stores` directory.
749
748
  */
750
- export declare function storesPath(path?: string): string;
749
+ export declare function storesPath(path?: string): any;
751
750
  /**
752
751
  * Returns the path to the `security` directory within the core directory.
753
752
  *
@@ -964,17 +963,17 @@ export declare const path: {
964
963
  vitePath: typeof vitePath;
965
964
  xRayPath: typeof xRayPath;
966
965
  homeDir: typeof homeDir;
967
- basename: (path: string, suffix?: string | undefined) => string;
968
- delimiter: ";" | ":";
969
- dirname: (path: string) => string;
970
- extname: (path: string) => string;
971
- isAbsolute: (path: string) => boolean;
972
- join: (...paths: string[]) => string;
973
- normalize: (path: string) => string;
974
- relative: (from: string, to: string) => string;
975
- resolve: (...paths: string[]) => string;
976
- parse: (path: string) => import("path").ParsedPath;
977
- sep: "/" | "\\";
978
- toNamespacedPath: (path: string) => string;
966
+ basename: any;
967
+ delimiter: any;
968
+ dirname: any;
969
+ extname: any;
970
+ isAbsolute: any;
971
+ join: any;
972
+ normalize: any;
973
+ relative: any;
974
+ resolve: any;
975
+ parse: any;
976
+ sep: any;
977
+ toNamespacedPath: any;
979
978
  };
980
979
  export { basename, delimiter, dirname, extname, isAbsolute, join, normalize, relative, resolve, sep, toNamespacedPath, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.59.3",
4
+ "version": "0.59.4",
5
5
  "description": "The Stacks path.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "scripts": {
43
43
  "build": "bun --bun build.ts",
44
44
  "typecheck": "bun --bun tsc --noEmit",
45
- "prepublishOnly": "bun --bun run build"
45
+ "prepublishOnly": "bun run build"
46
46
  },
47
47
  "dependencies": {
48
48
  "@stacksjs/logging": "latest",