@stacksjs/path 0.47.4 → 0.48.2
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 +2 -0
- package/dist/index.mjs +4 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export declare function serverlessPath(path?: string): any;
|
|
|
93
93
|
export declare function stacksPath(path?: string): any;
|
|
94
94
|
export declare function tablesPath(path?: string): any;
|
|
95
95
|
export declare function testingPath(path?: string): any;
|
|
96
|
+
export declare function testsPath(path?: string): any;
|
|
96
97
|
export declare function typesPath(path?: string): any;
|
|
97
98
|
export declare function stringsPath(path?: string): any;
|
|
98
99
|
export declare function scriptsPath(path?: string): any;
|
|
@@ -152,6 +153,7 @@ export declare const path: {
|
|
|
152
153
|
stringsPath: typeof stringsPath;
|
|
153
154
|
tablesPath: typeof tablesPath;
|
|
154
155
|
testingPath: typeof testingPath;
|
|
156
|
+
testsPath: typeof testsPath;
|
|
155
157
|
typesPath: typeof typesPath;
|
|
156
158
|
uiPath: typeof uiPath;
|
|
157
159
|
utilsPath: typeof utilsPath;
|
package/dist/index.mjs
CHANGED
|
@@ -170,6 +170,9 @@ export function tablesPath(path2) {
|
|
|
170
170
|
export function testingPath(path2) {
|
|
171
171
|
return corePath(`testing/${path2 || ""}`);
|
|
172
172
|
}
|
|
173
|
+
export function testsPath(path2) {
|
|
174
|
+
return frameworkPath(`tests/${path2 || ""}`);
|
|
175
|
+
}
|
|
173
176
|
export function typesPath(path2) {
|
|
174
177
|
return corePath(`types/${path2 || ""}`);
|
|
175
178
|
}
|
|
@@ -239,6 +242,7 @@ export const path = {
|
|
|
239
242
|
stringsPath,
|
|
240
243
|
tablesPath,
|
|
241
244
|
testingPath,
|
|
245
|
+
testsPath,
|
|
242
246
|
typesPath,
|
|
243
247
|
uiPath,
|
|
244
248
|
utilsPath,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks path.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"mkdist": "^1.0.0",
|
|
46
46
|
"typescript": "^4.9.4",
|
|
47
|
-
"@stacksjs/testing": "0.
|
|
47
|
+
"@stacksjs/testing": "0.48.2"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "mkdist -d",
|