@teambit/express 0.0.986 → 0.0.988
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_express-preview.js +1 -1
- package/artifacts/schema.json +19 -10
- package/dist/express.main.runtime.d.ts +0 -2
- package/dist/{preview-1718853656395.js → preview-1719154175406.js} +2 -2
- package/dist/types/route.d.ts +0 -1
- package/package.json +4 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.harmony/express@0.0.
|
3
|
+
<testsuite name="teambit.harmony/express@0.0.988" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/express-preview"]=t():e["teambit.harmony/express-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/express-preview"]=t():e["teambit.harmony/express-preview"]=t()}(self,(()=>(()=>{"use strict";var e={64352:(e,t,o)=>{var r={id:"teambit.harmony/express@0.0.988",homepage:"https://bit.cloud/teambit/harmony/express",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const s=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/express.svg"}));s.__bit_component=r,t.Logo=s},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>l});var i=o(64352);o(41594);const s=MdxJsReact,a=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(null,arguments)}var u={},d="wrapper";function l(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,s.mdx)(d,c({},u,o,{components:t,mdxType:"MDXLayout"}),(0,s.mdx)(a.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
CHANGED
@@ -88,7 +88,8 @@
|
|
88
88
|
"character": 1
|
89
89
|
},
|
90
90
|
"raw": "/**\n * express new Route\n */",
|
91
|
-
"comment": "express new Route"
|
91
|
+
"comment": "express new Route",
|
92
|
+
"tags": []
|
92
93
|
},
|
93
94
|
"signature": "interface Route",
|
94
95
|
"name": "Route",
|
@@ -235,7 +236,8 @@
|
|
235
236
|
"character": 3
|
236
237
|
},
|
237
238
|
"raw": "/** route priority if 2 route with the same name default is 0 */",
|
238
|
-
"comment": "route priority if 2 route with the same name default is 0"
|
239
|
+
"comment": "route priority if 2 route with the same name default is 0",
|
240
|
+
"tags": []
|
239
241
|
},
|
240
242
|
"signature": "(property) Route.priority?: number | undefined",
|
241
243
|
"name": "priority",
|
@@ -413,7 +415,8 @@
|
|
413
415
|
"character": 1
|
414
416
|
},
|
415
417
|
"raw": "/**\n * define express Middleware\n */",
|
416
|
-
"comment": "define express Middleware"
|
418
|
+
"comment": "define express Middleware",
|
419
|
+
"tags": []
|
417
420
|
},
|
418
421
|
"signature": "type Middleware = (req: Request, res: Response, next: NextFunction) => void | Promise<any>",
|
419
422
|
"name": "Middleware",
|
@@ -755,7 +758,8 @@
|
|
755
758
|
"character": 3
|
756
759
|
},
|
757
760
|
"raw": "/**\n * start an express server.\n */",
|
758
|
-
"comment": "start an express server."
|
761
|
+
"comment": "start an express server.",
|
762
|
+
"tags": []
|
759
763
|
},
|
760
764
|
"signature": "(method) ExpressMain.listen(port?: number): Promise<Server>",
|
761
765
|
"name": "listen",
|
@@ -821,7 +825,8 @@
|
|
821
825
|
"character": 3
|
822
826
|
},
|
823
827
|
"raw": "/**\n * register a new express routes.\n * route will be added as `/api/${route}`\n */",
|
824
|
-
"comment": "register a new express routes.\nroute will be added as `/api/${route}`"
|
828
|
+
"comment": "register a new express routes.\nroute will be added as `/api/${route}`",
|
829
|
+
"tags": []
|
825
830
|
},
|
826
831
|
"signature": "(method) ExpressMain.register(routes: Route[]): this",
|
827
832
|
"name": "register",
|
@@ -881,7 +886,8 @@
|
|
881
886
|
"character": 3
|
882
887
|
},
|
883
888
|
"raw": "/**\n * register a new middleware into express.\n */",
|
884
|
-
"comment": "register a new middleware into express."
|
889
|
+
"comment": "register a new middleware into express.",
|
890
|
+
"tags": []
|
885
891
|
},
|
886
892
|
"signature": "(method) ExpressMain.registerMiddleware(middlewares: MiddlewareManifest[]): this",
|
887
893
|
"name": "registerMiddleware",
|
@@ -1574,7 +1580,8 @@
|
|
1574
1580
|
"character": 3
|
1575
1581
|
},
|
1576
1582
|
"raw": "/**\n * start an express server.\n */",
|
1577
|
-
"comment": "start an express server."
|
1583
|
+
"comment": "start an express server.",
|
1584
|
+
"tags": []
|
1578
1585
|
},
|
1579
1586
|
"signature": "(method) ExpressMain.listen(port?: number): Promise<Server>",
|
1580
1587
|
"name": "listen",
|
@@ -1640,7 +1647,8 @@
|
|
1640
1647
|
"character": 3
|
1641
1648
|
},
|
1642
1649
|
"raw": "/**\n * register a new express routes.\n * route will be added as `/api/${route}`\n */",
|
1643
|
-
"comment": "register a new express routes.\nroute will be added as `/api/${route}`"
|
1650
|
+
"comment": "register a new express routes.\nroute will be added as `/api/${route}`",
|
1651
|
+
"tags": []
|
1644
1652
|
},
|
1645
1653
|
"signature": "(method) ExpressMain.register(routes: Route[]): this",
|
1646
1654
|
"name": "register",
|
@@ -1700,7 +1708,8 @@
|
|
1700
1708
|
"character": 3
|
1701
1709
|
},
|
1702
1710
|
"raw": "/**\n * register a new middleware into express.\n */",
|
1703
|
-
"comment": "register a new middleware into express."
|
1711
|
+
"comment": "register a new middleware into express.",
|
1712
|
+
"tags": []
|
1704
1713
|
},
|
1705
1714
|
"signature": "(method) ExpressMain.registerMiddleware(middlewares: MiddlewareManifest[]): this",
|
1706
1715
|
"name": "registerMiddleware",
|
@@ -2072,7 +2081,7 @@
|
|
2072
2081
|
"componentId": {
|
2073
2082
|
"scope": "teambit.harmony",
|
2074
2083
|
"name": "express",
|
2075
|
-
"version": "0.0.
|
2084
|
+
"version": "0.0.988"
|
2076
2085
|
},
|
2077
2086
|
"taggedModuleExports": []
|
2078
2087
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_express@0.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_express@0.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_express@0.0.988/dist/express.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_express@0.0.988/dist/express.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/dist/types/route.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/express",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.988",
|
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.988"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"body-parser": "1.19.0",
|
13
13
|
"express": "4.17.1",
|
14
14
|
"lodash": "4.17.21",
|
15
15
|
"@teambit/harmony": "0.4.6",
|
16
|
-
"@teambit/cli": "0.0.
|
17
|
-
"@teambit/logger": "0.0.
|
16
|
+
"@teambit/cli": "0.0.889",
|
17
|
+
"@teambit/logger": "0.0.982"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@types/express": "4.17.13",
|