@stacksjs/path 0.41.1 → 0.42.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/README.md CHANGED
@@ -37,7 +37,7 @@ Please see our [releases](https://github.com/stacksjs/stacks/releases) page for
37
37
 
38
38
  ## 💪🏼 Contributing
39
39
 
40
- Please see [CONTRIBUTING](../../.github/CONTRIBUTING.md) for details.
40
+ Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
41
41
 
42
42
  ## 🏝 Community
43
43
 
@@ -47,7 +47,7 @@ For help, discussion about best practices, or any other conversation that would
47
47
 
48
48
  For casual chit-chat with others using this package:
49
49
 
50
- [Join the Open Web Discord Server](https://discord.ow3.org)
50
+ [Join the Stacks Discord Server](https://discord.ow3.org)
51
51
 
52
52
  ## 🙏🏼 Credits
53
53
 
package/dist/index.d.ts CHANGED
@@ -40,7 +40,9 @@ export declare function componentsPath(path?: string): any;
40
40
  export declare function configPath(): any;
41
41
  export declare function corePath(path?: string): any;
42
42
  export declare function dashboardPath(path?: string): any;
43
+ export declare function desktopPath(path?: string): any;
43
44
  export declare function docsPath(path?: string): any;
45
+ export declare function driversPath(path?: string): any;
44
46
  export declare function customElementsDataPath(): any;
45
47
  export declare function errorHandlingPath(path?: string): any;
46
48
  export declare function examplesPath(type: 'vue-components' | 'web-components'): any;
@@ -65,7 +67,8 @@ export declare function securityPath(path?: string): any;
65
67
  export declare function serverPath(path?: string): any;
66
68
  export declare function serverlessPath(path?: string): any;
67
69
  export declare function stacksPath(path?: string): any;
68
- export declare function testsPath(path?: string): any;
70
+ export declare function tablesPath(path?: string): any;
71
+ export declare function testingPath(path?: string): any;
69
72
  export declare function typesPath(path?: string): any;
70
73
  export declare function stringsPath(path?: string): any;
71
74
  export declare function scriptsPath(path?: string): any;
@@ -87,7 +90,9 @@ export declare const path: {
87
90
  corePath: typeof corePath;
88
91
  customElementsDataPath: typeof customElementsDataPath;
89
92
  dashboardPath: typeof dashboardPath;
93
+ desktopPath: typeof desktopPath;
90
94
  docsPath: typeof docsPath;
95
+ driversPath: typeof driversPath;
91
96
  errorHandlingPath: typeof errorHandlingPath;
92
97
  examplesPath: typeof examplesPath;
93
98
  frameworkPath: typeof frameworkPath;
@@ -113,7 +118,8 @@ export declare const path: {
113
118
  serverlessPath: typeof serverlessPath;
114
119
  stacksPath: typeof stacksPath;
115
120
  stringsPath: typeof stringsPath;
116
- testsPath: typeof testsPath;
121
+ tablesPath: typeof tablesPath;
122
+ testingPath: typeof testingPath;
117
123
  typesPath: typeof typesPath;
118
124
  uiPath: typeof uiPath;
119
125
  utilsPath: typeof utilsPath;
package/dist/index.mjs CHANGED
@@ -44,9 +44,15 @@ export function corePath(path2) {
44
44
  export function dashboardPath(path2) {
45
45
  return corePath(`dashboard/${path2 || ""}`);
46
46
  }
47
+ export function desktopPath(path2) {
48
+ return corePath(`desktop/${path2 || ""}`);
49
+ }
47
50
  export function docsPath(path2) {
48
51
  return corePath(`docs/${path2 || ""}`);
49
52
  }
53
+ export function driversPath(path2) {
54
+ return corePath(`drivers/${path2 || ""}`);
55
+ }
50
56
  export function customElementsDataPath() {
51
57
  return frameworkPath("custom-elements.json");
52
58
  }
@@ -134,8 +140,11 @@ export function serverlessPath(path2) {
134
140
  export function stacksPath(path2) {
135
141
  return frameworkPath(`src/${path2 || ""}`);
136
142
  }
137
- export function testsPath(path2) {
138
- return corePath(`tests/${path2 || ""}`);
143
+ export function tablesPath(path2) {
144
+ return corePath(`tables/${path2 || ""}`);
145
+ }
146
+ export function testingPath(path2) {
147
+ return corePath(`testing/${path2 || ""}`);
139
148
  }
140
149
  export function typesPath(path2) {
141
150
  return corePath(`types/${path2 || ""}`);
@@ -168,7 +177,9 @@ export const path = {
168
177
  corePath,
169
178
  customElementsDataPath,
170
179
  dashboardPath,
180
+ desktopPath,
171
181
  docsPath,
182
+ driversPath,
172
183
  errorHandlingPath,
173
184
  examplesPath,
174
185
  frameworkPath,
@@ -194,7 +205,8 @@ export const path = {
194
205
  serverlessPath,
195
206
  stacksPath,
196
207
  stringsPath,
197
- testsPath,
208
+ tablesPath,
209
+ testingPath,
198
210
  typesPath,
199
211
  uiPath,
200
212
  utilsPath,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.41.1",
5
- "packageManager": "pnpm@7.16.0",
4
+ "version": "0.42.2",
5
+ "packageManager": "pnpm@7.17.0",
6
6
  "description": "The Stacks path.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -36,14 +36,15 @@
36
36
  ],
37
37
  "engines": {
38
38
  "node": ">=v18.12.1",
39
- "pnpm": ">=7.16.0"
39
+ "pnpm": ">=7.17.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "pathe": "^1.0.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "mkdist": "^1.0.0",
46
- "typescript": "^4.9.3"
46
+ "typescript": "^4.9.3",
47
+ "@stacksjs/testing": "0.42.2"
47
48
  },
48
49
  "scripts": {
49
50
  "build": "mkdist -d",