@exposify/express 0.0.0 → 0.2.0
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/LICENSE +21 -0
- package/README.md +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +22 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ali
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
File without changes
|
package/dist/index.cjs
CHANGED
|
@@ -363,7 +363,7 @@ async function initialize(app, cfg, cwd, mounts) {
|
|
|
363
363
|
};
|
|
364
364
|
const getKb = async () => {
|
|
365
365
|
const s = await getSurface();
|
|
366
|
-
kbPromise ??= (0, import_node2.loadOrBuildKb)(s.docs, (0, import_node_path2.join)(cwd, ".
|
|
366
|
+
kbPromise ??= (0, import_node2.loadOrBuildKb)(s.docs, (0, import_node_path2.join)(cwd, ".exposify"));
|
|
367
367
|
return kbPromise;
|
|
368
368
|
};
|
|
369
369
|
await getSurface();
|
package/dist/index.d.cts
CHANGED
|
@@ -16,7 +16,7 @@ interface RoutesFromExpressOptions {
|
|
|
16
16
|
declare function routesFromExpress(app: unknown, opts?: RoutesFromExpressOptions): RouteInfo[];
|
|
17
17
|
|
|
18
18
|
interface ExpressAiReadyOptions extends AgentReadyOptions {
|
|
19
|
-
/** Where docs globs and the .
|
|
19
|
+
/** Where docs globs and the .exposify cache resolve. Default: process.cwd() */
|
|
20
20
|
cwd?: string;
|
|
21
21
|
/**
|
|
22
22
|
* Explicit mount paths for routers (or sub-apps) introspection can't
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ interface RoutesFromExpressOptions {
|
|
|
16
16
|
declare function routesFromExpress(app: unknown, opts?: RoutesFromExpressOptions): RouteInfo[];
|
|
17
17
|
|
|
18
18
|
interface ExpressAiReadyOptions extends AgentReadyOptions {
|
|
19
|
-
/** Where docs globs and the .
|
|
19
|
+
/** Where docs globs and the .exposify cache resolve. Default: process.cwd() */
|
|
20
20
|
cwd?: string;
|
|
21
21
|
/**
|
|
22
22
|
* Explicit mount paths for routers (or sub-apps) introspection can't
|
package/dist/index.js
CHANGED
|
@@ -346,7 +346,7 @@ async function initialize(app, cfg, cwd, mounts) {
|
|
|
346
346
|
};
|
|
347
347
|
const getKb = async () => {
|
|
348
348
|
const s = await getSurface();
|
|
349
|
-
kbPromise ??= loadOrBuildKb(s.docs, join2(cwd, ".
|
|
349
|
+
kbPromise ??= loadOrBuildKb(s.docs, join2(cwd, ".exposify"));
|
|
350
350
|
return kbPromise;
|
|
351
351
|
};
|
|
352
352
|
await getSurface();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exposify/express",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
21
21
|
"test": "vitest run",
|
|
22
|
-
"typecheck": "tsc --noEmit"
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"prepack": "yarn build"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@exposify/core": "0.
|
|
26
|
+
"@exposify/core": "0.2.0",
|
|
26
27
|
"light-my-request": "^6.0.0"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
@@ -38,5 +39,22 @@
|
|
|
38
39
|
"tsup": "^8.3.0",
|
|
39
40
|
"typescript": "^5.6.0",
|
|
40
41
|
"vitest": "^3.0.0"
|
|
41
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "git+https://github.com/ayadagain/agentready.git",
|
|
49
|
+
"directory": "packages/express"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/ayadagain/agentready/tree/main/packages/express#readme",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/ayadagain/agentready/issues"
|
|
54
|
+
},
|
|
55
|
+
"description": "test",
|
|
56
|
+
"author": "Exposify",
|
|
57
|
+
"keywords": [
|
|
58
|
+
"aa"
|
|
59
|
+
]
|
|
42
60
|
}
|