@stacksjs/path 0.42.2 → 0.43.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.d.ts +3 -1
- package/dist/index.mjs +4 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { basename, delimiter, dirname, extname, format, isAbsolute, join, normal
|
|
|
3
3
|
* Returns the path to the `actions` directory. The actions directory
|
|
4
4
|
* contains the core Stacks' actions. An action
|
|
5
5
|
*
|
|
6
|
-
* @param path
|
|
6
|
+
* @param path - relative path to the file or directory
|
|
7
7
|
* @returns string - absolute path to the file or directory
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
@@ -55,6 +55,7 @@ export declare function libraryEntryPath(type: 'vue-components' | 'web-component
|
|
|
55
55
|
export declare function lintPath(path?: string): any;
|
|
56
56
|
export declare function xRayPath(path?: string): any;
|
|
57
57
|
export declare function modulesPath(path?: string): any;
|
|
58
|
+
export declare function notificationsPath(path?: string): any;
|
|
58
59
|
export declare function objectsPath(path?: string): any;
|
|
59
60
|
export declare function packageJsonPath(type: 'vue-components' | 'web-components' | 'functions'): any;
|
|
60
61
|
export declare function pagesPath(path?: string): any;
|
|
@@ -105,6 +106,7 @@ export declare const path: {
|
|
|
105
106
|
xRayPath: typeof xRayPath;
|
|
106
107
|
modulesPath: typeof modulesPath;
|
|
107
108
|
objectsPath: typeof objectsPath;
|
|
109
|
+
notificationsPath: typeof notificationsPath;
|
|
108
110
|
packageJsonPath: typeof packageJsonPath;
|
|
109
111
|
pagesPath: typeof pagesPath;
|
|
110
112
|
pathPath: typeof pathPath;
|
package/dist/index.mjs
CHANGED
|
@@ -89,6 +89,9 @@ export function xRayPath(path2) {
|
|
|
89
89
|
export function modulesPath(path2) {
|
|
90
90
|
return corePath(`modules/${path2 || ""}`);
|
|
91
91
|
}
|
|
92
|
+
export function notificationsPath(path2) {
|
|
93
|
+
return corePath(`notifications/${path2 || ""}`);
|
|
94
|
+
}
|
|
92
95
|
export function objectsPath(path2) {
|
|
93
96
|
return corePath(`objects/${path2 || ""}`);
|
|
94
97
|
}
|
|
@@ -192,6 +195,7 @@ export const path = {
|
|
|
192
195
|
xRayPath,
|
|
193
196
|
modulesPath,
|
|
194
197
|
objectsPath,
|
|
198
|
+
notificationsPath,
|
|
195
199
|
packageJsonPath,
|
|
196
200
|
pagesPath,
|
|
197
201
|
pathPath,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.17.
|
|
4
|
+
"version": "0.43.1",
|
|
5
|
+
"packageManager": "pnpm@7.17.1",
|
|
6
6
|
"description": "The Stacks path.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.17.
|
|
39
|
+
"pnpm": ">=7.17.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"pathe": "^1.0.0"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"mkdist": "^1.0.0",
|
|
46
46
|
"typescript": "^4.9.3",
|
|
47
|
-
"@stacksjs/testing": "0.
|
|
47
|
+
"@stacksjs/testing": "0.43.1"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "mkdist -d",
|