@teambit/express 0.0.920 → 0.0.922
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/esm.d.mts +3 -0
- package/dist/esm.mjs +7 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +0 -43
- package/dist/index.js.map +1 -1
- package/dist/{preview-1700623148304.js → preview-1701141530916.js} +2 -2
- package/esm.mjs +7 -0
- package/package.json +12 -5
package/dist/esm.d.mts
ADDED
package/dist/esm.mjs
ADDED
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
export { RouteSlot } from './express.main.runtime';
|
2
|
-
export { Route
|
3
|
-
export {
|
1
|
+
export type { RouteSlot } from './express.main.runtime';
|
2
|
+
export type { Route } from './types';
|
3
|
+
export { Verb } from './types';
|
4
|
+
export type { Request, Response, NextFunction, Middleware } from './types';
|
4
5
|
export type { MiddlewareManifest } from './middleware-manifest';
|
5
6
|
export type { ExpressMain } from './express.main.runtime';
|
6
7
|
export { ExpressAspect } from './express.aspect';
|
package/dist/index.js
CHANGED
@@ -9,55 +9,12 @@ Object.defineProperty(exports, "ExpressAspect", {
|
|
9
9
|
return _express().ExpressAspect;
|
10
10
|
}
|
11
11
|
});
|
12
|
-
Object.defineProperty(exports, "Middleware", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function () {
|
15
|
-
return _types().Middleware;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "NextFunction", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function () {
|
21
|
-
return _types().NextFunction;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
Object.defineProperty(exports, "Request", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function () {
|
27
|
-
return _types().Request;
|
28
|
-
}
|
29
|
-
});
|
30
|
-
Object.defineProperty(exports, "Response", {
|
31
|
-
enumerable: true,
|
32
|
-
get: function () {
|
33
|
-
return _types().Response;
|
34
|
-
}
|
35
|
-
});
|
36
|
-
Object.defineProperty(exports, "Route", {
|
37
|
-
enumerable: true,
|
38
|
-
get: function () {
|
39
|
-
return _types().Route;
|
40
|
-
}
|
41
|
-
});
|
42
|
-
Object.defineProperty(exports, "RouteSlot", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function () {
|
45
|
-
return _expressMain().RouteSlot;
|
46
|
-
}
|
47
|
-
});
|
48
12
|
Object.defineProperty(exports, "Verb", {
|
49
13
|
enumerable: true,
|
50
14
|
get: function () {
|
51
15
|
return _types().Verb;
|
52
16
|
}
|
53
17
|
});
|
54
|
-
function _expressMain() {
|
55
|
-
const data = require("./express.main.runtime");
|
56
|
-
_expressMain = function () {
|
57
|
-
return data;
|
58
|
-
};
|
59
|
-
return data;
|
60
|
-
}
|
61
18
|
function _types() {
|
62
19
|
const data = require("./types");
|
63
20
|
_types = function () {
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["_types","data","require","_express"],"sources":["index.ts"],"sourcesContent":["export type { RouteSlot } from './express.main.runtime';\nexport type { Route } from './types';\nexport { Verb } from './types';\nexport type { Request, Response, NextFunction, Middleware } from './types';\nexport type { MiddlewareManifest } from './middleware-manifest';\nexport type { ExpressMain } from './express.main.runtime';\nexport { ExpressAspect } from './express.aspect';\n"],"mappings":";;;;;;;;;;;;;;;;;AAEA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.922/dist/express.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.922/dist/express.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/esm.mjs
ADDED
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/express",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.922",
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/express",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.harmony",
|
8
8
|
"name": "express",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.922"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"body-parser": "1.19.0",
|
@@ -15,8 +15,8 @@
|
|
15
15
|
"core-js": "^3.0.0",
|
16
16
|
"@babel/runtime": "7.20.0",
|
17
17
|
"@teambit/harmony": "0.4.6",
|
18
|
-
"@teambit/cli": "0.0.
|
19
|
-
"@teambit/logger": "0.0.
|
18
|
+
"@teambit/cli": "0.0.823",
|
19
|
+
"@teambit/logger": "0.0.916"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
22
|
"@types/react": "^17.0.8",
|
@@ -29,11 +29,18 @@
|
|
29
29
|
"@types/testing-library__jest-dom": "5.9.5"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"@teambit/legacy": "1.0.
|
32
|
+
"@teambit/legacy": "1.0.606",
|
33
33
|
"react": "^16.8.0 || ^17.0.0",
|
34
34
|
"react-dom": "^16.8.0 || ^17.0.0"
|
35
35
|
},
|
36
36
|
"license": "Apache-2.0",
|
37
|
+
"exports": {
|
38
|
+
"node": {
|
39
|
+
"require": "./dist/index.js",
|
40
|
+
"import": "./dist/esm.mjs"
|
41
|
+
},
|
42
|
+
"default": "./dist/index.js"
|
43
|
+
},
|
37
44
|
"private": false,
|
38
45
|
"engines": {
|
39
46
|
"node": ">=12.22.0"
|