@stacksjs/path 0.70.23 → 0.70.26
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 +2 -2
- package/dist/index.js +61 -20
- package/dist/src/index.d.ts +1061 -0
- package/package.json +20 -6
- package/dist/index.d.ts +0 -119
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.26",
|
|
5
5
|
"description": "The Stacks path.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
|
-
"contributors": [
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Chris Breuer <chris@stacksjs.com>"
|
|
9
|
+
],
|
|
8
10
|
"license": "MIT",
|
|
9
11
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
12
|
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/path#readme",
|
|
@@ -16,21 +18,33 @@
|
|
|
16
18
|
"bugs": {
|
|
17
19
|
"url": "https://github.com/stacksjs/stacks/issues"
|
|
18
20
|
},
|
|
19
|
-
"keywords": [
|
|
21
|
+
"keywords": [
|
|
22
|
+
"path",
|
|
23
|
+
"paths",
|
|
24
|
+
"utilities",
|
|
25
|
+
"functions",
|
|
26
|
+
"bun",
|
|
27
|
+
"stacks"
|
|
28
|
+
],
|
|
20
29
|
"exports": {
|
|
21
30
|
".": {
|
|
31
|
+
"bun": "./src/index.ts",
|
|
22
32
|
"import": "./dist/index.js"
|
|
23
33
|
}
|
|
24
34
|
},
|
|
25
35
|
"module": "dist/index.js",
|
|
26
36
|
"types": "dist/index.d.ts",
|
|
27
|
-
"files": [
|
|
37
|
+
"files": [
|
|
38
|
+
"README.md",
|
|
39
|
+
"dist"
|
|
40
|
+
],
|
|
28
41
|
"scripts": {
|
|
29
42
|
"build": "bun build.ts",
|
|
30
43
|
"typecheck": "bun tsc --noEmit",
|
|
31
44
|
"prepublishOnly": "bun run build"
|
|
32
45
|
},
|
|
33
46
|
"devDependencies": {
|
|
34
|
-
"
|
|
35
|
-
}
|
|
47
|
+
"better-dx": "^0.2.12"
|
|
48
|
+
},
|
|
49
|
+
"sideEffects": false
|
|
36
50
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export declare function actionsPath(path?: string): string;
|
|
2
|
-
export declare function relativeActionsPath(path?: string): string;
|
|
3
|
-
export declare function userActionsPath(path?: string, options?: { relative: , true }): string;
|
|
4
|
-
export declare function builtUserActionsPath(path?: string, options?: { relative: , boolean }): string;
|
|
5
|
-
export declare function userComponentsPath(path?: string): string;
|
|
6
|
-
export declare function userViewsPath(path?: string): string;
|
|
7
|
-
export declare function userFunctionsPath(path?: string): string;
|
|
8
|
-
export declare function userJobsPath(path?: string): string;
|
|
9
|
-
export declare function userListenersPath(path?: string): string;
|
|
10
|
-
export declare function userMiddlewarePath(path?: string): string;
|
|
11
|
-
export declare function userModelsPath(path?: string): string;
|
|
12
|
-
export declare function userNotificationsPath(path?: string): string;
|
|
13
|
-
export declare function userDatabasePath(path?: string): string;
|
|
14
|
-
export declare function userMigrationsPath(path?: string): string;
|
|
15
|
-
export declare function userEventsPath(): string;
|
|
16
|
-
export declare function aiPath(path?: string): string;
|
|
17
|
-
export declare function assetsPath(path?: string): string;
|
|
18
|
-
export declare function aliasPath(): string;
|
|
19
|
-
export declare function buddyPath(path?: string, options?: { relative?: , boolean }): string;
|
|
20
|
-
export declare function runtimePath(path?: string): string;
|
|
21
|
-
export declare function analyticsPath(path?: string): string;
|
|
22
|
-
export declare function arraysPath(path?: string): string;
|
|
23
|
-
export declare function appPath(path?: string, options?: { relative?: , boolean, cwd?: , string }): string;
|
|
24
|
-
export declare function authPath(path?: string): string;
|
|
25
|
-
export declare function coreApiPath(path?: string): string;
|
|
26
|
-
export declare function buildPath(path?: string): string;
|
|
27
|
-
export declare function buildEnginePath(path?: string): string;
|
|
28
|
-
export declare function libsPath(path?: string): string;
|
|
29
|
-
export declare function userLibsPath(path?: 'components' | 'functions' | string): string;
|
|
30
|
-
export declare function libsEntriesPath(path?: string): string;
|
|
31
|
-
export declare function cachePath(path?: string): string;
|
|
32
|
-
export declare function chatPath(path?: string): string;
|
|
33
|
-
export declare function cliPath(path?: string): string;
|
|
34
|
-
export declare function cloudPath(path?: string): string;
|
|
35
|
-
export declare function frameworkCloudPath(path?: string): string;
|
|
36
|
-
export declare function collectionsPath(path?: string): string;
|
|
37
|
-
export declare function commandsPath(path?: string): string;
|
|
38
|
-
export declare function componentsPath(path?: string): string;
|
|
39
|
-
export declare function configPath(path?: string): string;
|
|
40
|
-
export declare function corePath(path?: string): string;
|
|
41
|
-
export declare function customElementsDataPath(): string;
|
|
42
|
-
export declare function databasePath(path?: string): string;
|
|
43
|
-
export declare function datetimePath(path?: string): string;
|
|
44
|
-
export declare function developmentPath(path?: string): string;
|
|
45
|
-
export declare function desktopPath(path?: string): string;
|
|
46
|
-
export declare function docsPath(path?: string): string;
|
|
47
|
-
export declare function dnsPath(path?: string): string;
|
|
48
|
-
export declare function emailPath(path?: string): string;
|
|
49
|
-
export declare function enumsPath(path?: string): string;
|
|
50
|
-
export declare function eslintPluginPath(path?: string): string;
|
|
51
|
-
export declare function errorHandlingPath(path?: string): string;
|
|
52
|
-
export declare function eventsPath(path?: string): string;
|
|
53
|
-
export declare function coreEnvPath(path?: string): string;
|
|
54
|
-
export declare function examplesPath(type?: 'vue-components' | 'web-components'): string;
|
|
55
|
-
export declare function fakerPath(path?: string): string;
|
|
56
|
-
export declare function frameworkPath(path?: string, options?: { relative?: , boolean, cwd?: , string }): string;
|
|
57
|
-
export declare function browserPath(path?: string): string;
|
|
58
|
-
export declare function healthPath(path?: string): string;
|
|
59
|
-
export declare function functionsPath(path?: string): string;
|
|
60
|
-
export declare function gitPath(path?: string): string;
|
|
61
|
-
export declare function langPath(path?: string): string;
|
|
62
|
-
export declare function layoutsPath(path?: string, options?: { relative?: , boolean, defaults?: , boolean }): string;
|
|
63
|
-
export declare type LibraryType = 'vue-components' | 'web-components' | 'functions'
|
|
64
|
-
export declare function libraryEntryPath(type: LibraryType): string;
|
|
65
|
-
export declare function lintPath(path?: string): string;
|
|
66
|
-
export declare function listenersPath(path?: string): string;
|
|
67
|
-
export declare function jobsPath(path?: string): string;
|
|
68
|
-
export declare function loggingPath(path?: string): string;
|
|
69
|
-
export declare function logsPath(path?: string): string;
|
|
70
|
-
export declare function modelsPath(path?: string): string;
|
|
71
|
-
export declare function modulesPath(path?: string): string;
|
|
72
|
-
export declare function notificationsPath(path?: string): string;
|
|
73
|
-
export declare function ormPath(path?: string): string;
|
|
74
|
-
export declare function objectsPath(path?: string): string;
|
|
75
|
-
export declare function onboardingPath(path?: string): string;
|
|
76
|
-
export declare function packageJsonPath(type: LibraryType): string;
|
|
77
|
-
export declare function viewsPath(path?: string): string;
|
|
78
|
-
export declare function pathPath(path?: string): string;
|
|
79
|
-
export declare function paymentsPath(path?: string): string;
|
|
80
|
-
export declare function projectPath(filePath, options?: { relative: , boolean }): string;
|
|
81
|
-
export declare function projectConfigPath(path?: string): string;
|
|
82
|
-
export declare function storagePath(path?: string): string;
|
|
83
|
-
export declare function publicPath(path?: string): string;
|
|
84
|
-
export declare function pushPath(path?: string): string;
|
|
85
|
-
export declare function queryBuilderPath(path?: string): string;
|
|
86
|
-
export declare function queuePath(path?: string): string;
|
|
87
|
-
export declare function realtimePath(path?: string): string;
|
|
88
|
-
export declare function resourcesPath(path?: string, options?: { relative?: , boolean }): string;
|
|
89
|
-
export declare function replPath(path?: string): string;
|
|
90
|
-
export declare function routerPath(path?: string): string;
|
|
91
|
-
export declare function routesPath(path?: string, options?: { relative?: , boolean }): string;
|
|
92
|
-
export declare function searchEnginePath(path?: string): string;
|
|
93
|
-
export declare function settingsPath(path?: string): string;
|
|
94
|
-
export declare function scriptsPath(path?: string): string;
|
|
95
|
-
export declare function schedulerPath(path?: string): string;
|
|
96
|
-
export declare function slugPath(path?: string): string;
|
|
97
|
-
export declare function smsPath(path?: string): string;
|
|
98
|
-
export declare function coreStoragePath(path?: string): string;
|
|
99
|
-
export declare function storesPath(path?: string): string;
|
|
100
|
-
export declare function securityPath(path?: string): string;
|
|
101
|
-
export declare function serverPath(path?: string): string;
|
|
102
|
-
export declare function userServerPath(path?: string): string;
|
|
103
|
-
export declare function serverlessPath(path?: string): string;
|
|
104
|
-
export declare function stacksPath(path?: string): string;
|
|
105
|
-
export declare function shellPath(path?: string): string;
|
|
106
|
-
export declare function stringsPath(path?: string): string;
|
|
107
|
-
export declare function testingPath(path?: string): string;
|
|
108
|
-
export declare function tinkerPath(path?: string): string;
|
|
109
|
-
export declare function testsPath(path?: string): string;
|
|
110
|
-
export declare function typesPath(path?: string): string;
|
|
111
|
-
export declare function uiPath(path?: string, options?: { relative?: , boolean }): string;
|
|
112
|
-
export declare function utilsPath(path?: string): string;
|
|
113
|
-
export declare function validationPath(path?: string): string;
|
|
114
|
-
export declare function viteConfigPath(path?: string): string;
|
|
115
|
-
export declare function vitePluginPath(path?: string): string;
|
|
116
|
-
export declare function xRayPath(path?: string): string;
|
|
117
|
-
export declare function homeDir(path?: string): string;
|
|
118
|
-
|
|
119
|
-
export { basename, delimiter, dirname, extname, isAbsolute, join, normalize, relative, resolve, sep, toNamespacedPath }
|